Versions in this module Expand all Collapse all v0 v0.0.19 Jun 25, 2025 v0.0.18 May 11, 2025 v0.0.17 Apr 27, 2025 v0.0.16 Apr 21, 2025 v0.0.15 Apr 20, 2025 Changes in this version type FilterGroups + Filters []Filter v0.0.14 Apr 19, 2025 v0.0.13 Apr 19, 2025 v0.0.12 Jan 28, 2025 Changes in this version + type FilterGroup struct + Filters *[]Filter v0.0.11 Jan 23, 2025 Changes in this version + const Oauth2Scopes + func GetSwagger() (swagger *openapi3.T, err error) + func NewCreateObjectRequest(server string, objectType string, body CreateObjectJSONRequestBody) (*http.Request, error) + func NewCreateObjectRequestWithBody(server string, objectType string, contentType string, body io.Reader) (*http.Request, error) + func NewDeleteObjectRequest(server string, objectType string, objectId string) (*http.Request, error) + func NewGetObjectByTypeAndIdRequest(server string, objectType string, objectId string, ...) (*http.Request, error) + func NewGetObjectsRequest(server string, objectType string, params *GetObjectsParams) (*http.Request, error) + func NewSearchObjectsRequest(server string, objectType string, body SearchObjectsJSONRequestBody) (*http.Request, error) + func NewSearchObjectsRequestWithBody(server string, objectType string, contentType string, body io.Reader) (*http.Request, error) + func NewUpdateObjectRequest(server string, objectType string, objectId string, params *UpdateObjectParams, ...) (*http.Request, error) + func NewUpdateObjectRequestWithBody(server string, objectType string, objectId string, params *UpdateObjectParams, ...) (*http.Request, error) + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + type Archived = bool + type AssociationResponse struct + Id *string + Type *string + type Associations = []string + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) CreateObject(ctx context.Context, objectType string, body CreateObjectJSONRequestBody, ...) (*http.Response, error) + func (c *Client) CreateObjectWithBody(ctx context.Context, objectType string, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) DeleteObject(ctx context.Context, objectType string, objectId string, ...) (*http.Response, error) + func (c *Client) GetObjectByTypeAndId(ctx context.Context, objectType string, objectId string, ...) (*http.Response, error) + func (c *Client) GetObjects(ctx context.Context, objectType string, params *GetObjectsParams, ...) (*http.Response, error) + func (c *Client) SearchObjects(ctx context.Context, objectType string, body SearchObjectsJSONRequestBody, ...) (*http.Response, error) + func (c *Client) SearchObjectsWithBody(ctx context.Context, objectType string, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) UpdateObject(ctx context.Context, objectType string, objectId string, ...) (*http.Response, error) + func (c *Client) UpdateObjectWithBody(ctx context.Context, objectType string, objectId string, ...) (*http.Response, error) + type ClientInterface interface + CreateObject func(ctx context.Context, objectType string, body CreateObjectJSONRequestBody, ...) (*http.Response, error) + CreateObjectWithBody func(ctx context.Context, objectType string, contentType string, body io.Reader, ...) (*http.Response, error) + DeleteObject func(ctx context.Context, objectType string, objectId string, ...) (*http.Response, error) + GetObjectByTypeAndId func(ctx context.Context, objectType string, objectId string, ...) (*http.Response, error) + GetObjects func(ctx context.Context, objectType string, params *GetObjectsParams, ...) (*http.Response, error) + SearchObjects func(ctx context.Context, objectType string, body SearchObjectsJSONRequestBody, ...) (*http.Response, error) + SearchObjectsWithBody func(ctx context.Context, objectType string, contentType string, body io.Reader, ...) (*http.Response, error) + UpdateObject func(ctx context.Context, objectType string, objectId string, ...) (*http.Response, error) + UpdateObjectWithBody func(ctx context.Context, objectType string, objectId string, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) CreateObjectWithBodyWithResponse(ctx context.Context, objectType string, contentType string, body io.Reader, ...) (*CreateObjectResponse, error) + func (c *ClientWithResponses) CreateObjectWithResponse(ctx context.Context, objectType string, body CreateObjectJSONRequestBody, ...) (*CreateObjectResponse, error) + func (c *ClientWithResponses) DeleteObjectWithResponse(ctx context.Context, objectType string, objectId string, ...) (*DeleteObjectResponse, error) + func (c *ClientWithResponses) GetObjectByTypeAndIdWithResponse(ctx context.Context, objectType string, objectId string, ...) (*GetObjectByTypeAndIdResponse, error) + func (c *ClientWithResponses) GetObjectsWithResponse(ctx context.Context, objectType string, params *GetObjectsParams, ...) (*GetObjectsResponse, error) + func (c *ClientWithResponses) SearchObjectsWithBodyWithResponse(ctx context.Context, objectType string, contentType string, body io.Reader, ...) (*SearchObjectsResponse, error) + func (c *ClientWithResponses) SearchObjectsWithResponse(ctx context.Context, objectType string, body SearchObjectsJSONRequestBody, ...) (*SearchObjectsResponse, error) + func (c *ClientWithResponses) UpdateObjectWithBodyWithResponse(ctx context.Context, objectType string, objectId string, ...) (*UpdateObjectResponse, error) + func (c *ClientWithResponses) UpdateObjectWithResponse(ctx context.Context, objectType string, objectId string, ...) (*UpdateObjectResponse, error) + type ClientWithResponsesInterface interface + CreateObjectWithBodyWithResponse func(ctx context.Context, objectType string, contentType string, body io.Reader, ...) (*CreateObjectResponse, error) + CreateObjectWithResponse func(ctx context.Context, objectType string, body CreateObjectJSONRequestBody, ...) (*CreateObjectResponse, error) + DeleteObjectWithResponse func(ctx context.Context, objectType string, objectId string, ...) (*DeleteObjectResponse, error) + GetObjectByTypeAndIdWithResponse func(ctx context.Context, objectType string, objectId string, ...) (*GetObjectByTypeAndIdResponse, error) + GetObjectsWithResponse func(ctx context.Context, objectType string, params *GetObjectsParams, ...) (*GetObjectsResponse, error) + SearchObjectsWithBodyWithResponse func(ctx context.Context, objectType string, contentType string, body io.Reader, ...) (*SearchObjectsResponse, error) + SearchObjectsWithResponse func(ctx context.Context, objectType string, body SearchObjectsJSONRequestBody, ...) (*SearchObjectsResponse, error) + UpdateObjectWithBodyWithResponse func(ctx context.Context, objectType string, objectId string, ...) (*UpdateObjectResponse, error) + UpdateObjectWithResponse func(ctx context.Context, objectType string, objectId string, ...) (*UpdateObjectResponse, error) + type CreateObjectJSONBody struct + Associations ... + Properties *map[string]string + type CreateObjectJSONBodyAssociationsTypesAssociationCategory string + const HUBSPOTDEFINED + const INTEGRATORDEFINED + const Search + const USERDEFINED + type CreateObjectJSONRequestBody CreateObjectJSONBody + type CreateObjectResponse struct + Body []byte + HTTPResponse *http.Response + JSON201 *ObjectResponse + func ParseCreateObjectResponse(rsp *http.Response) (*CreateObjectResponse, error) + func (r CreateObjectResponse) Status() string + func (r CreateObjectResponse) StatusCode() int + type DeleteObjectResponse struct + Body []byte + HTTPResponse *http.Response + func ParseDeleteObjectResponse(rsp *http.Response) (*DeleteObjectResponse, error) + func (r DeleteObjectResponse) Status() string + func (r DeleteObjectResponse) StatusCode() int + type EchoRouter interface + CONNECT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + DELETE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + GET func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + HEAD func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + OPTIONS func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PATCH func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + POST func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PUT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + TRACE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + type Filter struct + HighValue *string + Operator *FilterOperator + PropertyName *string + Value *string + Values *[]string + type FilterGroups = []struct + type FilterOperator string + const CONTAINSTOKEN + const EQ + const GT + const GTE + const HASPROPERTY + const LT + const LTE + const NEQ + const NOTCONTAINSTOKEN + const NOTHASPROPERTY + type GetObjectByTypeAndIdParams struct + Archived *bool + Associations *[]string + IdProperty *string + PropertiesWithHistory *[]string + type GetObjectByTypeAndIdResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ObjectResponse + func ParseGetObjectByTypeAndIdResponse(rsp *http.Response) (*GetObjectByTypeAndIdResponse, error) + func (r GetObjectByTypeAndIdResponse) Status() string + func (r GetObjectByTypeAndIdResponse) StatusCode() int + type GetObjectsParams struct + Archived *bool + Limit *int + type GetObjectsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *map[string]interface{} + func ParseGetObjectsResponse(rsp *http.Response) (*GetObjectsResponse, error) + func (r GetObjectsResponse) Status() string + func (r GetObjectsResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type ObjectAssociationsResponse struct + Paging *Paging + Results *[]AssociationResponse + type ObjectResponse struct + Archived bool + ArchivedAt time.Time + Associations map[string]ObjectAssociationsResponse + CreatedAt time.Time + Id string + Properties map[string]string + PropertiesWithHistory map[string][]PropertyHistory + UpdatedAt time.Time + type ObjectsResponse struct + Paging *Paging + Results []ObjectResponse + type Paging struct + Next PagingNext + type PagingNext struct + After string + Link string + type Properties = []string + type PropertiesWithHistory = []string + type PropertyHistory struct + SourceId string + SourceLabel string + SourceType string + Timestamp time.Time + UpdatedByUserId int + Value string + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type SearchObjectsJSONBody struct + After *string + FilterGroups *FilterGroups + Limit *int + Properties *[]string + Query *string + Sorts *[]string + type SearchObjectsJSONRequestBody SearchObjectsJSONBody + type SearchObjectsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ObjectsResponse + func ParseSearchObjectsResponse(rsp *http.Response) (*SearchObjectsResponse, error) + func (r SearchObjectsResponse) Status() string + func (r SearchObjectsResponse) StatusCode() int + type ServerInterface interface + CreateObject func(ctx echo.Context, objectType string) error + DeleteObject func(ctx echo.Context, objectType string, objectId string) error + GetObjectByTypeAndId func(ctx echo.Context, objectType string, objectId string, ...) error + GetObjects func(ctx echo.Context, objectType string, params GetObjectsParams) error + SearchObjects func(ctx echo.Context, objectType string) error + UpdateObject func(ctx echo.Context, objectType string, objectId string, ...) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) CreateObject(ctx echo.Context) error + func (w *ServerInterfaceWrapper) DeleteObject(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetObjectByTypeAndId(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetObjects(ctx echo.Context) error + func (w *ServerInterfaceWrapper) SearchObjects(ctx echo.Context) error + func (w *ServerInterfaceWrapper) UpdateObject(ctx echo.Context) error + type UpdateObjectJSONBody struct + ObjectWriteTraceId *string + Properties map[string]string + type UpdateObjectJSONRequestBody UpdateObjectJSONBody + type UpdateObjectParams struct + IdProperty *string + type UpdateObjectResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 ... + func ParseUpdateObjectResponse(rsp *http.Response) (*UpdateObjectResponse, error) + func (r UpdateObjectResponse) Status() string + func (r UpdateObjectResponse) StatusCode() int