Documentation ¶
Index ¶
- type Client
- type Session
- func (_m *Session) CreateTemplateCustomFieldType(creationRequest http.TemplateCustomFieldType) (string, error)
- func (_m *Session) CreateTemplateType(creationRequest http.TemplateType) (service.TemplateTypeName, error)
- func (_m *Session) CreateTemplateWebhook(request service.TemplateWebhook) (templates.TemplateWebhook, error)
- func (_m *Session) DeleteTemplate(templateID common.ID) (common.ID, error)
- func (_m *Session) DeleteTemplateCustomFieldType(templateCustomFieldTypeName string) (string, error)
- func (_m *Session) DeleteTemplateType(templateTypeName service.TemplateTypeName) (service.TemplateTypeName, error)
- func (_m *Session) DeleteTemplateWebhook(templateID common.ID) error
- func (_m *Session) GetTemplate(templateID common.ID) (http.Template, error)
- func (_m *Session) GetTemplateCustomFieldType(templateCustomFieldTypeName string) (http.TemplateCustomFieldType, error)
- func (_m *Session) GetTemplateType(templateTypeName service.TemplateTypeName) (http.TemplateType, error)
- func (_m *Session) GetTemplateVersion(templateVersionID common.ID) (http.TemplateVersion, error)
- func (_m *Session) ImportTemplate(importRequest http.Template, credentialID string) (common.ID, error)
- func (_m *Session) ListPublicTemplates() ([]templates.PublicTemplate, error)
- func (_m *Session) ListTemplateCustomFieldTypes() ([]http.TemplateCustomFieldType, error)
- func (_m *Session) ListTemplateSourceTypes() ([]service.TemplateSourceType, error)
- func (_m *Session) ListTemplateTypes() ([]http.TemplateType, error)
- func (_m *Session) ListTemplateTypesForProvideType(providerType service.TemplateProviderType) ([]http.TemplateType, error)
- func (_m *Session) ListTemplateVersions(templateID common.ID) ([]http.TemplateVersion, error)
- func (_m *Session) ListTemplateWebhooks() ([]service.TemplateWebhook, error)
- func (_m *Session) ListTemplates(includeCacaoReservedPurposes bool) ([]http.Template, error)
- func (_m *Session) QueryTemplateCustomFieldType(templateCustomFieldTypeName string, queryParams map[string]string) (http.TemplateCustomFieldTypeQueryResult, error)
- func (_m *Session) SyncTemplate(templateID common.ID, credentialID string) (common.ID, error)
- func (_m *Session) UpdateTemplate(templateID common.ID, updateRequest http.Template) (common.ID, error)
- func (_m *Session) UpdateTemplateCustomFieldType(templateCustomFieldTypeName string, updateRequest http.TemplateCustomFieldType) (string, error)
- func (_m *Session) UpdateTemplateCustomFieldTypeFields(templateCustomFieldTypeName string, updateRequest http.TemplateCustomFieldType, ...) (string, error)
- func (_m *Session) UpdateTemplateFields(templateID common.ID, updateRequest http.Template, updateFields []string) (common.ID, error)
- func (_m *Session) UpdateTemplateType(templateTypeName service.TemplateTypeName, updateRequest http.TemplateType) (service.TemplateTypeName, error)
- func (_m *Session) UpdateTemplateTypeFields(templateTypeName service.TemplateTypeName, updateRequest http.TemplateType, ...) (service.TemplateTypeName, error)
- func (_m *Session) ValidateTemplateCustomFieldTypeCreationRequest(creationRequest http.TemplateCustomFieldType) error
- func (_m *Session) ValidateTemplateCustomFieldTypeDeletionRequest(templateCustomFieldTypeName string) error
- func (_m *Session) ValidateTemplateCustomFieldTypeUpdateFieldsRequest(templateCustomFieldTypeName string, updateRequest http.TemplateCustomFieldType, ...) error
- func (_m *Session) ValidateTemplateCustomFieldTypeUpdateRequest(templateCustomFieldTypeName string, updateRequest http.TemplateCustomFieldType) error
- func (_m *Session) ValidateTemplateDeletionRequest(templateID common.ID) error
- func (_m *Session) ValidateTemplateImportRequest(importRequest http.Template, credentialID string) error
- func (_m *Session) ValidateTemplateSyncRequest(templateID common.ID, credentialID string) error
- func (_m *Session) ValidateTemplateTypeCreationRequest(creationRequest http.TemplateType) error
- func (_m *Session) ValidateTemplateTypeDeletionRequest(templateTypeName service.TemplateTypeName) error
- func (_m *Session) ValidateTemplateTypeUpdateFieldsRequest(templateTypeName service.TemplateTypeName, updateRequest http.TemplateType, ...) error
- func (_m *Session) ValidateTemplateTypeUpdateRequest(templateTypeName service.TemplateTypeName, updateRequest http.TemplateType) error
- func (_m *Session) ValidateTemplateUpdateFieldsRequest(templateID common.ID, updateRequest http.Template, updateFields []string) error
- func (_m *Session) ValidateTemplateUpdateRequest(templateID common.ID, updateRequest http.Template) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
type Session ¶
Session is an autogenerated mock type for the Session type
func NewSession ¶
NewSession creates a new instance of Session. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Session) CreateTemplateCustomFieldType ¶
func (_m *Session) CreateTemplateCustomFieldType(creationRequest http.TemplateCustomFieldType) (string, error)
CreateTemplateCustomFieldType provides a mock function with given fields: creationRequest
func (*Session) CreateTemplateType ¶
func (_m *Session) CreateTemplateType(creationRequest http.TemplateType) (service.TemplateTypeName, error)
CreateTemplateType provides a mock function with given fields: creationRequest
func (*Session) CreateTemplateWebhook ¶
func (_m *Session) CreateTemplateWebhook(request service.TemplateWebhook) (templates.TemplateWebhook, error)
CreateTemplateWebhook provides a mock function with given fields: request
func (*Session) DeleteTemplate ¶
DeleteTemplate provides a mock function with given fields: templateID
func (*Session) DeleteTemplateCustomFieldType ¶
func (_m *Session) DeleteTemplateCustomFieldType(templateCustomFieldTypeName string) (string, error)
DeleteTemplateCustomFieldType provides a mock function with given fields: templateCustomFieldTypeName
func (*Session) DeleteTemplateType ¶
func (_m *Session) DeleteTemplateType(templateTypeName service.TemplateTypeName) (service.TemplateTypeName, error)
DeleteTemplateType provides a mock function with given fields: templateTypeName
func (*Session) DeleteTemplateWebhook ¶
DeleteTemplateWebhook provides a mock function with given fields: templateID
func (*Session) GetTemplate ¶
GetTemplate provides a mock function with given fields: templateID
func (*Session) GetTemplateCustomFieldType ¶
func (_m *Session) GetTemplateCustomFieldType(templateCustomFieldTypeName string) (http.TemplateCustomFieldType, error)
GetTemplateCustomFieldType provides a mock function with given fields: templateCustomFieldTypeName
func (*Session) GetTemplateType ¶
func (_m *Session) GetTemplateType(templateTypeName service.TemplateTypeName) (http.TemplateType, error)
GetTemplateType provides a mock function with given fields: templateTypeName
func (*Session) GetTemplateVersion ¶
GetTemplateVersion provides a mock function with given fields: templateVersionID
func (*Session) ImportTemplate ¶
func (_m *Session) ImportTemplate(importRequest http.Template, credentialID string) (common.ID, error)
ImportTemplate provides a mock function with given fields: importRequest, credentialID
func (*Session) ListPublicTemplates ¶
func (_m *Session) ListPublicTemplates() ([]templates.PublicTemplate, error)
ListPublicTemplates provides a mock function with given fields:
func (*Session) ListTemplateCustomFieldTypes ¶
func (_m *Session) ListTemplateCustomFieldTypes() ([]http.TemplateCustomFieldType, error)
ListTemplateCustomFieldTypes provides a mock function with given fields:
func (*Session) ListTemplateSourceTypes ¶
func (_m *Session) ListTemplateSourceTypes() ([]service.TemplateSourceType, error)
ListTemplateSourceTypes provides a mock function with given fields:
func (*Session) ListTemplateTypes ¶
func (_m *Session) ListTemplateTypes() ([]http.TemplateType, error)
ListTemplateTypes provides a mock function with given fields:
func (*Session) ListTemplateTypesForProvideType ¶
func (_m *Session) ListTemplateTypesForProvideType(providerType service.TemplateProviderType) ([]http.TemplateType, error)
ListTemplateTypesForProvideType provides a mock function with given fields: providerType
func (*Session) ListTemplateVersions ¶
ListTemplateVersions provides a mock function with given fields: templateID
func (*Session) ListTemplateWebhooks ¶
func (_m *Session) ListTemplateWebhooks() ([]service.TemplateWebhook, error)
ListTemplateWebhooks provides a mock function with given fields:
func (*Session) ListTemplates ¶
ListTemplates provides a mock function with given fields: includeCacaoReservedPurposes
func (*Session) QueryTemplateCustomFieldType ¶
func (_m *Session) QueryTemplateCustomFieldType(templateCustomFieldTypeName string, queryParams map[string]string) (http.TemplateCustomFieldTypeQueryResult, error)
QueryTemplateCustomFieldType provides a mock function with given fields: templateCustomFieldTypeName, queryParams
func (*Session) SyncTemplate ¶
SyncTemplate provides a mock function with given fields: templateID, credentialID
func (*Session) UpdateTemplate ¶
func (_m *Session) UpdateTemplate(templateID common.ID, updateRequest http.Template) (common.ID, error)
UpdateTemplate provides a mock function with given fields: templateID, updateRequest
func (*Session) UpdateTemplateCustomFieldType ¶
func (_m *Session) UpdateTemplateCustomFieldType(templateCustomFieldTypeName string, updateRequest http.TemplateCustomFieldType) (string, error)
UpdateTemplateCustomFieldType provides a mock function with given fields: templateCustomFieldTypeName, updateRequest
func (*Session) UpdateTemplateCustomFieldTypeFields ¶
func (_m *Session) UpdateTemplateCustomFieldTypeFields(templateCustomFieldTypeName string, updateRequest http.TemplateCustomFieldType, updateFields []string) (string, error)
UpdateTemplateCustomFieldTypeFields provides a mock function with given fields: templateCustomFieldTypeName, updateRequest, updateFields
func (*Session) UpdateTemplateFields ¶
func (_m *Session) UpdateTemplateFields(templateID common.ID, updateRequest http.Template, updateFields []string) (common.ID, error)
UpdateTemplateFields provides a mock function with given fields: templateID, updateRequest, updateFields
func (*Session) UpdateTemplateType ¶
func (_m *Session) UpdateTemplateType(templateTypeName service.TemplateTypeName, updateRequest http.TemplateType) (service.TemplateTypeName, error)
UpdateTemplateType provides a mock function with given fields: templateTypeName, updateRequest
func (*Session) UpdateTemplateTypeFields ¶
func (_m *Session) UpdateTemplateTypeFields(templateTypeName service.TemplateTypeName, updateRequest http.TemplateType, updateFields []string) (service.TemplateTypeName, error)
UpdateTemplateTypeFields provides a mock function with given fields: templateTypeName, updateRequest, updateFields
func (*Session) ValidateTemplateCustomFieldTypeCreationRequest ¶
func (_m *Session) ValidateTemplateCustomFieldTypeCreationRequest(creationRequest http.TemplateCustomFieldType) error
ValidateTemplateCustomFieldTypeCreationRequest provides a mock function with given fields: creationRequest
func (*Session) ValidateTemplateCustomFieldTypeDeletionRequest ¶
func (_m *Session) ValidateTemplateCustomFieldTypeDeletionRequest(templateCustomFieldTypeName string) error
ValidateTemplateCustomFieldTypeDeletionRequest provides a mock function with given fields: templateCustomFieldTypeName
func (*Session) ValidateTemplateCustomFieldTypeUpdateFieldsRequest ¶
func (_m *Session) ValidateTemplateCustomFieldTypeUpdateFieldsRequest(templateCustomFieldTypeName string, updateRequest http.TemplateCustomFieldType, updateFields []string) error
ValidateTemplateCustomFieldTypeUpdateFieldsRequest provides a mock function with given fields: templateCustomFieldTypeName, updateRequest, updateFields
func (*Session) ValidateTemplateCustomFieldTypeUpdateRequest ¶
func (_m *Session) ValidateTemplateCustomFieldTypeUpdateRequest(templateCustomFieldTypeName string, updateRequest http.TemplateCustomFieldType) error
ValidateTemplateCustomFieldTypeUpdateRequest provides a mock function with given fields: templateCustomFieldTypeName, updateRequest
func (*Session) ValidateTemplateDeletionRequest ¶
ValidateTemplateDeletionRequest provides a mock function with given fields: templateID
func (*Session) ValidateTemplateImportRequest ¶
func (_m *Session) ValidateTemplateImportRequest(importRequest http.Template, credentialID string) error
ValidateTemplateImportRequest provides a mock function with given fields: importRequest, credentialID
func (*Session) ValidateTemplateSyncRequest ¶
ValidateTemplateSyncRequest provides a mock function with given fields: templateID, credentialID
func (*Session) ValidateTemplateTypeCreationRequest ¶
func (_m *Session) ValidateTemplateTypeCreationRequest(creationRequest http.TemplateType) error
ValidateTemplateTypeCreationRequest provides a mock function with given fields: creationRequest
func (*Session) ValidateTemplateTypeDeletionRequest ¶
func (_m *Session) ValidateTemplateTypeDeletionRequest(templateTypeName service.TemplateTypeName) error
ValidateTemplateTypeDeletionRequest provides a mock function with given fields: templateTypeName
func (*Session) ValidateTemplateTypeUpdateFieldsRequest ¶
func (_m *Session) ValidateTemplateTypeUpdateFieldsRequest(templateTypeName service.TemplateTypeName, updateRequest http.TemplateType, updateFields []string) error
ValidateTemplateTypeUpdateFieldsRequest provides a mock function with given fields: templateTypeName, updateRequest, updateFields
func (*Session) ValidateTemplateTypeUpdateRequest ¶
func (_m *Session) ValidateTemplateTypeUpdateRequest(templateTypeName service.TemplateTypeName, updateRequest http.TemplateType) error
ValidateTemplateTypeUpdateRequest provides a mock function with given fields: templateTypeName, updateRequest
func (*Session) ValidateTemplateUpdateFieldsRequest ¶
func (_m *Session) ValidateTemplateUpdateFieldsRequest(templateID common.ID, updateRequest http.Template, updateFields []string) error
ValidateTemplateUpdateFieldsRequest provides a mock function with given fields: templateID, updateRequest, updateFields