Documentation ¶
Overview ¶
Package notification_external provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Index ¶
- Constants
- func NewCreateRequest(server string, body CreateJSONRequestBody) (*http.Request, error)
- func NewCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteRequest(server string, webhookId string) (*http.Request, error)
- func NewFindConfigurationRequest(server string, entityType FindConfigurationParamsEntityType) (*http.Request, error)
- func NewFindEmailRequest(server string) (*http.Request, error)
- func NewFindInAppRequest(server string) (*http.Request, error)
- func NewFindUserConfigRequest(server string) (*http.Request, error)
- func NewFindWatchedEntitiesRequest(server string, eventType FindWatchedEntitiesParamsEventType) (*http.Request, error)
- func NewFindWebhookRequest(server string, webhookId string) (*http.Request, error)
- func NewGetEmailMessageRequest(server string, messageId string) (*http.Request, error)
- func NewGetEmailMessagesRequest(server string, body GetEmailMessagesJSONRequestBody) (*http.Request, error)
- func NewGetEmailMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetInAppMessageRequest(server string, body GetInAppMessageJSONRequestBody) (*http.Request, error)
- func NewGetInAppMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetInAppUserMessageRequest(server string, body GetInAppUserMessageJSONRequestBody) (*http.Request, error)
- func NewGetInAppUserMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetMessagesRequest(server string, body GetMessagesJSONRequestBody) (*http.Request, error)
- func NewGetMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetRequest(server string, webhookId string) (*http.Request, error)
- func NewGetUseAppsQueueRequest(server string, webhookId string) (*http.Request, error)
- func NewMarkAllMessagesAsReadRequest(server string) (*http.Request, error)
- func NewMarkMessageAsReadRequest(server string, messageId string) (*http.Request, error)
- func NewMarkMessageAsUnreadRequest(server string, messageId string) (*http.Request, error)
- func NewPingWebhookRequest(server string, params *PingWebhookParams) (*http.Request, error)
- func NewSearchRequest(server string, body SearchJSONRequestBody) (*http.Request, error)
- func NewSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSubscribeEmailRequest(server string, body SubscribeEmailJSONRequestBody) (*http.Request, error)
- func NewSubscribeEmailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSubscribeInAppRequest(server string, body SubscribeInAppJSONRequestBody) (*http.Request, error)
- func NewSubscribeInAppRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSubscribeRequest(server string, webhookId string, body SubscribeJSONRequestBody) (*http.Request, error)
- func NewSubscribeRequestWithBody(server string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSubscribeToEntityRequest(server string, eventType SubscribeToEntityParamsEventType, ...) (*http.Request, error)
- func NewSubscribeToEntityRequestWithBody(server string, eventType SubscribeToEntityParamsEventType, contentType string, ...) (*http.Request, error)
- func NewUnsubscribeEmailRequest(server string, body UnsubscribeEmailJSONRequestBody) (*http.Request, error)
- func NewUnsubscribeEmailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUnsubscribeFromEntityRequest(server string, eventType UnsubscribeFromEntityParamsEventType, ...) (*http.Request, error)
- func NewUnsubscribeFromEntityRequestWithBody(server string, eventType UnsubscribeFromEntityParamsEventType, ...) (*http.Request, error)
- func NewUnsubscribeInAppRequest(server string, body UnsubscribeInAppJSONRequestBody) (*http.Request, error)
- func NewUnsubscribeInAppRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUnsubscribeRequest(server string, webhookId string, body UnsubscribeJSONRequestBody) (*http.Request, error)
- func NewUnsubscribeRequestWithBody(server string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAppsQueueRequest(server string, webhookId string, body UpdateAppsQueueJSONRequestBody) (*http.Request, error)
- func NewUpdateAppsQueueRequestWithBody(server string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEmailFrequencyRequest(server string, entityType UpdateEmailFrequencyParamsEntityType, ...) (*http.Request, error)
- func NewUpdateEmailFrequencyRequestWithBody(server string, entityType UpdateEmailFrequencyParamsEntityType, ...) (*http.Request, error)
- func NewUpdateRequest(server string, webhookId string, body UpdateJSONRequestBody) (*http.Request, error)
- func NewUpdateRequestWithBody(server string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertRequest(server string, body UpsertJSONRequestBody) (*http.Request, error)
- func NewUpsertRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type AggregationFrequencyRequest
- type AggregationFrequencyRequestDayOfWeek
- type AggregationFrequencyRequestFrequencyType
- type AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek
- type AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth
- type AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinition
- type AggregationFrequencyResponse
- type AggregationFrequencyResponseDayOfWeek
- type AggregationFrequencyResponseFrequencyType
- type AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek
- type AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth
- type AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinition
- type Client
- func (c *Client) Create(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Delete(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FindConfiguration(ctx context.Context, entityType FindConfigurationParamsEntityType, ...) (*http.Response, error)
- func (c *Client) FindEmail(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FindInApp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FindUserConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FindWatchedEntities(ctx context.Context, eventType FindWatchedEntitiesParamsEventType, ...) (*http.Response, error)
- func (c *Client) FindWebhook(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Get(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEmailMessage(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEmailMessages(ctx context.Context, body GetEmailMessagesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetEmailMessagesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetInAppMessage(ctx context.Context, body GetInAppMessageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetInAppMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetInAppUserMessage(ctx context.Context, body GetInAppUserMessageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetInAppUserMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetMessages(ctx context.Context, body GetMessagesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetMessagesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetUseAppsQueue(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MarkAllMessagesAsRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MarkMessageAsRead(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MarkMessageAsUnread(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PingWebhook(ctx context.Context, params *PingWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Search(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SearchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Subscribe(ctx context.Context, webhookId string, body SubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SubscribeEmail(ctx context.Context, body SubscribeEmailJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SubscribeEmailWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SubscribeInApp(ctx context.Context, body SubscribeInAppJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SubscribeInAppWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SubscribeToEntity(ctx context.Context, eventType SubscribeToEntityParamsEventType, ...) (*http.Response, error)
- func (c *Client) SubscribeToEntityWithBody(ctx context.Context, eventType SubscribeToEntityParamsEventType, ...) (*http.Response, error)
- func (c *Client) SubscribeWithBody(ctx context.Context, webhookId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Unsubscribe(ctx context.Context, webhookId string, body UnsubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UnsubscribeEmail(ctx context.Context, body UnsubscribeEmailJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UnsubscribeEmailWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UnsubscribeFromEntity(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, ...) (*http.Response, error)
- func (c *Client) UnsubscribeFromEntityWithBody(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, ...) (*http.Response, error)
- func (c *Client) UnsubscribeInApp(ctx context.Context, body UnsubscribeInAppJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UnsubscribeInAppWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UnsubscribeWithBody(ctx context.Context, webhookId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Update(ctx context.Context, webhookId string, body UpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAppsQueue(ctx context.Context, webhookId string, body UpdateAppsQueueJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAppsQueueWithBody(ctx context.Context, webhookId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateEmailFrequency(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, ...) (*http.Response, error)
- func (c *Client) UpdateEmailFrequencyWithBody(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, ...) (*http.Response, error)
- func (c *Client) UpdateWithBody(ctx context.Context, webhookId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Upsert(ctx context.Context, body UpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpsertWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateResponse, error)
- func (c *ClientWithResponses) CreateWithResponse(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResponse, error)
- func (c *ClientWithResponses) DeleteWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*DeleteResponse, error)
- func (c *ClientWithResponses) FindConfigurationWithResponse(ctx context.Context, entityType FindConfigurationParamsEntityType, ...) (*FindConfigurationResponse, error)
- func (c *ClientWithResponses) FindEmailWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindEmailResponse, error)
- func (c *ClientWithResponses) FindInAppWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindInAppResponse, error)
- func (c *ClientWithResponses) FindUserConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindUserConfigResponse, error)
- func (c *ClientWithResponses) FindWatchedEntitiesWithResponse(ctx context.Context, eventType FindWatchedEntitiesParamsEventType, ...) (*FindWatchedEntitiesResponse, error)
- func (c *ClientWithResponses) FindWebhookWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*FindWebhookResponse, error)
- func (c *ClientWithResponses) GetEmailMessageWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*GetEmailMessageResponse, error)
- func (c *ClientWithResponses) GetEmailMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetEmailMessagesResponse, error)
- func (c *ClientWithResponses) GetEmailMessagesWithResponse(ctx context.Context, body GetEmailMessagesJSONRequestBody, ...) (*GetEmailMessagesResponse, error)
- func (c *ClientWithResponses) GetInAppMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetInAppMessageResponse, error)
- func (c *ClientWithResponses) GetInAppMessageWithResponse(ctx context.Context, body GetInAppMessageJSONRequestBody, ...) (*GetInAppMessageResponse, error)
- func (c *ClientWithResponses) GetInAppUserMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetInAppUserMessageResponse, error)
- func (c *ClientWithResponses) GetInAppUserMessageWithResponse(ctx context.Context, body GetInAppUserMessageJSONRequestBody, ...) (*GetInAppUserMessageResponse, error)
- func (c *ClientWithResponses) GetMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetMessagesResponse, error)
- func (c *ClientWithResponses) GetMessagesWithResponse(ctx context.Context, body GetMessagesJSONRequestBody, ...) (*GetMessagesResponse, error)
- func (c *ClientWithResponses) GetUseAppsQueueWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*GetUseAppsQueueResponse, error)
- func (c *ClientWithResponses) GetWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*GetResponse, error)
- func (c *ClientWithResponses) MarkAllMessagesAsReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MarkAllMessagesAsReadResponse, error)
- func (c *ClientWithResponses) MarkMessageAsReadWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*MarkMessageAsReadResponse, error)
- func (c *ClientWithResponses) MarkMessageAsUnreadWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*MarkMessageAsUnreadResponse, error)
- func (c *ClientWithResponses) PingWebhookWithResponse(ctx context.Context, params *PingWebhookParams, reqEditors ...RequestEditorFn) (*PingWebhookResponse, error)
- func (c *ClientWithResponses) SearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchResponse, error)
- func (c *ClientWithResponses) SearchWithResponse(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchResponse, error)
- func (c *ClientWithResponses) SubscribeEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SubscribeEmailResponse, error)
- func (c *ClientWithResponses) SubscribeEmailWithResponse(ctx context.Context, body SubscribeEmailJSONRequestBody, ...) (*SubscribeEmailResponse, error)
- func (c *ClientWithResponses) SubscribeInAppWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SubscribeInAppResponse, error)
- func (c *ClientWithResponses) SubscribeInAppWithResponse(ctx context.Context, body SubscribeInAppJSONRequestBody, ...) (*SubscribeInAppResponse, error)
- func (c *ClientWithResponses) SubscribeToEntityWithBodyWithResponse(ctx context.Context, eventType SubscribeToEntityParamsEventType, ...) (*SubscribeToEntityResponse, error)
- func (c *ClientWithResponses) SubscribeToEntityWithResponse(ctx context.Context, eventType SubscribeToEntityParamsEventType, ...) (*SubscribeToEntityResponse, error)
- func (c *ClientWithResponses) SubscribeWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, ...) (*SubscribeResponse, error)
- func (c *ClientWithResponses) SubscribeWithResponse(ctx context.Context, webhookId string, body SubscribeJSONRequestBody, ...) (*SubscribeResponse, error)
- func (c *ClientWithResponses) UnsubscribeEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UnsubscribeEmailResponse, error)
- func (c *ClientWithResponses) UnsubscribeEmailWithResponse(ctx context.Context, body UnsubscribeEmailJSONRequestBody, ...) (*UnsubscribeEmailResponse, error)
- func (c *ClientWithResponses) UnsubscribeFromEntityWithBodyWithResponse(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, ...) (*UnsubscribeFromEntityResponse, error)
- func (c *ClientWithResponses) UnsubscribeFromEntityWithResponse(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, ...) (*UnsubscribeFromEntityResponse, error)
- func (c *ClientWithResponses) UnsubscribeInAppWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UnsubscribeInAppResponse, error)
- func (c *ClientWithResponses) UnsubscribeInAppWithResponse(ctx context.Context, body UnsubscribeInAppJSONRequestBody, ...) (*UnsubscribeInAppResponse, error)
- func (c *ClientWithResponses) UnsubscribeWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, ...) (*UnsubscribeResponse, error)
- func (c *ClientWithResponses) UnsubscribeWithResponse(ctx context.Context, webhookId string, body UnsubscribeJSONRequestBody, ...) (*UnsubscribeResponse, error)
- func (c *ClientWithResponses) UpdateAppsQueueWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, ...) (*UpdateAppsQueueResponse, error)
- func (c *ClientWithResponses) UpdateAppsQueueWithResponse(ctx context.Context, webhookId string, body UpdateAppsQueueJSONRequestBody, ...) (*UpdateAppsQueueResponse, error)
- func (c *ClientWithResponses) UpdateEmailFrequencyWithBodyWithResponse(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, ...) (*UpdateEmailFrequencyResponse, error)
- func (c *ClientWithResponses) UpdateEmailFrequencyWithResponse(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, ...) (*UpdateEmailFrequencyResponse, error)
- func (c *ClientWithResponses) UpdateWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, ...) (*UpdateResponse, error)
- func (c *ClientWithResponses) UpdateWithResponse(ctx context.Context, webhookId string, body UpdateJSONRequestBody, ...) (*UpdateResponse, error)
- func (c *ClientWithResponses) UpsertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpsertResponse, error)
- func (c *ClientWithResponses) UpsertWithResponse(ctx context.Context, body UpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertResponse, error)
- type ClientWithResponsesInterface
- type CreateJSONRequestBody
- type CreateResponse
- type DeleteResponse
- type EmailMessageListResponse
- type EmailMessageResponse
- type EmailMessageResponseDeliveryStatus
- type EmailMessageSearchRequest
- type EmailRecipient
- type EntityWatchRequest
- type EntityWatchResponse
- type ErrorDetails
- type ErrorResponse
- type FindConfigurationParamsEntityType
- type FindConfigurationResponse
- type FindEmailResponse
- type FindInAppResponse
- type FindUserConfigResponse
- type FindWatchedEntitiesParamsEventType
- type FindWatchedEntitiesResponse
- type FindWebhookResponse
- type FrequencyConfigRequest
- type FrequencyConfigResponse
- type GetEmailMessageResponse
- type GetEmailMessagesJSONRequestBody
- type GetEmailMessagesResponse
- type GetInAppMessageJSONRequestBody
- type GetInAppMessageResponse
- type GetInAppUserMessageJSONRequestBody
- type GetInAppUserMessageResponse
- type GetMessagesJSONRequestBody
- type GetMessagesResponse
- type GetResponse
- type GetUseAppsQueueResponse
- type HttpRequestDoer
- type InAppMessageListResponse
- type InAppMessageResponse
- type InAppMessageSearchRequest
- type InAppMessageSearchRequestStatus
- type InAppRecipient
- type InAppRecipientMessageStatus
- type InAppUserMessageListResponse
- type InAppUserMessageResponse
- type InAppUserMessageResponseStatus
- type LocalTime
- type MarkAllMessagesAsReadResponse
- type MarkMessageAsReadResponse
- type MarkMessageAsUnreadResponse
- type PingWebhookParams
- type PingWebhookResponse
- type PropertyUpdateString
- type RequestEditorFn
- type SearchJSONRequestBody
- type SearchResponse
- type SubscribeEmailJSONRequestBody
- type SubscribeEmailResponse
- type SubscribeInAppJSONRequestBody
- type SubscribeInAppResponse
- type SubscribeJSONRequestBody
- type SubscribeResponse
- type SubscribeToEntityJSONRequestBody
- type SubscribeToEntityParamsEventType
- type SubscribeToEntityResponse
- type SubscriptionResponse
- type SubscriptionResponseEventTypes
- type Unit
- type UnsubscribeEmailJSONRequestBody
- type UnsubscribeEmailResponse
- type UnsubscribeFromEntityJSONRequestBody
- type UnsubscribeFromEntityParamsEventType
- type UnsubscribeFromEntityResponse
- type UnsubscribeInAppJSONRequestBody
- type UnsubscribeInAppResponse
- type UnsubscribeJSONRequestBody
- type UnsubscribeResponse
- type UpdateAppsQueueJSONRequestBody
- type UpdateAppsQueueResponse
- type UpdateEmailFrequencyJSONRequestBody
- type UpdateEmailFrequencyParamsEntityType
- type UpdateEmailFrequencyResponse
- type UpdateJSONRequestBody
- type UpdateResponse
- type UpsertJSONRequestBody
- type UpsertResponse
- type UserConfigurationRequest
- type UserConfigurationResponse
- type UserEventTypeListRequest
- type UserEventTypeListRequestEventTypes
- type WebhookAppsQueueResponse
- type WebhookAppsQueueUpdateRequest
- type WebhookCall
- type WebhookCreateRequest
- type WebhookEventTypeListRequest
- type WebhookEventTypeListRequestEventTypes
- type WebhookListResponse
- type WebhookMessageResponse
- type WebhookMessageResponseEventType
- type WebhookMessageResponseStatus
- type WebhookMessageSearchRequest
- type WebhookMessageSearchRequestStatus
- type WebhookRequest
- type WebhookResponse
- type WebhookSearchRequest
- type WebhookUpdateRequest
Constants ¶
const (
MapiKeyScopes = "mapiKey.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewCreateRequest ¶
func NewCreateRequest(server string, body CreateJSONRequestBody) (*http.Request, error)
NewCreateRequest calls the generic Create builder with application/json body
func NewCreateRequestWithBody ¶
func NewCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRequestWithBody generates requests for Create with any type of body
func NewDeleteRequest ¶
NewDeleteRequest generates requests for Delete
func NewFindConfigurationRequest ¶
func NewFindConfigurationRequest(server string, entityType FindConfigurationParamsEntityType) (*http.Request, error)
NewFindConfigurationRequest generates requests for FindConfiguration
func NewFindEmailRequest ¶
NewFindEmailRequest generates requests for FindEmail
func NewFindInAppRequest ¶
NewFindInAppRequest generates requests for FindInApp
func NewFindUserConfigRequest ¶
NewFindUserConfigRequest generates requests for FindUserConfig
func NewFindWatchedEntitiesRequest ¶
func NewFindWatchedEntitiesRequest(server string, eventType FindWatchedEntitiesParamsEventType) (*http.Request, error)
NewFindWatchedEntitiesRequest generates requests for FindWatchedEntities
func NewFindWebhookRequest ¶
NewFindWebhookRequest generates requests for FindWebhook
func NewGetEmailMessageRequest ¶
NewGetEmailMessageRequest generates requests for GetEmailMessage
func NewGetEmailMessagesRequest ¶
func NewGetEmailMessagesRequest(server string, body GetEmailMessagesJSONRequestBody) (*http.Request, error)
NewGetEmailMessagesRequest calls the generic GetEmailMessages builder with application/json body
func NewGetEmailMessagesRequestWithBody ¶
func NewGetEmailMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetEmailMessagesRequestWithBody generates requests for GetEmailMessages with any type of body
func NewGetInAppMessageRequest ¶
func NewGetInAppMessageRequest(server string, body GetInAppMessageJSONRequestBody) (*http.Request, error)
NewGetInAppMessageRequest calls the generic GetInAppMessage builder with application/json body
func NewGetInAppMessageRequestWithBody ¶
func NewGetInAppMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetInAppMessageRequestWithBody generates requests for GetInAppMessage with any type of body
func NewGetInAppUserMessageRequest ¶
func NewGetInAppUserMessageRequest(server string, body GetInAppUserMessageJSONRequestBody) (*http.Request, error)
NewGetInAppUserMessageRequest calls the generic GetInAppUserMessage builder with application/json body
func NewGetInAppUserMessageRequestWithBody ¶
func NewGetInAppUserMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetInAppUserMessageRequestWithBody generates requests for GetInAppUserMessage with any type of body
func NewGetMessagesRequest ¶
func NewGetMessagesRequest(server string, body GetMessagesJSONRequestBody) (*http.Request, error)
NewGetMessagesRequest calls the generic GetMessages builder with application/json body
func NewGetMessagesRequestWithBody ¶
func NewGetMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetMessagesRequestWithBody generates requests for GetMessages with any type of body
func NewGetRequest ¶
NewGetRequest generates requests for Get
func NewGetUseAppsQueueRequest ¶
NewGetUseAppsQueueRequest generates requests for GetUseAppsQueue
func NewMarkAllMessagesAsReadRequest ¶
NewMarkAllMessagesAsReadRequest generates requests for MarkAllMessagesAsRead
func NewMarkMessageAsReadRequest ¶
NewMarkMessageAsReadRequest generates requests for MarkMessageAsRead
func NewMarkMessageAsUnreadRequest ¶
NewMarkMessageAsUnreadRequest generates requests for MarkMessageAsUnread
func NewPingWebhookRequest ¶
func NewPingWebhookRequest(server string, params *PingWebhookParams) (*http.Request, error)
NewPingWebhookRequest generates requests for PingWebhook
func NewSearchRequest ¶
func NewSearchRequest(server string, body SearchJSONRequestBody) (*http.Request, error)
NewSearchRequest calls the generic Search builder with application/json body
func NewSearchRequestWithBody ¶
func NewSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchRequestWithBody generates requests for Search with any type of body
func NewSubscribeEmailRequest ¶
func NewSubscribeEmailRequest(server string, body SubscribeEmailJSONRequestBody) (*http.Request, error)
NewSubscribeEmailRequest calls the generic SubscribeEmail builder with application/json body
func NewSubscribeEmailRequestWithBody ¶
func NewSubscribeEmailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSubscribeEmailRequestWithBody generates requests for SubscribeEmail with any type of body
func NewSubscribeInAppRequest ¶
func NewSubscribeInAppRequest(server string, body SubscribeInAppJSONRequestBody) (*http.Request, error)
NewSubscribeInAppRequest calls the generic SubscribeInApp builder with application/json body
func NewSubscribeInAppRequestWithBody ¶
func NewSubscribeInAppRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSubscribeInAppRequestWithBody generates requests for SubscribeInApp with any type of body
func NewSubscribeRequest ¶
func NewSubscribeRequest(server string, webhookId string, body SubscribeJSONRequestBody) (*http.Request, error)
NewSubscribeRequest calls the generic Subscribe builder with application/json body
func NewSubscribeRequestWithBody ¶
func NewSubscribeRequestWithBody(server string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
NewSubscribeRequestWithBody generates requests for Subscribe with any type of body
func NewSubscribeToEntityRequest ¶
func NewSubscribeToEntityRequest(server string, eventType SubscribeToEntityParamsEventType, body SubscribeToEntityJSONRequestBody) (*http.Request, error)
NewSubscribeToEntityRequest calls the generic SubscribeToEntity builder with application/json body
func NewSubscribeToEntityRequestWithBody ¶
func NewSubscribeToEntityRequestWithBody(server string, eventType SubscribeToEntityParamsEventType, contentType string, body io.Reader) (*http.Request, error)
NewSubscribeToEntityRequestWithBody generates requests for SubscribeToEntity with any type of body
func NewUnsubscribeEmailRequest ¶
func NewUnsubscribeEmailRequest(server string, body UnsubscribeEmailJSONRequestBody) (*http.Request, error)
NewUnsubscribeEmailRequest calls the generic UnsubscribeEmail builder with application/json body
func NewUnsubscribeEmailRequestWithBody ¶
func NewUnsubscribeEmailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUnsubscribeEmailRequestWithBody generates requests for UnsubscribeEmail with any type of body
func NewUnsubscribeFromEntityRequest ¶
func NewUnsubscribeFromEntityRequest(server string, eventType UnsubscribeFromEntityParamsEventType, body UnsubscribeFromEntityJSONRequestBody) (*http.Request, error)
NewUnsubscribeFromEntityRequest calls the generic UnsubscribeFromEntity builder with application/json body
func NewUnsubscribeFromEntityRequestWithBody ¶
func NewUnsubscribeFromEntityRequestWithBody(server string, eventType UnsubscribeFromEntityParamsEventType, contentType string, body io.Reader) (*http.Request, error)
NewUnsubscribeFromEntityRequestWithBody generates requests for UnsubscribeFromEntity with any type of body
func NewUnsubscribeInAppRequest ¶
func NewUnsubscribeInAppRequest(server string, body UnsubscribeInAppJSONRequestBody) (*http.Request, error)
NewUnsubscribeInAppRequest calls the generic UnsubscribeInApp builder with application/json body
func NewUnsubscribeInAppRequestWithBody ¶
func NewUnsubscribeInAppRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUnsubscribeInAppRequestWithBody generates requests for UnsubscribeInApp with any type of body
func NewUnsubscribeRequest ¶
func NewUnsubscribeRequest(server string, webhookId string, body UnsubscribeJSONRequestBody) (*http.Request, error)
NewUnsubscribeRequest calls the generic Unsubscribe builder with application/json body
func NewUnsubscribeRequestWithBody ¶
func NewUnsubscribeRequestWithBody(server string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
NewUnsubscribeRequestWithBody generates requests for Unsubscribe with any type of body
func NewUpdateAppsQueueRequest ¶
func NewUpdateAppsQueueRequest(server string, webhookId string, body UpdateAppsQueueJSONRequestBody) (*http.Request, error)
NewUpdateAppsQueueRequest calls the generic UpdateAppsQueue builder with application/json body
func NewUpdateAppsQueueRequestWithBody ¶
func NewUpdateAppsQueueRequestWithBody(server string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAppsQueueRequestWithBody generates requests for UpdateAppsQueue with any type of body
func NewUpdateEmailFrequencyRequest ¶
func NewUpdateEmailFrequencyRequest(server string, entityType UpdateEmailFrequencyParamsEntityType, body UpdateEmailFrequencyJSONRequestBody) (*http.Request, error)
NewUpdateEmailFrequencyRequest calls the generic UpdateEmailFrequency builder with application/json body
func NewUpdateEmailFrequencyRequestWithBody ¶
func NewUpdateEmailFrequencyRequestWithBody(server string, entityType UpdateEmailFrequencyParamsEntityType, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEmailFrequencyRequestWithBody generates requests for UpdateEmailFrequency with any type of body
func NewUpdateRequest ¶
func NewUpdateRequest(server string, webhookId string, body UpdateJSONRequestBody) (*http.Request, error)
NewUpdateRequest calls the generic Update builder with application/json body
func NewUpdateRequestWithBody ¶
func NewUpdateRequestWithBody(server string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRequestWithBody generates requests for Update with any type of body
func NewUpsertRequest ¶
func NewUpsertRequest(server string, body UpsertJSONRequestBody) (*http.Request, error)
NewUpsertRequest calls the generic Upsert builder with application/json body
Types ¶
type AggregationFrequencyRequest ¶
type AggregationFrequencyRequest struct { DayOfWeek AggregationFrequencyRequestDayOfWeek `json:"dayOfWeek"` FrequencyType AggregationFrequencyRequestFrequencyType `json:"frequencyType"` Hour int32 `json:"hour"` TimeZoneId struct { Id *string `json:"id,omitempty"` Rules *struct { FixedOffset *bool `json:"fixedOffset,omitempty"` TransitionRules *[]struct { DayOfMonthIndicator *int32 `json:"dayOfMonthIndicator,omitempty"` DayOfWeek *AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek `json:"dayOfWeek,omitempty"` LocalTime *LocalTime `json:"localTime,omitempty"` MidnightEndOfDay *bool `json:"midnightEndOfDay,omitempty"` Month *AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth `json:"month,omitempty"` OffsetAfter *struct { Id *string `json:"id,omitempty"` TotalSeconds *int32 `json:"totalSeconds,omitempty"` } `json:"offsetAfter,omitempty"` OffsetBefore *struct { Id *string `json:"id,omitempty"` TotalSeconds *int32 `json:"totalSeconds,omitempty"` } `json:"offsetBefore,omitempty"` StandardOffset *struct { Id *string `json:"id,omitempty"` TotalSeconds *int32 `json:"totalSeconds,omitempty"` } `json:"standardOffset,omitempty"` TimeDefinition *AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinition `json:"timeDefinition,omitempty"` } `json:"transitionRules,omitempty"` Transitions *[]struct { DateTimeAfter *time.Time `json:"dateTimeAfter,omitempty"` DateTimeBefore *time.Time `json:"dateTimeBefore,omitempty"` Duration *struct { Nano *int32 `json:"nano,omitempty"` Negative *bool `json:"negative,omitempty"` Seconds *int64 `json:"seconds,omitempty"` Units *[]struct { DateBased *bool `json:"dateBased,omitempty"` DurationEstimated *bool `json:"durationEstimated,omitempty"` TimeBased *bool `json:"timeBased,omitempty"` } `json:"units,omitempty"` Zero *bool `json:"zero,omitempty"` } `json:"duration,omitempty"` Gap *bool `json:"gap,omitempty"` Instant *time.Time `json:"instant,omitempty"` OffsetAfter *struct { Id *string `json:"id,omitempty"` TotalSeconds *int32 `json:"totalSeconds,omitempty"` } `json:"offsetAfter,omitempty"` OffsetBefore *struct { Id *string `json:"id,omitempty"` TotalSeconds *int32 `json:"totalSeconds,omitempty"` } `json:"offsetBefore,omitempty"` Overlap *bool `json:"overlap,omitempty"` } `json:"transitions,omitempty"` } `json:"rules,omitempty"` } `json:"timeZoneId"` }
AggregationFrequencyRequest defines model for AggregationFrequencyRequest.
type AggregationFrequencyRequestDayOfWeek ¶
type AggregationFrequencyRequestDayOfWeek string
AggregationFrequencyRequestDayOfWeek defines model for AggregationFrequencyRequest.DayOfWeek.
const ( AggregationFrequencyRequestDayOfWeekFRIDAY AggregationFrequencyRequestDayOfWeek = "FRIDAY" AggregationFrequencyRequestDayOfWeekMONDAY AggregationFrequencyRequestDayOfWeek = "MONDAY" AggregationFrequencyRequestDayOfWeekSATURDAY AggregationFrequencyRequestDayOfWeek = "SATURDAY" AggregationFrequencyRequestDayOfWeekSUNDAY AggregationFrequencyRequestDayOfWeek = "SUNDAY" AggregationFrequencyRequestDayOfWeekTHURSDAY AggregationFrequencyRequestDayOfWeek = "THURSDAY" AggregationFrequencyRequestDayOfWeekTUESDAY AggregationFrequencyRequestDayOfWeek = "TUESDAY" AggregationFrequencyRequestDayOfWeekWEDNESDAY AggregationFrequencyRequestDayOfWeek = "WEDNESDAY" )
Defines values for AggregationFrequencyRequestDayOfWeek.
type AggregationFrequencyRequestFrequencyType ¶
type AggregationFrequencyRequestFrequencyType string
AggregationFrequencyRequestFrequencyType defines model for AggregationFrequencyRequest.FrequencyType.
const ( AggregationFrequencyRequestFrequencyTypeDAILY AggregationFrequencyRequestFrequencyType = "DAILY" AggregationFrequencyRequestFrequencyTypeHOURLY AggregationFrequencyRequestFrequencyType = "HOURLY" AggregationFrequencyRequestFrequencyTypeWEEKLY AggregationFrequencyRequestFrequencyType = "WEEKLY" )
Defines values for AggregationFrequencyRequestFrequencyType.
type AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek ¶
type AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek string
AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek defines model for AggregationFrequencyRequest.TimeZoneId.Rules.TransitionRules.DayOfWeek.
const ( AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeekFRIDAY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek = "FRIDAY" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeekMONDAY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek = "MONDAY" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeekSATURDAY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek = "SATURDAY" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeekSUNDAY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek = "SUNDAY" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeekTHURSDAY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek = "THURSDAY" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeekTUESDAY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek = "TUESDAY" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeekWEDNESDAY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek = "WEDNESDAY" )
Defines values for AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesDayOfWeek.
type AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth ¶
type AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth string
AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth defines model for AggregationFrequencyRequest.TimeZoneId.Rules.TransitionRules.Month.
const ( AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthAPRIL AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "APRIL" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthAUGUST AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "AUGUST" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthDECEMBER AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "DECEMBER" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthFEBRUARY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "FEBRUARY" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthJANUARY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "JANUARY" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthJULY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "JULY" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthJUNE AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "JUNE" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthMARCH AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "MARCH" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthMAY AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "MAY" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthNOVEMBER AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "NOVEMBER" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthOCTOBER AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "OCTOBER" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonthSEPTEMBER AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth = "SEPTEMBER" )
Defines values for AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesMonth.
type AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinition ¶
type AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinition string
AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinition defines model for AggregationFrequencyRequest.TimeZoneId.Rules.TransitionRules.TimeDefinition.
const ( AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinitionSTANDARD AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinition = "STANDARD" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinitionUTC AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinition = "UTC" AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinitionWALL AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinition = "WALL" )
Defines values for AggregationFrequencyRequestTimeZoneIdRulesTransitionRulesTimeDefinition.
type AggregationFrequencyResponse ¶
type AggregationFrequencyResponse struct { DayOfWeek AggregationFrequencyResponseDayOfWeek `json:"dayOfWeek"` FrequencyType AggregationFrequencyResponseFrequencyType `json:"frequencyType"` Hour int32 `json:"hour"` TimeZoneId struct { Id *string `json:"id,omitempty"` Rules *struct { FixedOffset *bool `json:"fixedOffset,omitempty"` TransitionRules *[]struct { DayOfMonthIndicator *int32 `json:"dayOfMonthIndicator,omitempty"` DayOfWeek *AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek `json:"dayOfWeek,omitempty"` LocalTime *LocalTime `json:"localTime,omitempty"` MidnightEndOfDay *bool `json:"midnightEndOfDay,omitempty"` Month *AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth `json:"month,omitempty"` OffsetAfter *struct { Id *string `json:"id,omitempty"` TotalSeconds *int32 `json:"totalSeconds,omitempty"` } `json:"offsetAfter,omitempty"` OffsetBefore *struct { Id *string `json:"id,omitempty"` TotalSeconds *int32 `json:"totalSeconds,omitempty"` } `json:"offsetBefore,omitempty"` StandardOffset *struct { Id *string `json:"id,omitempty"` TotalSeconds *int32 `json:"totalSeconds,omitempty"` } `json:"standardOffset,omitempty"` TimeDefinition *AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinition `json:"timeDefinition,omitempty"` } `json:"transitionRules,omitempty"` Transitions *[]struct { DateTimeAfter *time.Time `json:"dateTimeAfter,omitempty"` DateTimeBefore *time.Time `json:"dateTimeBefore,omitempty"` Duration *struct { Nano *int32 `json:"nano,omitempty"` Negative *bool `json:"negative,omitempty"` Seconds *int64 `json:"seconds,omitempty"` Units *[]struct { DateBased *bool `json:"dateBased,omitempty"` DurationEstimated *bool `json:"durationEstimated,omitempty"` TimeBased *bool `json:"timeBased,omitempty"` } `json:"units,omitempty"` Zero *bool `json:"zero,omitempty"` } `json:"duration,omitempty"` Gap *bool `json:"gap,omitempty"` Instant *time.Time `json:"instant,omitempty"` OffsetAfter *struct { Id *string `json:"id,omitempty"` TotalSeconds *int32 `json:"totalSeconds,omitempty"` } `json:"offsetAfter,omitempty"` OffsetBefore *struct { Id *string `json:"id,omitempty"` TotalSeconds *int32 `json:"totalSeconds,omitempty"` } `json:"offsetBefore,omitempty"` Overlap *bool `json:"overlap,omitempty"` } `json:"transitions,omitempty"` } `json:"rules,omitempty"` } `json:"timeZoneId"` }
AggregationFrequencyResponse defines model for AggregationFrequencyResponse.
type AggregationFrequencyResponseDayOfWeek ¶
type AggregationFrequencyResponseDayOfWeek string
AggregationFrequencyResponseDayOfWeek defines model for AggregationFrequencyResponse.DayOfWeek.
const ( AggregationFrequencyResponseDayOfWeekFRIDAY AggregationFrequencyResponseDayOfWeek = "FRIDAY" AggregationFrequencyResponseDayOfWeekMONDAY AggregationFrequencyResponseDayOfWeek = "MONDAY" AggregationFrequencyResponseDayOfWeekSATURDAY AggregationFrequencyResponseDayOfWeek = "SATURDAY" AggregationFrequencyResponseDayOfWeekSUNDAY AggregationFrequencyResponseDayOfWeek = "SUNDAY" AggregationFrequencyResponseDayOfWeekTHURSDAY AggregationFrequencyResponseDayOfWeek = "THURSDAY" AggregationFrequencyResponseDayOfWeekTUESDAY AggregationFrequencyResponseDayOfWeek = "TUESDAY" AggregationFrequencyResponseDayOfWeekWEDNESDAY AggregationFrequencyResponseDayOfWeek = "WEDNESDAY" )
Defines values for AggregationFrequencyResponseDayOfWeek.
type AggregationFrequencyResponseFrequencyType ¶
type AggregationFrequencyResponseFrequencyType string
AggregationFrequencyResponseFrequencyType defines model for AggregationFrequencyResponse.FrequencyType.
const ( AggregationFrequencyResponseFrequencyTypeDAILY AggregationFrequencyResponseFrequencyType = "DAILY" AggregationFrequencyResponseFrequencyTypeHOURLY AggregationFrequencyResponseFrequencyType = "HOURLY" AggregationFrequencyResponseFrequencyTypeWEEKLY AggregationFrequencyResponseFrequencyType = "WEEKLY" )
Defines values for AggregationFrequencyResponseFrequencyType.
type AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek ¶
type AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek string
AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek defines model for AggregationFrequencyResponse.TimeZoneId.Rules.TransitionRules.DayOfWeek.
const ( AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeekFRIDAY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek = "FRIDAY" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeekMONDAY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek = "MONDAY" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeekSATURDAY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek = "SATURDAY" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeekSUNDAY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek = "SUNDAY" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeekTHURSDAY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek = "THURSDAY" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeekTUESDAY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek = "TUESDAY" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeekWEDNESDAY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek = "WEDNESDAY" )
Defines values for AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesDayOfWeek.
type AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth ¶
type AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth string
AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth defines model for AggregationFrequencyResponse.TimeZoneId.Rules.TransitionRules.Month.
const ( AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthAPRIL AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "APRIL" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthAUGUST AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "AUGUST" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthDECEMBER AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "DECEMBER" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthFEBRUARY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "FEBRUARY" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthJANUARY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "JANUARY" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthJULY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "JULY" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthJUNE AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "JUNE" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthMARCH AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "MARCH" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthMAY AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "MAY" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthNOVEMBER AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "NOVEMBER" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthOCTOBER AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "OCTOBER" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonthSEPTEMBER AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth = "SEPTEMBER" )
Defines values for AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesMonth.
type AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinition ¶
type AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinition string
AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinition defines model for AggregationFrequencyResponse.TimeZoneId.Rules.TransitionRules.TimeDefinition.
const ( AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinitionSTANDARD AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinition = "STANDARD" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinitionUTC AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinition = "UTC" AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinitionWALL AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinition = "WALL" )
Defines values for AggregationFrequencyResponseTimeZoneIdRulesTransitionRulesTimeDefinition.
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWithBody ¶
func (*Client) FindConfiguration ¶
func (c *Client) FindConfiguration(ctx context.Context, entityType FindConfigurationParamsEntityType, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FindUserConfig ¶
func (*Client) FindWatchedEntities ¶
func (c *Client) FindWatchedEntities(ctx context.Context, eventType FindWatchedEntitiesParamsEventType, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FindWebhook ¶
func (*Client) GetEmailMessage ¶
func (*Client) GetEmailMessages ¶
func (c *Client) GetEmailMessages(ctx context.Context, body GetEmailMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEmailMessagesWithBody ¶
func (*Client) GetInAppMessage ¶
func (c *Client) GetInAppMessage(ctx context.Context, body GetInAppMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetInAppMessageWithBody ¶
func (*Client) GetInAppUserMessage ¶
func (c *Client) GetInAppUserMessage(ctx context.Context, body GetInAppUserMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetInAppUserMessageWithBody ¶
func (*Client) GetMessages ¶
func (c *Client) GetMessages(ctx context.Context, body GetMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMessagesWithBody ¶
func (*Client) GetUseAppsQueue ¶
func (*Client) MarkAllMessagesAsRead ¶
func (*Client) MarkMessageAsRead ¶
func (*Client) MarkMessageAsUnread ¶
func (*Client) PingWebhook ¶
func (c *Client) PingWebhook(ctx context.Context, params *PingWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Search ¶
func (c *Client) Search(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchWithBody ¶
func (*Client) Subscribe ¶
func (c *Client) Subscribe(ctx context.Context, webhookId string, body SubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SubscribeEmail ¶
func (c *Client) SubscribeEmail(ctx context.Context, body SubscribeEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SubscribeEmailWithBody ¶
func (*Client) SubscribeInApp ¶
func (c *Client) SubscribeInApp(ctx context.Context, body SubscribeInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SubscribeInAppWithBody ¶
func (*Client) SubscribeToEntity ¶
func (c *Client) SubscribeToEntity(ctx context.Context, eventType SubscribeToEntityParamsEventType, body SubscribeToEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SubscribeToEntityWithBody ¶
func (*Client) SubscribeWithBody ¶
func (*Client) Unsubscribe ¶
func (c *Client) Unsubscribe(ctx context.Context, webhookId string, body UnsubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnsubscribeEmail ¶
func (c *Client) UnsubscribeEmail(ctx context.Context, body UnsubscribeEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnsubscribeEmailWithBody ¶
func (*Client) UnsubscribeFromEntity ¶
func (c *Client) UnsubscribeFromEntity(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, body UnsubscribeFromEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnsubscribeFromEntityWithBody ¶
func (*Client) UnsubscribeInApp ¶
func (c *Client) UnsubscribeInApp(ctx context.Context, body UnsubscribeInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnsubscribeInAppWithBody ¶
func (*Client) UnsubscribeWithBody ¶
func (*Client) Update ¶
func (c *Client) Update(ctx context.Context, webhookId string, body UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAppsQueue ¶
func (c *Client) UpdateAppsQueue(ctx context.Context, webhookId string, body UpdateAppsQueueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAppsQueueWithBody ¶
func (*Client) UpdateEmailFrequency ¶
func (c *Client) UpdateEmailFrequency(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, body UpdateEmailFrequencyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEmailFrequencyWithBody ¶
func (*Client) UpdateWithBody ¶
func (*Client) Upsert ¶
func (c *Client) Upsert(ctx context.Context, body UpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // GetEmailMessagesWithBody request with any body GetEmailMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GetEmailMessages(ctx context.Context, body GetEmailMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetEmailMessage request GetEmailMessage(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetInAppMessageWithBody request with any body GetInAppMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GetInAppMessage(ctx context.Context, body GetInAppMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetInAppUserMessageWithBody request with any body GetInAppUserMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GetInAppUserMessage(ctx context.Context, body GetInAppUserMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // MarkAllMessagesAsRead request MarkAllMessagesAsRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // MarkMessageAsRead request MarkMessageAsRead(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*http.Response, error) // MarkMessageAsUnread request MarkMessageAsUnread(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PingWebhook request PingWebhook(ctx context.Context, params *PingWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMessagesWithBody request with any body GetMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GetMessages(ctx context.Context, body GetMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // FindUserConfig request FindUserConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // UpsertWithBody request with any body UpsertWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) Upsert(ctx context.Context, body UpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // FindConfiguration request FindConfiguration(ctx context.Context, entityType FindConfigurationParamsEntityType, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateEmailFrequencyWithBody request with any body UpdateEmailFrequencyWithBody(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateEmailFrequency(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, body UpdateEmailFrequencyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UnsubscribeEmailWithBody request with any body UnsubscribeEmailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UnsubscribeEmail(ctx context.Context, body UnsubscribeEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // FindEmail request FindEmail(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // SubscribeEmailWithBody request with any body SubscribeEmailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SubscribeEmail(ctx context.Context, body SubscribeEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UnsubscribeInAppWithBody request with any body UnsubscribeInAppWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UnsubscribeInApp(ctx context.Context, body UnsubscribeInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // FindInApp request FindInApp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // SubscribeInAppWithBody request with any body SubscribeInAppWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SubscribeInApp(ctx context.Context, body SubscribeInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UnsubscribeFromEntityWithBody request with any body UnsubscribeFromEntityWithBody(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UnsubscribeFromEntity(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, body UnsubscribeFromEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // FindWatchedEntities request FindWatchedEntities(ctx context.Context, eventType FindWatchedEntitiesParamsEventType, reqEditors ...RequestEditorFn) (*http.Response, error) // SubscribeToEntityWithBody request with any body SubscribeToEntityWithBody(ctx context.Context, eventType SubscribeToEntityParamsEventType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SubscribeToEntity(ctx context.Context, eventType SubscribeToEntityParamsEventType, body SubscribeToEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetUseAppsQueue request GetUseAppsQueue(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateAppsQueueWithBody request with any body UpdateAppsQueueWithBody(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateAppsQueue(ctx context.Context, webhookId string, body UpdateAppsQueueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UnsubscribeWithBody request with any body UnsubscribeWithBody(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) Unsubscribe(ctx context.Context, webhookId string, body UnsubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // FindWebhook request FindWebhook(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error) // SubscribeWithBody request with any body SubscribeWithBody(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) Subscribe(ctx context.Context, webhookId string, body SubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateWithBody request with any body CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) Create(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchWithBody request with any body SearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) Search(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // Delete request Delete(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error) // Get request Get(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateWithBody request with any body UpdateWithBody(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) Update(ctx context.Context, webhookId string, body UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CreateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResponse, error)
CreateWithBodyWithResponse request with arbitrary body returning *CreateResponse
func (*ClientWithResponses) CreateWithResponse ¶
func (c *ClientWithResponses) CreateWithResponse(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResponse, error)
func (*ClientWithResponses) DeleteWithResponse ¶
func (c *ClientWithResponses) DeleteWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*DeleteResponse, error)
DeleteWithResponse request returning *DeleteResponse
func (*ClientWithResponses) FindConfigurationWithResponse ¶
func (c *ClientWithResponses) FindConfigurationWithResponse(ctx context.Context, entityType FindConfigurationParamsEntityType, reqEditors ...RequestEditorFn) (*FindConfigurationResponse, error)
FindConfigurationWithResponse request returning *FindConfigurationResponse
func (*ClientWithResponses) FindEmailWithResponse ¶
func (c *ClientWithResponses) FindEmailWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindEmailResponse, error)
FindEmailWithResponse request returning *FindEmailResponse
func (*ClientWithResponses) FindInAppWithResponse ¶
func (c *ClientWithResponses) FindInAppWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindInAppResponse, error)
FindInAppWithResponse request returning *FindInAppResponse
func (*ClientWithResponses) FindUserConfigWithResponse ¶
func (c *ClientWithResponses) FindUserConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindUserConfigResponse, error)
FindUserConfigWithResponse request returning *FindUserConfigResponse
func (*ClientWithResponses) FindWatchedEntitiesWithResponse ¶
func (c *ClientWithResponses) FindWatchedEntitiesWithResponse(ctx context.Context, eventType FindWatchedEntitiesParamsEventType, reqEditors ...RequestEditorFn) (*FindWatchedEntitiesResponse, error)
FindWatchedEntitiesWithResponse request returning *FindWatchedEntitiesResponse
func (*ClientWithResponses) FindWebhookWithResponse ¶
func (c *ClientWithResponses) FindWebhookWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*FindWebhookResponse, error)
FindWebhookWithResponse request returning *FindWebhookResponse
func (*ClientWithResponses) GetEmailMessageWithResponse ¶
func (c *ClientWithResponses) GetEmailMessageWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*GetEmailMessageResponse, error)
GetEmailMessageWithResponse request returning *GetEmailMessageResponse
func (*ClientWithResponses) GetEmailMessagesWithBodyWithResponse ¶
func (c *ClientWithResponses) GetEmailMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetEmailMessagesResponse, error)
GetEmailMessagesWithBodyWithResponse request with arbitrary body returning *GetEmailMessagesResponse
func (*ClientWithResponses) GetEmailMessagesWithResponse ¶
func (c *ClientWithResponses) GetEmailMessagesWithResponse(ctx context.Context, body GetEmailMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetEmailMessagesResponse, error)
func (*ClientWithResponses) GetInAppMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) GetInAppMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetInAppMessageResponse, error)
GetInAppMessageWithBodyWithResponse request with arbitrary body returning *GetInAppMessageResponse
func (*ClientWithResponses) GetInAppMessageWithResponse ¶
func (c *ClientWithResponses) GetInAppMessageWithResponse(ctx context.Context, body GetInAppMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*GetInAppMessageResponse, error)
func (*ClientWithResponses) GetInAppUserMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) GetInAppUserMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetInAppUserMessageResponse, error)
GetInAppUserMessageWithBodyWithResponse request with arbitrary body returning *GetInAppUserMessageResponse
func (*ClientWithResponses) GetInAppUserMessageWithResponse ¶
func (c *ClientWithResponses) GetInAppUserMessageWithResponse(ctx context.Context, body GetInAppUserMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*GetInAppUserMessageResponse, error)
func (*ClientWithResponses) GetMessagesWithBodyWithResponse ¶
func (c *ClientWithResponses) GetMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMessagesResponse, error)
GetMessagesWithBodyWithResponse request with arbitrary body returning *GetMessagesResponse
func (*ClientWithResponses) GetMessagesWithResponse ¶
func (c *ClientWithResponses) GetMessagesWithResponse(ctx context.Context, body GetMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMessagesResponse, error)
func (*ClientWithResponses) GetUseAppsQueueWithResponse ¶
func (c *ClientWithResponses) GetUseAppsQueueWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*GetUseAppsQueueResponse, error)
GetUseAppsQueueWithResponse request returning *GetUseAppsQueueResponse
func (*ClientWithResponses) GetWithResponse ¶
func (c *ClientWithResponses) GetWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*GetResponse, error)
GetWithResponse request returning *GetResponse
func (*ClientWithResponses) MarkAllMessagesAsReadWithResponse ¶
func (c *ClientWithResponses) MarkAllMessagesAsReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MarkAllMessagesAsReadResponse, error)
MarkAllMessagesAsReadWithResponse request returning *MarkAllMessagesAsReadResponse
func (*ClientWithResponses) MarkMessageAsReadWithResponse ¶
func (c *ClientWithResponses) MarkMessageAsReadWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*MarkMessageAsReadResponse, error)
MarkMessageAsReadWithResponse request returning *MarkMessageAsReadResponse
func (*ClientWithResponses) MarkMessageAsUnreadWithResponse ¶
func (c *ClientWithResponses) MarkMessageAsUnreadWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*MarkMessageAsUnreadResponse, error)
MarkMessageAsUnreadWithResponse request returning *MarkMessageAsUnreadResponse
func (*ClientWithResponses) PingWebhookWithResponse ¶
func (c *ClientWithResponses) PingWebhookWithResponse(ctx context.Context, params *PingWebhookParams, reqEditors ...RequestEditorFn) (*PingWebhookResponse, error)
PingWebhookWithResponse request returning *PingWebhookResponse
func (*ClientWithResponses) SearchWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchResponse, error)
SearchWithBodyWithResponse request with arbitrary body returning *SearchResponse
func (*ClientWithResponses) SearchWithResponse ¶
func (c *ClientWithResponses) SearchWithResponse(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchResponse, error)
func (*ClientWithResponses) SubscribeEmailWithBodyWithResponse ¶
func (c *ClientWithResponses) SubscribeEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubscribeEmailResponse, error)
SubscribeEmailWithBodyWithResponse request with arbitrary body returning *SubscribeEmailResponse
func (*ClientWithResponses) SubscribeEmailWithResponse ¶
func (c *ClientWithResponses) SubscribeEmailWithResponse(ctx context.Context, body SubscribeEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*SubscribeEmailResponse, error)
func (*ClientWithResponses) SubscribeInAppWithBodyWithResponse ¶
func (c *ClientWithResponses) SubscribeInAppWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubscribeInAppResponse, error)
SubscribeInAppWithBodyWithResponse request with arbitrary body returning *SubscribeInAppResponse
func (*ClientWithResponses) SubscribeInAppWithResponse ¶
func (c *ClientWithResponses) SubscribeInAppWithResponse(ctx context.Context, body SubscribeInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*SubscribeInAppResponse, error)
func (*ClientWithResponses) SubscribeToEntityWithBodyWithResponse ¶
func (c *ClientWithResponses) SubscribeToEntityWithBodyWithResponse(ctx context.Context, eventType SubscribeToEntityParamsEventType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubscribeToEntityResponse, error)
SubscribeToEntityWithBodyWithResponse request with arbitrary body returning *SubscribeToEntityResponse
func (*ClientWithResponses) SubscribeToEntityWithResponse ¶
func (c *ClientWithResponses) SubscribeToEntityWithResponse(ctx context.Context, eventType SubscribeToEntityParamsEventType, body SubscribeToEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*SubscribeToEntityResponse, error)
func (*ClientWithResponses) SubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) SubscribeWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubscribeResponse, error)
SubscribeWithBodyWithResponse request with arbitrary body returning *SubscribeResponse
func (*ClientWithResponses) SubscribeWithResponse ¶
func (c *ClientWithResponses) SubscribeWithResponse(ctx context.Context, webhookId string, body SubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*SubscribeResponse, error)
func (*ClientWithResponses) UnsubscribeEmailWithBodyWithResponse ¶
func (c *ClientWithResponses) UnsubscribeEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnsubscribeEmailResponse, error)
UnsubscribeEmailWithBodyWithResponse request with arbitrary body returning *UnsubscribeEmailResponse
func (*ClientWithResponses) UnsubscribeEmailWithResponse ¶
func (c *ClientWithResponses) UnsubscribeEmailWithResponse(ctx context.Context, body UnsubscribeEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*UnsubscribeEmailResponse, error)
func (*ClientWithResponses) UnsubscribeFromEntityWithBodyWithResponse ¶
func (c *ClientWithResponses) UnsubscribeFromEntityWithBodyWithResponse(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnsubscribeFromEntityResponse, error)
UnsubscribeFromEntityWithBodyWithResponse request with arbitrary body returning *UnsubscribeFromEntityResponse
func (*ClientWithResponses) UnsubscribeFromEntityWithResponse ¶
func (c *ClientWithResponses) UnsubscribeFromEntityWithResponse(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, body UnsubscribeFromEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*UnsubscribeFromEntityResponse, error)
func (*ClientWithResponses) UnsubscribeInAppWithBodyWithResponse ¶
func (c *ClientWithResponses) UnsubscribeInAppWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnsubscribeInAppResponse, error)
UnsubscribeInAppWithBodyWithResponse request with arbitrary body returning *UnsubscribeInAppResponse
func (*ClientWithResponses) UnsubscribeInAppWithResponse ¶
func (c *ClientWithResponses) UnsubscribeInAppWithResponse(ctx context.Context, body UnsubscribeInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*UnsubscribeInAppResponse, error)
func (*ClientWithResponses) UnsubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) UnsubscribeWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnsubscribeResponse, error)
UnsubscribeWithBodyWithResponse request with arbitrary body returning *UnsubscribeResponse
func (*ClientWithResponses) UnsubscribeWithResponse ¶
func (c *ClientWithResponses) UnsubscribeWithResponse(ctx context.Context, webhookId string, body UnsubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*UnsubscribeResponse, error)
func (*ClientWithResponses) UpdateAppsQueueWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAppsQueueWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppsQueueResponse, error)
UpdateAppsQueueWithBodyWithResponse request with arbitrary body returning *UpdateAppsQueueResponse
func (*ClientWithResponses) UpdateAppsQueueWithResponse ¶
func (c *ClientWithResponses) UpdateAppsQueueWithResponse(ctx context.Context, webhookId string, body UpdateAppsQueueJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppsQueueResponse, error)
func (*ClientWithResponses) UpdateEmailFrequencyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEmailFrequencyWithBodyWithResponse(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEmailFrequencyResponse, error)
UpdateEmailFrequencyWithBodyWithResponse request with arbitrary body returning *UpdateEmailFrequencyResponse
func (*ClientWithResponses) UpdateEmailFrequencyWithResponse ¶
func (c *ClientWithResponses) UpdateEmailFrequencyWithResponse(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, body UpdateEmailFrequencyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEmailFrequencyResponse, error)
func (*ClientWithResponses) UpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResponse, error)
UpdateWithBodyWithResponse request with arbitrary body returning *UpdateResponse
func (*ClientWithResponses) UpdateWithResponse ¶
func (c *ClientWithResponses) UpdateWithResponse(ctx context.Context, webhookId string, body UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResponse, error)
func (*ClientWithResponses) UpsertWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertResponse, error)
UpsertWithBodyWithResponse request with arbitrary body returning *UpsertResponse
func (*ClientWithResponses) UpsertWithResponse ¶
func (c *ClientWithResponses) UpsertWithResponse(ctx context.Context, body UpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetEmailMessagesWithBodyWithResponse request with any body GetEmailMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetEmailMessagesResponse, error) GetEmailMessagesWithResponse(ctx context.Context, body GetEmailMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetEmailMessagesResponse, error) // GetEmailMessageWithResponse request GetEmailMessageWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*GetEmailMessageResponse, error) // GetInAppMessageWithBodyWithResponse request with any body GetInAppMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetInAppMessageResponse, error) GetInAppMessageWithResponse(ctx context.Context, body GetInAppMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*GetInAppMessageResponse, error) // GetInAppUserMessageWithBodyWithResponse request with any body GetInAppUserMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetInAppUserMessageResponse, error) GetInAppUserMessageWithResponse(ctx context.Context, body GetInAppUserMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*GetInAppUserMessageResponse, error) // MarkAllMessagesAsReadWithResponse request MarkAllMessagesAsReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MarkAllMessagesAsReadResponse, error) // MarkMessageAsReadWithResponse request MarkMessageAsReadWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*MarkMessageAsReadResponse, error) // MarkMessageAsUnreadWithResponse request MarkMessageAsUnreadWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*MarkMessageAsUnreadResponse, error) // PingWebhookWithResponse request PingWebhookWithResponse(ctx context.Context, params *PingWebhookParams, reqEditors ...RequestEditorFn) (*PingWebhookResponse, error) // GetMessagesWithBodyWithResponse request with any body GetMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMessagesResponse, error) GetMessagesWithResponse(ctx context.Context, body GetMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMessagesResponse, error) // FindUserConfigWithResponse request FindUserConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindUserConfigResponse, error) // UpsertWithBodyWithResponse request with any body UpsertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertResponse, error) UpsertWithResponse(ctx context.Context, body UpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertResponse, error) // FindConfigurationWithResponse request FindConfigurationWithResponse(ctx context.Context, entityType FindConfigurationParamsEntityType, reqEditors ...RequestEditorFn) (*FindConfigurationResponse, error) // UpdateEmailFrequencyWithBodyWithResponse request with any body UpdateEmailFrequencyWithBodyWithResponse(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEmailFrequencyResponse, error) UpdateEmailFrequencyWithResponse(ctx context.Context, entityType UpdateEmailFrequencyParamsEntityType, body UpdateEmailFrequencyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEmailFrequencyResponse, error) // UnsubscribeEmailWithBodyWithResponse request with any body UnsubscribeEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnsubscribeEmailResponse, error) UnsubscribeEmailWithResponse(ctx context.Context, body UnsubscribeEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*UnsubscribeEmailResponse, error) // FindEmailWithResponse request FindEmailWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindEmailResponse, error) // SubscribeEmailWithBodyWithResponse request with any body SubscribeEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubscribeEmailResponse, error) SubscribeEmailWithResponse(ctx context.Context, body SubscribeEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*SubscribeEmailResponse, error) // UnsubscribeInAppWithBodyWithResponse request with any body UnsubscribeInAppWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnsubscribeInAppResponse, error) UnsubscribeInAppWithResponse(ctx context.Context, body UnsubscribeInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*UnsubscribeInAppResponse, error) // FindInAppWithResponse request FindInAppWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FindInAppResponse, error) // SubscribeInAppWithBodyWithResponse request with any body SubscribeInAppWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubscribeInAppResponse, error) SubscribeInAppWithResponse(ctx context.Context, body SubscribeInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*SubscribeInAppResponse, error) // UnsubscribeFromEntityWithBodyWithResponse request with any body UnsubscribeFromEntityWithBodyWithResponse(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnsubscribeFromEntityResponse, error) UnsubscribeFromEntityWithResponse(ctx context.Context, eventType UnsubscribeFromEntityParamsEventType, body UnsubscribeFromEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*UnsubscribeFromEntityResponse, error) // FindWatchedEntitiesWithResponse request FindWatchedEntitiesWithResponse(ctx context.Context, eventType FindWatchedEntitiesParamsEventType, reqEditors ...RequestEditorFn) (*FindWatchedEntitiesResponse, error) // SubscribeToEntityWithBodyWithResponse request with any body SubscribeToEntityWithBodyWithResponse(ctx context.Context, eventType SubscribeToEntityParamsEventType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubscribeToEntityResponse, error) SubscribeToEntityWithResponse(ctx context.Context, eventType SubscribeToEntityParamsEventType, body SubscribeToEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*SubscribeToEntityResponse, error) // GetUseAppsQueueWithResponse request GetUseAppsQueueWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*GetUseAppsQueueResponse, error) // UpdateAppsQueueWithBodyWithResponse request with any body UpdateAppsQueueWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppsQueueResponse, error) UpdateAppsQueueWithResponse(ctx context.Context, webhookId string, body UpdateAppsQueueJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppsQueueResponse, error) // UnsubscribeWithBodyWithResponse request with any body UnsubscribeWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnsubscribeResponse, error) UnsubscribeWithResponse(ctx context.Context, webhookId string, body UnsubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*UnsubscribeResponse, error) // FindWebhookWithResponse request FindWebhookWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*FindWebhookResponse, error) // SubscribeWithBodyWithResponse request with any body SubscribeWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubscribeResponse, error) SubscribeWithResponse(ctx context.Context, webhookId string, body SubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*SubscribeResponse, error) // CreateWithBodyWithResponse request with any body CreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResponse, error) CreateWithResponse(ctx context.Context, body CreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResponse, error) // SearchWithBodyWithResponse request with any body SearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchResponse, error) SearchWithResponse(ctx context.Context, body SearchJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchResponse, error) // DeleteWithResponse request DeleteWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*DeleteResponse, error) // GetWithResponse request GetWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*GetResponse, error) // UpdateWithBodyWithResponse request with any body UpdateWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResponse, error) UpdateWithResponse(ctx context.Context, webhookId string, body UpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateJSONRequestBody ¶
type CreateJSONRequestBody = WebhookCreateRequest
CreateJSONRequestBody defines body for Create for application/json ContentType.
type CreateResponse ¶
type CreateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *Unit JSON400 *ErrorResponse JSON409 *ErrorResponse }
func ParseCreateResponse ¶
func ParseCreateResponse(rsp *http.Response) (*CreateResponse, error)
ParseCreateResponse parses an HTTP response from a CreateWithResponse call
func (CreateResponse) Status ¶
func (r CreateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateResponse) StatusCode ¶
func (r CreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteResponse ¶
type DeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Unit JSON400 *ErrorResponse JSON404 *ErrorResponse }
func ParseDeleteResponse ¶
func ParseDeleteResponse(rsp *http.Response) (*DeleteResponse, error)
ParseDeleteResponse parses an HTTP response from a DeleteWithResponse call
func (DeleteResponse) Status ¶
func (r DeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteResponse) StatusCode ¶
func (r DeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EmailMessageListResponse ¶
type EmailMessageListResponse struct {
Data []EmailMessageResponse `json:"data"`
}
EmailMessageListResponse defines model for EmailMessageListResponse.
type EmailMessageResponse ¶
type EmailMessageResponse struct { Content string `json:"content"` ContentType *string `json:"contentType,omitempty"` CreateDate *int64 `json:"createDate,omitempty"` DeliveryStatus EmailMessageResponseDeliveryStatus `json:"deliveryStatus"` Id string `json:"id"` Recipient []EmailRecipient `json:"recipient"` Subject string `json:"subject"` }
EmailMessageResponse defines model for EmailMessageResponse.
type EmailMessageResponseDeliveryStatus ¶
type EmailMessageResponseDeliveryStatus string
EmailMessageResponseDeliveryStatus defines model for EmailMessageResponse.DeliveryStatus.
const ( EmailMessageResponseDeliveryStatusERROR EmailMessageResponseDeliveryStatus = "ERROR" EmailMessageResponseDeliveryStatusINPROGRESS EmailMessageResponseDeliveryStatus = "IN_PROGRESS" EmailMessageResponseDeliveryStatusSENT EmailMessageResponseDeliveryStatus = "SENT" EmailMessageResponseDeliveryStatusTOBESENT EmailMessageResponseDeliveryStatus = "TO_BE_SENT" )
Defines values for EmailMessageResponseDeliveryStatus.
type EmailMessageSearchRequest ¶
type EmailMessageSearchRequest struct { FromCreationDate *int64 `json:"fromCreationDate,omitempty"` Ids *[]string `json:"ids,omitempty"` Page int64 `json:"page"` PageSize int32 `json:"pageSize"` ToCreationDate *int64 `json:"toCreationDate,omitempty"` }
EmailMessageSearchRequest defines model for EmailMessageSearchRequest.
type EmailRecipient ¶
type EmailRecipient struct {
EmailAddress string `json:"emailAddress"`
}
EmailRecipient defines model for EmailRecipient.
type EntityWatchRequest ¶
type EntityWatchRequest struct {
EntityIds []string `json:"entityIds"`
}
EntityWatchRequest defines model for EntityWatchRequest.
type EntityWatchResponse ¶
type EntityWatchResponse struct {
EntityIds *[]string `json:"entityIds,omitempty"`
}
EntityWatchResponse defines model for EntityWatchResponse.
type ErrorDetails ¶
type ErrorDetails struct { Field *string `json:"field,omitempty"` Message *string `json:"message,omitempty"` RejectedValue *string `json:"rejectedValue,omitempty"` }
ErrorDetails defines model for ErrorDetails.
type ErrorResponse ¶
type ErrorResponse struct { Error *string `json:"error,omitempty"` ErrorDetails *[]ErrorDetails `json:"errorDetails,omitempty"` RequestId *string `json:"requestId,omitempty"` Status *int32 `json:"status,omitempty"` Timestamp *int64 `json:"timestamp,omitempty"` }
ErrorResponse defines model for ErrorResponse.
type FindConfigurationParamsEntityType ¶
type FindConfigurationParamsEntityType string
FindConfigurationParamsEntityType defines parameters for FindConfiguration.
const ( FindConfigurationParamsEntityTypeCATEGORY FindConfigurationParamsEntityType = "CATEGORY" FindConfigurationParamsEntityTypePRODUCT FindConfigurationParamsEntityType = "PRODUCT" FindConfigurationParamsEntityTypeTASK FindConfigurationParamsEntityType = "TASK" )
Defines values for FindConfigurationParamsEntityType.
type FindConfigurationResponse ¶
type FindConfigurationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *FrequencyConfigResponse JSON400 *ErrorResponse }
func ParseFindConfigurationResponse ¶
func ParseFindConfigurationResponse(rsp *http.Response) (*FindConfigurationResponse, error)
ParseFindConfigurationResponse parses an HTTP response from a FindConfigurationWithResponse call
func (FindConfigurationResponse) Status ¶
func (r FindConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (FindConfigurationResponse) StatusCode ¶
func (r FindConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindEmailResponse ¶
type FindEmailResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SubscriptionResponse JSON400 *ErrorResponse }
func ParseFindEmailResponse ¶
func ParseFindEmailResponse(rsp *http.Response) (*FindEmailResponse, error)
ParseFindEmailResponse parses an HTTP response from a FindEmailWithResponse call
func (FindEmailResponse) Status ¶
func (r FindEmailResponse) Status() string
Status returns HTTPResponse.Status
func (FindEmailResponse) StatusCode ¶
func (r FindEmailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindInAppResponse ¶
type FindInAppResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SubscriptionResponse JSON400 *ErrorResponse }
func ParseFindInAppResponse ¶
func ParseFindInAppResponse(rsp *http.Response) (*FindInAppResponse, error)
ParseFindInAppResponse parses an HTTP response from a FindInAppWithResponse call
func (FindInAppResponse) Status ¶
func (r FindInAppResponse) Status() string
Status returns HTTPResponse.Status
func (FindInAppResponse) StatusCode ¶
func (r FindInAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindUserConfigResponse ¶
type FindUserConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserConfigurationResponse JSON400 *ErrorResponse }
func ParseFindUserConfigResponse ¶
func ParseFindUserConfigResponse(rsp *http.Response) (*FindUserConfigResponse, error)
ParseFindUserConfigResponse parses an HTTP response from a FindUserConfigWithResponse call
func (FindUserConfigResponse) Status ¶
func (r FindUserConfigResponse) Status() string
Status returns HTTPResponse.Status
func (FindUserConfigResponse) StatusCode ¶
func (r FindUserConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindWatchedEntitiesParamsEventType ¶
type FindWatchedEntitiesParamsEventType string
FindWatchedEntitiesParamsEventType defines parameters for FindWatchedEntities.
const (
FindWatchedEntitiesParamsEventTypePRODUCTWATCH FindWatchedEntitiesParamsEventType = "PRODUCT_WATCH"
)
Defines values for FindWatchedEntitiesParamsEventType.
type FindWatchedEntitiesResponse ¶
type FindWatchedEntitiesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EntityWatchResponse JSON400 *ErrorResponse }
func ParseFindWatchedEntitiesResponse ¶
func ParseFindWatchedEntitiesResponse(rsp *http.Response) (*FindWatchedEntitiesResponse, error)
ParseFindWatchedEntitiesResponse parses an HTTP response from a FindWatchedEntitiesWithResponse call
func (FindWatchedEntitiesResponse) Status ¶
func (r FindWatchedEntitiesResponse) Status() string
Status returns HTTPResponse.Status
func (FindWatchedEntitiesResponse) StatusCode ¶
func (r FindWatchedEntitiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindWebhookResponse ¶
type FindWebhookResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SubscriptionResponse JSON400 *ErrorResponse }
func ParseFindWebhookResponse ¶
func ParseFindWebhookResponse(rsp *http.Response) (*FindWebhookResponse, error)
ParseFindWebhookResponse parses an HTTP response from a FindWebhookWithResponse call
func (FindWebhookResponse) Status ¶
func (r FindWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (FindWebhookResponse) StatusCode ¶
func (r FindWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FrequencyConfigRequest ¶
type FrequencyConfigRequest struct { Aggregated bool `json:"aggregated"` AggregationFrequency AggregationFrequencyRequest `json:"aggregationFrequency"` Immediately bool `json:"immediately"` }
FrequencyConfigRequest defines model for FrequencyConfigRequest.
type FrequencyConfigResponse ¶
type FrequencyConfigResponse struct { Aggregated bool `json:"aggregated"` AggregationFrequency AggregationFrequencyResponse `json:"aggregationFrequency"` Immediately bool `json:"immediately"` }
FrequencyConfigResponse defines model for FrequencyConfigResponse.
type GetEmailMessageResponse ¶
type GetEmailMessageResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmailMessageResponse JSON400 *ErrorResponse JSON404 *ErrorResponse }
func ParseGetEmailMessageResponse ¶
func ParseGetEmailMessageResponse(rsp *http.Response) (*GetEmailMessageResponse, error)
ParseGetEmailMessageResponse parses an HTTP response from a GetEmailMessageWithResponse call
func (GetEmailMessageResponse) Status ¶
func (r GetEmailMessageResponse) Status() string
Status returns HTTPResponse.Status
func (GetEmailMessageResponse) StatusCode ¶
func (r GetEmailMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEmailMessagesJSONRequestBody ¶
type GetEmailMessagesJSONRequestBody = EmailMessageSearchRequest
GetEmailMessagesJSONRequestBody defines body for GetEmailMessages for application/json ContentType.
type GetEmailMessagesResponse ¶
type GetEmailMessagesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmailMessageListResponse JSON400 *ErrorResponse }
func ParseGetEmailMessagesResponse ¶
func ParseGetEmailMessagesResponse(rsp *http.Response) (*GetEmailMessagesResponse, error)
ParseGetEmailMessagesResponse parses an HTTP response from a GetEmailMessagesWithResponse call
func (GetEmailMessagesResponse) Status ¶
func (r GetEmailMessagesResponse) Status() string
Status returns HTTPResponse.Status
func (GetEmailMessagesResponse) StatusCode ¶
func (r GetEmailMessagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInAppMessageJSONRequestBody ¶
type GetInAppMessageJSONRequestBody = InAppMessageSearchRequest
GetInAppMessageJSONRequestBody defines body for GetInAppMessage for application/json ContentType.
type GetInAppMessageResponse ¶
type GetInAppMessageResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InAppMessageListResponse JSON400 *ErrorResponse }
func ParseGetInAppMessageResponse ¶
func ParseGetInAppMessageResponse(rsp *http.Response) (*GetInAppMessageResponse, error)
ParseGetInAppMessageResponse parses an HTTP response from a GetInAppMessageWithResponse call
func (GetInAppMessageResponse) Status ¶
func (r GetInAppMessageResponse) Status() string
Status returns HTTPResponse.Status
func (GetInAppMessageResponse) StatusCode ¶
func (r GetInAppMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInAppUserMessageJSONRequestBody ¶
type GetInAppUserMessageJSONRequestBody = InAppMessageSearchRequest
GetInAppUserMessageJSONRequestBody defines body for GetInAppUserMessage for application/json ContentType.
type GetInAppUserMessageResponse ¶
type GetInAppUserMessageResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InAppUserMessageListResponse JSON400 *ErrorResponse }
func ParseGetInAppUserMessageResponse ¶
func ParseGetInAppUserMessageResponse(rsp *http.Response) (*GetInAppUserMessageResponse, error)
ParseGetInAppUserMessageResponse parses an HTTP response from a GetInAppUserMessageWithResponse call
func (GetInAppUserMessageResponse) Status ¶
func (r GetInAppUserMessageResponse) Status() string
Status returns HTTPResponse.Status
func (GetInAppUserMessageResponse) StatusCode ¶
func (r GetInAppUserMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessagesJSONRequestBody ¶
type GetMessagesJSONRequestBody = WebhookMessageSearchRequest
GetMessagesJSONRequestBody defines body for GetMessages for application/json ContentType.
type GetMessagesResponse ¶
type GetMessagesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]WebhookMessageResponse JSON400 *ErrorResponse }
func ParseGetMessagesResponse ¶
func ParseGetMessagesResponse(rsp *http.Response) (*GetMessagesResponse, error)
ParseGetMessagesResponse parses an HTTP response from a GetMessagesWithResponse call
func (GetMessagesResponse) Status ¶
func (r GetMessagesResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessagesResponse) StatusCode ¶
func (r GetMessagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetResponse ¶
type GetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *WebhookResponse JSON400 *ErrorResponse JSON404 *ErrorResponse }
func ParseGetResponse ¶
func ParseGetResponse(rsp *http.Response) (*GetResponse, error)
ParseGetResponse parses an HTTP response from a GetWithResponse call
func (GetResponse) StatusCode ¶
func (r GetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUseAppsQueueResponse ¶
type GetUseAppsQueueResponse struct { Body []byte HTTPResponse *http.Response JSON200 *WebhookAppsQueueResponse JSON400 *ErrorResponse JSON404 *ErrorResponse }
func ParseGetUseAppsQueueResponse ¶
func ParseGetUseAppsQueueResponse(rsp *http.Response) (*GetUseAppsQueueResponse, error)
ParseGetUseAppsQueueResponse parses an HTTP response from a GetUseAppsQueueWithResponse call
func (GetUseAppsQueueResponse) Status ¶
func (r GetUseAppsQueueResponse) Status() string
Status returns HTTPResponse.Status
func (GetUseAppsQueueResponse) StatusCode ¶
func (r GetUseAppsQueueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InAppMessageListResponse ¶
type InAppMessageListResponse struct {
Data []InAppMessageResponse `json:"data"`
}
InAppMessageListResponse defines model for InAppMessageListResponse.
type InAppMessageResponse ¶
type InAppMessageResponse struct { Content string `json:"content"` ContentType *string `json:"contentType,omitempty"` CreateDate *int64 `json:"createDate,omitempty"` Id string `json:"id"` Recipient []InAppRecipient `json:"recipient"` }
InAppMessageResponse defines model for InAppMessageResponse.
type InAppMessageSearchRequest ¶
type InAppMessageSearchRequest struct { FromCreationDate *int64 `json:"fromCreationDate,omitempty"` Ids *[]string `json:"ids,omitempty"` Page int64 `json:"page"` PageSize int32 `json:"pageSize"` Status *InAppMessageSearchRequestStatus `json:"status,omitempty"` ToCreationDate *int64 `json:"toCreationDate,omitempty"` }
InAppMessageSearchRequest defines model for InAppMessageSearchRequest.
type InAppMessageSearchRequestStatus ¶
type InAppMessageSearchRequestStatus string
InAppMessageSearchRequestStatus defines model for InAppMessageSearchRequest.Status.
const ( InAppMessageSearchRequestStatusNOTREAD InAppMessageSearchRequestStatus = "NOT_READ" InAppMessageSearchRequestStatusREAD InAppMessageSearchRequestStatus = "READ" )
Defines values for InAppMessageSearchRequestStatus.
type InAppRecipient ¶
type InAppRecipient struct { Id string `json:"id"` MessageStatus InAppRecipientMessageStatus `json:"messageStatus"` }
InAppRecipient defines model for InAppRecipient.
type InAppRecipientMessageStatus ¶
type InAppRecipientMessageStatus string
InAppRecipientMessageStatus defines model for InAppRecipient.MessageStatus.
const ( InAppRecipientMessageStatusNOTREAD InAppRecipientMessageStatus = "NOT_READ" InAppRecipientMessageStatusREAD InAppRecipientMessageStatus = "READ" )
Defines values for InAppRecipientMessageStatus.
type InAppUserMessageListResponse ¶
type InAppUserMessageListResponse struct {
Data []InAppUserMessageResponse `json:"data"`
}
InAppUserMessageListResponse defines model for InAppUserMessageListResponse.
type InAppUserMessageResponse ¶
type InAppUserMessageResponse struct { Content string `json:"content"` ContentType *string `json:"contentType,omitempty"` CreateDate *int64 `json:"createDate,omitempty"` Id string `json:"id"` Status *InAppUserMessageResponseStatus `json:"status,omitempty"` }
InAppUserMessageResponse defines model for InAppUserMessageResponse.
type InAppUserMessageResponseStatus ¶
type InAppUserMessageResponseStatus string
InAppUserMessageResponseStatus defines model for InAppUserMessageResponse.Status.
const ( NOTREAD InAppUserMessageResponseStatus = "NOT_READ" READ InAppUserMessageResponseStatus = "READ" )
Defines values for InAppUserMessageResponseStatus.
type LocalTime ¶
type LocalTime struct { Hour *int32 `json:"hour,omitempty"` Minute *int32 `json:"minute,omitempty"` Nano *int32 `json:"nano,omitempty"` Second *int32 `json:"second,omitempty"` }
LocalTime defines model for LocalTime.
type MarkAllMessagesAsReadResponse ¶
type MarkAllMessagesAsReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Unit JSON400 *ErrorResponse }
func ParseMarkAllMessagesAsReadResponse ¶
func ParseMarkAllMessagesAsReadResponse(rsp *http.Response) (*MarkAllMessagesAsReadResponse, error)
ParseMarkAllMessagesAsReadResponse parses an HTTP response from a MarkAllMessagesAsReadWithResponse call
func (MarkAllMessagesAsReadResponse) Status ¶
func (r MarkAllMessagesAsReadResponse) Status() string
Status returns HTTPResponse.Status
func (MarkAllMessagesAsReadResponse) StatusCode ¶
func (r MarkAllMessagesAsReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkMessageAsReadResponse ¶
type MarkMessageAsReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Unit JSON400 *ErrorResponse JSON404 *ErrorResponse }
func ParseMarkMessageAsReadResponse ¶
func ParseMarkMessageAsReadResponse(rsp *http.Response) (*MarkMessageAsReadResponse, error)
ParseMarkMessageAsReadResponse parses an HTTP response from a MarkMessageAsReadWithResponse call
func (MarkMessageAsReadResponse) Status ¶
func (r MarkMessageAsReadResponse) Status() string
Status returns HTTPResponse.Status
func (MarkMessageAsReadResponse) StatusCode ¶
func (r MarkMessageAsReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkMessageAsUnreadResponse ¶
type MarkMessageAsUnreadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Unit JSON400 *ErrorResponse JSON404 *ErrorResponse }
func ParseMarkMessageAsUnreadResponse ¶
func ParseMarkMessageAsUnreadResponse(rsp *http.Response) (*MarkMessageAsUnreadResponse, error)
ParseMarkMessageAsUnreadResponse parses an HTTP response from a MarkMessageAsUnreadWithResponse call
func (MarkMessageAsUnreadResponse) Status ¶
func (r MarkMessageAsUnreadResponse) Status() string
Status returns HTTPResponse.Status
func (MarkMessageAsUnreadResponse) StatusCode ¶
func (r MarkMessageAsUnreadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PingWebhookParams ¶
type PingWebhookParams struct { Url string `form:"url" json:"url"` Secret string `form:"secret" json:"secret"` }
PingWebhookParams defines parameters for PingWebhook.
type PingWebhookResponse ¶
type PingWebhookResponse struct { Body []byte HTTPResponse *http.Response JSON200 *WebhookCall JSON400 *ErrorResponse }
func ParsePingWebhookResponse ¶
func ParsePingWebhookResponse(rsp *http.Response) (*PingWebhookResponse, error)
ParsePingWebhookResponse parses an HTTP response from a PingWebhookWithResponse call
func (PingWebhookResponse) Status ¶
func (r PingWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (PingWebhookResponse) StatusCode ¶
func (r PingWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PropertyUpdateString ¶
type PropertyUpdateString struct {
Value *string `json:"value,omitempty"`
}
PropertyUpdateString defines model for PropertyUpdateString.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SearchJSONRequestBody ¶
type SearchJSONRequestBody = WebhookSearchRequest
SearchJSONRequestBody defines body for Search for application/json ContentType.
type SearchResponse ¶
type SearchResponse struct { Body []byte HTTPResponse *http.Response JSON200 *WebhookListResponse JSON400 *ErrorResponse }
func ParseSearchResponse ¶
func ParseSearchResponse(rsp *http.Response) (*SearchResponse, error)
ParseSearchResponse parses an HTTP response from a SearchWithResponse call
func (SearchResponse) Status ¶
func (r SearchResponse) Status() string
Status returns HTTPResponse.Status
func (SearchResponse) StatusCode ¶
func (r SearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubscribeEmailJSONRequestBody ¶
type SubscribeEmailJSONRequestBody = UserEventTypeListRequest
SubscribeEmailJSONRequestBody defines body for SubscribeEmail for application/json ContentType.
type SubscribeEmailResponse ¶
type SubscribeEmailResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Unit JSON400 *ErrorResponse }
func ParseSubscribeEmailResponse ¶
func ParseSubscribeEmailResponse(rsp *http.Response) (*SubscribeEmailResponse, error)
ParseSubscribeEmailResponse parses an HTTP response from a SubscribeEmailWithResponse call
func (SubscribeEmailResponse) Status ¶
func (r SubscribeEmailResponse) Status() string
Status returns HTTPResponse.Status
func (SubscribeEmailResponse) StatusCode ¶
func (r SubscribeEmailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubscribeInAppJSONRequestBody ¶
type SubscribeInAppJSONRequestBody = UserEventTypeListRequest
SubscribeInAppJSONRequestBody defines body for SubscribeInApp for application/json ContentType.
type SubscribeInAppResponse ¶
type SubscribeInAppResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Unit JSON400 *ErrorResponse }
func ParseSubscribeInAppResponse ¶
func ParseSubscribeInAppResponse(rsp *http.Response) (*SubscribeInAppResponse, error)
ParseSubscribeInAppResponse parses an HTTP response from a SubscribeInAppWithResponse call
func (SubscribeInAppResponse) Status ¶
func (r SubscribeInAppResponse) Status() string
Status returns HTTPResponse.Status
func (SubscribeInAppResponse) StatusCode ¶
func (r SubscribeInAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubscribeJSONRequestBody ¶
type SubscribeJSONRequestBody = WebhookEventTypeListRequest
SubscribeJSONRequestBody defines body for Subscribe for application/json ContentType.
type SubscribeResponse ¶
type SubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON400 *ErrorResponse }
func ParseSubscribeResponse ¶
func ParseSubscribeResponse(rsp *http.Response) (*SubscribeResponse, error)
ParseSubscribeResponse parses an HTTP response from a SubscribeWithResponse call
func (SubscribeResponse) Status ¶
func (r SubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (SubscribeResponse) StatusCode ¶
func (r SubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubscribeToEntityJSONRequestBody ¶
type SubscribeToEntityJSONRequestBody = EntityWatchRequest
SubscribeToEntityJSONRequestBody defines body for SubscribeToEntity for application/json ContentType.
type SubscribeToEntityParamsEventType ¶
type SubscribeToEntityParamsEventType string
SubscribeToEntityParamsEventType defines parameters for SubscribeToEntity.
const (
PRODUCTWATCH SubscribeToEntityParamsEventType = "PRODUCT_WATCH"
)
Defines values for SubscribeToEntityParamsEventType.
type SubscribeToEntityResponse ¶
type SubscribeToEntityResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Unit JSON400 *ErrorResponse }
func ParseSubscribeToEntityResponse ¶
func ParseSubscribeToEntityResponse(rsp *http.Response) (*SubscribeToEntityResponse, error)
ParseSubscribeToEntityResponse parses an HTTP response from a SubscribeToEntityWithResponse call
func (SubscribeToEntityResponse) Status ¶
func (r SubscribeToEntityResponse) Status() string
Status returns HTTPResponse.Status
func (SubscribeToEntityResponse) StatusCode ¶
func (r SubscribeToEntityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubscriptionResponse ¶
type SubscriptionResponse struct {
EventTypes []SubscriptionResponseEventTypes `json:"eventTypes"`
}
SubscriptionResponse defines model for SubscriptionResponse.
type SubscriptionResponseEventTypes ¶
type SubscriptionResponseEventTypes string
SubscriptionResponseEventTypes defines model for SubscriptionResponse.EventTypes.
const ( SubscriptionResponseEventTypesCATEGORYCREATED SubscriptionResponseEventTypes = "CATEGORY_CREATED" SubscriptionResponseEventTypesCATEGORYREMOVED SubscriptionResponseEventTypes = "CATEGORY_REMOVED" SubscriptionResponseEventTypesCATEGORYWATCH SubscriptionResponseEventTypes = "CATEGORY_WATCH" SubscriptionResponseEventTypesCATEGORYWATCHARCHIVESTATE SubscriptionResponseEventTypes = "CATEGORY_WATCH_ARCHIVE_STATE" SubscriptionResponseEventTypesCATEGORYWATCHATTRIBUTE SubscriptionResponseEventTypes = "CATEGORY_WATCH_ATTRIBUTE" SubscriptionResponseEventTypesCATEGORYWATCHMETADATADESCRIPTION SubscriptionResponseEventTypes = "CATEGORY_WATCH_METADATA_DESCRIPTION" SubscriptionResponseEventTypesCATEGORYWATCHMETADATANAME SubscriptionResponseEventTypes = "CATEGORY_WATCH_METADATA_NAME" SubscriptionResponseEventTypesCATEGORYWATCHMETADATANUMBER SubscriptionResponseEventTypes = "CATEGORY_WATCH_METADATA_NUMBER" SubscriptionResponseEventTypesCATEGORYWATCHMOVE SubscriptionResponseEventTypes = "CATEGORY_WATCH_MOVE" SubscriptionResponseEventTypesCATEGORYWATCHORDER SubscriptionResponseEventTypes = "CATEGORY_WATCH_ORDER" SubscriptionResponseEventTypesNEWCOMMENTASSIGNEDTOTASK SubscriptionResponseEventTypes = "NEW_COMMENT_ASSIGNED_TO_TASK" SubscriptionResponseEventTypesPRODUCTCREATED SubscriptionResponseEventTypes = "PRODUCT_CREATED" SubscriptionResponseEventTypesPRODUCTSYNCDONE SubscriptionResponseEventTypes = "PRODUCT_SYNC_DONE" SubscriptionResponseEventTypesPRODUCTWATCH SubscriptionResponseEventTypes = "PRODUCT_WATCH" SubscriptionResponseEventTypesPRODUCTWATCHASSET SubscriptionResponseEventTypes = "PRODUCT_WATCH_ASSET" SubscriptionResponseEventTypesPRODUCTWATCHATTRIBUTE SubscriptionResponseEventTypes = "PRODUCT_WATCH_ATTRIBUTE" SubscriptionResponseEventTypesPRODUCTWATCHATTRIBUTEASSOCIATION SubscriptionResponseEventTypes = "PRODUCT_WATCH_ATTRIBUTE_ASSOCIATION" SubscriptionResponseEventTypesPRODUCTWATCHATTRIBUTEDISASSOCIATION SubscriptionResponseEventTypes = "PRODUCT_WATCH_ATTRIBUTE_DISASSOCIATION" SubscriptionResponseEventTypesPRODUCTWATCHATTRIBUTEUPDATEVALUE SubscriptionResponseEventTypes = "PRODUCT_WATCH_ATTRIBUTE_UPDATE_VALUE" SubscriptionResponseEventTypesPRODUCTWATCHBUNDLE SubscriptionResponseEventTypes = "PRODUCT_WATCH_BUNDLE" SubscriptionResponseEventTypesPRODUCTWATCHBUNDLEQUANTITY SubscriptionResponseEventTypes = "PRODUCT_WATCH_BUNDLE_QUANTITY" SubscriptionResponseEventTypesPRODUCTWATCHCATEGORY SubscriptionResponseEventTypes = "PRODUCT_WATCH_CATEGORY" SubscriptionResponseEventTypesPRODUCTWATCHLABEL SubscriptionResponseEventTypes = "PRODUCT_WATCH_LABEL" SubscriptionResponseEventTypesPRODUCTWATCHMETADATADESCRIPTION SubscriptionResponseEventTypes = "PRODUCT_WATCH_METADATA_DESCRIPTION" SubscriptionResponseEventTypesPRODUCTWATCHMETADATANAME SubscriptionResponseEventTypes = "PRODUCT_WATCH_METADATA_NAME" SubscriptionResponseEventTypesPRODUCTWATCHMETADATANUMBER SubscriptionResponseEventTypes = "PRODUCT_WATCH_METADATA_NUMBER" SubscriptionResponseEventTypesPRODUCTWATCHRELATION SubscriptionResponseEventTypes = "PRODUCT_WATCH_RELATION" SubscriptionResponseEventTypesPRODUCTWATCHSTATE SubscriptionResponseEventTypes = "PRODUCT_WATCH_STATE" SubscriptionResponseEventTypesPRODUCTWATCHVARIANT SubscriptionResponseEventTypes = "PRODUCT_WATCH_VARIANT" SubscriptionResponseEventTypesTASKDEADLINEREACHED SubscriptionResponseEventTypes = "TASK_DEADLINE_REACHED" SubscriptionResponseEventTypesTASKDEADLINEREMINDER SubscriptionResponseEventTypes = "TASK_DEADLINE_REMINDER" SubscriptionResponseEventTypesTASKDUEDATEUPDATED SubscriptionResponseEventTypes = "TASK_DUE_DATE_UPDATED" SubscriptionResponseEventTypesTASKISASSIGNEDTOUSER SubscriptionResponseEventTypes = "TASK_IS_ASSIGNED_TO_USER" SubscriptionResponseEventTypesTASKMETADATAISUPDATED SubscriptionResponseEventTypes = "TASK_METADATA_IS_UPDATED" SubscriptionResponseEventTypesTASKREPORTEDBYMEISCLOSED SubscriptionResponseEventTypes = "TASK_REPORTED_BY_ME_IS_CLOSED" SubscriptionResponseEventTypesTASKSCOPEISUPDATED SubscriptionResponseEventTypes = "TASK_SCOPE_IS_UPDATED" )
Defines values for SubscriptionResponseEventTypes.
type UnsubscribeEmailJSONRequestBody ¶
type UnsubscribeEmailJSONRequestBody = UserEventTypeListRequest
UnsubscribeEmailJSONRequestBody defines body for UnsubscribeEmail for application/json ContentType.
type UnsubscribeEmailResponse ¶
type UnsubscribeEmailResponse struct { Body []byte HTTPResponse *http.Response JSON204 *Unit JSON400 *ErrorResponse }
func ParseUnsubscribeEmailResponse ¶
func ParseUnsubscribeEmailResponse(rsp *http.Response) (*UnsubscribeEmailResponse, error)
ParseUnsubscribeEmailResponse parses an HTTP response from a UnsubscribeEmailWithResponse call
func (UnsubscribeEmailResponse) Status ¶
func (r UnsubscribeEmailResponse) Status() string
Status returns HTTPResponse.Status
func (UnsubscribeEmailResponse) StatusCode ¶
func (r UnsubscribeEmailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnsubscribeFromEntityJSONRequestBody ¶
type UnsubscribeFromEntityJSONRequestBody = EntityWatchRequest
UnsubscribeFromEntityJSONRequestBody defines body for UnsubscribeFromEntity for application/json ContentType.
type UnsubscribeFromEntityParamsEventType ¶
type UnsubscribeFromEntityParamsEventType string
UnsubscribeFromEntityParamsEventType defines parameters for UnsubscribeFromEntity.
const (
UnsubscribeFromEntityParamsEventTypePRODUCTWATCH UnsubscribeFromEntityParamsEventType = "PRODUCT_WATCH"
)
Defines values for UnsubscribeFromEntityParamsEventType.
type UnsubscribeFromEntityResponse ¶
type UnsubscribeFromEntityResponse struct { Body []byte HTTPResponse *http.Response JSON204 *Unit JSON400 *ErrorResponse }
func ParseUnsubscribeFromEntityResponse ¶
func ParseUnsubscribeFromEntityResponse(rsp *http.Response) (*UnsubscribeFromEntityResponse, error)
ParseUnsubscribeFromEntityResponse parses an HTTP response from a UnsubscribeFromEntityWithResponse call
func (UnsubscribeFromEntityResponse) Status ¶
func (r UnsubscribeFromEntityResponse) Status() string
Status returns HTTPResponse.Status
func (UnsubscribeFromEntityResponse) StatusCode ¶
func (r UnsubscribeFromEntityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnsubscribeInAppJSONRequestBody ¶
type UnsubscribeInAppJSONRequestBody = UserEventTypeListRequest
UnsubscribeInAppJSONRequestBody defines body for UnsubscribeInApp for application/json ContentType.
type UnsubscribeInAppResponse ¶
type UnsubscribeInAppResponse struct { Body []byte HTTPResponse *http.Response JSON204 *Unit JSON400 *ErrorResponse }
func ParseUnsubscribeInAppResponse ¶
func ParseUnsubscribeInAppResponse(rsp *http.Response) (*UnsubscribeInAppResponse, error)
ParseUnsubscribeInAppResponse parses an HTTP response from a UnsubscribeInAppWithResponse call
func (UnsubscribeInAppResponse) Status ¶
func (r UnsubscribeInAppResponse) Status() string
Status returns HTTPResponse.Status
func (UnsubscribeInAppResponse) StatusCode ¶
func (r UnsubscribeInAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnsubscribeJSONRequestBody ¶
type UnsubscribeJSONRequestBody = WebhookEventTypeListRequest
UnsubscribeJSONRequestBody defines body for Unsubscribe for application/json ContentType.
type UnsubscribeResponse ¶
type UnsubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON400 *ErrorResponse }
func ParseUnsubscribeResponse ¶
func ParseUnsubscribeResponse(rsp *http.Response) (*UnsubscribeResponse, error)
ParseUnsubscribeResponse parses an HTTP response from a UnsubscribeWithResponse call
func (UnsubscribeResponse) Status ¶
func (r UnsubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (UnsubscribeResponse) StatusCode ¶
func (r UnsubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAppsQueueJSONRequestBody ¶
type UpdateAppsQueueJSONRequestBody = WebhookAppsQueueUpdateRequest
UpdateAppsQueueJSONRequestBody defines body for UpdateAppsQueue for application/json ContentType.
type UpdateAppsQueueResponse ¶
type UpdateAppsQueueResponse struct { Body []byte HTTPResponse *http.Response JSON400 *ErrorResponse JSON404 *ErrorResponse }
func ParseUpdateAppsQueueResponse ¶
func ParseUpdateAppsQueueResponse(rsp *http.Response) (*UpdateAppsQueueResponse, error)
ParseUpdateAppsQueueResponse parses an HTTP response from a UpdateAppsQueueWithResponse call
func (UpdateAppsQueueResponse) Status ¶
func (r UpdateAppsQueueResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAppsQueueResponse) StatusCode ¶
func (r UpdateAppsQueueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEmailFrequencyJSONRequestBody ¶
type UpdateEmailFrequencyJSONRequestBody = FrequencyConfigRequest
UpdateEmailFrequencyJSONRequestBody defines body for UpdateEmailFrequency for application/json ContentType.
type UpdateEmailFrequencyParamsEntityType ¶
type UpdateEmailFrequencyParamsEntityType string
UpdateEmailFrequencyParamsEntityType defines parameters for UpdateEmailFrequency.
const ( UpdateEmailFrequencyParamsEntityTypeCATEGORY UpdateEmailFrequencyParamsEntityType = "CATEGORY" UpdateEmailFrequencyParamsEntityTypePRODUCT UpdateEmailFrequencyParamsEntityType = "PRODUCT" UpdateEmailFrequencyParamsEntityTypeTASK UpdateEmailFrequencyParamsEntityType = "TASK" )
Defines values for UpdateEmailFrequencyParamsEntityType.
type UpdateEmailFrequencyResponse ¶
type UpdateEmailFrequencyResponse struct { Body []byte HTTPResponse *http.Response JSON202 *Unit JSON400 *ErrorResponse }
func ParseUpdateEmailFrequencyResponse ¶
func ParseUpdateEmailFrequencyResponse(rsp *http.Response) (*UpdateEmailFrequencyResponse, error)
ParseUpdateEmailFrequencyResponse parses an HTTP response from a UpdateEmailFrequencyWithResponse call
func (UpdateEmailFrequencyResponse) Status ¶
func (r UpdateEmailFrequencyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEmailFrequencyResponse) StatusCode ¶
func (r UpdateEmailFrequencyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateJSONRequestBody ¶
type UpdateJSONRequestBody = WebhookUpdateRequest
UpdateJSONRequestBody defines body for Update for application/json ContentType.
type UpdateResponse ¶
type UpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Unit JSON400 *ErrorResponse JSON404 *ErrorResponse }
func ParseUpdateResponse ¶
func ParseUpdateResponse(rsp *http.Response) (*UpdateResponse, error)
ParseUpdateResponse parses an HTTP response from a UpdateWithResponse call
func (UpdateResponse) Status ¶
func (r UpdateResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateResponse) StatusCode ¶
func (r UpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertJSONRequestBody ¶
type UpsertJSONRequestBody = UserConfigurationRequest
UpsertJSONRequestBody defines body for Upsert for application/json ContentType.
type UpsertResponse ¶
type UpsertResponse struct { Body []byte HTTPResponse *http.Response JSON202 *Unit JSON400 *ErrorResponse }
func ParseUpsertResponse ¶
func ParseUpsertResponse(rsp *http.Response) (*UpsertResponse, error)
ParseUpsertResponse parses an HTTP response from a UpsertWithResponse call
func (UpsertResponse) Status ¶
func (r UpsertResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertResponse) StatusCode ¶
func (r UpsertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserConfigurationRequest ¶
type UserConfigurationRequest struct {
UserEmail *PropertyUpdateString `json:"userEmail,omitempty"`
}
UserConfigurationRequest defines model for UserConfigurationRequest.
type UserConfigurationResponse ¶
type UserConfigurationResponse struct {
UserEmail *string `json:"userEmail,omitempty"`
}
UserConfigurationResponse defines model for UserConfigurationResponse.
type UserEventTypeListRequest ¶
type UserEventTypeListRequest struct {
EventTypes []UserEventTypeListRequestEventTypes `json:"eventTypes"`
}
UserEventTypeListRequest defines model for UserEventTypeListRequest.
type UserEventTypeListRequestEventTypes ¶
type UserEventTypeListRequestEventTypes string
UserEventTypeListRequestEventTypes defines model for UserEventTypeListRequest.EventTypes.
const ( UserEventTypeListRequestEventTypesNEWCOMMENTASSIGNEDTOTASK UserEventTypeListRequestEventTypes = "NEW_COMMENT_ASSIGNED_TO_TASK" UserEventTypeListRequestEventTypesPRODUCTWATCH UserEventTypeListRequestEventTypes = "PRODUCT_WATCH" UserEventTypeListRequestEventTypesTASKDEADLINEREACHED UserEventTypeListRequestEventTypes = "TASK_DEADLINE_REACHED" UserEventTypeListRequestEventTypesTASKDEADLINEREMINDER UserEventTypeListRequestEventTypes = "TASK_DEADLINE_REMINDER" UserEventTypeListRequestEventTypesTASKDUEDATEUPDATED UserEventTypeListRequestEventTypes = "TASK_DUE_DATE_UPDATED" UserEventTypeListRequestEventTypesTASKISASSIGNEDTOUSER UserEventTypeListRequestEventTypes = "TASK_IS_ASSIGNED_TO_USER" UserEventTypeListRequestEventTypesTASKMETADATAISUPDATED UserEventTypeListRequestEventTypes = "TASK_METADATA_IS_UPDATED" UserEventTypeListRequestEventTypesTASKREPORTEDBYMEISCLOSED UserEventTypeListRequestEventTypes = "TASK_REPORTED_BY_ME_IS_CLOSED" UserEventTypeListRequestEventTypesTASKSCOPEISUPDATED UserEventTypeListRequestEventTypes = "TASK_SCOPE_IS_UPDATED" )
Defines values for UserEventTypeListRequestEventTypes.
type WebhookAppsQueueResponse ¶
type WebhookAppsQueueResponse struct {
Enabled bool `json:"enabled"`
}
WebhookAppsQueueResponse defines model for WebhookAppsQueueResponse.
type WebhookAppsQueueUpdateRequest ¶
type WebhookAppsQueueUpdateRequest struct {
Enabled bool `json:"enabled"`
}
WebhookAppsQueueUpdateRequest defines model for WebhookAppsQueueUpdateRequest.
type WebhookCall ¶
type WebhookCall struct { Request WebhookRequest `json:"request"` Response WebhookResponse `json:"response"` Timestamp int64 `json:"timestamp"` }
WebhookCall defines model for WebhookCall.
type WebhookCreateRequest ¶
type WebhookCreateRequest struct { Active bool `json:"active"` Secret string `json:"secret"` Url string `json:"url"` }
WebhookCreateRequest defines model for WebhookCreateRequest.
type WebhookEventTypeListRequest ¶
type WebhookEventTypeListRequest struct {
EventTypes []WebhookEventTypeListRequestEventTypes `json:"eventTypes"`
}
WebhookEventTypeListRequest defines model for WebhookEventTypeListRequest.
type WebhookEventTypeListRequestEventTypes ¶
type WebhookEventTypeListRequestEventTypes string
WebhookEventTypeListRequestEventTypes defines model for WebhookEventTypeListRequest.EventTypes.
const ( WebhookEventTypeListRequestEventTypesCATEGORYCREATED WebhookEventTypeListRequestEventTypes = "CATEGORY_CREATED" WebhookEventTypeListRequestEventTypesCATEGORYREMOVED WebhookEventTypeListRequestEventTypes = "CATEGORY_REMOVED" WebhookEventTypeListRequestEventTypesCATEGORYWATCHARCHIVESTATE WebhookEventTypeListRequestEventTypes = "CATEGORY_WATCH_ARCHIVE_STATE" WebhookEventTypeListRequestEventTypesCATEGORYWATCHATTRIBUTE WebhookEventTypeListRequestEventTypes = "CATEGORY_WATCH_ATTRIBUTE" WebhookEventTypeListRequestEventTypesCATEGORYWATCHMETADATADESCRIPTION WebhookEventTypeListRequestEventTypes = "CATEGORY_WATCH_METADATA_DESCRIPTION" WebhookEventTypeListRequestEventTypesCATEGORYWATCHMETADATANAME WebhookEventTypeListRequestEventTypes = "CATEGORY_WATCH_METADATA_NAME" WebhookEventTypeListRequestEventTypesCATEGORYWATCHMETADATANUMBER WebhookEventTypeListRequestEventTypes = "CATEGORY_WATCH_METADATA_NUMBER" WebhookEventTypeListRequestEventTypesCATEGORYWATCHMOVE WebhookEventTypeListRequestEventTypes = "CATEGORY_WATCH_MOVE" WebhookEventTypeListRequestEventTypesCATEGORYWATCHORDER WebhookEventTypeListRequestEventTypes = "CATEGORY_WATCH_ORDER" WebhookEventTypeListRequestEventTypesPRODUCTCREATED WebhookEventTypeListRequestEventTypes = "PRODUCT_CREATED" WebhookEventTypeListRequestEventTypesPRODUCTSYNCDONE WebhookEventTypeListRequestEventTypes = "PRODUCT_SYNC_DONE" WebhookEventTypeListRequestEventTypesPRODUCTWATCHASSET WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_ASSET" WebhookEventTypeListRequestEventTypesPRODUCTWATCHATTRIBUTE WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_ATTRIBUTE" WebhookEventTypeListRequestEventTypesPRODUCTWATCHATTRIBUTEASSOCIATION WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_ATTRIBUTE_ASSOCIATION" WebhookEventTypeListRequestEventTypesPRODUCTWATCHATTRIBUTEDISASSOCIATION WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_ATTRIBUTE_DISASSOCIATION" WebhookEventTypeListRequestEventTypesPRODUCTWATCHATTRIBUTEUPDATEVALUE WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_ATTRIBUTE_UPDATE_VALUE" WebhookEventTypeListRequestEventTypesPRODUCTWATCHBUNDLE WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_BUNDLE" WebhookEventTypeListRequestEventTypesPRODUCTWATCHBUNDLEQUANTITY WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_BUNDLE_QUANTITY" WebhookEventTypeListRequestEventTypesPRODUCTWATCHCATEGORY WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_CATEGORY" WebhookEventTypeListRequestEventTypesPRODUCTWATCHLABEL WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_LABEL" WebhookEventTypeListRequestEventTypesPRODUCTWATCHMETADATADESCRIPTION WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_METADATA_DESCRIPTION" WebhookEventTypeListRequestEventTypesPRODUCTWATCHMETADATANAME WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_METADATA_NAME" WebhookEventTypeListRequestEventTypesPRODUCTWATCHMETADATANUMBER WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_METADATA_NUMBER" WebhookEventTypeListRequestEventTypesPRODUCTWATCHRELATION WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_RELATION" WebhookEventTypeListRequestEventTypesPRODUCTWATCHSTATE WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_STATE" WebhookEventTypeListRequestEventTypesPRODUCTWATCHVARIANT WebhookEventTypeListRequestEventTypes = "PRODUCT_WATCH_VARIANT" )
Defines values for WebhookEventTypeListRequestEventTypes.
type WebhookListResponse ¶
type WebhookListResponse struct {
Data []WebhookResponse `json:"data"`
}
WebhookListResponse defines model for WebhookListResponse.
type WebhookMessageResponse ¶
type WebhookMessageResponse struct { Calls *[]WebhookCall `json:"calls,omitempty"` Content string `json:"content"` CreatedAt int64 `json:"createdAt"` EventType *WebhookMessageResponseEventType `json:"eventType,omitempty"` Id string `json:"id"` Status WebhookMessageResponseStatus `json:"status"` WebhookId string `json:"webhookId"` }
WebhookMessageResponse defines model for WebhookMessageResponse.
type WebhookMessageResponseEventType ¶
type WebhookMessageResponseEventType string
WebhookMessageResponseEventType defines model for WebhookMessageResponse.EventType.
const ( WebhookMessageResponseEventTypeCATEGORYCREATED WebhookMessageResponseEventType = "CATEGORY_CREATED" WebhookMessageResponseEventTypeCATEGORYREMOVED WebhookMessageResponseEventType = "CATEGORY_REMOVED" WebhookMessageResponseEventTypeCATEGORYWATCH WebhookMessageResponseEventType = "CATEGORY_WATCH" WebhookMessageResponseEventTypeCATEGORYWATCHARCHIVESTATE WebhookMessageResponseEventType = "CATEGORY_WATCH_ARCHIVE_STATE" WebhookMessageResponseEventTypeCATEGORYWATCHATTRIBUTE WebhookMessageResponseEventType = "CATEGORY_WATCH_ATTRIBUTE" WebhookMessageResponseEventTypeCATEGORYWATCHMETADATADESCRIPTION WebhookMessageResponseEventType = "CATEGORY_WATCH_METADATA_DESCRIPTION" WebhookMessageResponseEventTypeCATEGORYWATCHMETADATANAME WebhookMessageResponseEventType = "CATEGORY_WATCH_METADATA_NAME" WebhookMessageResponseEventTypeCATEGORYWATCHMETADATANUMBER WebhookMessageResponseEventType = "CATEGORY_WATCH_METADATA_NUMBER" WebhookMessageResponseEventTypeCATEGORYWATCHMOVE WebhookMessageResponseEventType = "CATEGORY_WATCH_MOVE" WebhookMessageResponseEventTypeCATEGORYWATCHORDER WebhookMessageResponseEventType = "CATEGORY_WATCH_ORDER" WebhookMessageResponseEventTypeNEWCOMMENTASSIGNEDTOTASK WebhookMessageResponseEventType = "NEW_COMMENT_ASSIGNED_TO_TASK" WebhookMessageResponseEventTypePRODUCTCREATED WebhookMessageResponseEventType = "PRODUCT_CREATED" WebhookMessageResponseEventTypePRODUCTSYNCDONE WebhookMessageResponseEventType = "PRODUCT_SYNC_DONE" WebhookMessageResponseEventTypePRODUCTWATCH WebhookMessageResponseEventType = "PRODUCT_WATCH" WebhookMessageResponseEventTypePRODUCTWATCHASSET WebhookMessageResponseEventType = "PRODUCT_WATCH_ASSET" WebhookMessageResponseEventTypePRODUCTWATCHATTRIBUTE WebhookMessageResponseEventType = "PRODUCT_WATCH_ATTRIBUTE" WebhookMessageResponseEventTypePRODUCTWATCHATTRIBUTEASSOCIATION WebhookMessageResponseEventType = "PRODUCT_WATCH_ATTRIBUTE_ASSOCIATION" WebhookMessageResponseEventTypePRODUCTWATCHATTRIBUTEDISASSOCIATION WebhookMessageResponseEventType = "PRODUCT_WATCH_ATTRIBUTE_DISASSOCIATION" WebhookMessageResponseEventTypePRODUCTWATCHATTRIBUTEUPDATEVALUE WebhookMessageResponseEventType = "PRODUCT_WATCH_ATTRIBUTE_UPDATE_VALUE" WebhookMessageResponseEventTypePRODUCTWATCHBUNDLE WebhookMessageResponseEventType = "PRODUCT_WATCH_BUNDLE" WebhookMessageResponseEventTypePRODUCTWATCHBUNDLEQUANTITY WebhookMessageResponseEventType = "PRODUCT_WATCH_BUNDLE_QUANTITY" WebhookMessageResponseEventTypePRODUCTWATCHCATEGORY WebhookMessageResponseEventType = "PRODUCT_WATCH_CATEGORY" WebhookMessageResponseEventTypePRODUCTWATCHLABEL WebhookMessageResponseEventType = "PRODUCT_WATCH_LABEL" WebhookMessageResponseEventTypePRODUCTWATCHMETADATADESCRIPTION WebhookMessageResponseEventType = "PRODUCT_WATCH_METADATA_DESCRIPTION" WebhookMessageResponseEventTypePRODUCTWATCHMETADATANAME WebhookMessageResponseEventType = "PRODUCT_WATCH_METADATA_NAME" WebhookMessageResponseEventTypePRODUCTWATCHMETADATANUMBER WebhookMessageResponseEventType = "PRODUCT_WATCH_METADATA_NUMBER" WebhookMessageResponseEventTypePRODUCTWATCHRELATION WebhookMessageResponseEventType = "PRODUCT_WATCH_RELATION" WebhookMessageResponseEventTypePRODUCTWATCHSTATE WebhookMessageResponseEventType = "PRODUCT_WATCH_STATE" WebhookMessageResponseEventTypePRODUCTWATCHVARIANT WebhookMessageResponseEventType = "PRODUCT_WATCH_VARIANT" WebhookMessageResponseEventTypeTASKDEADLINEREACHED WebhookMessageResponseEventType = "TASK_DEADLINE_REACHED" WebhookMessageResponseEventTypeTASKDEADLINEREMINDER WebhookMessageResponseEventType = "TASK_DEADLINE_REMINDER" WebhookMessageResponseEventTypeTASKDUEDATEUPDATED WebhookMessageResponseEventType = "TASK_DUE_DATE_UPDATED" WebhookMessageResponseEventTypeTASKISASSIGNEDTOUSER WebhookMessageResponseEventType = "TASK_IS_ASSIGNED_TO_USER" WebhookMessageResponseEventTypeTASKMETADATAISUPDATED WebhookMessageResponseEventType = "TASK_METADATA_IS_UPDATED" WebhookMessageResponseEventTypeTASKREPORTEDBYMEISCLOSED WebhookMessageResponseEventType = "TASK_REPORTED_BY_ME_IS_CLOSED" WebhookMessageResponseEventTypeTASKSCOPEISUPDATED WebhookMessageResponseEventType = "TASK_SCOPE_IS_UPDATED" )
Defines values for WebhookMessageResponseEventType.
type WebhookMessageResponseStatus ¶
type WebhookMessageResponseStatus string
WebhookMessageResponseStatus defines model for WebhookMessageResponse.Status.
const ( WebhookMessageResponseStatusERROR WebhookMessageResponseStatus = "ERROR" WebhookMessageResponseStatusINPROGRESS WebhookMessageResponseStatus = "IN_PROGRESS" WebhookMessageResponseStatusSENT WebhookMessageResponseStatus = "SENT" WebhookMessageResponseStatusTOBESENT WebhookMessageResponseStatus = "TO_BE_SENT" WebhookMessageResponseStatusWEBHOOKINACTIVE WebhookMessageResponseStatus = "WEBHOOK_INACTIVE" )
Defines values for WebhookMessageResponseStatus.
type WebhookMessageSearchRequest ¶
type WebhookMessageSearchRequest struct { Page int64 `json:"page"` PageSize int32 `json:"pageSize"` Status *WebhookMessageSearchRequestStatus `json:"status,omitempty"` WebhookId string `json:"webhookId"` }
WebhookMessageSearchRequest defines model for WebhookMessageSearchRequest.
type WebhookMessageSearchRequestStatus ¶
type WebhookMessageSearchRequestStatus string
WebhookMessageSearchRequestStatus defines model for WebhookMessageSearchRequest.Status.
const ( ERROR WebhookMessageSearchRequestStatus = "ERROR" INPROGRESS WebhookMessageSearchRequestStatus = "IN_PROGRESS" SENT WebhookMessageSearchRequestStatus = "SENT" TOBESENT WebhookMessageSearchRequestStatus = "TO_BE_SENT" WEBHOOKINACTIVE WebhookMessageSearchRequestStatus = "WEBHOOK_INACTIVE" )
Defines values for WebhookMessageSearchRequestStatus.
type WebhookRequest ¶
type WebhookRequest struct { Headers *[]string `json:"headers,omitempty"` HttpMethod string `json:"httpMethod"` Payload string `json:"payload"` Url string `json:"url"` }
WebhookRequest defines model for WebhookRequest.
type WebhookResponse ¶
type WebhookResponse struct { Active bool `json:"active"` Id string `json:"id"` RetryAttempts int32 `json:"retryAttempts"` Secret string `json:"secret"` Url string `json:"url"` }
WebhookResponse defines model for WebhookResponse.
type WebhookSearchRequest ¶
WebhookSearchRequest defines model for WebhookSearchRequest.
type WebhookUpdateRequest ¶
type WebhookUpdateRequest struct { Active *bool `json:"active,omitempty"` Secret *string `json:"secret,omitempty"` Url *string `json:"url,omitempty"` }
WebhookUpdateRequest defines model for WebhookUpdateRequest.