front

package module
v0.0.0-...-44ac1c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 16 Imported by: 0

README

front-go

API wrapper for the Front Public API.

USAGE

client, err := front.NewClientWithResponses(
  "https://api2.frontapp.com/",
  front.WithAuthorizationToken("<YOUR_AUTH_TOKEN>"),
)
if err != nil {
  // ...
}

response, err := client.ListAccountsWithResponse(context.Background())
if err == nil && response.JSON200 != nil {
  // ...
}

LICENSE

MIT

Documentation

Overview

Package front provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.9.0 DO NOT EDIT.

Index

Constants

View Source
const (
	HttpScopes = "http.Scopes"
)

Variables

This section is empty.

Functions

func BooleanParam

func BooleanParam(v bool) *bool

BooleanParam creates a boolean pointer for optional boolean params.

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func NewCreateAnalyticsExportRequest

func NewCreateAnalyticsExportRequest(server string, body CreateAnalyticsExportJSONRequestBody) (*http.Request, error)

NewCreateAnalyticsExportRequest calls the generic CreateAnalyticsExport builder with application/json body

func NewCreateAnalyticsExportRequestWithBody

func NewCreateAnalyticsExportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateAnalyticsExportRequestWithBody generates requests for CreateAnalyticsExport with any type of body

func NewCreateAnalyticsReportRequest

func NewCreateAnalyticsReportRequest(server string, body CreateAnalyticsReportJSONRequestBody) (*http.Request, error)

NewCreateAnalyticsReportRequest calls the generic CreateAnalyticsReport builder with application/json body

func NewCreateAnalyticsReportRequestWithBody

func NewCreateAnalyticsReportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateAnalyticsReportRequestWithBody generates requests for CreateAnalyticsReport with any type of body

func NewCreateExportRequest

func NewCreateExportRequest(server string, body CreateExportJSONRequestBody) (*http.Request, error)

NewCreateExportRequest calls the generic CreateExport builder with application/json body

func NewCreateExportRequestWithBody

func NewCreateExportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateExportRequestWithBody generates requests for CreateExport with any type of body

func NewDeleteAccountsAccountIdContactsRequest

func NewDeleteAccountsAccountIdContactsRequest(server string, accountId string, body DeleteAccountsAccountIdContactsJSONRequestBody) (*http.Request, error)

NewDeleteAccountsAccountIdContactsRequest calls the generic DeleteAccountsAccountIdContacts builder with application/json body

func NewDeleteAccountsAccountIdContactsRequestWithBody

func NewDeleteAccountsAccountIdContactsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteAccountsAccountIdContactsRequestWithBody generates requests for DeleteAccountsAccountIdContacts with any type of body

func NewDeleteAccountsAccountIdRequest

func NewDeleteAccountsAccountIdRequest(server string, accountId string) (*http.Request, error)

NewDeleteAccountsAccountIdRequest generates requests for DeleteAccountsAccountId

func NewDeleteContactGroupsContactGroupIdRequest

func NewDeleteContactGroupsContactGroupIdRequest(server string, contactGroupId string) (*http.Request, error)

NewDeleteContactGroupsContactGroupIdRequest generates requests for DeleteContactGroupsContactGroupId

func NewDeleteContactsContactIdHandlesRequest

func NewDeleteContactsContactIdHandlesRequest(server string, contactId string, body DeleteContactsContactIdHandlesJSONRequestBody) (*http.Request, error)

NewDeleteContactsContactIdHandlesRequest calls the generic DeleteContactsContactIdHandles builder with application/json body

func NewDeleteContactsContactIdHandlesRequestWithBody

func NewDeleteContactsContactIdHandlesRequestWithBody(server string, contactId string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteContactsContactIdHandlesRequestWithBody generates requests for DeleteContactsContactIdHandles with any type of body

func NewDeleteContactsContactIdRequest

func NewDeleteContactsContactIdRequest(server string, contactId string) (*http.Request, error)

NewDeleteContactsContactIdRequest generates requests for DeleteContactsContactId

func NewDeleteConversationsConversationIdFollowersRequest

func NewDeleteConversationsConversationIdFollowersRequest(server string, conversationId string, body DeleteConversationsConversationIdFollowersJSONRequestBody) (*http.Request, error)

NewDeleteConversationsConversationIdFollowersRequest calls the generic DeleteConversationsConversationIdFollowers builder with application/json body

func NewDeleteConversationsConversationIdFollowersRequestWithBody

func NewDeleteConversationsConversationIdFollowersRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteConversationsConversationIdFollowersRequestWithBody generates requests for DeleteConversationsConversationIdFollowers with any type of body

func NewDeleteConversationsConversationIdLinksRequest

func NewDeleteConversationsConversationIdLinksRequest(server string, conversationId string, body DeleteConversationsConversationIdLinksJSONRequestBody) (*http.Request, error)

NewDeleteConversationsConversationIdLinksRequest calls the generic DeleteConversationsConversationIdLinks builder with application/json body

func NewDeleteConversationsConversationIdLinksRequestWithBody

func NewDeleteConversationsConversationIdLinksRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteConversationsConversationIdLinksRequestWithBody generates requests for DeleteConversationsConversationIdLinks with any type of body

func NewDeleteConversationsConversationIdTagsRequest

func NewDeleteConversationsConversationIdTagsRequest(server string, conversationId string, body DeleteConversationsConversationIdTagsJSONRequestBody) (*http.Request, error)

NewDeleteConversationsConversationIdTagsRequest calls the generic DeleteConversationsConversationIdTags builder with application/json body

func NewDeleteConversationsConversationIdTagsRequestWithBody

func NewDeleteConversationsConversationIdTagsRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteConversationsConversationIdTagsRequestWithBody generates requests for DeleteConversationsConversationIdTags with any type of body

func NewDeleteDraftsDraftIdRequest

func NewDeleteDraftsDraftIdRequest(server string, draftId string, body DeleteDraftsDraftIdJSONRequestBody) (*http.Request, error)

NewDeleteDraftsDraftIdRequest calls the generic DeleteDraftsDraftId builder with application/json body

func NewDeleteDraftsDraftIdRequestWithBody

func NewDeleteDraftsDraftIdRequestWithBody(server string, draftId string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteDraftsDraftIdRequestWithBody generates requests for DeleteDraftsDraftId with any type of body

func NewDeleteInboxesInboxIdTeammatesRequest

func NewDeleteInboxesInboxIdTeammatesRequest(server string, inboxId string, body DeleteInboxesInboxIdTeammatesJSONRequestBody) (*http.Request, error)

NewDeleteInboxesInboxIdTeammatesRequest calls the generic DeleteInboxesInboxIdTeammates builder with application/json body

func NewDeleteInboxesInboxIdTeammatesRequestWithBody

func NewDeleteInboxesInboxIdTeammatesRequestWithBody(server string, inboxId string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteInboxesInboxIdTeammatesRequestWithBody generates requests for DeleteInboxesInboxIdTeammates with any type of body

func NewDeleteMessageTemplateFoldersMessageTemplateFolderIdRequest

func NewDeleteMessageTemplateFoldersMessageTemplateFolderIdRequest(server string, messageTemplateFolderId string) (*http.Request, error)

NewDeleteMessageTemplateFoldersMessageTemplateFolderIdRequest generates requests for DeleteMessageTemplateFoldersMessageTemplateFolderId

func NewDeleteMessageTemplatesMessageTemplateIdRequest

func NewDeleteMessageTemplatesMessageTemplateIdRequest(server string, messageTemplateId string) (*http.Request, error)

NewDeleteMessageTemplatesMessageTemplateIdRequest generates requests for DeleteMessageTemplatesMessageTemplateId

func NewDeleteShiftShiftIdTeammatesRequest

func NewDeleteShiftShiftIdTeammatesRequest(server string, shiftId string, body DeleteShiftShiftIdTeammatesJSONRequestBody) (*http.Request, error)

NewDeleteShiftShiftIdTeammatesRequest calls the generic DeleteShiftShiftIdTeammates builder with application/json body

func NewDeleteShiftShiftIdTeammatesRequestWithBody

func NewDeleteShiftShiftIdTeammatesRequestWithBody(server string, shiftId string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteShiftShiftIdTeammatesRequestWithBody generates requests for DeleteShiftShiftIdTeammates with any type of body

func NewDeleteTagsTagIdRequest

func NewDeleteTagsTagIdRequest(server string, tagId string) (*http.Request, error)

NewDeleteTagsTagIdRequest generates requests for DeleteTagsTagId

func NewDeleteTeamsTeamIdTeammatesRequest

func NewDeleteTeamsTeamIdTeammatesRequest(server string, teamId string, body DeleteTeamsTeamIdTeammatesJSONRequestBody) (*http.Request, error)

NewDeleteTeamsTeamIdTeammatesRequest calls the generic DeleteTeamsTeamIdTeammates builder with application/json body

func NewDeleteTeamsTeamIdTeammatesRequestWithBody

func NewDeleteTeamsTeamIdTeammatesRequestWithBody(server string, teamId string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteTeamsTeamIdTeammatesRequestWithBody generates requests for DeleteTeamsTeamIdTeammates with any type of body

func NewGetAccountsAccountIdContactsRequest

func NewGetAccountsAccountIdContactsRequest(server string, accountId string, params *GetAccountsAccountIdContactsParams) (*http.Request, error)

NewGetAccountsAccountIdContactsRequest generates requests for GetAccountsAccountIdContacts

func NewGetAccountsAccountIdRequest

func NewGetAccountsAccountIdRequest(server string, accountId string) (*http.Request, error)

NewGetAccountsAccountIdRequest generates requests for GetAccountsAccountId

func NewGetAccountsRequest

func NewGetAccountsRequest(server string, params *GetAccountsParams) (*http.Request, error)

NewGetAccountsRequest generates requests for GetAccounts

func NewGetAnalyticsExportRequest

func NewGetAnalyticsExportRequest(server string, exportId string) (*http.Request, error)

NewGetAnalyticsExportRequest generates requests for GetAnalyticsExport

func NewGetAnalyticsReportRequest

func NewGetAnalyticsReportRequest(server string, reportUid string) (*http.Request, error)

NewGetAnalyticsReportRequest generates requests for GetAnalyticsReport

func NewGetAnalyticsRequest

func NewGetAnalyticsRequest(server string, params *GetAnalyticsParams) (*http.Request, error)

NewGetAnalyticsRequest generates requests for GetAnalytics

func NewGetChannelsChannelIdRequest

func NewGetChannelsChannelIdRequest(server string, channelId string) (*http.Request, error)

NewGetChannelsChannelIdRequest generates requests for GetChannelsChannelId

func NewGetChannelsRequest

func NewGetChannelsRequest(server string) (*http.Request, error)

NewGetChannelsRequest generates requests for GetChannels

func NewGetCommentsCommentIdMentionsRequest

func NewGetCommentsCommentIdMentionsRequest(server string, commentId string) (*http.Request, error)

NewGetCommentsCommentIdMentionsRequest generates requests for GetCommentsCommentIdMentions

func NewGetCommentsCommentIdRequest

func NewGetCommentsCommentIdRequest(server string, commentId string) (*http.Request, error)

NewGetCommentsCommentIdRequest generates requests for GetCommentsCommentId

func NewGetContactGroupsContactGroupIdContactsRequest

func NewGetContactGroupsContactGroupIdContactsRequest(server string, contactGroupId string, params *GetContactGroupsContactGroupIdContactsParams) (*http.Request, error)

NewGetContactGroupsContactGroupIdContactsRequest generates requests for GetContactGroupsContactGroupIdContacts

func NewGetContactGroupsRequest

func NewGetContactGroupsRequest(server string) (*http.Request, error)

NewGetContactGroupsRequest generates requests for GetContactGroups

func NewGetContactsContactIdConversationsRequest

func NewGetContactsContactIdConversationsRequest(server string, contactId string, params *GetContactsContactIdConversationsParams) (*http.Request, error)

NewGetContactsContactIdConversationsRequest generates requests for GetContactsContactIdConversations

func NewGetContactsContactIdNotesRequest

func NewGetContactsContactIdNotesRequest(server string, contactId string) (*http.Request, error)

NewGetContactsContactIdNotesRequest generates requests for GetContactsContactIdNotes

func NewGetContactsContactIdRequest

func NewGetContactsContactIdRequest(server string, contactId string) (*http.Request, error)

NewGetContactsContactIdRequest generates requests for GetContactsContactId

func NewGetContactsRequest

func NewGetContactsRequest(server string, params *GetContactsParams) (*http.Request, error)

NewGetContactsRequest generates requests for GetContacts

func NewGetConversationByIdRequest

func NewGetConversationByIdRequest(server string, conversationId string) (*http.Request, error)

NewGetConversationByIdRequest generates requests for GetConversationById

func NewGetConversationsConversationIdCommentsRequest

func NewGetConversationsConversationIdCommentsRequest(server string, conversationId string) (*http.Request, error)

NewGetConversationsConversationIdCommentsRequest generates requests for GetConversationsConversationIdComments

func NewGetConversationsConversationIdDraftsRequest

func NewGetConversationsConversationIdDraftsRequest(server string, conversationId string) (*http.Request, error)

NewGetConversationsConversationIdDraftsRequest generates requests for GetConversationsConversationIdDrafts

func NewGetConversationsConversationIdEventsRequest

func NewGetConversationsConversationIdEventsRequest(server string, conversationId string, params *GetConversationsConversationIdEventsParams) (*http.Request, error)

NewGetConversationsConversationIdEventsRequest generates requests for GetConversationsConversationIdEvents

func NewGetConversationsConversationIdFollowersRequest

func NewGetConversationsConversationIdFollowersRequest(server string, conversationId string) (*http.Request, error)

NewGetConversationsConversationIdFollowersRequest generates requests for GetConversationsConversationIdFollowers

func NewGetConversationsConversationIdInboxesRequest

func NewGetConversationsConversationIdInboxesRequest(server string, conversationId string) (*http.Request, error)

NewGetConversationsConversationIdInboxesRequest generates requests for GetConversationsConversationIdInboxes

func NewGetConversationsConversationIdMessagesRequest

func NewGetConversationsConversationIdMessagesRequest(server string, conversationId string, params *GetConversationsConversationIdMessagesParams) (*http.Request, error)

NewGetConversationsConversationIdMessagesRequest generates requests for GetConversationsConversationIdMessages

func NewGetDownloadAttachmentLinkIdRequest

func NewGetDownloadAttachmentLinkIdRequest(server string, attachmentLinkId string) (*http.Request, error)

NewGetDownloadAttachmentLinkIdRequest generates requests for GetDownloadAttachmentLinkId

func NewGetEventsEventIdRequest

func NewGetEventsEventIdRequest(server string, eventId string) (*http.Request, error)

NewGetEventsEventIdRequest generates requests for GetEventsEventId

func NewGetEventsRequest

func NewGetEventsRequest(server string, params *GetEventsParams) (*http.Request, error)

NewGetEventsRequest generates requests for GetEvents

func NewGetExportsExportIdRequest

func NewGetExportsExportIdRequest(server string, exportId string) (*http.Request, error)

NewGetExportsExportIdRequest generates requests for GetExportsExportId

func NewGetExportsRequest

func NewGetExportsRequest(server string, params *GetExportsParams) (*http.Request, error)

NewGetExportsRequest generates requests for GetExports

func NewGetInboxesInboxIdChannelsRequest

func NewGetInboxesInboxIdChannelsRequest(server string, inboxId string) (*http.Request, error)

NewGetInboxesInboxIdChannelsRequest generates requests for GetInboxesInboxIdChannels

func NewGetInboxesInboxIdConversationsRequest

func NewGetInboxesInboxIdConversationsRequest(server string, inboxId string, params *GetInboxesInboxIdConversationsParams) (*http.Request, error)

NewGetInboxesInboxIdConversationsRequest generates requests for GetInboxesInboxIdConversations

func NewGetInboxesInboxIdRequest

func NewGetInboxesInboxIdRequest(server string, inboxId string) (*http.Request, error)

NewGetInboxesInboxIdRequest generates requests for GetInboxesInboxId

func NewGetInboxesInboxIdTeammatesRequest

func NewGetInboxesInboxIdTeammatesRequest(server string, inboxId string) (*http.Request, error)

NewGetInboxesInboxIdTeammatesRequest generates requests for GetInboxesInboxIdTeammates

func NewGetInboxesRequest

func NewGetInboxesRequest(server string) (*http.Request, error)

NewGetInboxesRequest generates requests for GetInboxes

func NewGetLinksLinkIdRequest

func NewGetLinksLinkIdRequest(server string, linkId string) (*http.Request, error)

NewGetLinksLinkIdRequest generates requests for GetLinksLinkId

func NewGetLinksRequest

func NewGetLinksRequest(server string, params *GetLinksParams) (*http.Request, error)

NewGetLinksRequest generates requests for GetLinks

func NewGetMeRequest

func NewGetMeRequest(server string) (*http.Request, error)

NewGetMeRequest generates requests for GetMe

func NewGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersRequest

func NewGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersRequest(server string, messageTemplateFolderId string) (*http.Request, error)

NewGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersRequest generates requests for GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders

func NewGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesRequest

func NewGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesRequest(server string, messageTemplateFolderId string) (*http.Request, error)

NewGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesRequest generates requests for GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates

func NewGetMessageTemplateFoldersMessageTemplateFolderIdRequest

func NewGetMessageTemplateFoldersMessageTemplateFolderIdRequest(server string, messageTemplateFolderId string) (*http.Request, error)

NewGetMessageTemplateFoldersMessageTemplateFolderIdRequest generates requests for GetMessageTemplateFoldersMessageTemplateFolderId

func NewGetMessageTemplateFoldersRequest

func NewGetMessageTemplateFoldersRequest(server string) (*http.Request, error)

NewGetMessageTemplateFoldersRequest generates requests for GetMessageTemplateFolders

func NewGetMessageTemplatesMessageTemplateIdRequest

func NewGetMessageTemplatesMessageTemplateIdRequest(server string, messageTemplateId string) (*http.Request, error)

NewGetMessageTemplatesMessageTemplateIdRequest generates requests for GetMessageTemplatesMessageTemplateId

func NewGetMessageTemplatesRequest

func NewGetMessageTemplatesRequest(server string) (*http.Request, error)

NewGetMessageTemplatesRequest generates requests for GetMessageTemplates

func NewGetMessagesMessageIdRequest

func NewGetMessagesMessageIdRequest(server string, messageId string) (*http.Request, error)

NewGetMessagesMessageIdRequest generates requests for GetMessagesMessageId

func NewGetRulesRequest

func NewGetRulesRequest(server string) (*http.Request, error)

NewGetRulesRequest generates requests for GetRules

func NewGetRulesRuleIdRequest

func NewGetRulesRuleIdRequest(server string, ruleId string) (*http.Request, error)

NewGetRulesRuleIdRequest generates requests for GetRulesRuleId

func NewGetShiftShiftIdRequest

func NewGetShiftShiftIdRequest(server string, shiftId string) (*http.Request, error)

NewGetShiftShiftIdRequest generates requests for GetShiftShiftId

func NewGetShiftShiftIdTeammatesRequest

func NewGetShiftShiftIdTeammatesRequest(server string, shiftId string) (*http.Request, error)

NewGetShiftShiftIdTeammatesRequest generates requests for GetShiftShiftIdTeammates

func NewGetTagsRequest

func NewGetTagsRequest(server string) (*http.Request, error)

NewGetTagsRequest generates requests for GetTags

func NewGetTagsTagIdChildrenRequest

func NewGetTagsTagIdChildrenRequest(server string, tagId string) (*http.Request, error)

NewGetTagsTagIdChildrenRequest generates requests for GetTagsTagIdChildren

func NewGetTagsTagIdConversationsRequest

func NewGetTagsTagIdConversationsRequest(server string, tagId string, params *GetTagsTagIdConversationsParams) (*http.Request, error)

NewGetTagsTagIdConversationsRequest generates requests for GetTagsTagIdConversations

func NewGetTagsTagIdRequest

func NewGetTagsTagIdRequest(server string, tagId string) (*http.Request, error)

NewGetTagsTagIdRequest generates requests for GetTagsTagId

func NewGetTeamTeamIdRulesRequest

func NewGetTeamTeamIdRulesRequest(server string, teamId string) (*http.Request, error)

NewGetTeamTeamIdRulesRequest generates requests for GetTeamTeamIdRules

func NewGetTeammatesRequest

func NewGetTeammatesRequest(server string) (*http.Request, error)

NewGetTeammatesRequest generates requests for GetTeammates

func NewGetTeammatesTeammateIdChannelsRequest

func NewGetTeammatesTeammateIdChannelsRequest(server string, teammateId string) (*http.Request, error)

NewGetTeammatesTeammateIdChannelsRequest generates requests for GetTeammatesTeammateIdChannels

func NewGetTeammatesTeammateIdContactGroupsRequest

func NewGetTeammatesTeammateIdContactGroupsRequest(server string, teammateId string) (*http.Request, error)

NewGetTeammatesTeammateIdContactGroupsRequest generates requests for GetTeammatesTeammateIdContactGroups

func NewGetTeammatesTeammateIdContactsRequest

func NewGetTeammatesTeammateIdContactsRequest(server string, teammateId string, params *GetTeammatesTeammateIdContactsParams) (*http.Request, error)

NewGetTeammatesTeammateIdContactsRequest generates requests for GetTeammatesTeammateIdContacts

func NewGetTeammatesTeammateIdConversationsRequest

func NewGetTeammatesTeammateIdConversationsRequest(server string, teammateId string, params *GetTeammatesTeammateIdConversationsParams) (*http.Request, error)

NewGetTeammatesTeammateIdConversationsRequest generates requests for GetTeammatesTeammateIdConversations

func NewGetTeammatesTeammateIdInboxesRequest

func NewGetTeammatesTeammateIdInboxesRequest(server string, teammateId string) (*http.Request, error)

NewGetTeammatesTeammateIdInboxesRequest generates requests for GetTeammatesTeammateIdInboxes

func NewGetTeammatesTeammateIdMessageTemplateFoldersRequest

func NewGetTeammatesTeammateIdMessageTemplateFoldersRequest(server string, teammateId string) (*http.Request, error)

NewGetTeammatesTeammateIdMessageTemplateFoldersRequest generates requests for GetTeammatesTeammateIdMessageTemplateFolders

func NewGetTeammatesTeammateIdMessageTemplatesRequest

func NewGetTeammatesTeammateIdMessageTemplatesRequest(server string, teammateId string) (*http.Request, error)

NewGetTeammatesTeammateIdMessageTemplatesRequest generates requests for GetTeammatesTeammateIdMessageTemplates

func NewGetTeammatesTeammateIdRequest

func NewGetTeammatesTeammateIdRequest(server string, teammateId string) (*http.Request, error)

NewGetTeammatesTeammateIdRequest generates requests for GetTeammatesTeammateId

func NewGetTeammatesTeammateIdRulesRequest

func NewGetTeammatesTeammateIdRulesRequest(server string, teammateId string) (*http.Request, error)

NewGetTeammatesTeammateIdRulesRequest generates requests for GetTeammatesTeammateIdRules

func NewGetTeammatesTeammateIdShiftsRequest

func NewGetTeammatesTeammateIdShiftsRequest(server string, teammateId string) (*http.Request, error)

NewGetTeammatesTeammateIdShiftsRequest generates requests for GetTeammatesTeammateIdShifts

func NewGetTeammatesTeammateIdTagsRequest

func NewGetTeammatesTeammateIdTagsRequest(server string, teammateId string) (*http.Request, error)

NewGetTeammatesTeammateIdTagsRequest generates requests for GetTeammatesTeammateIdTags

func NewGetTeamsRequest

func NewGetTeamsRequest(server string) (*http.Request, error)

NewGetTeamsRequest generates requests for GetTeams

func NewGetTeamsTeamIdAnalyticsRequest

func NewGetTeamsTeamIdAnalyticsRequest(server string, teamId string, params *GetTeamsTeamIdAnalyticsParams) (*http.Request, error)

NewGetTeamsTeamIdAnalyticsRequest generates requests for GetTeamsTeamIdAnalytics

func NewGetTeamsTeamIdChannelsRequest

func NewGetTeamsTeamIdChannelsRequest(server string, teamId string) (*http.Request, error)

NewGetTeamsTeamIdChannelsRequest generates requests for GetTeamsTeamIdChannels

func NewGetTeamsTeamIdContactGroupsRequest

func NewGetTeamsTeamIdContactGroupsRequest(server string, teamId string) (*http.Request, error)

NewGetTeamsTeamIdContactGroupsRequest generates requests for GetTeamsTeamIdContactGroups

func NewGetTeamsTeamIdContactsRequest

func NewGetTeamsTeamIdContactsRequest(server string, teamId string, params *GetTeamsTeamIdContactsParams) (*http.Request, error)

NewGetTeamsTeamIdContactsRequest generates requests for GetTeamsTeamIdContacts

func NewGetTeamsTeamIdInboxesRequest

func NewGetTeamsTeamIdInboxesRequest(server string, teamId string) (*http.Request, error)

NewGetTeamsTeamIdInboxesRequest generates requests for GetTeamsTeamIdInboxes

func NewGetTeamsTeamIdMessageTemplateFoldersRequest

func NewGetTeamsTeamIdMessageTemplateFoldersRequest(server string, teamId string) (*http.Request, error)

NewGetTeamsTeamIdMessageTemplateFoldersRequest generates requests for GetTeamsTeamIdMessageTemplateFolders

func NewGetTeamsTeamIdMessageTemplatesRequest

func NewGetTeamsTeamIdMessageTemplatesRequest(server string, teamId string) (*http.Request, error)

NewGetTeamsTeamIdMessageTemplatesRequest generates requests for GetTeamsTeamIdMessageTemplates

func NewGetTeamsTeamIdRequest

func NewGetTeamsTeamIdRequest(server string, teamId string) (*http.Request, error)

NewGetTeamsTeamIdRequest generates requests for GetTeamsTeamId

func NewGetTeamsTeamIdShiftsRequest

func NewGetTeamsTeamIdShiftsRequest(server string, teamId string) (*http.Request, error)

NewGetTeamsTeamIdShiftsRequest generates requests for GetTeamsTeamIdShifts

func NewGetTeamsTeamIdTagsRequest

func NewGetTeamsTeamIdTagsRequest(server string, teamId string) (*http.Request, error)

NewGetTeamsTeamIdTagsRequest generates requests for GetTeamsTeamIdTags

func NewImportInboxMessageRequest

func NewImportInboxMessageRequest(server string, inboxId string, body ImportInboxMessageJSONRequestBody) (*http.Request, error)

NewImportInboxMessageRequest calls the generic ImportInboxMessage builder with application/json body

func NewImportInboxMessageRequestWithBody

func NewImportInboxMessageRequestWithBody(server string, inboxId string, contentType string, body io.Reader) (*http.Request, error)

NewImportInboxMessageRequestWithBody generates requests for ImportInboxMessage with any type of body

func NewListContactCustomFieldsRequest

func NewListContactCustomFieldsRequest(server string) (*http.Request, error)

NewListContactCustomFieldsRequest generates requests for ListContactCustomFields

func NewListConversationsRequest

func NewListConversationsRequest(server string, params *ListConversationsParams) (*http.Request, error)

NewListConversationsRequest generates requests for ListConversations

func NewListCustomFieldsRequest

func NewListCustomFieldsRequest(server string) (*http.Request, error)

NewListCustomFieldsRequest generates requests for ListCustomFields

func NewListLinkConversationsRequest

func NewListLinkConversationsRequest(server string, linkId string, params *ListLinkConversationsParams) (*http.Request, error)

NewListLinkConversationsRequest generates requests for ListLinkConversations

func NewListShiftsRequest

func NewListShiftsRequest(server string) (*http.Request, error)

NewListShiftsRequest generates requests for ListShifts

func NewPatchAccountsAccountIdRequest

func NewPatchAccountsAccountIdRequest(server string, accountId string, body PatchAccountsAccountIdJSONRequestBody) (*http.Request, error)

NewPatchAccountsAccountIdRequest calls the generic PatchAccountsAccountId builder with application/json body

func NewPatchAccountsAccountIdRequestWithBody

func NewPatchAccountsAccountIdRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchAccountsAccountIdRequestWithBody generates requests for PatchAccountsAccountId with any type of body

func NewPatchChannelsChannelIdRequest

func NewPatchChannelsChannelIdRequest(server string, channelId string, body PatchChannelsChannelIdJSONRequestBody) (*http.Request, error)

NewPatchChannelsChannelIdRequest calls the generic PatchChannelsChannelId builder with application/json body

func NewPatchChannelsChannelIdRequestWithBody

func NewPatchChannelsChannelIdRequestWithBody(server string, channelId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchChannelsChannelIdRequestWithBody generates requests for PatchChannelsChannelId with any type of body

func NewPatchContactsContactIdRequest

func NewPatchContactsContactIdRequest(server string, contactId string, body PatchContactsContactIdJSONRequestBody) (*http.Request, error)

NewPatchContactsContactIdRequest calls the generic PatchContactsContactId builder with application/json body

func NewPatchContactsContactIdRequestWithBody

func NewPatchContactsContactIdRequestWithBody(server string, contactId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchContactsContactIdRequestWithBody generates requests for PatchContactsContactId with any type of body

func NewPatchConversationsConversationIdRemindersRequest

func NewPatchConversationsConversationIdRemindersRequest(server string, conversationId string, body PatchConversationsConversationIdRemindersJSONRequestBody) (*http.Request, error)

NewPatchConversationsConversationIdRemindersRequest calls the generic PatchConversationsConversationIdReminders builder with application/json body

func NewPatchConversationsConversationIdRemindersRequestWithBody

func NewPatchConversationsConversationIdRemindersRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchConversationsConversationIdRemindersRequestWithBody generates requests for PatchConversationsConversationIdReminders with any type of body

func NewPatchConversationsConversationIdRequest

func NewPatchConversationsConversationIdRequest(server string, conversationId string, body PatchConversationsConversationIdJSONRequestBody) (*http.Request, error)

NewPatchConversationsConversationIdRequest calls the generic PatchConversationsConversationId builder with application/json body

func NewPatchConversationsConversationIdRequestWithBody

func NewPatchConversationsConversationIdRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchConversationsConversationIdRequestWithBody generates requests for PatchConversationsConversationId with any type of body

func NewPatchCustomFieldsCustomFieldIdRequest

func NewPatchCustomFieldsCustomFieldIdRequest(server string, customFieldId string, body PatchCustomFieldsCustomFieldIdJSONRequestBody) (*http.Request, error)

NewPatchCustomFieldsCustomFieldIdRequest calls the generic PatchCustomFieldsCustomFieldId builder with application/json body

func NewPatchCustomFieldsCustomFieldIdRequestWithBody

func NewPatchCustomFieldsCustomFieldIdRequestWithBody(server string, customFieldId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchCustomFieldsCustomFieldIdRequestWithBody generates requests for PatchCustomFieldsCustomFieldId with any type of body

func NewPatchDraftsMessageIdRequest

func NewPatchDraftsMessageIdRequest(server string, messageId string, body PatchDraftsMessageIdJSONRequestBody) (*http.Request, error)

NewPatchDraftsMessageIdRequest calls the generic PatchDraftsMessageId builder with application/json body

func NewPatchDraftsMessageIdRequestWithBody

func NewPatchDraftsMessageIdRequestWithBody(server string, messageId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchDraftsMessageIdRequestWithBody generates requests for PatchDraftsMessageId with any type of body

func NewPatchLinksLinkIdRequest

func NewPatchLinksLinkIdRequest(server string, linkId string, body PatchLinksLinkIdJSONRequestBody) (*http.Request, error)

NewPatchLinksLinkIdRequest calls the generic PatchLinksLinkId builder with application/json body

func NewPatchLinksLinkIdRequestWithBody

func NewPatchLinksLinkIdRequestWithBody(server string, linkId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchLinksLinkIdRequestWithBody generates requests for PatchLinksLinkId with any type of body

func NewPatchMessageTemplateFoldersMessageTemplateFolderIdRequest

func NewPatchMessageTemplateFoldersMessageTemplateFolderIdRequest(server string, messageTemplateFolderId string, body PatchMessageTemplateFoldersMessageTemplateFolderIdJSONRequestBody) (*http.Request, error)

NewPatchMessageTemplateFoldersMessageTemplateFolderIdRequest calls the generic PatchMessageTemplateFoldersMessageTemplateFolderId builder with application/json body

func NewPatchMessageTemplateFoldersMessageTemplateFolderIdRequestWithBody

func NewPatchMessageTemplateFoldersMessageTemplateFolderIdRequestWithBody(server string, messageTemplateFolderId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchMessageTemplateFoldersMessageTemplateFolderIdRequestWithBody generates requests for PatchMessageTemplateFoldersMessageTemplateFolderId with any type of body

func NewPatchMessageTemplatesMessageTemplateIdRequest

func NewPatchMessageTemplatesMessageTemplateIdRequest(server string, messageTemplateId string, body PatchMessageTemplatesMessageTemplateIdJSONRequestBody) (*http.Request, error)

NewPatchMessageTemplatesMessageTemplateIdRequest calls the generic PatchMessageTemplatesMessageTemplateId builder with application/json body

func NewPatchMessageTemplatesMessageTemplateIdRequestWithBody

func NewPatchMessageTemplatesMessageTemplateIdRequestWithBody(server string, messageTemplateId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchMessageTemplatesMessageTemplateIdRequestWithBody generates requests for PatchMessageTemplatesMessageTemplateId with any type of body

func NewPatchShiftsShiftIdRequest

func NewPatchShiftsShiftIdRequest(server string, shiftId string, body PatchShiftsShiftIdJSONRequestBody) (*http.Request, error)

NewPatchShiftsShiftIdRequest calls the generic PatchShiftsShiftId builder with application/json body

func NewPatchShiftsShiftIdRequestWithBody

func NewPatchShiftsShiftIdRequestWithBody(server string, shiftId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchShiftsShiftIdRequestWithBody generates requests for PatchShiftsShiftId with any type of body

func NewPatchTagsTagIdRequest

func NewPatchTagsTagIdRequest(server string, tagId string, body PatchTagsTagIdJSONRequestBody) (*http.Request, error)

NewPatchTagsTagIdRequest calls the generic PatchTagsTagId builder with application/json body

func NewPatchTagsTagIdRequestWithBody

func NewPatchTagsTagIdRequestWithBody(server string, tagId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchTagsTagIdRequestWithBody generates requests for PatchTagsTagId with any type of body

func NewPatchTeammatesTeammateIdRequest

func NewPatchTeammatesTeammateIdRequest(server string, teammateId string, body PatchTeammatesTeammateIdJSONRequestBody) (*http.Request, error)

NewPatchTeammatesTeammateIdRequest calls the generic PatchTeammatesTeammateId builder with application/json body

func NewPatchTeammatesTeammateIdRequestWithBody

func NewPatchTeammatesTeammateIdRequestWithBody(server string, teammateId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchTeammatesTeammateIdRequestWithBody generates requests for PatchTeammatesTeammateId with any type of body

func NewPostAccountsAccountIdContactsRequest

func NewPostAccountsAccountIdContactsRequest(server string, accountId string, body PostAccountsAccountIdContactsJSONRequestBody) (*http.Request, error)

NewPostAccountsAccountIdContactsRequest calls the generic PostAccountsAccountIdContacts builder with application/json body

func NewPostAccountsAccountIdContactsRequestWithBody

func NewPostAccountsAccountIdContactsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)

NewPostAccountsAccountIdContactsRequestWithBody generates requests for PostAccountsAccountIdContacts with any type of body

func NewPostAccountsRequest

func NewPostAccountsRequest(server string, body PostAccountsJSONRequestBody) (*http.Request, error)

NewPostAccountsRequest calls the generic PostAccounts builder with application/json body

func NewPostAccountsRequestWithBody

func NewPostAccountsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostAccountsRequestWithBody generates requests for PostAccounts with any type of body

func NewPostChannelsChannelIdDraftsRequest

func NewPostChannelsChannelIdDraftsRequest(server string, channelId string, body PostChannelsChannelIdDraftsJSONRequestBody) (*http.Request, error)

NewPostChannelsChannelIdDraftsRequest calls the generic PostChannelsChannelIdDrafts builder with application/json body

func NewPostChannelsChannelIdDraftsRequestWithBody

func NewPostChannelsChannelIdDraftsRequestWithBody(server string, channelId string, contentType string, body io.Reader) (*http.Request, error)

NewPostChannelsChannelIdDraftsRequestWithBody generates requests for PostChannelsChannelIdDrafts with any type of body

func NewPostChannelsChannelIdIncomingMessagesRequest

func NewPostChannelsChannelIdIncomingMessagesRequest(server string, channelId string, body PostChannelsChannelIdIncomingMessagesJSONRequestBody) (*http.Request, error)

NewPostChannelsChannelIdIncomingMessagesRequest calls the generic PostChannelsChannelIdIncomingMessages builder with application/json body

func NewPostChannelsChannelIdIncomingMessagesRequestWithBody

func NewPostChannelsChannelIdIncomingMessagesRequestWithBody(server string, channelId string, contentType string, body io.Reader) (*http.Request, error)

NewPostChannelsChannelIdIncomingMessagesRequestWithBody generates requests for PostChannelsChannelIdIncomingMessages with any type of body

func NewPostChannelsChannelIdMessagesRequest

func NewPostChannelsChannelIdMessagesRequest(server string, channelId string, body PostChannelsChannelIdMessagesJSONRequestBody) (*http.Request, error)

NewPostChannelsChannelIdMessagesRequest calls the generic PostChannelsChannelIdMessages builder with application/json body

func NewPostChannelsChannelIdMessagesRequestWithBody

func NewPostChannelsChannelIdMessagesRequestWithBody(server string, channelId string, contentType string, body io.Reader) (*http.Request, error)

NewPostChannelsChannelIdMessagesRequestWithBody generates requests for PostChannelsChannelIdMessages with any type of body

func NewPostChannelsChannelIdValidateRequest

func NewPostChannelsChannelIdValidateRequest(server string, channelId string) (*http.Request, error)

NewPostChannelsChannelIdValidateRequest generates requests for PostChannelsChannelIdValidate

func NewPostContactGroupsContactGroupIdContactsRequest

func NewPostContactGroupsContactGroupIdContactsRequest(server string, contactGroupId string, body PostContactGroupsContactGroupIdContactsJSONRequestBody) (*http.Request, error)

NewPostContactGroupsContactGroupIdContactsRequest calls the generic PostContactGroupsContactGroupIdContacts builder with application/json body

func NewPostContactGroupsContactGroupIdContactsRequestWithBody

func NewPostContactGroupsContactGroupIdContactsRequestWithBody(server string, contactGroupId string, contentType string, body io.Reader) (*http.Request, error)

NewPostContactGroupsContactGroupIdContactsRequestWithBody generates requests for PostContactGroupsContactGroupIdContacts with any type of body

func NewPostContactGroupsRequest

func NewPostContactGroupsRequest(server string, body PostContactGroupsJSONRequestBody) (*http.Request, error)

NewPostContactGroupsRequest calls the generic PostContactGroups builder with application/json body

func NewPostContactGroupsRequestWithBody

func NewPostContactGroupsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostContactGroupsRequestWithBody generates requests for PostContactGroups with any type of body

func NewPostContactsContactIdHandlesRequest

func NewPostContactsContactIdHandlesRequest(server string, contactId string, body PostContactsContactIdHandlesJSONRequestBody) (*http.Request, error)

NewPostContactsContactIdHandlesRequest calls the generic PostContactsContactIdHandles builder with application/json body

func NewPostContactsContactIdHandlesRequestWithBody

func NewPostContactsContactIdHandlesRequestWithBody(server string, contactId string, contentType string, body io.Reader) (*http.Request, error)

NewPostContactsContactIdHandlesRequestWithBody generates requests for PostContactsContactIdHandles with any type of body

func NewPostContactsContactIdNotesRequest

func NewPostContactsContactIdNotesRequest(server string, contactId string, body PostContactsContactIdNotesJSONRequestBody) (*http.Request, error)

NewPostContactsContactIdNotesRequest calls the generic PostContactsContactIdNotes builder with application/json body

func NewPostContactsContactIdNotesRequestWithBody

func NewPostContactsContactIdNotesRequestWithBody(server string, contactId string, contentType string, body io.Reader) (*http.Request, error)

NewPostContactsContactIdNotesRequestWithBody generates requests for PostContactsContactIdNotes with any type of body

func NewPostContactsRequest

func NewPostContactsRequest(server string, body PostContactsJSONRequestBody) (*http.Request, error)

NewPostContactsRequest calls the generic PostContacts builder with application/json body

func NewPostContactsRequestWithBody

func NewPostContactsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostContactsRequestWithBody generates requests for PostContacts with any type of body

func NewPostConversationsConversationIdCommentsRequest

func NewPostConversationsConversationIdCommentsRequest(server string, conversationId string, body PostConversationsConversationIdCommentsJSONRequestBody) (*http.Request, error)

NewPostConversationsConversationIdCommentsRequest calls the generic PostConversationsConversationIdComments builder with application/json body

func NewPostConversationsConversationIdCommentsRequestWithBody

func NewPostConversationsConversationIdCommentsRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewPostConversationsConversationIdCommentsRequestWithBody generates requests for PostConversationsConversationIdComments with any type of body

func NewPostConversationsConversationIdDraftsRequest

func NewPostConversationsConversationIdDraftsRequest(server string, conversationId string, body PostConversationsConversationIdDraftsJSONRequestBody) (*http.Request, error)

NewPostConversationsConversationIdDraftsRequest calls the generic PostConversationsConversationIdDrafts builder with application/json body

func NewPostConversationsConversationIdDraftsRequestWithBody

func NewPostConversationsConversationIdDraftsRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewPostConversationsConversationIdDraftsRequestWithBody generates requests for PostConversationsConversationIdDrafts with any type of body

func NewPostConversationsConversationIdFollowersRequest

func NewPostConversationsConversationIdFollowersRequest(server string, conversationId string, body PostConversationsConversationIdFollowersJSONRequestBody) (*http.Request, error)

NewPostConversationsConversationIdFollowersRequest calls the generic PostConversationsConversationIdFollowers builder with application/json body

func NewPostConversationsConversationIdFollowersRequestWithBody

func NewPostConversationsConversationIdFollowersRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewPostConversationsConversationIdFollowersRequestWithBody generates requests for PostConversationsConversationIdFollowers with any type of body

func NewPostConversationsConversationIdLinksRequest

func NewPostConversationsConversationIdLinksRequest(server string, conversationId string, body PostConversationsConversationIdLinksJSONRequestBody) (*http.Request, error)

NewPostConversationsConversationIdLinksRequest calls the generic PostConversationsConversationIdLinks builder with application/json body

func NewPostConversationsConversationIdLinksRequestWithBody

func NewPostConversationsConversationIdLinksRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewPostConversationsConversationIdLinksRequestWithBody generates requests for PostConversationsConversationIdLinks with any type of body

func NewPostConversationsConversationIdMessagesRequest

func NewPostConversationsConversationIdMessagesRequest(server string, conversationId string, body PostConversationsConversationIdMessagesJSONRequestBody) (*http.Request, error)

NewPostConversationsConversationIdMessagesRequest calls the generic PostConversationsConversationIdMessages builder with application/json body

func NewPostConversationsConversationIdMessagesRequestWithBody

func NewPostConversationsConversationIdMessagesRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewPostConversationsConversationIdMessagesRequestWithBody generates requests for PostConversationsConversationIdMessages with any type of body

func NewPostConversationsConversationIdTagsRequest

func NewPostConversationsConversationIdTagsRequest(server string, conversationId string, body PostConversationsConversationIdTagsJSONRequestBody) (*http.Request, error)

NewPostConversationsConversationIdTagsRequest calls the generic PostConversationsConversationIdTags builder with application/json body

func NewPostConversationsConversationIdTagsRequestWithBody

func NewPostConversationsConversationIdTagsRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewPostConversationsConversationIdTagsRequestWithBody generates requests for PostConversationsConversationIdTags with any type of body

func NewPostInboxesInboxIdChannelsRequest

func NewPostInboxesInboxIdChannelsRequest(server string, inboxId string, body PostInboxesInboxIdChannelsJSONRequestBody) (*http.Request, error)

NewPostInboxesInboxIdChannelsRequest calls the generic PostInboxesInboxIdChannels builder with application/json body

func NewPostInboxesInboxIdChannelsRequestWithBody

func NewPostInboxesInboxIdChannelsRequestWithBody(server string, inboxId string, contentType string, body io.Reader) (*http.Request, error)

NewPostInboxesInboxIdChannelsRequestWithBody generates requests for PostInboxesInboxIdChannels with any type of body

func NewPostInboxesInboxIdTeammatesRequest

func NewPostInboxesInboxIdTeammatesRequest(server string, inboxId string, body PostInboxesInboxIdTeammatesJSONRequestBody) (*http.Request, error)

NewPostInboxesInboxIdTeammatesRequest calls the generic PostInboxesInboxIdTeammates builder with application/json body

func NewPostInboxesInboxIdTeammatesRequestWithBody

func NewPostInboxesInboxIdTeammatesRequestWithBody(server string, inboxId string, contentType string, body io.Reader) (*http.Request, error)

NewPostInboxesInboxIdTeammatesRequestWithBody generates requests for PostInboxesInboxIdTeammates with any type of body

func NewPostInboxesRequest

func NewPostInboxesRequest(server string, body PostInboxesJSONRequestBody) (*http.Request, error)

NewPostInboxesRequest calls the generic PostInboxes builder with application/json body

func NewPostInboxesRequestWithBody

func NewPostInboxesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostInboxesRequestWithBody generates requests for PostInboxes with any type of body

func NewPostLinksRequest

func NewPostLinksRequest(server string, body PostLinksJSONRequestBody) (*http.Request, error)

NewPostLinksRequest calls the generic PostLinks builder with application/json body

func NewPostLinksRequestWithBody

func NewPostLinksRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostLinksRequestWithBody generates requests for PostLinks with any type of body

func NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersRequest

func NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersRequest(server string, messageTemplateFolderId string, body PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONRequestBody) (*http.Request, error)

NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersRequest calls the generic PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders builder with application/json body

func NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersRequestWithBody

func NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersRequestWithBody(server string, messageTemplateFolderId string, contentType string, body io.Reader) (*http.Request, error)

NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersRequestWithBody generates requests for PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders with any type of body

func NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesRequest

func NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesRequest(server string, messageTemplateFolderId string, body PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONRequestBody) (*http.Request, error)

NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesRequest calls the generic PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates builder with application/json body

func NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesRequestWithBody

func NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesRequestWithBody(server string, messageTemplateFolderId string, contentType string, body io.Reader) (*http.Request, error)

NewPostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesRequestWithBody generates requests for PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates with any type of body

func NewPostMessageTemplateFoldersRequest

func NewPostMessageTemplateFoldersRequest(server string, body PostMessageTemplateFoldersJSONRequestBody) (*http.Request, error)

NewPostMessageTemplateFoldersRequest calls the generic PostMessageTemplateFolders builder with application/json body

func NewPostMessageTemplateFoldersRequestWithBody

func NewPostMessageTemplateFoldersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostMessageTemplateFoldersRequestWithBody generates requests for PostMessageTemplateFolders with any type of body

func NewPostMessageTemplatesRequest

func NewPostMessageTemplatesRequest(server string, body PostMessageTemplatesJSONRequestBody) (*http.Request, error)

NewPostMessageTemplatesRequest calls the generic PostMessageTemplates builder with application/json body

func NewPostMessageTemplatesRequestWithBody

func NewPostMessageTemplatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostMessageTemplatesRequestWithBody generates requests for PostMessageTemplates with any type of body

func NewPostShiftShiftIdTeammatesRequest

func NewPostShiftShiftIdTeammatesRequest(server string, shiftId string, body PostShiftShiftIdTeammatesJSONRequestBody) (*http.Request, error)

NewPostShiftShiftIdTeammatesRequest calls the generic PostShiftShiftIdTeammates builder with application/json body

func NewPostShiftShiftIdTeammatesRequestWithBody

func NewPostShiftShiftIdTeammatesRequestWithBody(server string, shiftId string, contentType string, body io.Reader) (*http.Request, error)

NewPostShiftShiftIdTeammatesRequestWithBody generates requests for PostShiftShiftIdTeammates with any type of body

func NewPostShiftsRequest

func NewPostShiftsRequest(server string, body PostShiftsJSONRequestBody) (*http.Request, error)

NewPostShiftsRequest calls the generic PostShifts builder with application/json body

func NewPostShiftsRequestWithBody

func NewPostShiftsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostShiftsRequestWithBody generates requests for PostShifts with any type of body

func NewPostTagsRequest

func NewPostTagsRequest(server string, body PostTagsJSONRequestBody) (*http.Request, error)

NewPostTagsRequest calls the generic PostTags builder with application/json body

func NewPostTagsRequestWithBody

func NewPostTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostTagsRequestWithBody generates requests for PostTags with any type of body

func NewPostTagsTagIdChildrenRequest

func NewPostTagsTagIdChildrenRequest(server string, tagId string, body PostTagsTagIdChildrenJSONRequestBody) (*http.Request, error)

NewPostTagsTagIdChildrenRequest calls the generic PostTagsTagIdChildren builder with application/json body

func NewPostTagsTagIdChildrenRequestWithBody

func NewPostTagsTagIdChildrenRequestWithBody(server string, tagId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTagsTagIdChildrenRequestWithBody generates requests for PostTagsTagIdChildren with any type of body

func NewPostTeammatesTeammateIdContactGroupsRequest

func NewPostTeammatesTeammateIdContactGroupsRequest(server string, teammateId string, body PostTeammatesTeammateIdContactGroupsJSONRequestBody) (*http.Request, error)

NewPostTeammatesTeammateIdContactGroupsRequest calls the generic PostTeammatesTeammateIdContactGroups builder with application/json body

func NewPostTeammatesTeammateIdContactGroupsRequestWithBody

func NewPostTeammatesTeammateIdContactGroupsRequestWithBody(server string, teammateId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeammatesTeammateIdContactGroupsRequestWithBody generates requests for PostTeammatesTeammateIdContactGroups with any type of body

func NewPostTeammatesTeammateIdContactsRequest

func NewPostTeammatesTeammateIdContactsRequest(server string, teammateId string, body PostTeammatesTeammateIdContactsJSONRequestBody) (*http.Request, error)

NewPostTeammatesTeammateIdContactsRequest calls the generic PostTeammatesTeammateIdContacts builder with application/json body

func NewPostTeammatesTeammateIdContactsRequestWithBody

func NewPostTeammatesTeammateIdContactsRequestWithBody(server string, teammateId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeammatesTeammateIdContactsRequestWithBody generates requests for PostTeammatesTeammateIdContacts with any type of body

func NewPostTeammatesTeammateIdMessageTemplateFoldersRequest

func NewPostTeammatesTeammateIdMessageTemplateFoldersRequest(server string, teammateId string, body PostTeammatesTeammateIdMessageTemplateFoldersJSONRequestBody) (*http.Request, error)

NewPostTeammatesTeammateIdMessageTemplateFoldersRequest calls the generic PostTeammatesTeammateIdMessageTemplateFolders builder with application/json body

func NewPostTeammatesTeammateIdMessageTemplateFoldersRequestWithBody

func NewPostTeammatesTeammateIdMessageTemplateFoldersRequestWithBody(server string, teammateId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeammatesTeammateIdMessageTemplateFoldersRequestWithBody generates requests for PostTeammatesTeammateIdMessageTemplateFolders with any type of body

func NewPostTeammatesTeammateIdMessageTemplatesRequest

func NewPostTeammatesTeammateIdMessageTemplatesRequest(server string, teammateId string, body PostTeammatesTeammateIdMessageTemplatesJSONRequestBody) (*http.Request, error)

NewPostTeammatesTeammateIdMessageTemplatesRequest calls the generic PostTeammatesTeammateIdMessageTemplates builder with application/json body

func NewPostTeammatesTeammateIdMessageTemplatesRequestWithBody

func NewPostTeammatesTeammateIdMessageTemplatesRequestWithBody(server string, teammateId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeammatesTeammateIdMessageTemplatesRequestWithBody generates requests for PostTeammatesTeammateIdMessageTemplates with any type of body

func NewPostTeammatesTeammateIdTagsRequest

func NewPostTeammatesTeammateIdTagsRequest(server string, teammateId string, body PostTeammatesTeammateIdTagsJSONRequestBody) (*http.Request, error)

NewPostTeammatesTeammateIdTagsRequest calls the generic PostTeammatesTeammateIdTags builder with application/json body

func NewPostTeammatesTeammateIdTagsRequestWithBody

func NewPostTeammatesTeammateIdTagsRequestWithBody(server string, teammateId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeammatesTeammateIdTagsRequestWithBody generates requests for PostTeammatesTeammateIdTags with any type of body

func NewPostTeamsTeamIdContactGroupsRequest

func NewPostTeamsTeamIdContactGroupsRequest(server string, teamId string, body PostTeamsTeamIdContactGroupsJSONRequestBody) (*http.Request, error)

NewPostTeamsTeamIdContactGroupsRequest calls the generic PostTeamsTeamIdContactGroups builder with application/json body

func NewPostTeamsTeamIdContactGroupsRequestWithBody

func NewPostTeamsTeamIdContactGroupsRequestWithBody(server string, teamId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeamsTeamIdContactGroupsRequestWithBody generates requests for PostTeamsTeamIdContactGroups with any type of body

func NewPostTeamsTeamIdContactsRequest

func NewPostTeamsTeamIdContactsRequest(server string, teamId string, body PostTeamsTeamIdContactsJSONRequestBody) (*http.Request, error)

NewPostTeamsTeamIdContactsRequest calls the generic PostTeamsTeamIdContacts builder with application/json body

func NewPostTeamsTeamIdContactsRequestWithBody

func NewPostTeamsTeamIdContactsRequestWithBody(server string, teamId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeamsTeamIdContactsRequestWithBody generates requests for PostTeamsTeamIdContacts with any type of body

func NewPostTeamsTeamIdExportsRequest

func NewPostTeamsTeamIdExportsRequest(server string, teamId string, body PostTeamsTeamIdExportsJSONRequestBody) (*http.Request, error)

NewPostTeamsTeamIdExportsRequest calls the generic PostTeamsTeamIdExports builder with application/json body

func NewPostTeamsTeamIdExportsRequestWithBody

func NewPostTeamsTeamIdExportsRequestWithBody(server string, teamId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeamsTeamIdExportsRequestWithBody generates requests for PostTeamsTeamIdExports with any type of body

func NewPostTeamsTeamIdInboxesRequest

func NewPostTeamsTeamIdInboxesRequest(server string, teamId string, body PostTeamsTeamIdInboxesJSONRequestBody) (*http.Request, error)

NewPostTeamsTeamIdInboxesRequest calls the generic PostTeamsTeamIdInboxes builder with application/json body

func NewPostTeamsTeamIdInboxesRequestWithBody

func NewPostTeamsTeamIdInboxesRequestWithBody(server string, teamId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeamsTeamIdInboxesRequestWithBody generates requests for PostTeamsTeamIdInboxes with any type of body

func NewPostTeamsTeamIdMessageTemplateFoldersRequest

func NewPostTeamsTeamIdMessageTemplateFoldersRequest(server string, teamId string, body PostTeamsTeamIdMessageTemplateFoldersJSONRequestBody) (*http.Request, error)

NewPostTeamsTeamIdMessageTemplateFoldersRequest calls the generic PostTeamsTeamIdMessageTemplateFolders builder with application/json body

func NewPostTeamsTeamIdMessageTemplateFoldersRequestWithBody

func NewPostTeamsTeamIdMessageTemplateFoldersRequestWithBody(server string, teamId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeamsTeamIdMessageTemplateFoldersRequestWithBody generates requests for PostTeamsTeamIdMessageTemplateFolders with any type of body

func NewPostTeamsTeamIdMessageTemplatesRequest

func NewPostTeamsTeamIdMessageTemplatesRequest(server string, teamId string, body PostTeamsTeamIdMessageTemplatesJSONRequestBody) (*http.Request, error)

NewPostTeamsTeamIdMessageTemplatesRequest calls the generic PostTeamsTeamIdMessageTemplates builder with application/json body

func NewPostTeamsTeamIdMessageTemplatesRequestWithBody

func NewPostTeamsTeamIdMessageTemplatesRequestWithBody(server string, teamId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeamsTeamIdMessageTemplatesRequestWithBody generates requests for PostTeamsTeamIdMessageTemplates with any type of body

func NewPostTeamsTeamIdShiftsRequest

func NewPostTeamsTeamIdShiftsRequest(server string, teamId string, body PostTeamsTeamIdShiftsJSONRequestBody) (*http.Request, error)

NewPostTeamsTeamIdShiftsRequest calls the generic PostTeamsTeamIdShifts builder with application/json body

func NewPostTeamsTeamIdShiftsRequestWithBody

func NewPostTeamsTeamIdShiftsRequestWithBody(server string, teamId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeamsTeamIdShiftsRequestWithBody generates requests for PostTeamsTeamIdShifts with any type of body

func NewPostTeamsTeamIdTagsRequest

func NewPostTeamsTeamIdTagsRequest(server string, teamId string, body PostTeamsTeamIdTagsJSONRequestBody) (*http.Request, error)

NewPostTeamsTeamIdTagsRequest calls the generic PostTeamsTeamIdTags builder with application/json body

func NewPostTeamsTeamIdTagsRequestWithBody

func NewPostTeamsTeamIdTagsRequestWithBody(server string, teamId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeamsTeamIdTagsRequestWithBody generates requests for PostTeamsTeamIdTags with any type of body

func NewPostTeamsTeamIdTeammatesRequest

func NewPostTeamsTeamIdTeammatesRequest(server string, teamId string, body PostTeamsTeamIdTeammatesJSONRequestBody) (*http.Request, error)

NewPostTeamsTeamIdTeammatesRequest calls the generic PostTeamsTeamIdTeammates builder with application/json body

func NewPostTeamsTeamIdTeammatesRequestWithBody

func NewPostTeamsTeamIdTeammatesRequestWithBody(server string, teamId string, contentType string, body io.Reader) (*http.Request, error)

NewPostTeamsTeamIdTeammatesRequestWithBody generates requests for PostTeamsTeamIdTeammates with any type of body

func NewPutConversationsConversationIdAssigneeRequest

func NewPutConversationsConversationIdAssigneeRequest(server string, conversationId string, body PutConversationsConversationIdAssigneeJSONRequestBody) (*http.Request, error)

NewPutConversationsConversationIdAssigneeRequest calls the generic PutConversationsConversationIdAssignee builder with application/json body

func NewPutConversationsConversationIdAssigneeRequestWithBody

func NewPutConversationsConversationIdAssigneeRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewPutConversationsConversationIdAssigneeRequestWithBody generates requests for PutConversationsConversationIdAssignee with any type of body

func NewSearchConversationsRequest

func NewSearchConversationsRequest(server string, query string, params *SearchConversationsParams) (*http.Request, error)

NewSearchConversationsRequest generates requests for SearchConversations

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

func StringParam

func StringParam(v string) *string

StringParam creates a string pointer for optional params.

Types

type Accepted

type Accepted struct {
	Status *string `json:"status,omitempty"`
}

Accepted defines model for accepted.

type AcceptedCannedAnswerFolderDeletion

type AcceptedCannedAnswerFolderDeletion struct {
	// id of the message template to be deleted
	MessageTemplateFolderId *string `json:"message_template_folder_id,omitempty"`
	Status                  *string `json:"status,omitempty"`
}

AcceptedCannedAnswerFolderDeletion defines model for acceptedCannedAnswerFolderDeletion.

type AcceptedMessage

type AcceptedMessage struct {
	// Message unique identifier
	MessageUid *string `json:"message_uid,omitempty"`
	Status     *string `json:"status,omitempty"`
}

AcceptedMessage defines model for acceptedMessage.

type Account

type Account struct {
	// Custom attributes for this account.
	CustomFields *map[string]interface{} `json:"custom_fields,omitempty"`

	// Account description
	Description *string   `json:"description,omitempty"`
	Domains     *[]string `json:"domains,omitempty"`

	// ID of the Account in an external system
	ExternalId *string `json:"external_id,omitempty"`

	// Unique identifier of the account
	Id *string `json:"id,omitempty"`

	// Name of the Account
	Name *string `json:"name,omitempty"`
}

Account defines model for Account.

type AccountIds

type AccountIds struct {
	AccountIds []ResourceID `json:"account_ids"`
}

AccountIds defines model for AccountIds.

type AccountResponse

type AccountResponse struct {
	// Timestamp when the account was created
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Custom Attributes for this account
	CustomFields *map[string]interface{} `json:"custom_fields,omitempty"`

	// Account Description
	Description *string   `json:"description,omitempty"`
	Domains     *[]string `json:"domains,omitempty"`

	// ID of the Account in an External system, such as your backoffice system or CRM
	ExternalId *string `json:"external_id,omitempty"`

	// Unique identifier of the account
	Id *string `json:"id,omitempty"`

	// URL of the Account's logo
	LogoUrl *string `json:"logo_url,omitempty"`

	// Account name
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to contacts associated to the account
			Contacts *string `json:"contacts,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Timestamp when the account was updated
	UpdatedAt *float32 `json:"updated_at,omitempty"`
}

AccountResponse defines model for AccountResponse.

type ActivityQuery

type ActivityQuery string

ActivityQuery defines model for activityQuery.

type AddContactsToGroup

type AddContactsToGroup struct {
	// List of IDs of the contacts to add in the requested group
	ContactIds []ResourceID `json:"contact_ids"`
}

AddContactsToGroup defines model for AddContactsToGroup.

type AnalyticsEnd

type AnalyticsEnd int

AnalyticsEnd defines model for analyticsEnd.

type AnalyticsExportRequest2

type AnalyticsExportRequest2 struct {
	// End time of the data to include in the export (seconds since 1970-01-01T00:00:00+00). Will be rounded up to the end of the day.
	End float32 `json:"end"`

	// Resources to compute the analytics for. Defaults to all.
	Filters *AnalyticsFilters `json:"filters,omitempty"`

	// Start time of the data to include in the export (seconds since 1970-01-01T00:00:00+00). Will be rounded down to the start of the day.
	Start float32 `json:"start"`

	// [IANA name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the timezone to format the dates with. If omitted, the export will use Etc/UTC.
	Timezone *string                     `json:"timezone,omitempty"`
	Type     AnalyticsExportRequest2Type `json:"type"`
}

AnalyticsExportRequest2 defines model for AnalyticsExportRequest2.

type AnalyticsExportRequest2Type

type AnalyticsExportRequest2Type string

AnalyticsExportRequest2Type defines model for AnalyticsExportRequest2.Type.

const (
	AnalyticsExportRequest2TypeActivities AnalyticsExportRequest2Type = "activities"

	AnalyticsExportRequest2TypeMessages AnalyticsExportRequest2Type = "messages"
)

Defines values for AnalyticsExportRequest2Type.

type AnalyticsExportResponse2

type AnalyticsExportResponse2 struct {
	// Timestamp (in seconds) at which the export was requested.
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Resources to compute the analytics for. Defaults to all.
	Filters *AnalyticsFilters `json:"filters,omitempty"`

	// Number ranging from 0 to 100 corresponding to the percentage of the analytics processed.
	Progress      *int `json:"progress,omitempty"`
	ResourceLinks *struct {
		// Link to analytics export
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Size (in bytes) of the export data.
	Size *float32 `json:"size,omitempty"`

	// Status of the analytics
	Status *AnalyticsExportResponse2Status `json:"status,omitempty"`

	// The URL from which the export data can be downloaded.
	Url *string `json:"url,omitempty"`
}

AnalyticsExportResponse2 defines model for AnalyticsExportResponse2.

type AnalyticsExportResponse2Status

type AnalyticsExportResponse2Status string

Status of the analytics

const (
	AnalyticsExportResponse2StatusDone AnalyticsExportResponse2Status = "done"

	AnalyticsExportResponse2StatusFailed AnalyticsExportResponse2Status = "failed"

	AnalyticsExportResponse2StatusRunning AnalyticsExportResponse2Status = "running"
)

Defines values for AnalyticsExportResponse2Status.

type AnalyticsFilters

type AnalyticsFilters interface{}

Resources to compute the analytics for. Defaults to all.

type AnalyticsMetricId

type AnalyticsMetricId string

AnalyticsMetricId defines model for AnalyticsMetricId.

const (
	AnalyticsMetricIdAvgFirstResponseTime AnalyticsMetricId = "avg_first_response_time"

	AnalyticsMetricIdAvgHandleTime AnalyticsMetricId = "avg_handle_time"

	AnalyticsMetricIdAvgResponseTime AnalyticsMetricId = "avg_response_time"

	AnalyticsMetricIdAvgSlaBreachTime AnalyticsMetricId = "avg_sla_breach_time"

	AnalyticsMetricIdAvgTotalReplyTime AnalyticsMetricId = "avg_total_reply_time"

	AnalyticsMetricIdNewSegmentsCount AnalyticsMetricId = "new_segments_count"

	AnalyticsMetricIdNumActiveSegmentsFull AnalyticsMetricId = "num_active_segments_full"

	AnalyticsMetricIdNumArchivedSegments AnalyticsMetricId = "num_archived_segments"

	AnalyticsMetricIdNumArchivedSegmentsWithReply AnalyticsMetricId = "num_archived_segments_with_reply"

	AnalyticsMetricIdNumClosedSegments AnalyticsMetricId = "num_closed_segments"

	AnalyticsMetricIdNumCsatSurveyResponse AnalyticsMetricId = "num_csat_survey_response"

	AnalyticsMetricIdNumMessagesReceived AnalyticsMetricId = "num_messages_received"

	AnalyticsMetricIdNumMessagesSent AnalyticsMetricId = "num_messages_sent"

	AnalyticsMetricIdNumOpenSegmentsEnd AnalyticsMetricId = "num_open_segments_end"

	AnalyticsMetricIdNumOpenSegmentsStart AnalyticsMetricId = "num_open_segments_start"

	AnalyticsMetricIdNumSlaBreach AnalyticsMetricId = "num_sla_breach"

	AnalyticsMetricIdNumWorkloadSegments AnalyticsMetricId = "num_workload_segments"

	AnalyticsMetricIdPctCsatSurveySatisfaction AnalyticsMetricId = "pct_csat_survey_satisfaction"

	AnalyticsMetricIdPctTaggedConversations AnalyticsMetricId = "pct_tagged_conversations"
)

Defines values for AnalyticsMetricId.

type AnalyticsMetricType

type AnalyticsMetricType string

Type of the analytics value. `num` => Numeric Value, `dur` => Duration value, `str` => String value, `pct` => Percentage value

const (
	AnalyticsMetricTypeDur AnalyticsMetricType = "dur"

	AnalyticsMetricTypeNum AnalyticsMetricType = "num"

	AnalyticsMetricTypePct AnalyticsMetricType = "pct"

	AnalyticsMetricTypeStr AnalyticsMetricType = "str"
)

Defines values for AnalyticsMetricType.

type AnalyticsMetrics

type AnalyticsMetrics []string

AnalyticsMetrics defines model for analyticsMetrics.

type AnalyticsReport

type AnalyticsReport AnalyticsResponse

AnalyticsReport defines model for analyticsReport.

type AnalyticsReportRequest2

type AnalyticsReportRequest2 struct {
	// End time of the data to include in the export (seconds since 1970-01-01T00:00:00+00). Will be rounded up to the end of the day.
	End float32 `json:"end"`

	// Resources to compute the analytics for. Defaults to all.
	Filters *AnalyticsFilters `json:"filters,omitempty"`

	// List of the metrics required.
	Metrics []AnalyticsMetricId `json:"metrics"`

	// Start time of the data to include in the export (seconds since 1970-01-01T00:00:00+00). Will be rounded down to the start of the day.
	Start float32 `json:"start"`

	// [IANA name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the timezone to format the dates with. If omitted, the export will use Etc/UTC.
	Timezone *string `json:"timezone,omitempty"`
}

AnalyticsReportRequest2 defines model for AnalyticsReportRequest2.

type AnalyticsReportResponse2

type AnalyticsReportResponse2 struct {
	// The metrics computed for the report.
	Metrics *[]AnalyticsScalar2 `json:"metrics,omitempty"`

	// Number ranging from 0 to 100 corresponding to the percentage of the analytics processed.
	Progress      *int `json:"progress,omitempty"`
	ResourceLinks *struct {
		// Link to analytics job.
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Status of the report.
	Status *AnalyticsReportResponse2Status `json:"status,omitempty"`
}

AnalyticsReportResponse2 defines model for AnalyticsReportResponse2.

type AnalyticsReportResponse2Status

type AnalyticsReportResponse2Status string

Status of the report.

const (
	AnalyticsReportResponse2StatusDone AnalyticsReportResponse2Status = "done"

	AnalyticsReportResponse2StatusFailed AnalyticsReportResponse2Status = "failed"

	AnalyticsReportResponse2StatusRunning AnalyticsReportResponse2Status = "running"
)

Defines values for AnalyticsReportResponse2Status.

type AnalyticsResponse

type AnalyticsResponse struct {
	// List of the metrics required
	Metrics *[]interface{} `json:"metrics,omitempty"`

	// Number ranging from 0 to 100 corresponding to the percentage of the analytics processed.
	Progress      *int `json:"progress,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to analytics job
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`
	} `json:"resource_links,omitempty"`

	// Status of the analytics
	Status *AnalyticsResponseStatus `json:"status,omitempty"`
}

AnalyticsResponse defines model for AnalyticsResponse.

type AnalyticsResponseStatus

type AnalyticsResponseStatus string

Status of the analytics

const (
	AnalyticsResponseStatusDone AnalyticsResponseStatus = "done"

	AnalyticsResponseStatusFailed AnalyticsResponseStatus = "failed"

	AnalyticsResponseStatusPending AnalyticsResponseStatus = "pending"
)

Defines values for AnalyticsResponseStatus.

type AnalyticsScalar

type AnalyticsScalar struct {
	// ID of the metric
	Id *string `json:"id,omitempty"`

	// Type of the metric (scalar)
	MetricType *string `json:"metric_type,omitempty"`

	// Value for the previous time period
	P *int `json:"p,omitempty"`

	// Type of the analytics value. `num` => Numeric Value, `dur` => Duration value, `str` => String value, `pct` => Percentage value
	T *AnalyticsMetricType `json:"t,omitempty"`

	// Value for the requested time period
	V *int `json:"v,omitempty"`
}

AnalyticsScalar defines model for AnalyticsScalar.

type AnalyticsScalar2

type AnalyticsScalar2 struct {
	Id    *AnalyticsMetricId    `json:"id,omitempty"`
	Type  *AnalyticsScalarType  `json:"type,omitempty"`
	Value *AnalyticsScalarValue `json:"value,omitempty"`
}

AnalyticsScalar2 defines model for AnalyticsScalar2.

type AnalyticsScalarType

type AnalyticsScalarType string

AnalyticsScalarType defines model for AnalyticsScalarType.

const (
	AnalyticsScalarTypeDuration AnalyticsScalarType = "duration"

	AnalyticsScalarTypeNumber AnalyticsScalarType = "number"

	AnalyticsScalarTypePercentage AnalyticsScalarType = "percentage"

	AnalyticsScalarTypeString AnalyticsScalarType = "string"
)

Defines values for AnalyticsScalarType.

type AnalyticsScalarValue

type AnalyticsScalarValue struct {
	Id   *AnalyticsMetricId   `json:"id,omitempty"`
	Type *AnalyticsScalarType `json:"type,omitempty"`

	// The value of a scalar metric.
	Value *interface{} `json:"value,omitempty"`
}

AnalyticsScalarValue defines model for AnalyticsScalarValue.

type AnalyticsStart

type AnalyticsStart int

AnalyticsStart defines model for analyticsStart.

type AnalyticsTable

type AnalyticsTable struct {
	// Columns of the table
	Columns *[]struct {
		// ID of the column
		Id *string `json:"id,omitempty"`

		// Value for the requested time period
		Label *int `json:"label,omitempty"`

		// Type of the analytics value. `num` => Numeric Value, `dur` => Duration value, `str` => String value, `pct` => Percentage value
		Type *AnalyticsMetricType `json:"type,omitempty"`
	} `json:"columns,omitempty"`

	// ID of the metric
	Id *string `json:"id,omitempty"`

	// Type of the metric (table)
	MetricType *string `json:"metric_type,omitempty"`

	// Rows of the table
	Rows *[]struct {
		// Value for the previous time period
		P *int `json:"p,omitempty"`

		// Type of the analytics value. `num` => Numeric Value, `dur` => Duration value, `str` => String value, `pct` => Percentage value
		T *AnalyticsMetricType `json:"t,omitempty"`

		// Value for the requested time period
		V *int `json:"v,omitempty"`
	} `json:"rows,omitempty"`
}

AnalyticsTable defines model for AnalyticsTable.

type AnalyticsTimeGraph

type AnalyticsTimeGraph struct {
	// ID of the metric
	Id *string `json:"id,omitempty"`

	// Type of the metric (time_graph)
	MetricType *string `json:"metric_type,omitempty"`

	// Values for each time interval
	Vals *[]struct {
		// End of the interval
		End *int `json:"end,omitempty"`

		// Label of the time interval
		Label *string `json:"label,omitempty"`

		// Value for the previous time period
		P *int `json:"p,omitempty"`

		// Start of the interval
		Start *int `json:"start,omitempty"`

		// Type of the analytics value. `num` => Numeric Value, `dur` => Duration value, `str` => String value, `pct` => Percentage value
		T *AnalyticsMetricType `json:"t,omitempty"`

		// Value for the requested time period
		V *int `json:"v,omitempty"`
	} `json:"vals,omitempty"`
}

AnalyticsTimeGraph defines model for AnalyticsTimeGraph.

type AnalyticsTimezone

type AnalyticsTimezone string

AnalyticsTimezone defines model for analyticsTimezone.

type Attachment

type Attachment struct {
	// Content type of the attached file
	ContentType *string `json:"content_type,omitempty"`

	// Name of the attached file
	Filename *string `json:"filename,omitempty"`
	Id       *string `json:"id,omitempty"`

	// Attachment metadata
	Metadata *struct {
		// Unique identifier used to link an attachment to where it is used in the message body
		Cid *string `json:"cid,omitempty"`

		// Whether or not the attachment is part of the message body
		IsInline *bool `json:"is_inline,omitempty"`
	} `json:"metadata,omitempty"`

	// Size (in byte) of the attached file
	Size *int `json:"size,omitempty"`

	// URL to download the attached file
	Url *string `json:"url,omitempty"`
}

Attachment defines model for Attachment.

type CannedAnswer

type CannedAnswer MessageTemplateResponse

CannedAnswer defines model for cannedAnswer.

type CannedAnswerFolder

type CannedAnswerFolder MessageTemplateFolderResponse

CannedAnswerFolder defines model for cannedAnswerFolder.

type CardQuery

type CardQuery string

CardQuery defines model for cardQuery.

type Channel

type Channel ChannelResponse

Channel defines model for channel.

type ChannelIds

type ChannelIds struct {
	ChannelIds []ResourceID `json:"channel_ids"`
}

ChannelIds defines model for ChannelIds.

type ChannelResponse

type ChannelResponse struct {
	// Address receiving the messages
	Address *string `json:"address,omitempty"`

	// Unique identifier for the channel
	Id *string `json:"id,omitempty"`

	// Whether or not the channel is individual
	IsPrivate *bool `json:"is_private,omitempty"`

	// Whether or not the channel configuration is valid
	IsValid       *bool `json:"is_valid,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to channel inbox
			Inbox *string `json:"inbox,omitempty"`

			// Link to channel owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Address which appears as the sender for messages sent from Front
	SendAs *string `json:"send_as,omitempty"`

	// Channel settings
	Settings *struct {
		// Whether teammates without inbox access can reply on this channel. Only present for shared channels; omitted for private channels.
		AllTeammatesCanReply *bool `json:"all_teammates_can_reply,omitempty"`

		// The time (measured in seconds) that users have to undo a send operation in the channel.
		UndoSendTime *ChannelResponseSettingsUndoSendTime `json:"undo_send_time,omitempty"`
	} `json:"settings,omitempty"`

	// Type of the channel
	Types *ChannelResponseTypes `json:"types,omitempty"`
}

ChannelResponse defines model for ChannelResponse.

type ChannelResponseSettingsUndoSendTime

type ChannelResponseSettingsUndoSendTime int

The time (measured in seconds) that users have to undo a send operation in the channel.

const (
	ChannelResponseSettingsUndoSendTimeN0 ChannelResponseSettingsUndoSendTime = 0

	ChannelResponseSettingsUndoSendTimeN10 ChannelResponseSettingsUndoSendTime = 10

	ChannelResponseSettingsUndoSendTimeN15 ChannelResponseSettingsUndoSendTime = 15

	ChannelResponseSettingsUndoSendTimeN30 ChannelResponseSettingsUndoSendTime = 30

	ChannelResponseSettingsUndoSendTimeN5 ChannelResponseSettingsUndoSendTime = 5

	ChannelResponseSettingsUndoSendTimeN60 ChannelResponseSettingsUndoSendTime = 60
)

Defines values for ChannelResponseSettingsUndoSendTime.

type ChannelResponseTypes

type ChannelResponseTypes string

Type of the channel

const (
	ChannelResponseTypesCustom ChannelResponseTypes = "custom"

	ChannelResponseTypesFacebook ChannelResponseTypes = "facebook"

	ChannelResponseTypesImap ChannelResponseTypes = "imap"

	ChannelResponseTypesIntercom ChannelResponseTypes = "intercom"

	ChannelResponseTypesSmooch ChannelResponseTypes = "smooch"

	ChannelResponseTypesSmtp ChannelResponseTypes = "smtp"

	ChannelResponseTypesTruly ChannelResponseTypes = "truly"

	ChannelResponseTypesTwilio ChannelResponseTypes = "twilio"

	ChannelResponseTypesTwitter ChannelResponseTypes = "twitter"
)

Defines values for ChannelResponseTypes.

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) CreateAnalyticsExport

func (c *Client) CreateAnalyticsExport(ctx context.Context, body CreateAnalyticsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAnalyticsExportWithBody

func (c *Client) CreateAnalyticsExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAnalyticsReport

func (c *Client) CreateAnalyticsReport(ctx context.Context, body CreateAnalyticsReportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAnalyticsReportWithBody

func (c *Client) CreateAnalyticsReportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateExport

func (c *Client) CreateExport(ctx context.Context, body CreateExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateExportWithBody

func (c *Client) CreateExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAccountsAccountId

func (c *Client) DeleteAccountsAccountId(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAccountsAccountIdContacts

func (c *Client) DeleteAccountsAccountIdContacts(ctx context.Context, accountId string, body DeleteAccountsAccountIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAccountsAccountIdContactsWithBody

func (c *Client) DeleteAccountsAccountIdContactsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteContactGroupsContactGroupId

func (c *Client) DeleteContactGroupsContactGroupId(ctx context.Context, contactGroupId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteContactsContactId

func (c *Client) DeleteContactsContactId(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteContactsContactIdHandles

func (c *Client) DeleteContactsContactIdHandles(ctx context.Context, contactId string, body DeleteContactsContactIdHandlesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteContactsContactIdHandlesWithBody

func (c *Client) DeleteContactsContactIdHandlesWithBody(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteConversationsConversationIdFollowers

func (c *Client) DeleteConversationsConversationIdFollowers(ctx context.Context, conversationId string, body DeleteConversationsConversationIdFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteConversationsConversationIdFollowersWithBody

func (c *Client) DeleteConversationsConversationIdFollowersWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) DeleteConversationsConversationIdLinks(ctx context.Context, conversationId string, body DeleteConversationsConversationIdLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteConversationsConversationIdLinksWithBody

func (c *Client) DeleteConversationsConversationIdLinksWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteConversationsConversationIdTags

func (c *Client) DeleteConversationsConversationIdTags(ctx context.Context, conversationId string, body DeleteConversationsConversationIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteConversationsConversationIdTagsWithBody

func (c *Client) DeleteConversationsConversationIdTagsWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDraftsDraftId

func (c *Client) DeleteDraftsDraftId(ctx context.Context, draftId string, body DeleteDraftsDraftIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDraftsDraftIdWithBody

func (c *Client) DeleteDraftsDraftIdWithBody(ctx context.Context, draftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInboxesInboxIdTeammates

func (c *Client) DeleteInboxesInboxIdTeammates(ctx context.Context, inboxId string, body DeleteInboxesInboxIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInboxesInboxIdTeammatesWithBody

func (c *Client) DeleteInboxesInboxIdTeammatesWithBody(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMessageTemplateFoldersMessageTemplateFolderId

func (c *Client) DeleteMessageTemplateFoldersMessageTemplateFolderId(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMessageTemplatesMessageTemplateId

func (c *Client) DeleteMessageTemplatesMessageTemplateId(ctx context.Context, messageTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteShiftShiftIdTeammates

func (c *Client) DeleteShiftShiftIdTeammates(ctx context.Context, shiftId string, body DeleteShiftShiftIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteShiftShiftIdTeammatesWithBody

func (c *Client) DeleteShiftShiftIdTeammatesWithBody(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTagsTagId

func (c *Client) DeleteTagsTagId(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTeamsTeamIdTeammates

func (c *Client) DeleteTeamsTeamIdTeammates(ctx context.Context, teamId string, body DeleteTeamsTeamIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTeamsTeamIdTeammatesWithBody

func (c *Client) DeleteTeamsTeamIdTeammatesWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAccounts

func (c *Client) GetAccounts(ctx context.Context, params *GetAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAccountsAccountId

func (c *Client) GetAccountsAccountId(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAccountsAccountIdContacts

func (c *Client) GetAccountsAccountIdContacts(ctx context.Context, accountId string, params *GetAccountsAccountIdContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAnalytics

func (c *Client) GetAnalytics(ctx context.Context, params *GetAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAnalyticsExport

func (c *Client) GetAnalyticsExport(ctx context.Context, exportId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAnalyticsReport

func (c *Client) GetAnalyticsReport(ctx context.Context, reportUid string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChannels

func (c *Client) GetChannels(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChannelsChannelId

func (c *Client) GetChannelsChannelId(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCommentsCommentId

func (c *Client) GetCommentsCommentId(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCommentsCommentIdMentions

func (c *Client) GetCommentsCommentIdMentions(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetContactGroups

func (c *Client) GetContactGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetContactGroupsContactGroupIdContacts

func (c *Client) GetContactGroupsContactGroupIdContacts(ctx context.Context, contactGroupId string, params *GetContactGroupsContactGroupIdContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetContacts

func (c *Client) GetContacts(ctx context.Context, params *GetContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetContactsContactId

func (c *Client) GetContactsContactId(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetContactsContactIdConversations

func (c *Client) GetContactsContactIdConversations(ctx context.Context, contactId string, params *GetContactsContactIdConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetContactsContactIdNotes

func (c *Client) GetContactsContactIdNotes(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConversationById

func (c *Client) GetConversationById(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConversationsConversationIdComments

func (c *Client) GetConversationsConversationIdComments(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConversationsConversationIdDrafts

func (c *Client) GetConversationsConversationIdDrafts(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConversationsConversationIdEvents

func (c *Client) GetConversationsConversationIdEvents(ctx context.Context, conversationId string, params *GetConversationsConversationIdEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConversationsConversationIdFollowers

func (c *Client) GetConversationsConversationIdFollowers(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConversationsConversationIdInboxes

func (c *Client) GetConversationsConversationIdInboxes(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConversationsConversationIdMessages

func (c *Client) GetConversationsConversationIdMessages(ctx context.Context, conversationId string, params *GetConversationsConversationIdMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDownloadAttachmentLinkId

func (c *Client) GetDownloadAttachmentLinkId(ctx context.Context, attachmentLinkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEvents

func (c *Client) GetEvents(ctx context.Context, params *GetEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEventsEventId

func (c *Client) GetEventsEventId(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetExports

func (c *Client) GetExports(ctx context.Context, params *GetExportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetExportsExportId

func (c *Client) GetExportsExportId(ctx context.Context, exportId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInboxes

func (c *Client) GetInboxes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInboxesInboxId

func (c *Client) GetInboxesInboxId(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInboxesInboxIdChannels

func (c *Client) GetInboxesInboxIdChannels(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInboxesInboxIdConversations

func (c *Client) GetInboxesInboxIdConversations(ctx context.Context, inboxId string, params *GetInboxesInboxIdConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInboxesInboxIdTeammates

func (c *Client) GetInboxesInboxIdTeammates(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) GetLinks(ctx context.Context, params *GetLinksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLinksLinkId

func (c *Client) GetLinksLinkId(ctx context.Context, linkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMe

func (c *Client) GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMessageTemplateFolders

func (c *Client) GetMessageTemplateFolders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMessageTemplateFoldersMessageTemplateFolderId

func (c *Client) GetMessageTemplateFoldersMessageTemplateFolderId(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders

func (c *Client) GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates

func (c *Client) GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMessageTemplates

func (c *Client) GetMessageTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMessageTemplatesMessageTemplateId

func (c *Client) GetMessageTemplatesMessageTemplateId(ctx context.Context, messageTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMessagesMessageId

func (c *Client) GetMessagesMessageId(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRules

func (c *Client) GetRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRulesRuleId

func (c *Client) GetRulesRuleId(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetShiftShiftId

func (c *Client) GetShiftShiftId(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetShiftShiftIdTeammates

func (c *Client) GetShiftShiftIdTeammates(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTags

func (c *Client) GetTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTagsTagId

func (c *Client) GetTagsTagId(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTagsTagIdChildren

func (c *Client) GetTagsTagIdChildren(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTagsTagIdConversations

func (c *Client) GetTagsTagIdConversations(ctx context.Context, tagId string, params *GetTagsTagIdConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamTeamIdRules

func (c *Client) GetTeamTeamIdRules(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammates

func (c *Client) GetTeammates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateId

func (c *Client) GetTeammatesTeammateId(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateIdChannels

func (c *Client) GetTeammatesTeammateIdChannels(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateIdContactGroups

func (c *Client) GetTeammatesTeammateIdContactGroups(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateIdContacts

func (c *Client) GetTeammatesTeammateIdContacts(ctx context.Context, teammateId string, params *GetTeammatesTeammateIdContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateIdConversations

func (c *Client) GetTeammatesTeammateIdConversations(ctx context.Context, teammateId string, params *GetTeammatesTeammateIdConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateIdInboxes

func (c *Client) GetTeammatesTeammateIdInboxes(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateIdMessageTemplateFolders

func (c *Client) GetTeammatesTeammateIdMessageTemplateFolders(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateIdMessageTemplates

func (c *Client) GetTeammatesTeammateIdMessageTemplates(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateIdRules

func (c *Client) GetTeammatesTeammateIdRules(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateIdShifts

func (c *Client) GetTeammatesTeammateIdShifts(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeammatesTeammateIdTags

func (c *Client) GetTeammatesTeammateIdTags(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeams

func (c *Client) GetTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamId

func (c *Client) GetTeamsTeamId(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamIdAnalytics

func (c *Client) GetTeamsTeamIdAnalytics(ctx context.Context, teamId string, params *GetTeamsTeamIdAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamIdChannels

func (c *Client) GetTeamsTeamIdChannels(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamIdContactGroups

func (c *Client) GetTeamsTeamIdContactGroups(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamIdContacts

func (c *Client) GetTeamsTeamIdContacts(ctx context.Context, teamId string, params *GetTeamsTeamIdContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamIdInboxes

func (c *Client) GetTeamsTeamIdInboxes(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamIdMessageTemplateFolders

func (c *Client) GetTeamsTeamIdMessageTemplateFolders(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamIdMessageTemplates

func (c *Client) GetTeamsTeamIdMessageTemplates(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamIdShifts

func (c *Client) GetTeamsTeamIdShifts(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamsTeamIdTags

func (c *Client) GetTeamsTeamIdTags(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ImportInboxMessage

func (c *Client) ImportInboxMessage(ctx context.Context, inboxId string, body ImportInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ImportInboxMessageWithBody

func (c *Client) ImportInboxMessageWithBody(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListContactCustomFields

func (c *Client) ListContactCustomFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListConversations

func (c *Client) ListConversations(ctx context.Context, params *ListConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListCustomFields

func (c *Client) ListCustomFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLinkConversations

func (c *Client) ListLinkConversations(ctx context.Context, linkId string, params *ListLinkConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListShifts

func (c *Client) ListShifts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchAccountsAccountId

func (c *Client) PatchAccountsAccountId(ctx context.Context, accountId string, body PatchAccountsAccountIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchAccountsAccountIdWithBody

func (c *Client) PatchAccountsAccountIdWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchChannelsChannelId

func (c *Client) PatchChannelsChannelId(ctx context.Context, channelId string, body PatchChannelsChannelIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchChannelsChannelIdWithBody

func (c *Client) PatchChannelsChannelIdWithBody(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchContactsContactId

func (c *Client) PatchContactsContactId(ctx context.Context, contactId string, body PatchContactsContactIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchContactsContactIdWithBody

func (c *Client) PatchContactsContactIdWithBody(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchConversationsConversationId

func (c *Client) PatchConversationsConversationId(ctx context.Context, conversationId string, body PatchConversationsConversationIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchConversationsConversationIdReminders

func (c *Client) PatchConversationsConversationIdReminders(ctx context.Context, conversationId string, body PatchConversationsConversationIdRemindersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchConversationsConversationIdRemindersWithBody

func (c *Client) PatchConversationsConversationIdRemindersWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchConversationsConversationIdWithBody

func (c *Client) PatchConversationsConversationIdWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchCustomFieldsCustomFieldId

func (c *Client) PatchCustomFieldsCustomFieldId(ctx context.Context, customFieldId string, body PatchCustomFieldsCustomFieldIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchCustomFieldsCustomFieldIdWithBody

func (c *Client) PatchCustomFieldsCustomFieldIdWithBody(ctx context.Context, customFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchDraftsMessageId

func (c *Client) PatchDraftsMessageId(ctx context.Context, messageId string, body PatchDraftsMessageIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchDraftsMessageIdWithBody

func (c *Client) PatchDraftsMessageIdWithBody(ctx context.Context, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLinksLinkId

func (c *Client) PatchLinksLinkId(ctx context.Context, linkId string, body PatchLinksLinkIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchLinksLinkIdWithBody

func (c *Client) PatchLinksLinkIdWithBody(ctx context.Context, linkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchMessageTemplateFoldersMessageTemplateFolderId

func (c *Client) PatchMessageTemplateFoldersMessageTemplateFolderId(ctx context.Context, messageTemplateFolderId string, body PatchMessageTemplateFoldersMessageTemplateFolderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchMessageTemplateFoldersMessageTemplateFolderIdWithBody

func (c *Client) PatchMessageTemplateFoldersMessageTemplateFolderIdWithBody(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchMessageTemplatesMessageTemplateId

func (c *Client) PatchMessageTemplatesMessageTemplateId(ctx context.Context, messageTemplateId string, body PatchMessageTemplatesMessageTemplateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchMessageTemplatesMessageTemplateIdWithBody

func (c *Client) PatchMessageTemplatesMessageTemplateIdWithBody(ctx context.Context, messageTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchShiftsShiftId

func (c *Client) PatchShiftsShiftId(ctx context.Context, shiftId string, body PatchShiftsShiftIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchShiftsShiftIdWithBody

func (c *Client) PatchShiftsShiftIdWithBody(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchTagsTagId

func (c *Client) PatchTagsTagId(ctx context.Context, tagId string, body PatchTagsTagIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchTagsTagIdWithBody

func (c *Client) PatchTagsTagIdWithBody(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchTeammatesTeammateId

func (c *Client) PatchTeammatesTeammateId(ctx context.Context, teammateId string, body PatchTeammatesTeammateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchTeammatesTeammateIdWithBody

func (c *Client) PatchTeammatesTeammateIdWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAccounts

func (c *Client) PostAccounts(ctx context.Context, body PostAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAccountsAccountIdContacts

func (c *Client) PostAccountsAccountIdContacts(ctx context.Context, accountId string, body PostAccountsAccountIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAccountsAccountIdContactsWithBody

func (c *Client) PostAccountsAccountIdContactsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAccountsWithBody

func (c *Client) PostAccountsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostChannelsChannelIdDrafts

func (c *Client) PostChannelsChannelIdDrafts(ctx context.Context, channelId string, body PostChannelsChannelIdDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostChannelsChannelIdDraftsWithBody

func (c *Client) PostChannelsChannelIdDraftsWithBody(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostChannelsChannelIdIncomingMessages

func (c *Client) PostChannelsChannelIdIncomingMessages(ctx context.Context, channelId string, body PostChannelsChannelIdIncomingMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostChannelsChannelIdIncomingMessagesWithBody

func (c *Client) PostChannelsChannelIdIncomingMessagesWithBody(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostChannelsChannelIdMessages

func (c *Client) PostChannelsChannelIdMessages(ctx context.Context, channelId string, body PostChannelsChannelIdMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostChannelsChannelIdMessagesWithBody

func (c *Client) PostChannelsChannelIdMessagesWithBody(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostChannelsChannelIdValidate

func (c *Client) PostChannelsChannelIdValidate(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostContactGroups

func (c *Client) PostContactGroups(ctx context.Context, body PostContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostContactGroupsContactGroupIdContacts

func (c *Client) PostContactGroupsContactGroupIdContacts(ctx context.Context, contactGroupId string, body PostContactGroupsContactGroupIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostContactGroupsContactGroupIdContactsWithBody

func (c *Client) PostContactGroupsContactGroupIdContactsWithBody(ctx context.Context, contactGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostContactGroupsWithBody

func (c *Client) PostContactGroupsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostContacts

func (c *Client) PostContacts(ctx context.Context, body PostContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostContactsContactIdHandles

func (c *Client) PostContactsContactIdHandles(ctx context.Context, contactId string, body PostContactsContactIdHandlesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostContactsContactIdHandlesWithBody

func (c *Client) PostContactsContactIdHandlesWithBody(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostContactsContactIdNotes

func (c *Client) PostContactsContactIdNotes(ctx context.Context, contactId string, body PostContactsContactIdNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostContactsContactIdNotesWithBody

func (c *Client) PostContactsContactIdNotesWithBody(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostContactsWithBody

func (c *Client) PostContactsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdComments

func (c *Client) PostConversationsConversationIdComments(ctx context.Context, conversationId string, body PostConversationsConversationIdCommentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdCommentsWithBody

func (c *Client) PostConversationsConversationIdCommentsWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdDrafts

func (c *Client) PostConversationsConversationIdDrafts(ctx context.Context, conversationId string, body PostConversationsConversationIdDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdDraftsWithBody

func (c *Client) PostConversationsConversationIdDraftsWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdFollowers

func (c *Client) PostConversationsConversationIdFollowers(ctx context.Context, conversationId string, body PostConversationsConversationIdFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdFollowersWithBody

func (c *Client) PostConversationsConversationIdFollowersWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) PostConversationsConversationIdLinks(ctx context.Context, conversationId string, body PostConversationsConversationIdLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdLinksWithBody

func (c *Client) PostConversationsConversationIdLinksWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdMessages

func (c *Client) PostConversationsConversationIdMessages(ctx context.Context, conversationId string, body PostConversationsConversationIdMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdMessagesWithBody

func (c *Client) PostConversationsConversationIdMessagesWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdTags

func (c *Client) PostConversationsConversationIdTags(ctx context.Context, conversationId string, body PostConversationsConversationIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostConversationsConversationIdTagsWithBody

func (c *Client) PostConversationsConversationIdTagsWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInboxes

func (c *Client) PostInboxes(ctx context.Context, body PostInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInboxesInboxIdChannels

func (c *Client) PostInboxesInboxIdChannels(ctx context.Context, inboxId string, body PostInboxesInboxIdChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInboxesInboxIdChannelsWithBody

func (c *Client) PostInboxesInboxIdChannelsWithBody(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInboxesInboxIdTeammates

func (c *Client) PostInboxesInboxIdTeammates(ctx context.Context, inboxId string, body PostInboxesInboxIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInboxesInboxIdTeammatesWithBody

func (c *Client) PostInboxesInboxIdTeammatesWithBody(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostInboxesWithBody

func (c *Client) PostInboxesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) PostLinks(ctx context.Context, body PostLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLinksWithBody

func (c *Client) PostLinksWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMessageTemplateFolders

func (c *Client) PostMessageTemplateFolders(ctx context.Context, body PostMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders

func (c *Client) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders(ctx context.Context, messageTemplateFolderId string, body PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithBody

func (c *Client) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithBody(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates

func (c *Client) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates(ctx context.Context, messageTemplateFolderId string, body PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithBody

func (c *Client) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithBody(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMessageTemplateFoldersWithBody

func (c *Client) PostMessageTemplateFoldersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMessageTemplates

func (c *Client) PostMessageTemplates(ctx context.Context, body PostMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMessageTemplatesWithBody

func (c *Client) PostMessageTemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostShiftShiftIdTeammates

func (c *Client) PostShiftShiftIdTeammates(ctx context.Context, shiftId string, body PostShiftShiftIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostShiftShiftIdTeammatesWithBody

func (c *Client) PostShiftShiftIdTeammatesWithBody(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostShifts

func (c *Client) PostShifts(ctx context.Context, body PostShiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostShiftsWithBody

func (c *Client) PostShiftsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTags

func (c *Client) PostTags(ctx context.Context, body PostTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTagsTagIdChildren

func (c *Client) PostTagsTagIdChildren(ctx context.Context, tagId string, body PostTagsTagIdChildrenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTagsTagIdChildrenWithBody

func (c *Client) PostTagsTagIdChildrenWithBody(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTagsWithBody

func (c *Client) PostTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeammatesTeammateIdContactGroups

func (c *Client) PostTeammatesTeammateIdContactGroups(ctx context.Context, teammateId string, body PostTeammatesTeammateIdContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeammatesTeammateIdContactGroupsWithBody

func (c *Client) PostTeammatesTeammateIdContactGroupsWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeammatesTeammateIdContacts

func (c *Client) PostTeammatesTeammateIdContacts(ctx context.Context, teammateId string, body PostTeammatesTeammateIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeammatesTeammateIdContactsWithBody

func (c *Client) PostTeammatesTeammateIdContactsWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeammatesTeammateIdMessageTemplateFolders

func (c *Client) PostTeammatesTeammateIdMessageTemplateFolders(ctx context.Context, teammateId string, body PostTeammatesTeammateIdMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeammatesTeammateIdMessageTemplateFoldersWithBody

func (c *Client) PostTeammatesTeammateIdMessageTemplateFoldersWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeammatesTeammateIdMessageTemplates

func (c *Client) PostTeammatesTeammateIdMessageTemplates(ctx context.Context, teammateId string, body PostTeammatesTeammateIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeammatesTeammateIdMessageTemplatesWithBody

func (c *Client) PostTeammatesTeammateIdMessageTemplatesWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeammatesTeammateIdTags

func (c *Client) PostTeammatesTeammateIdTags(ctx context.Context, teammateId string, body PostTeammatesTeammateIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeammatesTeammateIdTagsWithBody

func (c *Client) PostTeammatesTeammateIdTagsWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdContactGroups

func (c *Client) PostTeamsTeamIdContactGroups(ctx context.Context, teamId string, body PostTeamsTeamIdContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdContactGroupsWithBody

func (c *Client) PostTeamsTeamIdContactGroupsWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdContacts

func (c *Client) PostTeamsTeamIdContacts(ctx context.Context, teamId string, body PostTeamsTeamIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdContactsWithBody

func (c *Client) PostTeamsTeamIdContactsWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdExports

func (c *Client) PostTeamsTeamIdExports(ctx context.Context, teamId string, body PostTeamsTeamIdExportsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdExportsWithBody

func (c *Client) PostTeamsTeamIdExportsWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdInboxes

func (c *Client) PostTeamsTeamIdInboxes(ctx context.Context, teamId string, body PostTeamsTeamIdInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdInboxesWithBody

func (c *Client) PostTeamsTeamIdInboxesWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdMessageTemplateFolders

func (c *Client) PostTeamsTeamIdMessageTemplateFolders(ctx context.Context, teamId string, body PostTeamsTeamIdMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdMessageTemplateFoldersWithBody

func (c *Client) PostTeamsTeamIdMessageTemplateFoldersWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdMessageTemplates

func (c *Client) PostTeamsTeamIdMessageTemplates(ctx context.Context, teamId string, body PostTeamsTeamIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdMessageTemplatesWithBody

func (c *Client) PostTeamsTeamIdMessageTemplatesWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdShifts

func (c *Client) PostTeamsTeamIdShifts(ctx context.Context, teamId string, body PostTeamsTeamIdShiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdShiftsWithBody

func (c *Client) PostTeamsTeamIdShiftsWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdTags

func (c *Client) PostTeamsTeamIdTags(ctx context.Context, teamId string, body PostTeamsTeamIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdTagsWithBody

func (c *Client) PostTeamsTeamIdTagsWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdTeammates

func (c *Client) PostTeamsTeamIdTeammates(ctx context.Context, teamId string, body PostTeamsTeamIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTeamsTeamIdTeammatesWithBody

func (c *Client) PostTeamsTeamIdTeammatesWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutConversationsConversationIdAssignee

func (c *Client) PutConversationsConversationIdAssignee(ctx context.Context, conversationId string, body PutConversationsConversationIdAssigneeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutConversationsConversationIdAssigneeWithBody

func (c *Client) PutConversationsConversationIdAssigneeWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SearchConversations

func (c *Client) SearchConversations(ctx context.Context, query string, params *SearchConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetAccounts request
	GetAccounts(ctx context.Context, params *GetAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAccounts request with any body
	PostAccountsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostAccounts(ctx context.Context, body PostAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAccountsAccountId request
	DeleteAccountsAccountId(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAccountsAccountId request
	GetAccountsAccountId(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAccountsAccountId request with any body
	PatchAccountsAccountIdWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchAccountsAccountId(ctx context.Context, accountId string, body PatchAccountsAccountIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAccountsAccountIdContacts request with any body
	DeleteAccountsAccountIdContactsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteAccountsAccountIdContacts(ctx context.Context, accountId string, body DeleteAccountsAccountIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAccountsAccountIdContacts request
	GetAccountsAccountIdContacts(ctx context.Context, accountId string, params *GetAccountsAccountIdContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAccountsAccountIdContacts request with any body
	PostAccountsAccountIdContactsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostAccountsAccountIdContacts(ctx context.Context, accountId string, body PostAccountsAccountIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAnalytics request
	GetAnalytics(ctx context.Context, params *GetAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAnalyticsExport request with any body
	CreateAnalyticsExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAnalyticsExport(ctx context.Context, body CreateAnalyticsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAnalyticsExport request
	GetAnalyticsExport(ctx context.Context, exportId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAnalyticsReport request with any body
	CreateAnalyticsReportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAnalyticsReport(ctx context.Context, body CreateAnalyticsReportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAnalyticsReport request
	GetAnalyticsReport(ctx context.Context, reportUid string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChannels request
	GetChannels(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChannelsChannelId request
	GetChannelsChannelId(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchChannelsChannelId request with any body
	PatchChannelsChannelIdWithBody(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchChannelsChannelId(ctx context.Context, channelId string, body PatchChannelsChannelIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostChannelsChannelIdDrafts request with any body
	PostChannelsChannelIdDraftsWithBody(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostChannelsChannelIdDrafts(ctx context.Context, channelId string, body PostChannelsChannelIdDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostChannelsChannelIdIncomingMessages request with any body
	PostChannelsChannelIdIncomingMessagesWithBody(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostChannelsChannelIdIncomingMessages(ctx context.Context, channelId string, body PostChannelsChannelIdIncomingMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostChannelsChannelIdMessages request with any body
	PostChannelsChannelIdMessagesWithBody(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostChannelsChannelIdMessages(ctx context.Context, channelId string, body PostChannelsChannelIdMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostChannelsChannelIdValidate request
	PostChannelsChannelIdValidate(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCommentsCommentId request
	GetCommentsCommentId(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCommentsCommentIdMentions request
	GetCommentsCommentIdMentions(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetContactGroups request
	GetContactGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostContactGroups request with any body
	PostContactGroupsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostContactGroups(ctx context.Context, body PostContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteContactGroupsContactGroupId request
	DeleteContactGroupsContactGroupId(ctx context.Context, contactGroupId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetContactGroupsContactGroupIdContacts request
	GetContactGroupsContactGroupIdContacts(ctx context.Context, contactGroupId string, params *GetContactGroupsContactGroupIdContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostContactGroupsContactGroupIdContacts request with any body
	PostContactGroupsContactGroupIdContactsWithBody(ctx context.Context, contactGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostContactGroupsContactGroupIdContacts(ctx context.Context, contactGroupId string, body PostContactGroupsContactGroupIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetContacts request
	GetContacts(ctx context.Context, params *GetContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostContacts request with any body
	PostContactsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostContacts(ctx context.Context, body PostContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListContactCustomFields request
	ListContactCustomFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteContactsContactId request
	DeleteContactsContactId(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetContactsContactId request
	GetContactsContactId(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchContactsContactId request with any body
	PatchContactsContactIdWithBody(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchContactsContactId(ctx context.Context, contactId string, body PatchContactsContactIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetContactsContactIdConversations request
	GetContactsContactIdConversations(ctx context.Context, contactId string, params *GetContactsContactIdConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteContactsContactIdHandles request with any body
	DeleteContactsContactIdHandlesWithBody(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteContactsContactIdHandles(ctx context.Context, contactId string, body DeleteContactsContactIdHandlesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostContactsContactIdHandles request with any body
	PostContactsContactIdHandlesWithBody(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostContactsContactIdHandles(ctx context.Context, contactId string, body PostContactsContactIdHandlesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetContactsContactIdNotes request
	GetContactsContactIdNotes(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostContactsContactIdNotes request with any body
	PostContactsContactIdNotesWithBody(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostContactsContactIdNotes(ctx context.Context, contactId string, body PostContactsContactIdNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListConversations request
	ListConversations(ctx context.Context, params *ListConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchConversations request
	SearchConversations(ctx context.Context, query string, params *SearchConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConversationById request
	GetConversationById(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchConversationsConversationId request with any body
	PatchConversationsConversationIdWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchConversationsConversationId(ctx context.Context, conversationId string, body PatchConversationsConversationIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutConversationsConversationIdAssignee request with any body
	PutConversationsConversationIdAssigneeWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutConversationsConversationIdAssignee(ctx context.Context, conversationId string, body PutConversationsConversationIdAssigneeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConversationsConversationIdComments request
	GetConversationsConversationIdComments(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostConversationsConversationIdComments request with any body
	PostConversationsConversationIdCommentsWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostConversationsConversationIdComments(ctx context.Context, conversationId string, body PostConversationsConversationIdCommentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConversationsConversationIdDrafts request
	GetConversationsConversationIdDrafts(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostConversationsConversationIdDrafts request with any body
	PostConversationsConversationIdDraftsWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostConversationsConversationIdDrafts(ctx context.Context, conversationId string, body PostConversationsConversationIdDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConversationsConversationIdEvents request
	GetConversationsConversationIdEvents(ctx context.Context, conversationId string, params *GetConversationsConversationIdEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteConversationsConversationIdFollowers request with any body
	DeleteConversationsConversationIdFollowersWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteConversationsConversationIdFollowers(ctx context.Context, conversationId string, body DeleteConversationsConversationIdFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConversationsConversationIdFollowers request
	GetConversationsConversationIdFollowers(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostConversationsConversationIdFollowers request with any body
	PostConversationsConversationIdFollowersWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostConversationsConversationIdFollowers(ctx context.Context, conversationId string, body PostConversationsConversationIdFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConversationsConversationIdInboxes request
	GetConversationsConversationIdInboxes(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteConversationsConversationIdLinks request with any body
	DeleteConversationsConversationIdLinksWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteConversationsConversationIdLinks(ctx context.Context, conversationId string, body DeleteConversationsConversationIdLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostConversationsConversationIdLinks request with any body
	PostConversationsConversationIdLinksWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostConversationsConversationIdLinks(ctx context.Context, conversationId string, body PostConversationsConversationIdLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConversationsConversationIdMessages request
	GetConversationsConversationIdMessages(ctx context.Context, conversationId string, params *GetConversationsConversationIdMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostConversationsConversationIdMessages request with any body
	PostConversationsConversationIdMessagesWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostConversationsConversationIdMessages(ctx context.Context, conversationId string, body PostConversationsConversationIdMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchConversationsConversationIdReminders request with any body
	PatchConversationsConversationIdRemindersWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchConversationsConversationIdReminders(ctx context.Context, conversationId string, body PatchConversationsConversationIdRemindersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteConversationsConversationIdTags request with any body
	DeleteConversationsConversationIdTagsWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteConversationsConversationIdTags(ctx context.Context, conversationId string, body DeleteConversationsConversationIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostConversationsConversationIdTags request with any body
	PostConversationsConversationIdTagsWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostConversationsConversationIdTags(ctx context.Context, conversationId string, body PostConversationsConversationIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCustomFields request
	ListCustomFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchCustomFieldsCustomFieldId request with any body
	PatchCustomFieldsCustomFieldIdWithBody(ctx context.Context, customFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchCustomFieldsCustomFieldId(ctx context.Context, customFieldId string, body PatchCustomFieldsCustomFieldIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDownloadAttachmentLinkId request
	GetDownloadAttachmentLinkId(ctx context.Context, attachmentLinkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDraftsDraftId request with any body
	DeleteDraftsDraftIdWithBody(ctx context.Context, draftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteDraftsDraftId(ctx context.Context, draftId string, body DeleteDraftsDraftIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDraftsMessageId request with any body
	PatchDraftsMessageIdWithBody(ctx context.Context, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchDraftsMessageId(ctx context.Context, messageId string, body PatchDraftsMessageIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEvents request
	GetEvents(ctx context.Context, params *GetEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEventsEventId request
	GetEventsEventId(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExports request
	GetExports(ctx context.Context, params *GetExportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateExport request with any body
	CreateExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateExport(ctx context.Context, body CreateExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExportsExportId request
	GetExportsExportId(ctx context.Context, exportId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInboxes request
	GetInboxes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInboxes request with any body
	PostInboxesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostInboxes(ctx context.Context, body PostInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInboxesInboxId request
	GetInboxesInboxId(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInboxesInboxIdChannels request
	GetInboxesInboxIdChannels(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInboxesInboxIdChannels request with any body
	PostInboxesInboxIdChannelsWithBody(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostInboxesInboxIdChannels(ctx context.Context, inboxId string, body PostInboxesInboxIdChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInboxesInboxIdConversations request
	GetInboxesInboxIdConversations(ctx context.Context, inboxId string, params *GetInboxesInboxIdConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportInboxMessage request with any body
	ImportInboxMessageWithBody(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ImportInboxMessage(ctx context.Context, inboxId string, body ImportInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInboxesInboxIdTeammates request with any body
	DeleteInboxesInboxIdTeammatesWithBody(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteInboxesInboxIdTeammates(ctx context.Context, inboxId string, body DeleteInboxesInboxIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInboxesInboxIdTeammates request
	GetInboxesInboxIdTeammates(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInboxesInboxIdTeammates request with any body
	PostInboxesInboxIdTeammatesWithBody(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostInboxesInboxIdTeammates(ctx context.Context, inboxId string, body PostInboxesInboxIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLinks request
	GetLinks(ctx context.Context, params *GetLinksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostLinks request with any body
	PostLinksWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostLinks(ctx context.Context, body PostLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLinksLinkId request
	GetLinksLinkId(ctx context.Context, linkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchLinksLinkId request with any body
	PatchLinksLinkIdWithBody(ctx context.Context, linkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchLinksLinkId(ctx context.Context, linkId string, body PatchLinksLinkIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLinkConversations request
	ListLinkConversations(ctx context.Context, linkId string, params *ListLinkConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMe request
	GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMessageTemplateFolders request
	GetMessageTemplateFolders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostMessageTemplateFolders request with any body
	PostMessageTemplateFoldersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostMessageTemplateFolders(ctx context.Context, body PostMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMessageTemplateFoldersMessageTemplateFolderId request
	DeleteMessageTemplateFoldersMessageTemplateFolderId(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMessageTemplateFoldersMessageTemplateFolderId request
	GetMessageTemplateFoldersMessageTemplateFolderId(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchMessageTemplateFoldersMessageTemplateFolderId request with any body
	PatchMessageTemplateFoldersMessageTemplateFolderIdWithBody(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchMessageTemplateFoldersMessageTemplateFolderId(ctx context.Context, messageTemplateFolderId string, body PatchMessageTemplateFoldersMessageTemplateFolderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders request
	GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders request with any body
	PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithBody(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders(ctx context.Context, messageTemplateFolderId string, body PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates request
	GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates request with any body
	PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithBody(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates(ctx context.Context, messageTemplateFolderId string, body PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMessageTemplates request
	GetMessageTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostMessageTemplates request with any body
	PostMessageTemplatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostMessageTemplates(ctx context.Context, body PostMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMessageTemplatesMessageTemplateId request
	DeleteMessageTemplatesMessageTemplateId(ctx context.Context, messageTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMessageTemplatesMessageTemplateId request
	GetMessageTemplatesMessageTemplateId(ctx context.Context, messageTemplateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchMessageTemplatesMessageTemplateId request with any body
	PatchMessageTemplatesMessageTemplateIdWithBody(ctx context.Context, messageTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchMessageTemplatesMessageTemplateId(ctx context.Context, messageTemplateId string, body PatchMessageTemplatesMessageTemplateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMessagesMessageId request
	GetMessagesMessageId(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRules request
	GetRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRulesRuleId request
	GetRulesRuleId(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetShiftShiftId request
	GetShiftShiftId(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteShiftShiftIdTeammates request with any body
	DeleteShiftShiftIdTeammatesWithBody(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteShiftShiftIdTeammates(ctx context.Context, shiftId string, body DeleteShiftShiftIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetShiftShiftIdTeammates request
	GetShiftShiftIdTeammates(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostShiftShiftIdTeammates request with any body
	PostShiftShiftIdTeammatesWithBody(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostShiftShiftIdTeammates(ctx context.Context, shiftId string, body PostShiftShiftIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListShifts request
	ListShifts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostShifts request with any body
	PostShiftsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostShifts(ctx context.Context, body PostShiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchShiftsShiftId request with any body
	PatchShiftsShiftIdWithBody(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchShiftsShiftId(ctx context.Context, shiftId string, body PatchShiftsShiftIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTags request
	GetTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTags request with any body
	PostTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTags(ctx context.Context, body PostTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTagsTagId request
	DeleteTagsTagId(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTagsTagId request
	GetTagsTagId(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTagsTagId request with any body
	PatchTagsTagIdWithBody(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchTagsTagId(ctx context.Context, tagId string, body PatchTagsTagIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTagsTagIdChildren request
	GetTagsTagIdChildren(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTagsTagIdChildren request with any body
	PostTagsTagIdChildrenWithBody(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTagsTagIdChildren(ctx context.Context, tagId string, body PostTagsTagIdChildrenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTagsTagIdConversations request
	GetTagsTagIdConversations(ctx context.Context, tagId string, params *GetTagsTagIdConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamTeamIdRules request
	GetTeamTeamIdRules(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammates request
	GetTeammates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateId request
	GetTeammatesTeammateId(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTeammatesTeammateId request with any body
	PatchTeammatesTeammateIdWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchTeammatesTeammateId(ctx context.Context, teammateId string, body PatchTeammatesTeammateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateIdChannels request
	GetTeammatesTeammateIdChannels(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateIdContactGroups request
	GetTeammatesTeammateIdContactGroups(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeammatesTeammateIdContactGroups request with any body
	PostTeammatesTeammateIdContactGroupsWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeammatesTeammateIdContactGroups(ctx context.Context, teammateId string, body PostTeammatesTeammateIdContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateIdContacts request
	GetTeammatesTeammateIdContacts(ctx context.Context, teammateId string, params *GetTeammatesTeammateIdContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeammatesTeammateIdContacts request with any body
	PostTeammatesTeammateIdContactsWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeammatesTeammateIdContacts(ctx context.Context, teammateId string, body PostTeammatesTeammateIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateIdConversations request
	GetTeammatesTeammateIdConversations(ctx context.Context, teammateId string, params *GetTeammatesTeammateIdConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateIdInboxes request
	GetTeammatesTeammateIdInboxes(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateIdMessageTemplateFolders request
	GetTeammatesTeammateIdMessageTemplateFolders(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeammatesTeammateIdMessageTemplateFolders request with any body
	PostTeammatesTeammateIdMessageTemplateFoldersWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeammatesTeammateIdMessageTemplateFolders(ctx context.Context, teammateId string, body PostTeammatesTeammateIdMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateIdMessageTemplates request
	GetTeammatesTeammateIdMessageTemplates(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeammatesTeammateIdMessageTemplates request with any body
	PostTeammatesTeammateIdMessageTemplatesWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeammatesTeammateIdMessageTemplates(ctx context.Context, teammateId string, body PostTeammatesTeammateIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateIdRules request
	GetTeammatesTeammateIdRules(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateIdShifts request
	GetTeammatesTeammateIdShifts(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeammatesTeammateIdTags request
	GetTeammatesTeammateIdTags(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeammatesTeammateIdTags request with any body
	PostTeammatesTeammateIdTagsWithBody(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeammatesTeammateIdTags(ctx context.Context, teammateId string, body PostTeammatesTeammateIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeams request
	GetTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamId request
	GetTeamsTeamId(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIdAnalytics request
	GetTeamsTeamIdAnalytics(ctx context.Context, teamId string, params *GetTeamsTeamIdAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIdChannels request
	GetTeamsTeamIdChannels(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIdContactGroups request
	GetTeamsTeamIdContactGroups(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeamsTeamIdContactGroups request with any body
	PostTeamsTeamIdContactGroupsWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeamsTeamIdContactGroups(ctx context.Context, teamId string, body PostTeamsTeamIdContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIdContacts request
	GetTeamsTeamIdContacts(ctx context.Context, teamId string, params *GetTeamsTeamIdContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeamsTeamIdContacts request with any body
	PostTeamsTeamIdContactsWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeamsTeamIdContacts(ctx context.Context, teamId string, body PostTeamsTeamIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeamsTeamIdExports request with any body
	PostTeamsTeamIdExportsWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeamsTeamIdExports(ctx context.Context, teamId string, body PostTeamsTeamIdExportsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIdInboxes request
	GetTeamsTeamIdInboxes(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeamsTeamIdInboxes request with any body
	PostTeamsTeamIdInboxesWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeamsTeamIdInboxes(ctx context.Context, teamId string, body PostTeamsTeamIdInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIdMessageTemplateFolders request
	GetTeamsTeamIdMessageTemplateFolders(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeamsTeamIdMessageTemplateFolders request with any body
	PostTeamsTeamIdMessageTemplateFoldersWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeamsTeamIdMessageTemplateFolders(ctx context.Context, teamId string, body PostTeamsTeamIdMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIdMessageTemplates request
	GetTeamsTeamIdMessageTemplates(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeamsTeamIdMessageTemplates request with any body
	PostTeamsTeamIdMessageTemplatesWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeamsTeamIdMessageTemplates(ctx context.Context, teamId string, body PostTeamsTeamIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIdShifts request
	GetTeamsTeamIdShifts(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeamsTeamIdShifts request with any body
	PostTeamsTeamIdShiftsWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeamsTeamIdShifts(ctx context.Context, teamId string, body PostTeamsTeamIdShiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIdTags request
	GetTeamsTeamIdTags(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeamsTeamIdTags request with any body
	PostTeamsTeamIdTagsWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeamsTeamIdTags(ctx context.Context, teamId string, body PostTeamsTeamIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTeamsTeamIdTeammates request with any body
	DeleteTeamsTeamIdTeammatesWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteTeamsTeamIdTeammates(ctx context.Context, teamId string, body DeleteTeamsTeamIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTeamsTeamIdTeammates request with any body
	PostTeamsTeamIdTeammatesWithBody(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTeamsTeamIdTeammates(ctx context.Context, teamId string, body PostTeamsTeamIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithFrontClient

func WithFrontClient(token string, limit float64) ClientOption

WithFrontClient creates a Front compatible client.

It handles injection of the Front bearer token, API backoff requests and rate limits. See https://dev.frontapp.com/docs/rate-limiting

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) CreateAnalyticsExportWithBodyWithResponse

func (c *ClientWithResponses) CreateAnalyticsExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAnalyticsExportResponse, error)

CreateAnalyticsExportWithBodyWithResponse request with arbitrary body returning *CreateAnalyticsExportResponse

func (*ClientWithResponses) CreateAnalyticsExportWithResponse

func (c *ClientWithResponses) CreateAnalyticsExportWithResponse(ctx context.Context, body CreateAnalyticsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAnalyticsExportResponse, error)

func (*ClientWithResponses) CreateAnalyticsReportWithBodyWithResponse

func (c *ClientWithResponses) CreateAnalyticsReportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAnalyticsReportResponse, error)

CreateAnalyticsReportWithBodyWithResponse request with arbitrary body returning *CreateAnalyticsReportResponse

func (*ClientWithResponses) CreateAnalyticsReportWithResponse

func (c *ClientWithResponses) CreateAnalyticsReportWithResponse(ctx context.Context, body CreateAnalyticsReportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAnalyticsReportResponse, error)

func (*ClientWithResponses) CreateExportWithBodyWithResponse

func (c *ClientWithResponses) CreateExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateExportResponse, error)

CreateExportWithBodyWithResponse request with arbitrary body returning *CreateExportResponse

func (*ClientWithResponses) CreateExportWithResponse

func (c *ClientWithResponses) CreateExportWithResponse(ctx context.Context, body CreateExportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateExportResponse, error)

func (*ClientWithResponses) DeleteAccountsAccountIdContactsWithBodyWithResponse

func (c *ClientWithResponses) DeleteAccountsAccountIdContactsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAccountsAccountIdContactsResponse, error)

DeleteAccountsAccountIdContactsWithBodyWithResponse request with arbitrary body returning *DeleteAccountsAccountIdContactsResponse

func (*ClientWithResponses) DeleteAccountsAccountIdContactsWithResponse

func (c *ClientWithResponses) DeleteAccountsAccountIdContactsWithResponse(ctx context.Context, accountId string, body DeleteAccountsAccountIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAccountsAccountIdContactsResponse, error)

func (*ClientWithResponses) DeleteAccountsAccountIdWithResponse

func (c *ClientWithResponses) DeleteAccountsAccountIdWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteAccountsAccountIdResponse, error)

DeleteAccountsAccountIdWithResponse request returning *DeleteAccountsAccountIdResponse

func (*ClientWithResponses) DeleteContactGroupsContactGroupIdWithResponse

func (c *ClientWithResponses) DeleteContactGroupsContactGroupIdWithResponse(ctx context.Context, contactGroupId string, reqEditors ...RequestEditorFn) (*DeleteContactGroupsContactGroupIdResponse, error)

DeleteContactGroupsContactGroupIdWithResponse request returning *DeleteContactGroupsContactGroupIdResponse

func (*ClientWithResponses) DeleteContactsContactIdHandlesWithBodyWithResponse

func (c *ClientWithResponses) DeleteContactsContactIdHandlesWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteContactsContactIdHandlesResponse, error)

DeleteContactsContactIdHandlesWithBodyWithResponse request with arbitrary body returning *DeleteContactsContactIdHandlesResponse

func (*ClientWithResponses) DeleteContactsContactIdHandlesWithResponse

func (c *ClientWithResponses) DeleteContactsContactIdHandlesWithResponse(ctx context.Context, contactId string, body DeleteContactsContactIdHandlesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteContactsContactIdHandlesResponse, error)

func (*ClientWithResponses) DeleteContactsContactIdWithResponse

func (c *ClientWithResponses) DeleteContactsContactIdWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*DeleteContactsContactIdResponse, error)

DeleteContactsContactIdWithResponse request returning *DeleteContactsContactIdResponse

func (*ClientWithResponses) DeleteConversationsConversationIdFollowersWithBodyWithResponse

func (c *ClientWithResponses) DeleteConversationsConversationIdFollowersWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdFollowersResponse, error)

DeleteConversationsConversationIdFollowersWithBodyWithResponse request with arbitrary body returning *DeleteConversationsConversationIdFollowersResponse

func (*ClientWithResponses) DeleteConversationsConversationIdFollowersWithResponse

func (c *ClientWithResponses) DeleteConversationsConversationIdFollowersWithResponse(ctx context.Context, conversationId string, body DeleteConversationsConversationIdFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdFollowersResponse, error)

func (*ClientWithResponses) DeleteConversationsConversationIdLinksWithBodyWithResponse

func (c *ClientWithResponses) DeleteConversationsConversationIdLinksWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdLinksResponse, error)

DeleteConversationsConversationIdLinksWithBodyWithResponse request with arbitrary body returning *DeleteConversationsConversationIdLinksResponse

func (*ClientWithResponses) DeleteConversationsConversationIdLinksWithResponse

func (c *ClientWithResponses) DeleteConversationsConversationIdLinksWithResponse(ctx context.Context, conversationId string, body DeleteConversationsConversationIdLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdLinksResponse, error)

func (*ClientWithResponses) DeleteConversationsConversationIdTagsWithBodyWithResponse

func (c *ClientWithResponses) DeleteConversationsConversationIdTagsWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdTagsResponse, error)

DeleteConversationsConversationIdTagsWithBodyWithResponse request with arbitrary body returning *DeleteConversationsConversationIdTagsResponse

func (*ClientWithResponses) DeleteConversationsConversationIdTagsWithResponse

func (c *ClientWithResponses) DeleteConversationsConversationIdTagsWithResponse(ctx context.Context, conversationId string, body DeleteConversationsConversationIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdTagsResponse, error)

func (*ClientWithResponses) DeleteDraftsDraftIdWithBodyWithResponse

func (c *ClientWithResponses) DeleteDraftsDraftIdWithBodyWithResponse(ctx context.Context, draftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDraftsDraftIdResponse, error)

DeleteDraftsDraftIdWithBodyWithResponse request with arbitrary body returning *DeleteDraftsDraftIdResponse

func (*ClientWithResponses) DeleteDraftsDraftIdWithResponse

func (c *ClientWithResponses) DeleteDraftsDraftIdWithResponse(ctx context.Context, draftId string, body DeleteDraftsDraftIdJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDraftsDraftIdResponse, error)

func (*ClientWithResponses) DeleteInboxesInboxIdTeammatesWithBodyWithResponse

func (c *ClientWithResponses) DeleteInboxesInboxIdTeammatesWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteInboxesInboxIdTeammatesResponse, error)

DeleteInboxesInboxIdTeammatesWithBodyWithResponse request with arbitrary body returning *DeleteInboxesInboxIdTeammatesResponse

func (*ClientWithResponses) DeleteInboxesInboxIdTeammatesWithResponse

func (c *ClientWithResponses) DeleteInboxesInboxIdTeammatesWithResponse(ctx context.Context, inboxId string, body DeleteInboxesInboxIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteInboxesInboxIdTeammatesResponse, error)

func (*ClientWithResponses) DeleteMessageTemplateFoldersMessageTemplateFolderIdWithResponse

func (c *ClientWithResponses) DeleteMessageTemplateFoldersMessageTemplateFolderIdWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*DeleteMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

DeleteMessageTemplateFoldersMessageTemplateFolderIdWithResponse request returning *DeleteMessageTemplateFoldersMessageTemplateFolderIdResponse

func (*ClientWithResponses) DeleteMessageTemplatesMessageTemplateIdWithResponse

func (c *ClientWithResponses) DeleteMessageTemplatesMessageTemplateIdWithResponse(ctx context.Context, messageTemplateId string, reqEditors ...RequestEditorFn) (*DeleteMessageTemplatesMessageTemplateIdResponse, error)

DeleteMessageTemplatesMessageTemplateIdWithResponse request returning *DeleteMessageTemplatesMessageTemplateIdResponse

func (*ClientWithResponses) DeleteShiftShiftIdTeammatesWithBodyWithResponse

func (c *ClientWithResponses) DeleteShiftShiftIdTeammatesWithBodyWithResponse(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteShiftShiftIdTeammatesResponse, error)

DeleteShiftShiftIdTeammatesWithBodyWithResponse request with arbitrary body returning *DeleteShiftShiftIdTeammatesResponse

func (*ClientWithResponses) DeleteShiftShiftIdTeammatesWithResponse

func (c *ClientWithResponses) DeleteShiftShiftIdTeammatesWithResponse(ctx context.Context, shiftId string, body DeleteShiftShiftIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteShiftShiftIdTeammatesResponse, error)

func (*ClientWithResponses) DeleteTagsTagIdWithResponse

func (c *ClientWithResponses) DeleteTagsTagIdWithResponse(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*DeleteTagsTagIdResponse, error)

DeleteTagsTagIdWithResponse request returning *DeleteTagsTagIdResponse

func (*ClientWithResponses) DeleteTeamsTeamIdTeammatesWithBodyWithResponse

func (c *ClientWithResponses) DeleteTeamsTeamIdTeammatesWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteTeamsTeamIdTeammatesResponse, error)

DeleteTeamsTeamIdTeammatesWithBodyWithResponse request with arbitrary body returning *DeleteTeamsTeamIdTeammatesResponse

func (*ClientWithResponses) DeleteTeamsTeamIdTeammatesWithResponse

func (c *ClientWithResponses) DeleteTeamsTeamIdTeammatesWithResponse(ctx context.Context, teamId string, body DeleteTeamsTeamIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTeamsTeamIdTeammatesResponse, error)

func (*ClientWithResponses) GetAccountsAccountIdContactsWithResponse

func (c *ClientWithResponses) GetAccountsAccountIdContactsWithResponse(ctx context.Context, accountId string, params *GetAccountsAccountIdContactsParams, reqEditors ...RequestEditorFn) (*GetAccountsAccountIdContactsResponse, error)

GetAccountsAccountIdContactsWithResponse request returning *GetAccountsAccountIdContactsResponse

func (*ClientWithResponses) GetAccountsAccountIdWithResponse

func (c *ClientWithResponses) GetAccountsAccountIdWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetAccountsAccountIdResponse, error)

GetAccountsAccountIdWithResponse request returning *GetAccountsAccountIdResponse

func (*ClientWithResponses) GetAccountsWithResponse

func (c *ClientWithResponses) GetAccountsWithResponse(ctx context.Context, params *GetAccountsParams, reqEditors ...RequestEditorFn) (*GetAccountsResponse, error)

GetAccountsWithResponse request returning *GetAccountsResponse

func (*ClientWithResponses) GetAnalyticsExportWithResponse

func (c *ClientWithResponses) GetAnalyticsExportWithResponse(ctx context.Context, exportId string, reqEditors ...RequestEditorFn) (*GetAnalyticsExportResponse, error)

GetAnalyticsExportWithResponse request returning *GetAnalyticsExportResponse

func (*ClientWithResponses) GetAnalyticsReportWithResponse

func (c *ClientWithResponses) GetAnalyticsReportWithResponse(ctx context.Context, reportUid string, reqEditors ...RequestEditorFn) (*GetAnalyticsReportResponse, error)

GetAnalyticsReportWithResponse request returning *GetAnalyticsReportResponse

func (*ClientWithResponses) GetAnalyticsWithResponse

func (c *ClientWithResponses) GetAnalyticsWithResponse(ctx context.Context, params *GetAnalyticsParams, reqEditors ...RequestEditorFn) (*GetAnalyticsResponse, error)

GetAnalyticsWithResponse request returning *GetAnalyticsResponse

func (*ClientWithResponses) GetChannelsChannelIdWithResponse

func (c *ClientWithResponses) GetChannelsChannelIdWithResponse(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdResponse, error)

GetChannelsChannelIdWithResponse request returning *GetChannelsChannelIdResponse

func (*ClientWithResponses) GetChannelsWithResponse

func (c *ClientWithResponses) GetChannelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetChannelsResponse, error)

GetChannelsWithResponse request returning *GetChannelsResponse

func (*ClientWithResponses) GetCommentsCommentIdMentionsWithResponse

func (c *ClientWithResponses) GetCommentsCommentIdMentionsWithResponse(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*GetCommentsCommentIdMentionsResponse, error)

GetCommentsCommentIdMentionsWithResponse request returning *GetCommentsCommentIdMentionsResponse

func (*ClientWithResponses) GetCommentsCommentIdWithResponse

func (c *ClientWithResponses) GetCommentsCommentIdWithResponse(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*GetCommentsCommentIdResponse, error)

GetCommentsCommentIdWithResponse request returning *GetCommentsCommentIdResponse

func (*ClientWithResponses) GetContactGroupsContactGroupIdContactsWithResponse

func (c *ClientWithResponses) GetContactGroupsContactGroupIdContactsWithResponse(ctx context.Context, contactGroupId string, params *GetContactGroupsContactGroupIdContactsParams, reqEditors ...RequestEditorFn) (*GetContactGroupsContactGroupIdContactsResponse, error)

GetContactGroupsContactGroupIdContactsWithResponse request returning *GetContactGroupsContactGroupIdContactsResponse

func (*ClientWithResponses) GetContactGroupsWithResponse

func (c *ClientWithResponses) GetContactGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetContactGroupsResponse, error)

GetContactGroupsWithResponse request returning *GetContactGroupsResponse

func (*ClientWithResponses) GetContactsContactIdConversationsWithResponse

func (c *ClientWithResponses) GetContactsContactIdConversationsWithResponse(ctx context.Context, contactId string, params *GetContactsContactIdConversationsParams, reqEditors ...RequestEditorFn) (*GetContactsContactIdConversationsResponse, error)

GetContactsContactIdConversationsWithResponse request returning *GetContactsContactIdConversationsResponse

func (*ClientWithResponses) GetContactsContactIdNotesWithResponse

func (c *ClientWithResponses) GetContactsContactIdNotesWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactsContactIdNotesResponse, error)

GetContactsContactIdNotesWithResponse request returning *GetContactsContactIdNotesResponse

func (*ClientWithResponses) GetContactsContactIdWithResponse

func (c *ClientWithResponses) GetContactsContactIdWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactsContactIdResponse, error)

GetContactsContactIdWithResponse request returning *GetContactsContactIdResponse

func (*ClientWithResponses) GetContactsWithResponse

func (c *ClientWithResponses) GetContactsWithResponse(ctx context.Context, params *GetContactsParams, reqEditors ...RequestEditorFn) (*GetContactsResponse, error)

GetContactsWithResponse request returning *GetContactsResponse

func (*ClientWithResponses) GetConversationByIdWithResponse

func (c *ClientWithResponses) GetConversationByIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationByIdResponse, error)

GetConversationByIdWithResponse request returning *GetConversationByIdResponse

func (*ClientWithResponses) GetConversationsConversationIdCommentsWithResponse

func (c *ClientWithResponses) GetConversationsConversationIdCommentsWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdCommentsResponse, error)

GetConversationsConversationIdCommentsWithResponse request returning *GetConversationsConversationIdCommentsResponse

func (*ClientWithResponses) GetConversationsConversationIdDraftsWithResponse

func (c *ClientWithResponses) GetConversationsConversationIdDraftsWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdDraftsResponse, error)

GetConversationsConversationIdDraftsWithResponse request returning *GetConversationsConversationIdDraftsResponse

func (*ClientWithResponses) GetConversationsConversationIdEventsWithResponse

func (c *ClientWithResponses) GetConversationsConversationIdEventsWithResponse(ctx context.Context, conversationId string, params *GetConversationsConversationIdEventsParams, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdEventsResponse, error)

GetConversationsConversationIdEventsWithResponse request returning *GetConversationsConversationIdEventsResponse

func (*ClientWithResponses) GetConversationsConversationIdFollowersWithResponse

func (c *ClientWithResponses) GetConversationsConversationIdFollowersWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdFollowersResponse, error)

GetConversationsConversationIdFollowersWithResponse request returning *GetConversationsConversationIdFollowersResponse

func (*ClientWithResponses) GetConversationsConversationIdInboxesWithResponse

func (c *ClientWithResponses) GetConversationsConversationIdInboxesWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdInboxesResponse, error)

GetConversationsConversationIdInboxesWithResponse request returning *GetConversationsConversationIdInboxesResponse

func (*ClientWithResponses) GetConversationsConversationIdMessagesWithResponse

func (c *ClientWithResponses) GetConversationsConversationIdMessagesWithResponse(ctx context.Context, conversationId string, params *GetConversationsConversationIdMessagesParams, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdMessagesResponse, error)

GetConversationsConversationIdMessagesWithResponse request returning *GetConversationsConversationIdMessagesResponse

func (*ClientWithResponses) GetDownloadAttachmentLinkIdWithResponse

func (c *ClientWithResponses) GetDownloadAttachmentLinkIdWithResponse(ctx context.Context, attachmentLinkId string, reqEditors ...RequestEditorFn) (*GetDownloadAttachmentLinkIdResponse, error)

GetDownloadAttachmentLinkIdWithResponse request returning *GetDownloadAttachmentLinkIdResponse

func (*ClientWithResponses) GetEventsEventIdWithResponse

func (c *ClientWithResponses) GetEventsEventIdWithResponse(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*GetEventsEventIdResponse, error)

GetEventsEventIdWithResponse request returning *GetEventsEventIdResponse

func (*ClientWithResponses) GetEventsWithResponse

func (c *ClientWithResponses) GetEventsWithResponse(ctx context.Context, params *GetEventsParams, reqEditors ...RequestEditorFn) (*GetEventsResponse, error)

GetEventsWithResponse request returning *GetEventsResponse

func (*ClientWithResponses) GetExportsExportIdWithResponse

func (c *ClientWithResponses) GetExportsExportIdWithResponse(ctx context.Context, exportId string, reqEditors ...RequestEditorFn) (*GetExportsExportIdResponse, error)

GetExportsExportIdWithResponse request returning *GetExportsExportIdResponse

func (*ClientWithResponses) GetExportsWithResponse

func (c *ClientWithResponses) GetExportsWithResponse(ctx context.Context, params *GetExportsParams, reqEditors ...RequestEditorFn) (*GetExportsResponse, error)

GetExportsWithResponse request returning *GetExportsResponse

func (*ClientWithResponses) GetInboxesInboxIdChannelsWithResponse

func (c *ClientWithResponses) GetInboxesInboxIdChannelsWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*GetInboxesInboxIdChannelsResponse, error)

GetInboxesInboxIdChannelsWithResponse request returning *GetInboxesInboxIdChannelsResponse

func (*ClientWithResponses) GetInboxesInboxIdConversationsWithResponse

func (c *ClientWithResponses) GetInboxesInboxIdConversationsWithResponse(ctx context.Context, inboxId string, params *GetInboxesInboxIdConversationsParams, reqEditors ...RequestEditorFn) (*GetInboxesInboxIdConversationsResponse, error)

GetInboxesInboxIdConversationsWithResponse request returning *GetInboxesInboxIdConversationsResponse

func (*ClientWithResponses) GetInboxesInboxIdTeammatesWithResponse

func (c *ClientWithResponses) GetInboxesInboxIdTeammatesWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*GetInboxesInboxIdTeammatesResponse, error)

GetInboxesInboxIdTeammatesWithResponse request returning *GetInboxesInboxIdTeammatesResponse

func (*ClientWithResponses) GetInboxesInboxIdWithResponse

func (c *ClientWithResponses) GetInboxesInboxIdWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*GetInboxesInboxIdResponse, error)

GetInboxesInboxIdWithResponse request returning *GetInboxesInboxIdResponse

func (*ClientWithResponses) GetInboxesWithResponse

func (c *ClientWithResponses) GetInboxesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInboxesResponse, error)

GetInboxesWithResponse request returning *GetInboxesResponse

func (*ClientWithResponses) GetLinksLinkIdWithResponse

func (c *ClientWithResponses) GetLinksLinkIdWithResponse(ctx context.Context, linkId string, reqEditors ...RequestEditorFn) (*GetLinksLinkIdResponse, error)

GetLinksLinkIdWithResponse request returning *GetLinksLinkIdResponse

func (*ClientWithResponses) GetLinksWithResponse

func (c *ClientWithResponses) GetLinksWithResponse(ctx context.Context, params *GetLinksParams, reqEditors ...RequestEditorFn) (*GetLinksResponse, error)

GetLinksWithResponse request returning *GetLinksResponse

func (*ClientWithResponses) GetMeWithResponse

func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)

GetMeWithResponse request returning *GetMeResponse

func (*ClientWithResponses) GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithResponse

func (c *ClientWithResponses) GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse, error)

GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithResponse request returning *GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse

func (*ClientWithResponses) GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithResponse

func (c *ClientWithResponses) GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse, error)

GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithResponse request returning *GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse

func (*ClientWithResponses) GetMessageTemplateFoldersMessageTemplateFolderIdWithResponse

func (c *ClientWithResponses) GetMessageTemplateFoldersMessageTemplateFolderIdWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*GetMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

GetMessageTemplateFoldersMessageTemplateFolderIdWithResponse request returning *GetMessageTemplateFoldersMessageTemplateFolderIdResponse

func (*ClientWithResponses) GetMessageTemplateFoldersWithResponse

func (c *ClientWithResponses) GetMessageTemplateFoldersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMessageTemplateFoldersResponse, error)

GetMessageTemplateFoldersWithResponse request returning *GetMessageTemplateFoldersResponse

func (*ClientWithResponses) GetMessageTemplatesMessageTemplateIdWithResponse

func (c *ClientWithResponses) GetMessageTemplatesMessageTemplateIdWithResponse(ctx context.Context, messageTemplateId string, reqEditors ...RequestEditorFn) (*GetMessageTemplatesMessageTemplateIdResponse, error)

GetMessageTemplatesMessageTemplateIdWithResponse request returning *GetMessageTemplatesMessageTemplateIdResponse

func (*ClientWithResponses) GetMessageTemplatesWithResponse

func (c *ClientWithResponses) GetMessageTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMessageTemplatesResponse, error)

GetMessageTemplatesWithResponse request returning *GetMessageTemplatesResponse

func (*ClientWithResponses) GetMessagesMessageIdWithResponse

func (c *ClientWithResponses) GetMessagesMessageIdWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*GetMessagesMessageIdResponse, error)

GetMessagesMessageIdWithResponse request returning *GetMessagesMessageIdResponse

func (*ClientWithResponses) GetRulesRuleIdWithResponse

func (c *ClientWithResponses) GetRulesRuleIdWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*GetRulesRuleIdResponse, error)

GetRulesRuleIdWithResponse request returning *GetRulesRuleIdResponse

func (*ClientWithResponses) GetRulesWithResponse

func (c *ClientWithResponses) GetRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRulesResponse, error)

GetRulesWithResponse request returning *GetRulesResponse

func (*ClientWithResponses) GetShiftShiftIdTeammatesWithResponse

func (c *ClientWithResponses) GetShiftShiftIdTeammatesWithResponse(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*GetShiftShiftIdTeammatesResponse, error)

GetShiftShiftIdTeammatesWithResponse request returning *GetShiftShiftIdTeammatesResponse

func (*ClientWithResponses) GetShiftShiftIdWithResponse

func (c *ClientWithResponses) GetShiftShiftIdWithResponse(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*GetShiftShiftIdResponse, error)

GetShiftShiftIdWithResponse request returning *GetShiftShiftIdResponse

func (*ClientWithResponses) GetTagsTagIdChildrenWithResponse

func (c *ClientWithResponses) GetTagsTagIdChildrenWithResponse(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*GetTagsTagIdChildrenResponse, error)

GetTagsTagIdChildrenWithResponse request returning *GetTagsTagIdChildrenResponse

func (*ClientWithResponses) GetTagsTagIdConversationsWithResponse

func (c *ClientWithResponses) GetTagsTagIdConversationsWithResponse(ctx context.Context, tagId string, params *GetTagsTagIdConversationsParams, reqEditors ...RequestEditorFn) (*GetTagsTagIdConversationsResponse, error)

GetTagsTagIdConversationsWithResponse request returning *GetTagsTagIdConversationsResponse

func (*ClientWithResponses) GetTagsTagIdWithResponse

func (c *ClientWithResponses) GetTagsTagIdWithResponse(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*GetTagsTagIdResponse, error)

GetTagsTagIdWithResponse request returning *GetTagsTagIdResponse

func (*ClientWithResponses) GetTagsWithResponse

func (c *ClientWithResponses) GetTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTagsResponse, error)

GetTagsWithResponse request returning *GetTagsResponse

func (*ClientWithResponses) GetTeamTeamIdRulesWithResponse

func (c *ClientWithResponses) GetTeamTeamIdRulesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamTeamIdRulesResponse, error)

GetTeamTeamIdRulesWithResponse request returning *GetTeamTeamIdRulesResponse

func (*ClientWithResponses) GetTeammatesTeammateIdChannelsWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdChannelsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdChannelsResponse, error)

GetTeammatesTeammateIdChannelsWithResponse request returning *GetTeammatesTeammateIdChannelsResponse

func (*ClientWithResponses) GetTeammatesTeammateIdContactGroupsWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdContactGroupsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdContactGroupsResponse, error)

GetTeammatesTeammateIdContactGroupsWithResponse request returning *GetTeammatesTeammateIdContactGroupsResponse

func (*ClientWithResponses) GetTeammatesTeammateIdContactsWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdContactsWithResponse(ctx context.Context, teammateId string, params *GetTeammatesTeammateIdContactsParams, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdContactsResponse, error)

GetTeammatesTeammateIdContactsWithResponse request returning *GetTeammatesTeammateIdContactsResponse

func (*ClientWithResponses) GetTeammatesTeammateIdConversationsWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdConversationsWithResponse(ctx context.Context, teammateId string, params *GetTeammatesTeammateIdConversationsParams, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdConversationsResponse, error)

GetTeammatesTeammateIdConversationsWithResponse request returning *GetTeammatesTeammateIdConversationsResponse

func (*ClientWithResponses) GetTeammatesTeammateIdInboxesWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdInboxesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdInboxesResponse, error)

GetTeammatesTeammateIdInboxesWithResponse request returning *GetTeammatesTeammateIdInboxesResponse

func (*ClientWithResponses) GetTeammatesTeammateIdMessageTemplateFoldersWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdMessageTemplateFoldersWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdMessageTemplateFoldersResponse, error)

GetTeammatesTeammateIdMessageTemplateFoldersWithResponse request returning *GetTeammatesTeammateIdMessageTemplateFoldersResponse

func (*ClientWithResponses) GetTeammatesTeammateIdMessageTemplatesWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdMessageTemplatesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdMessageTemplatesResponse, error)

GetTeammatesTeammateIdMessageTemplatesWithResponse request returning *GetTeammatesTeammateIdMessageTemplatesResponse

func (*ClientWithResponses) GetTeammatesTeammateIdRulesWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdRulesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdRulesResponse, error)

GetTeammatesTeammateIdRulesWithResponse request returning *GetTeammatesTeammateIdRulesResponse

func (*ClientWithResponses) GetTeammatesTeammateIdShiftsWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdShiftsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdShiftsResponse, error)

GetTeammatesTeammateIdShiftsWithResponse request returning *GetTeammatesTeammateIdShiftsResponse

func (*ClientWithResponses) GetTeammatesTeammateIdTagsWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdTagsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdTagsResponse, error)

GetTeammatesTeammateIdTagsWithResponse request returning *GetTeammatesTeammateIdTagsResponse

func (*ClientWithResponses) GetTeammatesTeammateIdWithResponse

func (c *ClientWithResponses) GetTeammatesTeammateIdWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdResponse, error)

GetTeammatesTeammateIdWithResponse request returning *GetTeammatesTeammateIdResponse

func (*ClientWithResponses) GetTeammatesWithResponse

func (c *ClientWithResponses) GetTeammatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTeammatesResponse, error)

GetTeammatesWithResponse request returning *GetTeammatesResponse

func (*ClientWithResponses) GetTeamsTeamIdAnalyticsWithResponse

func (c *ClientWithResponses) GetTeamsTeamIdAnalyticsWithResponse(ctx context.Context, teamId string, params *GetTeamsTeamIdAnalyticsParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdAnalyticsResponse, error)

GetTeamsTeamIdAnalyticsWithResponse request returning *GetTeamsTeamIdAnalyticsResponse

func (*ClientWithResponses) GetTeamsTeamIdChannelsWithResponse

func (c *ClientWithResponses) GetTeamsTeamIdChannelsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdChannelsResponse, error)

GetTeamsTeamIdChannelsWithResponse request returning *GetTeamsTeamIdChannelsResponse

func (*ClientWithResponses) GetTeamsTeamIdContactGroupsWithResponse

func (c *ClientWithResponses) GetTeamsTeamIdContactGroupsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdContactGroupsResponse, error)

GetTeamsTeamIdContactGroupsWithResponse request returning *GetTeamsTeamIdContactGroupsResponse

func (*ClientWithResponses) GetTeamsTeamIdContactsWithResponse

func (c *ClientWithResponses) GetTeamsTeamIdContactsWithResponse(ctx context.Context, teamId string, params *GetTeamsTeamIdContactsParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdContactsResponse, error)

GetTeamsTeamIdContactsWithResponse request returning *GetTeamsTeamIdContactsResponse

func (*ClientWithResponses) GetTeamsTeamIdInboxesWithResponse

func (c *ClientWithResponses) GetTeamsTeamIdInboxesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdInboxesResponse, error)

GetTeamsTeamIdInboxesWithResponse request returning *GetTeamsTeamIdInboxesResponse

func (*ClientWithResponses) GetTeamsTeamIdMessageTemplateFoldersWithResponse

func (c *ClientWithResponses) GetTeamsTeamIdMessageTemplateFoldersWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdMessageTemplateFoldersResponse, error)

GetTeamsTeamIdMessageTemplateFoldersWithResponse request returning *GetTeamsTeamIdMessageTemplateFoldersResponse

func (*ClientWithResponses) GetTeamsTeamIdMessageTemplatesWithResponse

func (c *ClientWithResponses) GetTeamsTeamIdMessageTemplatesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdMessageTemplatesResponse, error)

GetTeamsTeamIdMessageTemplatesWithResponse request returning *GetTeamsTeamIdMessageTemplatesResponse

func (*ClientWithResponses) GetTeamsTeamIdShiftsWithResponse

func (c *ClientWithResponses) GetTeamsTeamIdShiftsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdShiftsResponse, error)

GetTeamsTeamIdShiftsWithResponse request returning *GetTeamsTeamIdShiftsResponse

func (*ClientWithResponses) GetTeamsTeamIdTagsWithResponse

func (c *ClientWithResponses) GetTeamsTeamIdTagsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdTagsResponse, error)

GetTeamsTeamIdTagsWithResponse request returning *GetTeamsTeamIdTagsResponse

func (*ClientWithResponses) GetTeamsTeamIdWithResponse

func (c *ClientWithResponses) GetTeamsTeamIdWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdResponse, error)

GetTeamsTeamIdWithResponse request returning *GetTeamsTeamIdResponse

func (*ClientWithResponses) GetTeamsWithResponse

func (c *ClientWithResponses) GetTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)

GetTeamsWithResponse request returning *GetTeamsResponse

func (*ClientWithResponses) ImportInboxMessageWithBodyWithResponse

func (c *ClientWithResponses) ImportInboxMessageWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportInboxMessageResponse, error)

ImportInboxMessageWithBodyWithResponse request with arbitrary body returning *ImportInboxMessageResponse

func (*ClientWithResponses) ImportInboxMessageWithResponse

func (c *ClientWithResponses) ImportInboxMessageWithResponse(ctx context.Context, inboxId string, body ImportInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportInboxMessageResponse, error)

func (*ClientWithResponses) ListContactCustomFieldsWithResponse

func (c *ClientWithResponses) ListContactCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContactCustomFieldsResponse, error)

ListContactCustomFieldsWithResponse request returning *ListContactCustomFieldsResponse

func (*ClientWithResponses) ListConversationsWithResponse

func (c *ClientWithResponses) ListConversationsWithResponse(ctx context.Context, params *ListConversationsParams, reqEditors ...RequestEditorFn) (*ListConversationsResponse, error)

ListConversationsWithResponse request returning *ListConversationsResponse

func (*ClientWithResponses) ListCustomFieldsWithResponse

func (c *ClientWithResponses) ListCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCustomFieldsResponse, error)

ListCustomFieldsWithResponse request returning *ListCustomFieldsResponse

func (*ClientWithResponses) ListLinkConversationsWithResponse

func (c *ClientWithResponses) ListLinkConversationsWithResponse(ctx context.Context, linkId string, params *ListLinkConversationsParams, reqEditors ...RequestEditorFn) (*ListLinkConversationsResponse, error)

ListLinkConversationsWithResponse request returning *ListLinkConversationsResponse

func (*ClientWithResponses) ListShiftsWithResponse

func (c *ClientWithResponses) ListShiftsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListShiftsResponse, error)

ListShiftsWithResponse request returning *ListShiftsResponse

func (*ClientWithResponses) PatchAccountsAccountIdWithBodyWithResponse

func (c *ClientWithResponses) PatchAccountsAccountIdWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAccountsAccountIdResponse, error)

PatchAccountsAccountIdWithBodyWithResponse request with arbitrary body returning *PatchAccountsAccountIdResponse

func (*ClientWithResponses) PatchAccountsAccountIdWithResponse

func (c *ClientWithResponses) PatchAccountsAccountIdWithResponse(ctx context.Context, accountId string, body PatchAccountsAccountIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAccountsAccountIdResponse, error)

func (*ClientWithResponses) PatchChannelsChannelIdWithBodyWithResponse

func (c *ClientWithResponses) PatchChannelsChannelIdWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdResponse, error)

PatchChannelsChannelIdWithBodyWithResponse request with arbitrary body returning *PatchChannelsChannelIdResponse

func (*ClientWithResponses) PatchChannelsChannelIdWithResponse

func (c *ClientWithResponses) PatchChannelsChannelIdWithResponse(ctx context.Context, channelId string, body PatchChannelsChannelIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdResponse, error)

func (*ClientWithResponses) PatchContactsContactIdWithBodyWithResponse

func (c *ClientWithResponses) PatchContactsContactIdWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchContactsContactIdResponse, error)

PatchContactsContactIdWithBodyWithResponse request with arbitrary body returning *PatchContactsContactIdResponse

func (*ClientWithResponses) PatchContactsContactIdWithResponse

func (c *ClientWithResponses) PatchContactsContactIdWithResponse(ctx context.Context, contactId string, body PatchContactsContactIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchContactsContactIdResponse, error)

func (*ClientWithResponses) PatchConversationsConversationIdRemindersWithBodyWithResponse

func (c *ClientWithResponses) PatchConversationsConversationIdRemindersWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchConversationsConversationIdRemindersResponse, error)

PatchConversationsConversationIdRemindersWithBodyWithResponse request with arbitrary body returning *PatchConversationsConversationIdRemindersResponse

func (*ClientWithResponses) PatchConversationsConversationIdRemindersWithResponse

func (c *ClientWithResponses) PatchConversationsConversationIdRemindersWithResponse(ctx context.Context, conversationId string, body PatchConversationsConversationIdRemindersJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchConversationsConversationIdRemindersResponse, error)

func (*ClientWithResponses) PatchConversationsConversationIdWithBodyWithResponse

func (c *ClientWithResponses) PatchConversationsConversationIdWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchConversationsConversationIdResponse, error)

PatchConversationsConversationIdWithBodyWithResponse request with arbitrary body returning *PatchConversationsConversationIdResponse

func (*ClientWithResponses) PatchConversationsConversationIdWithResponse

func (c *ClientWithResponses) PatchConversationsConversationIdWithResponse(ctx context.Context, conversationId string, body PatchConversationsConversationIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchConversationsConversationIdResponse, error)

func (*ClientWithResponses) PatchCustomFieldsCustomFieldIdWithBodyWithResponse

func (c *ClientWithResponses) PatchCustomFieldsCustomFieldIdWithBodyWithResponse(ctx context.Context, customFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCustomFieldsCustomFieldIdResponse, error)

PatchCustomFieldsCustomFieldIdWithBodyWithResponse request with arbitrary body returning *PatchCustomFieldsCustomFieldIdResponse

func (*ClientWithResponses) PatchCustomFieldsCustomFieldIdWithResponse

func (c *ClientWithResponses) PatchCustomFieldsCustomFieldIdWithResponse(ctx context.Context, customFieldId string, body PatchCustomFieldsCustomFieldIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCustomFieldsCustomFieldIdResponse, error)

func (*ClientWithResponses) PatchDraftsMessageIdWithBodyWithResponse

func (c *ClientWithResponses) PatchDraftsMessageIdWithBodyWithResponse(ctx context.Context, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDraftsMessageIdResponse, error)

PatchDraftsMessageIdWithBodyWithResponse request with arbitrary body returning *PatchDraftsMessageIdResponse

func (*ClientWithResponses) PatchDraftsMessageIdWithResponse

func (c *ClientWithResponses) PatchDraftsMessageIdWithResponse(ctx context.Context, messageId string, body PatchDraftsMessageIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDraftsMessageIdResponse, error)

func (*ClientWithResponses) PatchLinksLinkIdWithBodyWithResponse

func (c *ClientWithResponses) PatchLinksLinkIdWithBodyWithResponse(ctx context.Context, linkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLinksLinkIdResponse, error)

PatchLinksLinkIdWithBodyWithResponse request with arbitrary body returning *PatchLinksLinkIdResponse

func (*ClientWithResponses) PatchLinksLinkIdWithResponse

func (c *ClientWithResponses) PatchLinksLinkIdWithResponse(ctx context.Context, linkId string, body PatchLinksLinkIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLinksLinkIdResponse, error)

func (*ClientWithResponses) PatchMessageTemplateFoldersMessageTemplateFolderIdWithBodyWithResponse

func (c *ClientWithResponses) PatchMessageTemplateFoldersMessageTemplateFolderIdWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

PatchMessageTemplateFoldersMessageTemplateFolderIdWithBodyWithResponse request with arbitrary body returning *PatchMessageTemplateFoldersMessageTemplateFolderIdResponse

func (*ClientWithResponses) PatchMessageTemplateFoldersMessageTemplateFolderIdWithResponse

func (c *ClientWithResponses) PatchMessageTemplateFoldersMessageTemplateFolderIdWithResponse(ctx context.Context, messageTemplateFolderId string, body PatchMessageTemplateFoldersMessageTemplateFolderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

func (*ClientWithResponses) PatchMessageTemplatesMessageTemplateIdWithBodyWithResponse

func (c *ClientWithResponses) PatchMessageTemplatesMessageTemplateIdWithBodyWithResponse(ctx context.Context, messageTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchMessageTemplatesMessageTemplateIdResponse, error)

PatchMessageTemplatesMessageTemplateIdWithBodyWithResponse request with arbitrary body returning *PatchMessageTemplatesMessageTemplateIdResponse

func (*ClientWithResponses) PatchMessageTemplatesMessageTemplateIdWithResponse

func (c *ClientWithResponses) PatchMessageTemplatesMessageTemplateIdWithResponse(ctx context.Context, messageTemplateId string, body PatchMessageTemplatesMessageTemplateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchMessageTemplatesMessageTemplateIdResponse, error)

func (*ClientWithResponses) PatchShiftsShiftIdWithBodyWithResponse

func (c *ClientWithResponses) PatchShiftsShiftIdWithBodyWithResponse(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchShiftsShiftIdResponse, error)

PatchShiftsShiftIdWithBodyWithResponse request with arbitrary body returning *PatchShiftsShiftIdResponse

func (*ClientWithResponses) PatchShiftsShiftIdWithResponse

func (c *ClientWithResponses) PatchShiftsShiftIdWithResponse(ctx context.Context, shiftId string, body PatchShiftsShiftIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchShiftsShiftIdResponse, error)

func (*ClientWithResponses) PatchTagsTagIdWithBodyWithResponse

func (c *ClientWithResponses) PatchTagsTagIdWithBodyWithResponse(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTagsTagIdResponse, error)

PatchTagsTagIdWithBodyWithResponse request with arbitrary body returning *PatchTagsTagIdResponse

func (*ClientWithResponses) PatchTagsTagIdWithResponse

func (c *ClientWithResponses) PatchTagsTagIdWithResponse(ctx context.Context, tagId string, body PatchTagsTagIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTagsTagIdResponse, error)

func (*ClientWithResponses) PatchTeammatesTeammateIdWithBodyWithResponse

func (c *ClientWithResponses) PatchTeammatesTeammateIdWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTeammatesTeammateIdResponse, error)

PatchTeammatesTeammateIdWithBodyWithResponse request with arbitrary body returning *PatchTeammatesTeammateIdResponse

func (*ClientWithResponses) PatchTeammatesTeammateIdWithResponse

func (c *ClientWithResponses) PatchTeammatesTeammateIdWithResponse(ctx context.Context, teammateId string, body PatchTeammatesTeammateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTeammatesTeammateIdResponse, error)

func (*ClientWithResponses) PostAccountsAccountIdContactsWithBodyWithResponse

func (c *ClientWithResponses) PostAccountsAccountIdContactsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAccountsAccountIdContactsResponse, error)

PostAccountsAccountIdContactsWithBodyWithResponse request with arbitrary body returning *PostAccountsAccountIdContactsResponse

func (*ClientWithResponses) PostAccountsAccountIdContactsWithResponse

func (c *ClientWithResponses) PostAccountsAccountIdContactsWithResponse(ctx context.Context, accountId string, body PostAccountsAccountIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountsAccountIdContactsResponse, error)

func (*ClientWithResponses) PostAccountsWithBodyWithResponse

func (c *ClientWithResponses) PostAccountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAccountsResponse, error)

PostAccountsWithBodyWithResponse request with arbitrary body returning *PostAccountsResponse

func (*ClientWithResponses) PostAccountsWithResponse

func (c *ClientWithResponses) PostAccountsWithResponse(ctx context.Context, body PostAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountsResponse, error)

func (*ClientWithResponses) PostChannelsChannelIdDraftsWithBodyWithResponse

func (c *ClientWithResponses) PostChannelsChannelIdDraftsWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdDraftsResponse, error)

PostChannelsChannelIdDraftsWithBodyWithResponse request with arbitrary body returning *PostChannelsChannelIdDraftsResponse

func (*ClientWithResponses) PostChannelsChannelIdDraftsWithResponse

func (c *ClientWithResponses) PostChannelsChannelIdDraftsWithResponse(ctx context.Context, channelId string, body PostChannelsChannelIdDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdDraftsResponse, error)

func (*ClientWithResponses) PostChannelsChannelIdIncomingMessagesWithBodyWithResponse

func (c *ClientWithResponses) PostChannelsChannelIdIncomingMessagesWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdIncomingMessagesResponse, error)

PostChannelsChannelIdIncomingMessagesWithBodyWithResponse request with arbitrary body returning *PostChannelsChannelIdIncomingMessagesResponse

func (*ClientWithResponses) PostChannelsChannelIdIncomingMessagesWithResponse

func (c *ClientWithResponses) PostChannelsChannelIdIncomingMessagesWithResponse(ctx context.Context, channelId string, body PostChannelsChannelIdIncomingMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdIncomingMessagesResponse, error)

func (*ClientWithResponses) PostChannelsChannelIdMessagesWithBodyWithResponse

func (c *ClientWithResponses) PostChannelsChannelIdMessagesWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdMessagesResponse, error)

PostChannelsChannelIdMessagesWithBodyWithResponse request with arbitrary body returning *PostChannelsChannelIdMessagesResponse

func (*ClientWithResponses) PostChannelsChannelIdMessagesWithResponse

func (c *ClientWithResponses) PostChannelsChannelIdMessagesWithResponse(ctx context.Context, channelId string, body PostChannelsChannelIdMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdMessagesResponse, error)

func (*ClientWithResponses) PostChannelsChannelIdValidateWithResponse

func (c *ClientWithResponses) PostChannelsChannelIdValidateWithResponse(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdValidateResponse, error)

PostChannelsChannelIdValidateWithResponse request returning *PostChannelsChannelIdValidateResponse

func (*ClientWithResponses) PostContactGroupsContactGroupIdContactsWithBodyWithResponse

func (c *ClientWithResponses) PostContactGroupsContactGroupIdContactsWithBodyWithResponse(ctx context.Context, contactGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostContactGroupsContactGroupIdContactsResponse, error)

PostContactGroupsContactGroupIdContactsWithBodyWithResponse request with arbitrary body returning *PostContactGroupsContactGroupIdContactsResponse

func (*ClientWithResponses) PostContactGroupsContactGroupIdContactsWithResponse

func (c *ClientWithResponses) PostContactGroupsContactGroupIdContactsWithResponse(ctx context.Context, contactGroupId string, body PostContactGroupsContactGroupIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostContactGroupsContactGroupIdContactsResponse, error)

func (*ClientWithResponses) PostContactGroupsWithBodyWithResponse

func (c *ClientWithResponses) PostContactGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostContactGroupsResponse, error)

PostContactGroupsWithBodyWithResponse request with arbitrary body returning *PostContactGroupsResponse

func (*ClientWithResponses) PostContactGroupsWithResponse

func (c *ClientWithResponses) PostContactGroupsWithResponse(ctx context.Context, body PostContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostContactGroupsResponse, error)

func (*ClientWithResponses) PostContactsContactIdHandlesWithBodyWithResponse

func (c *ClientWithResponses) PostContactsContactIdHandlesWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostContactsContactIdHandlesResponse, error)

PostContactsContactIdHandlesWithBodyWithResponse request with arbitrary body returning *PostContactsContactIdHandlesResponse

func (*ClientWithResponses) PostContactsContactIdHandlesWithResponse

func (c *ClientWithResponses) PostContactsContactIdHandlesWithResponse(ctx context.Context, contactId string, body PostContactsContactIdHandlesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostContactsContactIdHandlesResponse, error)

func (*ClientWithResponses) PostContactsContactIdNotesWithBodyWithResponse

func (c *ClientWithResponses) PostContactsContactIdNotesWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostContactsContactIdNotesResponse, error)

PostContactsContactIdNotesWithBodyWithResponse request with arbitrary body returning *PostContactsContactIdNotesResponse

func (*ClientWithResponses) PostContactsContactIdNotesWithResponse

func (c *ClientWithResponses) PostContactsContactIdNotesWithResponse(ctx context.Context, contactId string, body PostContactsContactIdNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostContactsContactIdNotesResponse, error)

func (*ClientWithResponses) PostContactsWithBodyWithResponse

func (c *ClientWithResponses) PostContactsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostContactsResponse, error)

PostContactsWithBodyWithResponse request with arbitrary body returning *PostContactsResponse

func (*ClientWithResponses) PostContactsWithResponse

func (c *ClientWithResponses) PostContactsWithResponse(ctx context.Context, body PostContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostContactsResponse, error)

func (*ClientWithResponses) PostConversationsConversationIdCommentsWithBodyWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdCommentsWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdCommentsResponse, error)

PostConversationsConversationIdCommentsWithBodyWithResponse request with arbitrary body returning *PostConversationsConversationIdCommentsResponse

func (*ClientWithResponses) PostConversationsConversationIdCommentsWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdCommentsWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdCommentsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdCommentsResponse, error)

func (*ClientWithResponses) PostConversationsConversationIdDraftsWithBodyWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdDraftsWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdDraftsResponse, error)

PostConversationsConversationIdDraftsWithBodyWithResponse request with arbitrary body returning *PostConversationsConversationIdDraftsResponse

func (*ClientWithResponses) PostConversationsConversationIdDraftsWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdDraftsWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdDraftsResponse, error)

func (*ClientWithResponses) PostConversationsConversationIdFollowersWithBodyWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdFollowersWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdFollowersResponse, error)

PostConversationsConversationIdFollowersWithBodyWithResponse request with arbitrary body returning *PostConversationsConversationIdFollowersResponse

func (*ClientWithResponses) PostConversationsConversationIdFollowersWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdFollowersWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdFollowersResponse, error)

func (*ClientWithResponses) PostConversationsConversationIdLinksWithBodyWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdLinksWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdLinksResponse, error)

PostConversationsConversationIdLinksWithBodyWithResponse request with arbitrary body returning *PostConversationsConversationIdLinksResponse

func (*ClientWithResponses) PostConversationsConversationIdLinksWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdLinksWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdLinksResponse, error)

func (*ClientWithResponses) PostConversationsConversationIdMessagesWithBodyWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdMessagesWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdMessagesResponse, error)

PostConversationsConversationIdMessagesWithBodyWithResponse request with arbitrary body returning *PostConversationsConversationIdMessagesResponse

func (*ClientWithResponses) PostConversationsConversationIdMessagesWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdMessagesWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdMessagesResponse, error)

func (*ClientWithResponses) PostConversationsConversationIdTagsWithBodyWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdTagsWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdTagsResponse, error)

PostConversationsConversationIdTagsWithBodyWithResponse request with arbitrary body returning *PostConversationsConversationIdTagsResponse

func (*ClientWithResponses) PostConversationsConversationIdTagsWithResponse

func (c *ClientWithResponses) PostConversationsConversationIdTagsWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdTagsResponse, error)

func (*ClientWithResponses) PostInboxesInboxIdChannelsWithBodyWithResponse

func (c *ClientWithResponses) PostInboxesInboxIdChannelsWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInboxesInboxIdChannelsResponse, error)

PostInboxesInboxIdChannelsWithBodyWithResponse request with arbitrary body returning *PostInboxesInboxIdChannelsResponse

func (*ClientWithResponses) PostInboxesInboxIdChannelsWithResponse

func (c *ClientWithResponses) PostInboxesInboxIdChannelsWithResponse(ctx context.Context, inboxId string, body PostInboxesInboxIdChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInboxesInboxIdChannelsResponse, error)

func (*ClientWithResponses) PostInboxesInboxIdTeammatesWithBodyWithResponse

func (c *ClientWithResponses) PostInboxesInboxIdTeammatesWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInboxesInboxIdTeammatesResponse, error)

PostInboxesInboxIdTeammatesWithBodyWithResponse request with arbitrary body returning *PostInboxesInboxIdTeammatesResponse

func (*ClientWithResponses) PostInboxesInboxIdTeammatesWithResponse

func (c *ClientWithResponses) PostInboxesInboxIdTeammatesWithResponse(ctx context.Context, inboxId string, body PostInboxesInboxIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInboxesInboxIdTeammatesResponse, error)

func (*ClientWithResponses) PostInboxesWithBodyWithResponse

func (c *ClientWithResponses) PostInboxesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInboxesResponse, error)

PostInboxesWithBodyWithResponse request with arbitrary body returning *PostInboxesResponse

func (*ClientWithResponses) PostInboxesWithResponse

func (c *ClientWithResponses) PostInboxesWithResponse(ctx context.Context, body PostInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInboxesResponse, error)

func (*ClientWithResponses) PostLinksWithBodyWithResponse

func (c *ClientWithResponses) PostLinksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLinksResponse, error)

PostLinksWithBodyWithResponse request with arbitrary body returning *PostLinksResponse

func (*ClientWithResponses) PostLinksWithResponse

func (c *ClientWithResponses) PostLinksWithResponse(ctx context.Context, body PostLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLinksResponse, error)

func (*ClientWithResponses) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithBodyWithResponse

func (c *ClientWithResponses) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse, error)

PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithBodyWithResponse request with arbitrary body returning *PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse

func (*ClientWithResponses) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithBodyWithResponse

func (c *ClientWithResponses) PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse, error)

PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithBodyWithResponse request with arbitrary body returning *PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse

func (*ClientWithResponses) PostMessageTemplateFoldersWithBodyWithResponse

func (c *ClientWithResponses) PostMessageTemplateFoldersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMessageTemplateFoldersResponse, error)

PostMessageTemplateFoldersWithBodyWithResponse request with arbitrary body returning *PostMessageTemplateFoldersResponse

func (*ClientWithResponses) PostMessageTemplateFoldersWithResponse

func (c *ClientWithResponses) PostMessageTemplateFoldersWithResponse(ctx context.Context, body PostMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostMessageTemplateFoldersResponse, error)

func (*ClientWithResponses) PostMessageTemplatesWithBodyWithResponse

func (c *ClientWithResponses) PostMessageTemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMessageTemplatesResponse, error)

PostMessageTemplatesWithBodyWithResponse request with arbitrary body returning *PostMessageTemplatesResponse

func (*ClientWithResponses) PostMessageTemplatesWithResponse

func (c *ClientWithResponses) PostMessageTemplatesWithResponse(ctx context.Context, body PostMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostMessageTemplatesResponse, error)

func (*ClientWithResponses) PostShiftShiftIdTeammatesWithBodyWithResponse

func (c *ClientWithResponses) PostShiftShiftIdTeammatesWithBodyWithResponse(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostShiftShiftIdTeammatesResponse, error)

PostShiftShiftIdTeammatesWithBodyWithResponse request with arbitrary body returning *PostShiftShiftIdTeammatesResponse

func (*ClientWithResponses) PostShiftShiftIdTeammatesWithResponse

func (c *ClientWithResponses) PostShiftShiftIdTeammatesWithResponse(ctx context.Context, shiftId string, body PostShiftShiftIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostShiftShiftIdTeammatesResponse, error)

func (*ClientWithResponses) PostShiftsWithBodyWithResponse

func (c *ClientWithResponses) PostShiftsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostShiftsResponse, error)

PostShiftsWithBodyWithResponse request with arbitrary body returning *PostShiftsResponse

func (*ClientWithResponses) PostShiftsWithResponse

func (c *ClientWithResponses) PostShiftsWithResponse(ctx context.Context, body PostShiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostShiftsResponse, error)

func (*ClientWithResponses) PostTagsTagIdChildrenWithBodyWithResponse

func (c *ClientWithResponses) PostTagsTagIdChildrenWithBodyWithResponse(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTagsTagIdChildrenResponse, error)

PostTagsTagIdChildrenWithBodyWithResponse request with arbitrary body returning *PostTagsTagIdChildrenResponse

func (*ClientWithResponses) PostTagsTagIdChildrenWithResponse

func (c *ClientWithResponses) PostTagsTagIdChildrenWithResponse(ctx context.Context, tagId string, body PostTagsTagIdChildrenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTagsTagIdChildrenResponse, error)

func (*ClientWithResponses) PostTagsWithBodyWithResponse

func (c *ClientWithResponses) PostTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTagsResponse, error)

PostTagsWithBodyWithResponse request with arbitrary body returning *PostTagsResponse

func (*ClientWithResponses) PostTagsWithResponse

func (c *ClientWithResponses) PostTagsWithResponse(ctx context.Context, body PostTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTagsResponse, error)

func (*ClientWithResponses) PostTeammatesTeammateIdContactGroupsWithBodyWithResponse

func (c *ClientWithResponses) PostTeammatesTeammateIdContactGroupsWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdContactGroupsResponse, error)

PostTeammatesTeammateIdContactGroupsWithBodyWithResponse request with arbitrary body returning *PostTeammatesTeammateIdContactGroupsResponse

func (*ClientWithResponses) PostTeammatesTeammateIdContactGroupsWithResponse

func (c *ClientWithResponses) PostTeammatesTeammateIdContactGroupsWithResponse(ctx context.Context, teammateId string, body PostTeammatesTeammateIdContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdContactGroupsResponse, error)

func (*ClientWithResponses) PostTeammatesTeammateIdContactsWithBodyWithResponse

func (c *ClientWithResponses) PostTeammatesTeammateIdContactsWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdContactsResponse, error)

PostTeammatesTeammateIdContactsWithBodyWithResponse request with arbitrary body returning *PostTeammatesTeammateIdContactsResponse

func (*ClientWithResponses) PostTeammatesTeammateIdContactsWithResponse

func (c *ClientWithResponses) PostTeammatesTeammateIdContactsWithResponse(ctx context.Context, teammateId string, body PostTeammatesTeammateIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdContactsResponse, error)

func (*ClientWithResponses) PostTeammatesTeammateIdMessageTemplateFoldersWithBodyWithResponse

func (c *ClientWithResponses) PostTeammatesTeammateIdMessageTemplateFoldersWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdMessageTemplateFoldersResponse, error)

PostTeammatesTeammateIdMessageTemplateFoldersWithBodyWithResponse request with arbitrary body returning *PostTeammatesTeammateIdMessageTemplateFoldersResponse

func (*ClientWithResponses) PostTeammatesTeammateIdMessageTemplatesWithBodyWithResponse

func (c *ClientWithResponses) PostTeammatesTeammateIdMessageTemplatesWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdMessageTemplatesResponse, error)

PostTeammatesTeammateIdMessageTemplatesWithBodyWithResponse request with arbitrary body returning *PostTeammatesTeammateIdMessageTemplatesResponse

func (*ClientWithResponses) PostTeammatesTeammateIdMessageTemplatesWithResponse

func (c *ClientWithResponses) PostTeammatesTeammateIdMessageTemplatesWithResponse(ctx context.Context, teammateId string, body PostTeammatesTeammateIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdMessageTemplatesResponse, error)

func (*ClientWithResponses) PostTeammatesTeammateIdTagsWithBodyWithResponse

func (c *ClientWithResponses) PostTeammatesTeammateIdTagsWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdTagsResponse, error)

PostTeammatesTeammateIdTagsWithBodyWithResponse request with arbitrary body returning *PostTeammatesTeammateIdTagsResponse

func (*ClientWithResponses) PostTeammatesTeammateIdTagsWithResponse

func (c *ClientWithResponses) PostTeammatesTeammateIdTagsWithResponse(ctx context.Context, teammateId string, body PostTeammatesTeammateIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdTagsResponse, error)

func (*ClientWithResponses) PostTeamsTeamIdContactGroupsWithBodyWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdContactGroupsWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdContactGroupsResponse, error)

PostTeamsTeamIdContactGroupsWithBodyWithResponse request with arbitrary body returning *PostTeamsTeamIdContactGroupsResponse

func (*ClientWithResponses) PostTeamsTeamIdContactGroupsWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdContactGroupsWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdContactGroupsResponse, error)

func (*ClientWithResponses) PostTeamsTeamIdContactsWithBodyWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdContactsWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdContactsResponse, error)

PostTeamsTeamIdContactsWithBodyWithResponse request with arbitrary body returning *PostTeamsTeamIdContactsResponse

func (*ClientWithResponses) PostTeamsTeamIdContactsWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdContactsWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdContactsResponse, error)

func (*ClientWithResponses) PostTeamsTeamIdExportsWithBodyWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdExportsWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdExportsResponse, error)

PostTeamsTeamIdExportsWithBodyWithResponse request with arbitrary body returning *PostTeamsTeamIdExportsResponse

func (*ClientWithResponses) PostTeamsTeamIdExportsWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdExportsWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdExportsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdExportsResponse, error)

func (*ClientWithResponses) PostTeamsTeamIdInboxesWithBodyWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdInboxesWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdInboxesResponse, error)

PostTeamsTeamIdInboxesWithBodyWithResponse request with arbitrary body returning *PostTeamsTeamIdInboxesResponse

func (*ClientWithResponses) PostTeamsTeamIdInboxesWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdInboxesWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdInboxesResponse, error)

func (*ClientWithResponses) PostTeamsTeamIdMessageTemplateFoldersWithBodyWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdMessageTemplateFoldersWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdMessageTemplateFoldersResponse, error)

PostTeamsTeamIdMessageTemplateFoldersWithBodyWithResponse request with arbitrary body returning *PostTeamsTeamIdMessageTemplateFoldersResponse

func (*ClientWithResponses) PostTeamsTeamIdMessageTemplatesWithBodyWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdMessageTemplatesWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdMessageTemplatesResponse, error)

PostTeamsTeamIdMessageTemplatesWithBodyWithResponse request with arbitrary body returning *PostTeamsTeamIdMessageTemplatesResponse

func (*ClientWithResponses) PostTeamsTeamIdMessageTemplatesWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdMessageTemplatesWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdMessageTemplatesResponse, error)

func (*ClientWithResponses) PostTeamsTeamIdShiftsWithBodyWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdShiftsWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdShiftsResponse, error)

PostTeamsTeamIdShiftsWithBodyWithResponse request with arbitrary body returning *PostTeamsTeamIdShiftsResponse

func (*ClientWithResponses) PostTeamsTeamIdShiftsWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdShiftsWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdShiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdShiftsResponse, error)

func (*ClientWithResponses) PostTeamsTeamIdTagsWithBodyWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdTagsWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdTagsResponse, error)

PostTeamsTeamIdTagsWithBodyWithResponse request with arbitrary body returning *PostTeamsTeamIdTagsResponse

func (*ClientWithResponses) PostTeamsTeamIdTagsWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdTagsWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdTagsResponse, error)

func (*ClientWithResponses) PostTeamsTeamIdTeammatesWithBodyWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdTeammatesWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdTeammatesResponse, error)

PostTeamsTeamIdTeammatesWithBodyWithResponse request with arbitrary body returning *PostTeamsTeamIdTeammatesResponse

func (*ClientWithResponses) PostTeamsTeamIdTeammatesWithResponse

func (c *ClientWithResponses) PostTeamsTeamIdTeammatesWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdTeammatesResponse, error)

func (*ClientWithResponses) PutConversationsConversationIdAssigneeWithBodyWithResponse

func (c *ClientWithResponses) PutConversationsConversationIdAssigneeWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutConversationsConversationIdAssigneeResponse, error)

PutConversationsConversationIdAssigneeWithBodyWithResponse request with arbitrary body returning *PutConversationsConversationIdAssigneeResponse

func (*ClientWithResponses) PutConversationsConversationIdAssigneeWithResponse

func (c *ClientWithResponses) PutConversationsConversationIdAssigneeWithResponse(ctx context.Context, conversationId string, body PutConversationsConversationIdAssigneeJSONRequestBody, reqEditors ...RequestEditorFn) (*PutConversationsConversationIdAssigneeResponse, error)

func (*ClientWithResponses) SearchConversationsWithResponse

func (c *ClientWithResponses) SearchConversationsWithResponse(ctx context.Context, query string, params *SearchConversationsParams, reqEditors ...RequestEditorFn) (*SearchConversationsResponse, error)

SearchConversationsWithResponse request returning *SearchConversationsResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetAccounts request
	GetAccountsWithResponse(ctx context.Context, params *GetAccountsParams, reqEditors ...RequestEditorFn) (*GetAccountsResponse, error)

	// PostAccounts request with any body
	PostAccountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAccountsResponse, error)

	PostAccountsWithResponse(ctx context.Context, body PostAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountsResponse, error)

	// DeleteAccountsAccountId request
	DeleteAccountsAccountIdWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteAccountsAccountIdResponse, error)

	// GetAccountsAccountId request
	GetAccountsAccountIdWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetAccountsAccountIdResponse, error)

	// PatchAccountsAccountId request with any body
	PatchAccountsAccountIdWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAccountsAccountIdResponse, error)

	PatchAccountsAccountIdWithResponse(ctx context.Context, accountId string, body PatchAccountsAccountIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAccountsAccountIdResponse, error)

	// DeleteAccountsAccountIdContacts request with any body
	DeleteAccountsAccountIdContactsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAccountsAccountIdContactsResponse, error)

	DeleteAccountsAccountIdContactsWithResponse(ctx context.Context, accountId string, body DeleteAccountsAccountIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAccountsAccountIdContactsResponse, error)

	// GetAccountsAccountIdContacts request
	GetAccountsAccountIdContactsWithResponse(ctx context.Context, accountId string, params *GetAccountsAccountIdContactsParams, reqEditors ...RequestEditorFn) (*GetAccountsAccountIdContactsResponse, error)

	// PostAccountsAccountIdContacts request with any body
	PostAccountsAccountIdContactsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAccountsAccountIdContactsResponse, error)

	PostAccountsAccountIdContactsWithResponse(ctx context.Context, accountId string, body PostAccountsAccountIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountsAccountIdContactsResponse, error)

	// GetAnalytics request
	GetAnalyticsWithResponse(ctx context.Context, params *GetAnalyticsParams, reqEditors ...RequestEditorFn) (*GetAnalyticsResponse, error)

	// CreateAnalyticsExport request with any body
	CreateAnalyticsExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAnalyticsExportResponse, error)

	CreateAnalyticsExportWithResponse(ctx context.Context, body CreateAnalyticsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAnalyticsExportResponse, error)

	// GetAnalyticsExport request
	GetAnalyticsExportWithResponse(ctx context.Context, exportId string, reqEditors ...RequestEditorFn) (*GetAnalyticsExportResponse, error)

	// CreateAnalyticsReport request with any body
	CreateAnalyticsReportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAnalyticsReportResponse, error)

	CreateAnalyticsReportWithResponse(ctx context.Context, body CreateAnalyticsReportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAnalyticsReportResponse, error)

	// GetAnalyticsReport request
	GetAnalyticsReportWithResponse(ctx context.Context, reportUid string, reqEditors ...RequestEditorFn) (*GetAnalyticsReportResponse, error)

	// GetChannels request
	GetChannelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetChannelsResponse, error)

	// GetChannelsChannelId request
	GetChannelsChannelIdWithResponse(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdResponse, error)

	// PatchChannelsChannelId request with any body
	PatchChannelsChannelIdWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdResponse, error)

	PatchChannelsChannelIdWithResponse(ctx context.Context, channelId string, body PatchChannelsChannelIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdResponse, error)

	// PostChannelsChannelIdDrafts request with any body
	PostChannelsChannelIdDraftsWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdDraftsResponse, error)

	PostChannelsChannelIdDraftsWithResponse(ctx context.Context, channelId string, body PostChannelsChannelIdDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdDraftsResponse, error)

	// PostChannelsChannelIdIncomingMessages request with any body
	PostChannelsChannelIdIncomingMessagesWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdIncomingMessagesResponse, error)

	PostChannelsChannelIdIncomingMessagesWithResponse(ctx context.Context, channelId string, body PostChannelsChannelIdIncomingMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdIncomingMessagesResponse, error)

	// PostChannelsChannelIdMessages request with any body
	PostChannelsChannelIdMessagesWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdMessagesResponse, error)

	PostChannelsChannelIdMessagesWithResponse(ctx context.Context, channelId string, body PostChannelsChannelIdMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdMessagesResponse, error)

	// PostChannelsChannelIdValidate request
	PostChannelsChannelIdValidateWithResponse(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdValidateResponse, error)

	// GetCommentsCommentId request
	GetCommentsCommentIdWithResponse(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*GetCommentsCommentIdResponse, error)

	// GetCommentsCommentIdMentions request
	GetCommentsCommentIdMentionsWithResponse(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*GetCommentsCommentIdMentionsResponse, error)

	// GetContactGroups request
	GetContactGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetContactGroupsResponse, error)

	// PostContactGroups request with any body
	PostContactGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostContactGroupsResponse, error)

	PostContactGroupsWithResponse(ctx context.Context, body PostContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostContactGroupsResponse, error)

	// DeleteContactGroupsContactGroupId request
	DeleteContactGroupsContactGroupIdWithResponse(ctx context.Context, contactGroupId string, reqEditors ...RequestEditorFn) (*DeleteContactGroupsContactGroupIdResponse, error)

	// GetContactGroupsContactGroupIdContacts request
	GetContactGroupsContactGroupIdContactsWithResponse(ctx context.Context, contactGroupId string, params *GetContactGroupsContactGroupIdContactsParams, reqEditors ...RequestEditorFn) (*GetContactGroupsContactGroupIdContactsResponse, error)

	// PostContactGroupsContactGroupIdContacts request with any body
	PostContactGroupsContactGroupIdContactsWithBodyWithResponse(ctx context.Context, contactGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostContactGroupsContactGroupIdContactsResponse, error)

	PostContactGroupsContactGroupIdContactsWithResponse(ctx context.Context, contactGroupId string, body PostContactGroupsContactGroupIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostContactGroupsContactGroupIdContactsResponse, error)

	// GetContacts request
	GetContactsWithResponse(ctx context.Context, params *GetContactsParams, reqEditors ...RequestEditorFn) (*GetContactsResponse, error)

	// PostContacts request with any body
	PostContactsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostContactsResponse, error)

	PostContactsWithResponse(ctx context.Context, body PostContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostContactsResponse, error)

	// ListContactCustomFields request
	ListContactCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContactCustomFieldsResponse, error)

	// DeleteContactsContactId request
	DeleteContactsContactIdWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*DeleteContactsContactIdResponse, error)

	// GetContactsContactId request
	GetContactsContactIdWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactsContactIdResponse, error)

	// PatchContactsContactId request with any body
	PatchContactsContactIdWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchContactsContactIdResponse, error)

	PatchContactsContactIdWithResponse(ctx context.Context, contactId string, body PatchContactsContactIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchContactsContactIdResponse, error)

	// GetContactsContactIdConversations request
	GetContactsContactIdConversationsWithResponse(ctx context.Context, contactId string, params *GetContactsContactIdConversationsParams, reqEditors ...RequestEditorFn) (*GetContactsContactIdConversationsResponse, error)

	// DeleteContactsContactIdHandles request with any body
	DeleteContactsContactIdHandlesWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteContactsContactIdHandlesResponse, error)

	DeleteContactsContactIdHandlesWithResponse(ctx context.Context, contactId string, body DeleteContactsContactIdHandlesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteContactsContactIdHandlesResponse, error)

	// PostContactsContactIdHandles request with any body
	PostContactsContactIdHandlesWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostContactsContactIdHandlesResponse, error)

	PostContactsContactIdHandlesWithResponse(ctx context.Context, contactId string, body PostContactsContactIdHandlesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostContactsContactIdHandlesResponse, error)

	// GetContactsContactIdNotes request
	GetContactsContactIdNotesWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactsContactIdNotesResponse, error)

	// PostContactsContactIdNotes request with any body
	PostContactsContactIdNotesWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostContactsContactIdNotesResponse, error)

	PostContactsContactIdNotesWithResponse(ctx context.Context, contactId string, body PostContactsContactIdNotesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostContactsContactIdNotesResponse, error)

	// ListConversations request
	ListConversationsWithResponse(ctx context.Context, params *ListConversationsParams, reqEditors ...RequestEditorFn) (*ListConversationsResponse, error)

	// SearchConversations request
	SearchConversationsWithResponse(ctx context.Context, query string, params *SearchConversationsParams, reqEditors ...RequestEditorFn) (*SearchConversationsResponse, error)

	// GetConversationById request
	GetConversationByIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationByIdResponse, error)

	// PatchConversationsConversationId request with any body
	PatchConversationsConversationIdWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchConversationsConversationIdResponse, error)

	PatchConversationsConversationIdWithResponse(ctx context.Context, conversationId string, body PatchConversationsConversationIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchConversationsConversationIdResponse, error)

	// PutConversationsConversationIdAssignee request with any body
	PutConversationsConversationIdAssigneeWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutConversationsConversationIdAssigneeResponse, error)

	PutConversationsConversationIdAssigneeWithResponse(ctx context.Context, conversationId string, body PutConversationsConversationIdAssigneeJSONRequestBody, reqEditors ...RequestEditorFn) (*PutConversationsConversationIdAssigneeResponse, error)

	// GetConversationsConversationIdComments request
	GetConversationsConversationIdCommentsWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdCommentsResponse, error)

	// PostConversationsConversationIdComments request with any body
	PostConversationsConversationIdCommentsWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdCommentsResponse, error)

	PostConversationsConversationIdCommentsWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdCommentsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdCommentsResponse, error)

	// GetConversationsConversationIdDrafts request
	GetConversationsConversationIdDraftsWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdDraftsResponse, error)

	// PostConversationsConversationIdDrafts request with any body
	PostConversationsConversationIdDraftsWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdDraftsResponse, error)

	PostConversationsConversationIdDraftsWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdDraftsResponse, error)

	// GetConversationsConversationIdEvents request
	GetConversationsConversationIdEventsWithResponse(ctx context.Context, conversationId string, params *GetConversationsConversationIdEventsParams, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdEventsResponse, error)

	// DeleteConversationsConversationIdFollowers request with any body
	DeleteConversationsConversationIdFollowersWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdFollowersResponse, error)

	DeleteConversationsConversationIdFollowersWithResponse(ctx context.Context, conversationId string, body DeleteConversationsConversationIdFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdFollowersResponse, error)

	// GetConversationsConversationIdFollowers request
	GetConversationsConversationIdFollowersWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdFollowersResponse, error)

	// PostConversationsConversationIdFollowers request with any body
	PostConversationsConversationIdFollowersWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdFollowersResponse, error)

	PostConversationsConversationIdFollowersWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdFollowersResponse, error)

	// GetConversationsConversationIdInboxes request
	GetConversationsConversationIdInboxesWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdInboxesResponse, error)

	// DeleteConversationsConversationIdLinks request with any body
	DeleteConversationsConversationIdLinksWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdLinksResponse, error)

	DeleteConversationsConversationIdLinksWithResponse(ctx context.Context, conversationId string, body DeleteConversationsConversationIdLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdLinksResponse, error)

	// PostConversationsConversationIdLinks request with any body
	PostConversationsConversationIdLinksWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdLinksResponse, error)

	PostConversationsConversationIdLinksWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdLinksResponse, error)

	// GetConversationsConversationIdMessages request
	GetConversationsConversationIdMessagesWithResponse(ctx context.Context, conversationId string, params *GetConversationsConversationIdMessagesParams, reqEditors ...RequestEditorFn) (*GetConversationsConversationIdMessagesResponse, error)

	// PostConversationsConversationIdMessages request with any body
	PostConversationsConversationIdMessagesWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdMessagesResponse, error)

	PostConversationsConversationIdMessagesWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdMessagesResponse, error)

	// PatchConversationsConversationIdReminders request with any body
	PatchConversationsConversationIdRemindersWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchConversationsConversationIdRemindersResponse, error)

	PatchConversationsConversationIdRemindersWithResponse(ctx context.Context, conversationId string, body PatchConversationsConversationIdRemindersJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchConversationsConversationIdRemindersResponse, error)

	// DeleteConversationsConversationIdTags request with any body
	DeleteConversationsConversationIdTagsWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdTagsResponse, error)

	DeleteConversationsConversationIdTagsWithResponse(ctx context.Context, conversationId string, body DeleteConversationsConversationIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteConversationsConversationIdTagsResponse, error)

	// PostConversationsConversationIdTags request with any body
	PostConversationsConversationIdTagsWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdTagsResponse, error)

	PostConversationsConversationIdTagsWithResponse(ctx context.Context, conversationId string, body PostConversationsConversationIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostConversationsConversationIdTagsResponse, error)

	// ListCustomFields request
	ListCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCustomFieldsResponse, error)

	// PatchCustomFieldsCustomFieldId request with any body
	PatchCustomFieldsCustomFieldIdWithBodyWithResponse(ctx context.Context, customFieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCustomFieldsCustomFieldIdResponse, error)

	PatchCustomFieldsCustomFieldIdWithResponse(ctx context.Context, customFieldId string, body PatchCustomFieldsCustomFieldIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCustomFieldsCustomFieldIdResponse, error)

	// GetDownloadAttachmentLinkId request
	GetDownloadAttachmentLinkIdWithResponse(ctx context.Context, attachmentLinkId string, reqEditors ...RequestEditorFn) (*GetDownloadAttachmentLinkIdResponse, error)

	// DeleteDraftsDraftId request with any body
	DeleteDraftsDraftIdWithBodyWithResponse(ctx context.Context, draftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDraftsDraftIdResponse, error)

	DeleteDraftsDraftIdWithResponse(ctx context.Context, draftId string, body DeleteDraftsDraftIdJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDraftsDraftIdResponse, error)

	// PatchDraftsMessageId request with any body
	PatchDraftsMessageIdWithBodyWithResponse(ctx context.Context, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDraftsMessageIdResponse, error)

	PatchDraftsMessageIdWithResponse(ctx context.Context, messageId string, body PatchDraftsMessageIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDraftsMessageIdResponse, error)

	// GetEvents request
	GetEventsWithResponse(ctx context.Context, params *GetEventsParams, reqEditors ...RequestEditorFn) (*GetEventsResponse, error)

	// GetEventsEventId request
	GetEventsEventIdWithResponse(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*GetEventsEventIdResponse, error)

	// GetExports request
	GetExportsWithResponse(ctx context.Context, params *GetExportsParams, reqEditors ...RequestEditorFn) (*GetExportsResponse, error)

	// CreateExport request with any body
	CreateExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateExportResponse, error)

	CreateExportWithResponse(ctx context.Context, body CreateExportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateExportResponse, error)

	// GetExportsExportId request
	GetExportsExportIdWithResponse(ctx context.Context, exportId string, reqEditors ...RequestEditorFn) (*GetExportsExportIdResponse, error)

	// GetInboxes request
	GetInboxesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInboxesResponse, error)

	// PostInboxes request with any body
	PostInboxesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInboxesResponse, error)

	PostInboxesWithResponse(ctx context.Context, body PostInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInboxesResponse, error)

	// GetInboxesInboxId request
	GetInboxesInboxIdWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*GetInboxesInboxIdResponse, error)

	// GetInboxesInboxIdChannels request
	GetInboxesInboxIdChannelsWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*GetInboxesInboxIdChannelsResponse, error)

	// PostInboxesInboxIdChannels request with any body
	PostInboxesInboxIdChannelsWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInboxesInboxIdChannelsResponse, error)

	PostInboxesInboxIdChannelsWithResponse(ctx context.Context, inboxId string, body PostInboxesInboxIdChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInboxesInboxIdChannelsResponse, error)

	// GetInboxesInboxIdConversations request
	GetInboxesInboxIdConversationsWithResponse(ctx context.Context, inboxId string, params *GetInboxesInboxIdConversationsParams, reqEditors ...RequestEditorFn) (*GetInboxesInboxIdConversationsResponse, error)

	// ImportInboxMessage request with any body
	ImportInboxMessageWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportInboxMessageResponse, error)

	ImportInboxMessageWithResponse(ctx context.Context, inboxId string, body ImportInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportInboxMessageResponse, error)

	// DeleteInboxesInboxIdTeammates request with any body
	DeleteInboxesInboxIdTeammatesWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteInboxesInboxIdTeammatesResponse, error)

	DeleteInboxesInboxIdTeammatesWithResponse(ctx context.Context, inboxId string, body DeleteInboxesInboxIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteInboxesInboxIdTeammatesResponse, error)

	// GetInboxesInboxIdTeammates request
	GetInboxesInboxIdTeammatesWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*GetInboxesInboxIdTeammatesResponse, error)

	// PostInboxesInboxIdTeammates request with any body
	PostInboxesInboxIdTeammatesWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInboxesInboxIdTeammatesResponse, error)

	PostInboxesInboxIdTeammatesWithResponse(ctx context.Context, inboxId string, body PostInboxesInboxIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInboxesInboxIdTeammatesResponse, error)

	// GetLinks request
	GetLinksWithResponse(ctx context.Context, params *GetLinksParams, reqEditors ...RequestEditorFn) (*GetLinksResponse, error)

	// PostLinks request with any body
	PostLinksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLinksResponse, error)

	PostLinksWithResponse(ctx context.Context, body PostLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLinksResponse, error)

	// GetLinksLinkId request
	GetLinksLinkIdWithResponse(ctx context.Context, linkId string, reqEditors ...RequestEditorFn) (*GetLinksLinkIdResponse, error)

	// PatchLinksLinkId request with any body
	PatchLinksLinkIdWithBodyWithResponse(ctx context.Context, linkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchLinksLinkIdResponse, error)

	PatchLinksLinkIdWithResponse(ctx context.Context, linkId string, body PatchLinksLinkIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchLinksLinkIdResponse, error)

	// ListLinkConversations request
	ListLinkConversationsWithResponse(ctx context.Context, linkId string, params *ListLinkConversationsParams, reqEditors ...RequestEditorFn) (*ListLinkConversationsResponse, error)

	// GetMe request
	GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)

	// GetMessageTemplateFolders request
	GetMessageTemplateFoldersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMessageTemplateFoldersResponse, error)

	// PostMessageTemplateFolders request with any body
	PostMessageTemplateFoldersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMessageTemplateFoldersResponse, error)

	PostMessageTemplateFoldersWithResponse(ctx context.Context, body PostMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostMessageTemplateFoldersResponse, error)

	// DeleteMessageTemplateFoldersMessageTemplateFolderId request
	DeleteMessageTemplateFoldersMessageTemplateFolderIdWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*DeleteMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

	// GetMessageTemplateFoldersMessageTemplateFolderId request
	GetMessageTemplateFoldersMessageTemplateFolderIdWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*GetMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

	// PatchMessageTemplateFoldersMessageTemplateFolderId request with any body
	PatchMessageTemplateFoldersMessageTemplateFolderIdWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

	PatchMessageTemplateFoldersMessageTemplateFolderIdWithResponse(ctx context.Context, messageTemplateFolderId string, body PatchMessageTemplateFoldersMessageTemplateFolderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

	// GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders request
	GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse, error)

	// PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders request with any body
	PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse, error)

	PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithResponse(ctx context.Context, messageTemplateFolderId string, body PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse, error)

	// GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates request
	GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse, error)

	// PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates request with any body
	PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse, error)

	PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithResponse(ctx context.Context, messageTemplateFolderId string, body PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse, error)

	// GetMessageTemplates request
	GetMessageTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMessageTemplatesResponse, error)

	// PostMessageTemplates request with any body
	PostMessageTemplatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMessageTemplatesResponse, error)

	PostMessageTemplatesWithResponse(ctx context.Context, body PostMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostMessageTemplatesResponse, error)

	// DeleteMessageTemplatesMessageTemplateId request
	DeleteMessageTemplatesMessageTemplateIdWithResponse(ctx context.Context, messageTemplateId string, reqEditors ...RequestEditorFn) (*DeleteMessageTemplatesMessageTemplateIdResponse, error)

	// GetMessageTemplatesMessageTemplateId request
	GetMessageTemplatesMessageTemplateIdWithResponse(ctx context.Context, messageTemplateId string, reqEditors ...RequestEditorFn) (*GetMessageTemplatesMessageTemplateIdResponse, error)

	// PatchMessageTemplatesMessageTemplateId request with any body
	PatchMessageTemplatesMessageTemplateIdWithBodyWithResponse(ctx context.Context, messageTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchMessageTemplatesMessageTemplateIdResponse, error)

	PatchMessageTemplatesMessageTemplateIdWithResponse(ctx context.Context, messageTemplateId string, body PatchMessageTemplatesMessageTemplateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchMessageTemplatesMessageTemplateIdResponse, error)

	// GetMessagesMessageId request
	GetMessagesMessageIdWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*GetMessagesMessageIdResponse, error)

	// GetRules request
	GetRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRulesResponse, error)

	// GetRulesRuleId request
	GetRulesRuleIdWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*GetRulesRuleIdResponse, error)

	// GetShiftShiftId request
	GetShiftShiftIdWithResponse(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*GetShiftShiftIdResponse, error)

	// DeleteShiftShiftIdTeammates request with any body
	DeleteShiftShiftIdTeammatesWithBodyWithResponse(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteShiftShiftIdTeammatesResponse, error)

	DeleteShiftShiftIdTeammatesWithResponse(ctx context.Context, shiftId string, body DeleteShiftShiftIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteShiftShiftIdTeammatesResponse, error)

	// GetShiftShiftIdTeammates request
	GetShiftShiftIdTeammatesWithResponse(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*GetShiftShiftIdTeammatesResponse, error)

	// PostShiftShiftIdTeammates request with any body
	PostShiftShiftIdTeammatesWithBodyWithResponse(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostShiftShiftIdTeammatesResponse, error)

	PostShiftShiftIdTeammatesWithResponse(ctx context.Context, shiftId string, body PostShiftShiftIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostShiftShiftIdTeammatesResponse, error)

	// ListShifts request
	ListShiftsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListShiftsResponse, error)

	// PostShifts request with any body
	PostShiftsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostShiftsResponse, error)

	PostShiftsWithResponse(ctx context.Context, body PostShiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostShiftsResponse, error)

	// PatchShiftsShiftId request with any body
	PatchShiftsShiftIdWithBodyWithResponse(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchShiftsShiftIdResponse, error)

	PatchShiftsShiftIdWithResponse(ctx context.Context, shiftId string, body PatchShiftsShiftIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchShiftsShiftIdResponse, error)

	// GetTags request
	GetTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTagsResponse, error)

	// PostTags request with any body
	PostTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTagsResponse, error)

	PostTagsWithResponse(ctx context.Context, body PostTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTagsResponse, error)

	// DeleteTagsTagId request
	DeleteTagsTagIdWithResponse(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*DeleteTagsTagIdResponse, error)

	// GetTagsTagId request
	GetTagsTagIdWithResponse(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*GetTagsTagIdResponse, error)

	// PatchTagsTagId request with any body
	PatchTagsTagIdWithBodyWithResponse(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTagsTagIdResponse, error)

	PatchTagsTagIdWithResponse(ctx context.Context, tagId string, body PatchTagsTagIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTagsTagIdResponse, error)

	// GetTagsTagIdChildren request
	GetTagsTagIdChildrenWithResponse(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*GetTagsTagIdChildrenResponse, error)

	// PostTagsTagIdChildren request with any body
	PostTagsTagIdChildrenWithBodyWithResponse(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTagsTagIdChildrenResponse, error)

	PostTagsTagIdChildrenWithResponse(ctx context.Context, tagId string, body PostTagsTagIdChildrenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTagsTagIdChildrenResponse, error)

	// GetTagsTagIdConversations request
	GetTagsTagIdConversationsWithResponse(ctx context.Context, tagId string, params *GetTagsTagIdConversationsParams, reqEditors ...RequestEditorFn) (*GetTagsTagIdConversationsResponse, error)

	// GetTeamTeamIdRules request
	GetTeamTeamIdRulesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamTeamIdRulesResponse, error)

	// GetTeammates request
	GetTeammatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTeammatesResponse, error)

	// GetTeammatesTeammateId request
	GetTeammatesTeammateIdWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdResponse, error)

	// PatchTeammatesTeammateId request with any body
	PatchTeammatesTeammateIdWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTeammatesTeammateIdResponse, error)

	PatchTeammatesTeammateIdWithResponse(ctx context.Context, teammateId string, body PatchTeammatesTeammateIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTeammatesTeammateIdResponse, error)

	// GetTeammatesTeammateIdChannels request
	GetTeammatesTeammateIdChannelsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdChannelsResponse, error)

	// GetTeammatesTeammateIdContactGroups request
	GetTeammatesTeammateIdContactGroupsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdContactGroupsResponse, error)

	// PostTeammatesTeammateIdContactGroups request with any body
	PostTeammatesTeammateIdContactGroupsWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdContactGroupsResponse, error)

	PostTeammatesTeammateIdContactGroupsWithResponse(ctx context.Context, teammateId string, body PostTeammatesTeammateIdContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdContactGroupsResponse, error)

	// GetTeammatesTeammateIdContacts request
	GetTeammatesTeammateIdContactsWithResponse(ctx context.Context, teammateId string, params *GetTeammatesTeammateIdContactsParams, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdContactsResponse, error)

	// PostTeammatesTeammateIdContacts request with any body
	PostTeammatesTeammateIdContactsWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdContactsResponse, error)

	PostTeammatesTeammateIdContactsWithResponse(ctx context.Context, teammateId string, body PostTeammatesTeammateIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdContactsResponse, error)

	// GetTeammatesTeammateIdConversations request
	GetTeammatesTeammateIdConversationsWithResponse(ctx context.Context, teammateId string, params *GetTeammatesTeammateIdConversationsParams, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdConversationsResponse, error)

	// GetTeammatesTeammateIdInboxes request
	GetTeammatesTeammateIdInboxesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdInboxesResponse, error)

	// GetTeammatesTeammateIdMessageTemplateFolders request
	GetTeammatesTeammateIdMessageTemplateFoldersWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdMessageTemplateFoldersResponse, error)

	// PostTeammatesTeammateIdMessageTemplateFolders request with any body
	PostTeammatesTeammateIdMessageTemplateFoldersWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdMessageTemplateFoldersResponse, error)

	PostTeammatesTeammateIdMessageTemplateFoldersWithResponse(ctx context.Context, teammateId string, body PostTeammatesTeammateIdMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdMessageTemplateFoldersResponse, error)

	// GetTeammatesTeammateIdMessageTemplates request
	GetTeammatesTeammateIdMessageTemplatesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdMessageTemplatesResponse, error)

	// PostTeammatesTeammateIdMessageTemplates request with any body
	PostTeammatesTeammateIdMessageTemplatesWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdMessageTemplatesResponse, error)

	PostTeammatesTeammateIdMessageTemplatesWithResponse(ctx context.Context, teammateId string, body PostTeammatesTeammateIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdMessageTemplatesResponse, error)

	// GetTeammatesTeammateIdRules request
	GetTeammatesTeammateIdRulesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdRulesResponse, error)

	// GetTeammatesTeammateIdShifts request
	GetTeammatesTeammateIdShiftsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdShiftsResponse, error)

	// GetTeammatesTeammateIdTags request
	GetTeammatesTeammateIdTagsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammatesTeammateIdTagsResponse, error)

	// PostTeammatesTeammateIdTags request with any body
	PostTeammatesTeammateIdTagsWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdTagsResponse, error)

	PostTeammatesTeammateIdTagsWithResponse(ctx context.Context, teammateId string, body PostTeammatesTeammateIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeammatesTeammateIdTagsResponse, error)

	// GetTeams request
	GetTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)

	// GetTeamsTeamId request
	GetTeamsTeamIdWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdResponse, error)

	// GetTeamsTeamIdAnalytics request
	GetTeamsTeamIdAnalyticsWithResponse(ctx context.Context, teamId string, params *GetTeamsTeamIdAnalyticsParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdAnalyticsResponse, error)

	// GetTeamsTeamIdChannels request
	GetTeamsTeamIdChannelsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdChannelsResponse, error)

	// GetTeamsTeamIdContactGroups request
	GetTeamsTeamIdContactGroupsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdContactGroupsResponse, error)

	// PostTeamsTeamIdContactGroups request with any body
	PostTeamsTeamIdContactGroupsWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdContactGroupsResponse, error)

	PostTeamsTeamIdContactGroupsWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdContactGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdContactGroupsResponse, error)

	// GetTeamsTeamIdContacts request
	GetTeamsTeamIdContactsWithResponse(ctx context.Context, teamId string, params *GetTeamsTeamIdContactsParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdContactsResponse, error)

	// PostTeamsTeamIdContacts request with any body
	PostTeamsTeamIdContactsWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdContactsResponse, error)

	PostTeamsTeamIdContactsWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdContactsResponse, error)

	// PostTeamsTeamIdExports request with any body
	PostTeamsTeamIdExportsWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdExportsResponse, error)

	PostTeamsTeamIdExportsWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdExportsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdExportsResponse, error)

	// GetTeamsTeamIdInboxes request
	GetTeamsTeamIdInboxesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdInboxesResponse, error)

	// PostTeamsTeamIdInboxes request with any body
	PostTeamsTeamIdInboxesWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdInboxesResponse, error)

	PostTeamsTeamIdInboxesWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdInboxesResponse, error)

	// GetTeamsTeamIdMessageTemplateFolders request
	GetTeamsTeamIdMessageTemplateFoldersWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdMessageTemplateFoldersResponse, error)

	// PostTeamsTeamIdMessageTemplateFolders request with any body
	PostTeamsTeamIdMessageTemplateFoldersWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdMessageTemplateFoldersResponse, error)

	PostTeamsTeamIdMessageTemplateFoldersWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdMessageTemplateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdMessageTemplateFoldersResponse, error)

	// GetTeamsTeamIdMessageTemplates request
	GetTeamsTeamIdMessageTemplatesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdMessageTemplatesResponse, error)

	// PostTeamsTeamIdMessageTemplates request with any body
	PostTeamsTeamIdMessageTemplatesWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdMessageTemplatesResponse, error)

	PostTeamsTeamIdMessageTemplatesWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdMessageTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdMessageTemplatesResponse, error)

	// GetTeamsTeamIdShifts request
	GetTeamsTeamIdShiftsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdShiftsResponse, error)

	// PostTeamsTeamIdShifts request with any body
	PostTeamsTeamIdShiftsWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdShiftsResponse, error)

	PostTeamsTeamIdShiftsWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdShiftsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdShiftsResponse, error)

	// GetTeamsTeamIdTags request
	GetTeamsTeamIdTagsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamsTeamIdTagsResponse, error)

	// PostTeamsTeamIdTags request with any body
	PostTeamsTeamIdTagsWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdTagsResponse, error)

	PostTeamsTeamIdTagsWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdTagsResponse, error)

	// DeleteTeamsTeamIdTeammates request with any body
	DeleteTeamsTeamIdTeammatesWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteTeamsTeamIdTeammatesResponse, error)

	DeleteTeamsTeamIdTeammatesWithResponse(ctx context.Context, teamId string, body DeleteTeamsTeamIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTeamsTeamIdTeammatesResponse, error)

	// PostTeamsTeamIdTeammates request with any body
	PostTeamsTeamIdTeammatesWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdTeammatesResponse, error)

	PostTeamsTeamIdTeammatesWithResponse(ctx context.Context, teamId string, body PostTeamsTeamIdTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTeamsTeamIdTeammatesResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Comment

type Comment CommentResponse

Comment defines model for comment.

type CommentResponse

type CommentResponse struct {
	// List of files attached to the comment
	Attachments *[]Attachment `json:"attachments,omitempty"`

	// A teammate is a user in Front.
	Author *TeammateResponse `json:"author,omitempty"`

	// Content of the comment
	Body *string `json:"body,omitempty"`

	// Unique identifier of the comment
	Id *string `json:"id,omitempty"`

	// Date at which the comment was posted
	PostedAt      *int `json:"posted_at,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to comment's conversation
			Conversations *string `json:"conversations,omitempty"`

			// Link to comment mentions
			Mentions *string `json:"mentions,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

CommentResponse defines model for CommentResponse.

type Contact

type Contact struct {
	// Binary data of avatar. Must use `Content-Type: multipart/form-data` if specified.
	Avatar *string `json:"avatar,omitempty"`

	// Custom field attributes for this contact. Leave empty if you do not wish to update the attributes. Not sending existing attributes will automatically remove them.
	CustomFields *map[string]interface{} `json:"custom_fields,omitempty"`

	// Contact description
	Description *string `json:"description,omitempty"`

	// List of all the group names the contact belongs to. It will automatically create missing groups
	GroupNames *[]string `json:"group_names,omitempty"`

	// Unique identifier of the contact
	Id *string `json:"id,omitempty"`

	// Whether or not the contact is marked as a spammer
	IsSpammer *bool `json:"is_spammer,omitempty"`

	// List of all the links of the contact
	Links *[]string `json:"links,omitempty"`

	// Contact name
	Name *string `json:"name,omitempty"`
}

Contact defines model for Contact.

type ContactGroup

type ContactGroup struct {
	// Unique identifier of the group
	Id *string `json:"id,omitempty"`

	// Whether or not the contact is individual
	IsPrivate *bool `json:"is_private,omitempty"`

	// Name of the group
	Name *string `json:"name,omitempty"`
}

ContactGroup defines model for ContactGroup.

type ContactGroupResponses

type ContactGroupResponses struct {
	// Unique identifier of the group
	Id *string `json:"id,omitempty"`

	// Whether or not the contact is individual
	IsPrivate *bool `json:"is_private,omitempty"`

	// Name of the group
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to group contacts
			Contacts *string `json:"contacts,omitempty"`

			// Link to group owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ContactGroupResponses defines model for ContactGroupResponses.

type ContactHandle

type ContactHandle struct {
	// Handle used to reach the contact.
	Handle string `json:"handle"`

	// Source of the handle. Can be `email`, `phone`, `twitter`, `facebook`, `intercom`, `front_chat`, or `custom`.
	Source ContactHandleSource `json:"source"`
}

ContactHandle defines model for ContactHandle.

type ContactHandleSource

type ContactHandleSource string

Source of the handle. Can be `email`, `phone`, `twitter`, `facebook`, `intercom`, `front_chat`, or `custom`.

const (
	ContactHandleSourceCustom ContactHandleSource = "custom"

	ContactHandleSourceEmail ContactHandleSource = "email"

	ContactHandleSourceFacebook ContactHandleSource = "facebook"

	ContactHandleSourceFrontChat ContactHandleSource = "front_chat"

	ContactHandleSourceIntercom ContactHandleSource = "intercom"

	ContactHandleSourcePhone ContactHandleSource = "phone"

	ContactHandleSourceTwitter ContactHandleSource = "twitter"
)

Defines values for ContactHandleSource.

type ContactIds

type ContactIds struct {
	ContactIds []ResourceID `json:"contact_ids"`
}

ContactIds defines model for ContactIds.

type ContactNote

type ContactNote ContactNoteResponses

ContactNote defines model for contactNote.

type ContactNoteResponses

type ContactNoteResponses struct {
	// A teammate is a user in Front.
	Author *TeammateResponse `json:"author,omitempty"`

	// Content of the note
	Body *string `json:"body,omitempty"`

	// Date at which the note have been created
	CreatedAt *int `json:"created_at,omitempty"`
}

ContactNoteResponses defines model for ContactNoteResponses.

type ContactResponse

type ContactResponse struct {
	// URL of the contact's avatar
	AvatarUrl *string `json:"avatar_url,omitempty"`

	// Custom field attributes for this contact.
	CustomFields *map[string]interface{} `json:"custom_fields,omitempty"`

	// Contact description
	Description *string `json:"description,omitempty"`

	// List of the groups the contact belongs to.
	Groups *[]ContactGroupResponses `json:"groups,omitempty"`

	// List of the handles and sources with which the contact is reachable.
	Handles *[]ContactHandle `json:"handles,omitempty"`

	// Unique identifier of the contact
	Id *string `json:"id,omitempty"`

	// Whether or not the contact is individual
	IsPrivate *bool `json:"is_private,omitempty"`

	// Whether or not the contact is marked as a spammer
	IsSpammer *bool `json:"is_spammer,omitempty"`

	// List of all the links of the contact
	Links *[]string `json:"links,omitempty"`

	// Contact name
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to contact conversations
			Conversations *string `json:"conversations,omitempty"`

			// Link to contact notes
			Notes *string `json:"notes,omitempty"`

			// Link to contact owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ContactResponse defines model for ContactResponse.

type Conversation

type Conversation ConversationResponse

Conversation defines model for conversation.

type ConversationQuery

type ConversationQuery string

ConversationQuery defines model for conversationQuery.

type ConversationResponse

type ConversationResponse struct {
	// A teammate is a user in Front.
	Assignee *TeammateResponse `json:"assignee,omitempty"`

	// Timestamp at which the conversation have been created.
	CreatedAt *int `json:"created_at,omitempty"`

	// Unique identifier of the message
	Id *string `json:"id,omitempty"`

	// Whether or not the conversation is private
	IsPrivate *bool `json:"is_private,omitempty"`

	// List of the links for this conversation
	Links *[]LinkResponse `json:"links,omitempty"`

	// Optional metadata about the conversation
	Metadata *struct {
		// List of external_ids for partner channel associated with the conversation. Only present for partner channel token authenticated requests.
		ExternalConversationIds *[]string `json:"external_conversation_ids,omitempty"`
	} `json:"metadata,omitempty"`
	Recipient     *RecipientResponse `json:"recipient,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to conversation comment
			Comments *string `json:"comments,omitempty"`

			// Link to conversation events
			Events *string `json:"events,omitempty"`

			// Link to conversation followers
			Followers *string `json:"followers,omitempty"`

			// Link to conversation inboxes
			Inboxes *string `json:"inboxes,omitempty"`

			// Link to last message of the conversation
			LastMessage *string `json:"last_message,omitempty"`

			// Link to conversation messages
			Messages *string `json:"messages,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// List of scheduled (non-expired and non-canceled) reminders for this conversation
	ScheduledReminders *[]Reminder `json:"scheduled_reminders,omitempty"`

	// Status of the conversation
	Status *ConversationResponseStatus `json:"status,omitempty"`

	// Subject of the message for email message
	Subject *string `json:"subject,omitempty"`

	// List of the tags for this conversation
	Tags *[]TagResponse `json:"tags,omitempty"`
}

ConversationResponse defines model for ConversationResponse.

type ConversationResponseStatus

type ConversationResponseStatus string

Status of the conversation

const (
	ConversationResponseStatusArchived ConversationResponseStatus = "archived"

	ConversationResponseStatusAssigned ConversationResponseStatus = "assigned"

	ConversationResponseStatusDeleted ConversationResponseStatus = "deleted"

	ConversationResponseStatusUnassigned ConversationResponseStatus = "unassigned"
)

Defines values for ConversationResponseStatus.

type CreateAnalyticsExportJSONBody

type CreateAnalyticsExportJSONBody AnalyticsExportRequest2

CreateAnalyticsExportJSONBody defines parameters for CreateAnalyticsExport.

type CreateAnalyticsExportJSONRequestBody

type CreateAnalyticsExportJSONRequestBody CreateAnalyticsExportJSONBody

CreateAnalyticsExportJSONRequestBody defines body for CreateAnalyticsExport for application/json ContentType.

type CreateAnalyticsExportResponse

type CreateAnalyticsExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *AnalyticsExportResponse2
}

func ParseCreateAnalyticsExportResponse

func ParseCreateAnalyticsExportResponse(rsp *http.Response) (*CreateAnalyticsExportResponse, error)

ParseCreateAnalyticsExportResponse parses an HTTP response from a CreateAnalyticsExportWithResponse call

func (CreateAnalyticsExportResponse) Status

Status returns HTTPResponse.Status

func (CreateAnalyticsExportResponse) StatusCode

func (r CreateAnalyticsExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAnalyticsReportJSONBody

type CreateAnalyticsReportJSONBody AnalyticsReportRequest2

CreateAnalyticsReportJSONBody defines parameters for CreateAnalyticsReport.

type CreateAnalyticsReportJSONRequestBody

type CreateAnalyticsReportJSONRequestBody CreateAnalyticsReportJSONBody

CreateAnalyticsReportJSONRequestBody defines body for CreateAnalyticsReport for application/json ContentType.

type CreateAnalyticsReportResponse

type CreateAnalyticsReportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *AnalyticsReportResponse2
}

func ParseCreateAnalyticsReportResponse

func ParseCreateAnalyticsReportResponse(rsp *http.Response) (*CreateAnalyticsReportResponse, error)

ParseCreateAnalyticsReportResponse parses an HTTP response from a CreateAnalyticsReportWithResponse call

func (CreateAnalyticsReportResponse) Status

Status returns HTTPResponse.Status

func (CreateAnalyticsReportResponse) StatusCode

func (r CreateAnalyticsReportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateChannel

type CreateChannel struct {
	// Name of the channel
	Name *string `json:"name,omitempty"`

	// Sending address of your channel
	SendAs *string `json:"send_as,omitempty"`

	// Settings of the channel
	Settings *struct {
		// Whether teammates without inbox access can reply on this channel. Only allowed for shared channels.
		AllTeammatesCanReply *bool `json:"all_teammates_can_reply,omitempty"`

		// The time (measured in seconds) that users have to undo a send operation in the channel.
		UndoSendTime *CreateChannelSettingsUndoSendTime `json:"undo_send_time,omitempty"`
	} `json:"settings,omitempty"`

	// Type of the channel
	Type CreateChannelType `json:"type"`
}

CreateChannel defines model for CreateChannel.

type CreateChannelSettingsUndoSendTime

type CreateChannelSettingsUndoSendTime int

The time (measured in seconds) that users have to undo a send operation in the channel.

const (
	CreateChannelSettingsUndoSendTimeN0 CreateChannelSettingsUndoSendTime = 0

	CreateChannelSettingsUndoSendTimeN10 CreateChannelSettingsUndoSendTime = 10

	CreateChannelSettingsUndoSendTimeN15 CreateChannelSettingsUndoSendTime = 15

	CreateChannelSettingsUndoSendTimeN30 CreateChannelSettingsUndoSendTime = 30

	CreateChannelSettingsUndoSendTimeN5 CreateChannelSettingsUndoSendTime = 5

	CreateChannelSettingsUndoSendTimeN60 CreateChannelSettingsUndoSendTime = 60
)

Defines values for CreateChannelSettingsUndoSendTime.

type CreateChannelType

type CreateChannelType string

Type of the channel

const (
	CreateChannelTypeCustom CreateChannelType = "custom"

	CreateChannelTypeSmtp CreateChannelType = "smtp"

	CreateChannelTypeTwilio CreateChannelType = "twilio"
)

Defines values for CreateChannelType.

type CreateComment

type CreateComment struct {
	// Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://gist.github.com/hdornier/e04d04921032e98271f46ff8a539a4cb).
	Attachments *[]string `json:"attachments,omitempty"`

	// ID of the teammate creating the comment
	AuthorId string `json:"author_id"`

	// Content of the comment
	Body string `json:"body"`
}

CreateComment defines model for CreateComment.

type CreateContact

type CreateContact struct {
	// Embedded struct due to allOf(#/components/schemas/Contact)
	Contact `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	// List of the handles for this contact. Each handle object should include `handle` and `source` fields.
	Handles *[]ContactHandle `json:"handles,omitempty"`
}

CreateContact defines model for CreateContact.

type CreateContactGroup

type CreateContactGroup struct {
	// Name of the group
	Name string `json:"name"`
}

CreateContactGroup defines model for CreateContactGroup.

type CreateContactNote

type CreateContactNote struct {
	// ID of teammate creating the note
	AuthorId string `json:"author_id"`

	// Content of the note
	Body string `json:"body"`
}

CreateContactNote defines model for CreateContactNote.

type CreateDraft

type CreateDraft struct {
	// Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://gist.github.com/hdornier/e04d04921032e98271f46ff8a539a4cb).
	Attachments *[]string `json:"attachments,omitempty"`

	// ID of the teammate on behalf of whom the draft will be created
	AuthorId string    `json:"author_id"`
	Bcc      *[]string `json:"bcc,omitempty"`

	// Body of the draft
	Body string    `json:"body"`
	Cc   *[]string `json:"cc,omitempty"`

	// Mode of the draft to create. Can be 'private' (draft is visible to the author only) or 'shared' (draft is visible to all teammates with access to the conversation).
	Mode *CreateDraftMode `json:"mode,omitempty"`

	// Subject of the draft.
	Subject *string   `json:"subject,omitempty"`
	To      *[]string `json:"to,omitempty"`
}

CreateDraft defines model for CreateDraft.

type CreateDraftMode

type CreateDraftMode string

Mode of the draft to create. Can be 'private' (draft is visible to the author only) or 'shared' (draft is visible to all teammates with access to the conversation).

const (
	CreateDraftModePrivate CreateDraftMode = "private"

	CreateDraftModeShared CreateDraftMode = "shared"
)

Defines values for CreateDraftMode.

type CreateExportJSONBody

type CreateExportJSONBody ExportQuery

CreateExportJSONBody defines parameters for CreateExport.

type CreateExportJSONRequestBody

type CreateExportJSONRequestBody CreateExportJSONBody

CreateExportJSONRequestBody defines body for CreateExport for application/json ContentType.

type CreateExportResponse

type CreateExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ExportResponse
}

func ParseCreateExportResponse

func ParseCreateExportResponse(rsp *http.Response) (*CreateExportResponse, error)

ParseCreateExportResponse parses an HTTP response from a CreateExportWithResponse call

func (CreateExportResponse) Status

func (r CreateExportResponse) Status() string

Status returns HTTPResponse.Status

func (CreateExportResponse) StatusCode

func (r CreateExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInbox

type CreateInbox struct {
	Name        string        `json:"name"`
	TeammateIds *[]ResourceID `json:"teammate_ids,omitempty"`
}

CreateInbox defines model for CreateInbox.

type CreateLink struct {
	// Underlying identifying url of the link
	ExternalUrl string `json:"external_url"`

	// Name of the link. If none is specified, the external_url is used as a default
	Name *string `json:"name,omitempty"`
}

A link is used to connect a Front conversation to an external resource.

type CreateMessageTemplateAsChild

type CreateMessageTemplateAsChild struct {
	// Body of the message template
	Body     string    `json:"body"`
	InboxIds *[]string `json:"inbox_ids,omitempty"`

	// Name of the message template
	Name string `json:"name"`

	// Subject of the message template. If not set, the name will be used to populate the subject.
	Subject *string `json:"subject,omitempty"`
}

A message template that is used for pre-written responses

type CreateMessageTemplateFolder

type CreateMessageTemplateFolder struct {
	// Name of the message template folder
	Name string `json:"name"`

	// ID of the parent folder to be placed into. Goes into the root folder if unspecified or if null.
	ParentFolderId *string `json:"parent_folder_id,omitempty"`
}

A message template folder that is used to store message templates or other folders.

type CreateMessageTemplateFolderAsChild

type CreateMessageTemplateFolderAsChild struct {
	// Name of the message template folder
	Name string `json:"name"`
}

A message template folder that is used to store message templates or other folders.

type CreatePrivateMessageTemplate

type CreatePrivateMessageTemplate struct {
	// Body of the message template
	Body string `json:"body"`

	// ID of the message template folder to place this message template in
	FolderId *string `json:"folder_id,omitempty"`

	// Name of the message template
	Name string `json:"name"`

	// Subject of the message template. If not set, the name will be used to populate the subject.
	Subject *string `json:"subject,omitempty"`
}

A message template that is used for pre-written responses

type CreateSharedMessageTemplate

type CreateSharedMessageTemplate struct {
	// Body of the message template
	Body string `json:"body"`

	// ID of the message template folder to place this message template in
	FolderId *string   `json:"folder_id,omitempty"`
	InboxIds *[]string `json:"inbox_ids,omitempty"`

	// Name of the message template
	Name string `json:"name"`

	// Subject of the message template. If not set, the name will be used to populate the subject.
	Subject *string `json:"subject,omitempty"`
}

A message template that is used for pre-written responses

type CreateShift

type CreateShift struct {
	// Color of the shift
	Color CreateShiftColor `json:"color"`

	// Name of the shift
	Name        string         `json:"name"`
	TeammateIds []ResourceID   `json:"teammate_ids"`
	Times       ShiftIntervals `json:"times"`

	// A timezone name as defined in the IANA tz database
	Timezone string `json:"timezone"`
}

CreateShift defines model for CreateShift.

type CreateShiftColor

type CreateShiftColor string

Color of the shift

const (
	CreateShiftColorBlack CreateShiftColor = "black"

	CreateShiftColorBlue CreateShiftColor = "blue"

	CreateShiftColorGreen CreateShiftColor = "green"

	CreateShiftColorGrey CreateShiftColor = "grey"

	CreateShiftColorOrange CreateShiftColor = "orange"

	CreateShiftColorPink CreateShiftColor = "pink"

	CreateShiftColorPurple CreateShiftColor = "purple"

	CreateShiftColorRed CreateShiftColor = "red"

	CreateShiftColorTeal CreateShiftColor = "teal"

	CreateShiftColorYellow CreateShiftColor = "yellow"
)

Defines values for CreateShiftColor.

type CreateTag

type CreateTag struct {
	// Highlight color of the tag.
	Highlight *CreateTagHighlight `json:"highlight,omitempty"`

	// Whether the tag is visible in conversation lists.
	IsVisibleInConversationLists *bool `json:"is_visible_in_conversation_lists,omitempty"`

	// Name of the tag
	Name string `json:"name"`
}

A tag is a label that can be used to classify conversations.

type CreateTagHighlight

type CreateTagHighlight string

Highlight color of the tag.

const (
	CreateTagHighlightBlue CreateTagHighlight = "blue"

	CreateTagHighlightGreen CreateTagHighlight = "green"

	CreateTagHighlightGrey CreateTagHighlight = "grey"

	CreateTagHighlightLightBlue CreateTagHighlight = "light-blue"

	CreateTagHighlightOrange CreateTagHighlight = "orange"

	CreateTagHighlightPink CreateTagHighlight = "pink"

	CreateTagHighlightPurple CreateTagHighlight = "purple"

	CreateTagHighlightRed CreateTagHighlight = "red"

	CreateTagHighlightYellow CreateTagHighlight = "yellow"
)

Defines values for CreateTagHighlight.

type CustomFieldResponse

type CustomFieldResponse struct {
	// Description of the custom field
	Description *string `json:"description,omitempty"`

	// Unique identifier of the custom field
	Id *string `json:"id,omitempty"`

	// Name of the custom field
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Type of the custom field
	Type *CustomFieldResponseType `json:"type,omitempty"`
}

CustomFieldResponse defines model for CustomFieldResponse.

type CustomFieldResponseType

type CustomFieldResponseType string

Type of the custom field

const (
	CustomFieldResponseTypeBoolean CustomFieldResponseType = "boolean"

	CustomFieldResponseTypeDatetime CustomFieldResponseType = "datetime"

	CustomFieldResponseTypeNumber CustomFieldResponseType = "number"

	CustomFieldResponseTypeString CustomFieldResponseType = "string"
)

Defines values for CustomFieldResponseType.

type CustomMessage

type CustomMessage struct {
	// Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://gist.github.com/hdornier/e04d04921032e98271f46ff8a539a4cb).
	Attachments *[]string `json:"attachments,omitempty"`

	// Body of the message
	Body string `json:"body"`

	// Format of the message body. Can be `markdown` (default) or `html`.
	BodyFormat *CustomMessageBodyFormat `json:"body_format,omitempty"`
	Metadata   *struct {
		// Custom object where any internal information can be stored
		Headers *map[string]interface{} `json:"headers,omitempty"`

		// Reference which will be used to thread messages. If  omitted, Front threads by sender instead
		ThreadRef *string `json:"thread_ref,omitempty"`
	} `json:"metadata,omitempty"`

	// Data of the sender
	Sender struct {
		// ID of the contact in Front corresponding to the sender
		ContactId *string `json:"contact_id,omitempty"`

		// Handle of the sender. It can be any string used to uniquely identify the sender
		Handle string `json:"handle"`

		// Name of the sender
		Name *string `json:"name,omitempty"`
	} `json:"sender"`

	// Subject of the message
	Subject *string `json:"subject,omitempty"`
}

CustomMessage defines model for CustomMessage.

type CustomMessageBodyFormat

type CustomMessageBodyFormat string

Format of the message body. Can be `markdown` (default) or `html`.

const (
	CustomMessageBodyFormatHtml CustomMessageBodyFormat = "html"

	CustomMessageBodyFormatMarkdown CustomMessageBodyFormat = "markdown"
)

Defines values for CustomMessageBodyFormat.

type DeleteAccountsAccountIdContactsJSONBody

type DeleteAccountsAccountIdContactsJSONBody ContactIds

DeleteAccountsAccountIdContactsJSONBody defines parameters for DeleteAccountsAccountIdContacts.

type DeleteAccountsAccountIdContactsJSONRequestBody

type DeleteAccountsAccountIdContactsJSONRequestBody DeleteAccountsAccountIdContactsJSONBody

DeleteAccountsAccountIdContactsJSONRequestBody defines body for DeleteAccountsAccountIdContacts for application/json ContentType.

type DeleteAccountsAccountIdContactsResponse

type DeleteAccountsAccountIdContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteAccountsAccountIdContactsResponse

func ParseDeleteAccountsAccountIdContactsResponse(rsp *http.Response) (*DeleteAccountsAccountIdContactsResponse, error)

ParseDeleteAccountsAccountIdContactsResponse parses an HTTP response from a DeleteAccountsAccountIdContactsWithResponse call

func (DeleteAccountsAccountIdContactsResponse) Status

Status returns HTTPResponse.Status

func (DeleteAccountsAccountIdContactsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteAccountsAccountIdResponse

type DeleteAccountsAccountIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteAccountsAccountIdResponse

func ParseDeleteAccountsAccountIdResponse(rsp *http.Response) (*DeleteAccountsAccountIdResponse, error)

ParseDeleteAccountsAccountIdResponse parses an HTTP response from a DeleteAccountsAccountIdWithResponse call

func (DeleteAccountsAccountIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteAccountsAccountIdResponse) StatusCode

func (r DeleteAccountsAccountIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteContactGroupsContactGroupIdResponse

type DeleteContactGroupsContactGroupIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteContactGroupsContactGroupIdResponse

func ParseDeleteContactGroupsContactGroupIdResponse(rsp *http.Response) (*DeleteContactGroupsContactGroupIdResponse, error)

ParseDeleteContactGroupsContactGroupIdResponse parses an HTTP response from a DeleteContactGroupsContactGroupIdWithResponse call

func (DeleteContactGroupsContactGroupIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteContactGroupsContactGroupIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteContactHandle

type DeleteContactHandle struct {
	// Embedded struct due to allOf(#/components/schemas/ContactHandle)
	ContactHandle `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	// Force the deletetion of the contact if the handle is the last one
	Force *bool `json:"force,omitempty"`
}

DeleteContactHandle defines model for DeleteContactHandle.

type DeleteContactsContactIdHandlesJSONBody

type DeleteContactsContactIdHandlesJSONBody DeleteContactHandle

DeleteContactsContactIdHandlesJSONBody defines parameters for DeleteContactsContactIdHandles.

type DeleteContactsContactIdHandlesJSONRequestBody

type DeleteContactsContactIdHandlesJSONRequestBody DeleteContactsContactIdHandlesJSONBody

DeleteContactsContactIdHandlesJSONRequestBody defines body for DeleteContactsContactIdHandles for application/json ContentType.

type DeleteContactsContactIdHandlesResponse

type DeleteContactsContactIdHandlesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteContactsContactIdHandlesResponse

func ParseDeleteContactsContactIdHandlesResponse(rsp *http.Response) (*DeleteContactsContactIdHandlesResponse, error)

ParseDeleteContactsContactIdHandlesResponse parses an HTTP response from a DeleteContactsContactIdHandlesWithResponse call

func (DeleteContactsContactIdHandlesResponse) Status

Status returns HTTPResponse.Status

func (DeleteContactsContactIdHandlesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteContactsContactIdResponse

type DeleteContactsContactIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteContactsContactIdResponse

func ParseDeleteContactsContactIdResponse(rsp *http.Response) (*DeleteContactsContactIdResponse, error)

ParseDeleteContactsContactIdResponse parses an HTTP response from a DeleteContactsContactIdWithResponse call

func (DeleteContactsContactIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteContactsContactIdResponse) StatusCode

func (r DeleteContactsContactIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteConversationsConversationIdFollowersJSONBody

type DeleteConversationsConversationIdFollowersJSONBody struct {
	// IDs of the teammate to remove from the followers list.
	TeammateIds []string `json:"teammate_ids"`
}

DeleteConversationsConversationIdFollowersJSONBody defines parameters for DeleteConversationsConversationIdFollowers.

type DeleteConversationsConversationIdFollowersJSONRequestBody

type DeleteConversationsConversationIdFollowersJSONRequestBody DeleteConversationsConversationIdFollowersJSONBody

DeleteConversationsConversationIdFollowersJSONRequestBody defines body for DeleteConversationsConversationIdFollowers for application/json ContentType.

type DeleteConversationsConversationIdFollowersResponse

type DeleteConversationsConversationIdFollowersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteConversationsConversationIdFollowersResponse

func ParseDeleteConversationsConversationIdFollowersResponse(rsp *http.Response) (*DeleteConversationsConversationIdFollowersResponse, error)

ParseDeleteConversationsConversationIdFollowersResponse parses an HTTP response from a DeleteConversationsConversationIdFollowersWithResponse call

func (DeleteConversationsConversationIdFollowersResponse) Status

Status returns HTTPResponse.Status

func (DeleteConversationsConversationIdFollowersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteConversationsConversationIdLinksJSONBody

type DeleteConversationsConversationIdLinksJSONBody struct {
	// Link IDs to remove.
	LinkIds []string `json:"link_ids"`
}

DeleteConversationsConversationIdLinksJSONBody defines parameters for DeleteConversationsConversationIdLinks.

type DeleteConversationsConversationIdLinksJSONRequestBody

type DeleteConversationsConversationIdLinksJSONRequestBody DeleteConversationsConversationIdLinksJSONBody

DeleteConversationsConversationIdLinksJSONRequestBody defines body for DeleteConversationsConversationIdLinks for application/json ContentType.

type DeleteConversationsConversationIdLinksResponse

type DeleteConversationsConversationIdLinksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteConversationsConversationIdLinksResponse

func ParseDeleteConversationsConversationIdLinksResponse(rsp *http.Response) (*DeleteConversationsConversationIdLinksResponse, error)

ParseDeleteConversationsConversationIdLinksResponse parses an HTTP response from a DeleteConversationsConversationIdLinksWithResponse call

func (DeleteConversationsConversationIdLinksResponse) Status

Status returns HTTPResponse.Status

func (DeleteConversationsConversationIdLinksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteConversationsConversationIdTagsJSONBody

type DeleteConversationsConversationIdTagsJSONBody TagIds

DeleteConversationsConversationIdTagsJSONBody defines parameters for DeleteConversationsConversationIdTags.

type DeleteConversationsConversationIdTagsJSONRequestBody

type DeleteConversationsConversationIdTagsJSONRequestBody DeleteConversationsConversationIdTagsJSONBody

DeleteConversationsConversationIdTagsJSONRequestBody defines body for DeleteConversationsConversationIdTags for application/json ContentType.

type DeleteConversationsConversationIdTagsResponse

type DeleteConversationsConversationIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteConversationsConversationIdTagsResponse

func ParseDeleteConversationsConversationIdTagsResponse(rsp *http.Response) (*DeleteConversationsConversationIdTagsResponse, error)

ParseDeleteConversationsConversationIdTagsResponse parses an HTTP response from a DeleteConversationsConversationIdTagsWithResponse call

func (DeleteConversationsConversationIdTagsResponse) Status

Status returns HTTPResponse.Status

func (DeleteConversationsConversationIdTagsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteDraft

type DeleteDraft struct {
	// Version of the draft
	Version string `json:"version"`
}

DeleteDraft defines model for DeleteDraft.

type DeleteDraftsDraftIdJSONBody

type DeleteDraftsDraftIdJSONBody DeleteDraft

DeleteDraftsDraftIdJSONBody defines parameters for DeleteDraftsDraftId.

type DeleteDraftsDraftIdJSONRequestBody

type DeleteDraftsDraftIdJSONRequestBody DeleteDraftsDraftIdJSONBody

DeleteDraftsDraftIdJSONRequestBody defines body for DeleteDraftsDraftId for application/json ContentType.

type DeleteDraftsDraftIdResponse

type DeleteDraftsDraftIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteDraftsDraftIdResponse

func ParseDeleteDraftsDraftIdResponse(rsp *http.Response) (*DeleteDraftsDraftIdResponse, error)

ParseDeleteDraftsDraftIdResponse parses an HTTP response from a DeleteDraftsDraftIdWithResponse call

func (DeleteDraftsDraftIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteDraftsDraftIdResponse) StatusCode

func (r DeleteDraftsDraftIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInboxesInboxIdTeammatesJSONBody

type DeleteInboxesInboxIdTeammatesJSONBody TeammateIds

DeleteInboxesInboxIdTeammatesJSONBody defines parameters for DeleteInboxesInboxIdTeammates.

type DeleteInboxesInboxIdTeammatesJSONRequestBody

type DeleteInboxesInboxIdTeammatesJSONRequestBody DeleteInboxesInboxIdTeammatesJSONBody

DeleteInboxesInboxIdTeammatesJSONRequestBody defines body for DeleteInboxesInboxIdTeammates for application/json ContentType.

type DeleteInboxesInboxIdTeammatesResponse

type DeleteInboxesInboxIdTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteInboxesInboxIdTeammatesResponse

func ParseDeleteInboxesInboxIdTeammatesResponse(rsp *http.Response) (*DeleteInboxesInboxIdTeammatesResponse, error)

ParseDeleteInboxesInboxIdTeammatesResponse parses an HTTP response from a DeleteInboxesInboxIdTeammatesWithResponse call

func (DeleteInboxesInboxIdTeammatesResponse) Status

Status returns HTTPResponse.Status

func (DeleteInboxesInboxIdTeammatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteMessageTemplateFoldersMessageTemplateFolderIdResponse

type DeleteMessageTemplateFoldersMessageTemplateFolderIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		// id of the message template to be deleted
		MessageTemplateFolderId *string `json:"message_template_folder_id,omitempty"`
		Status                  *string `json:"status,omitempty"`
	}
}

func ParseDeleteMessageTemplateFoldersMessageTemplateFolderIdResponse

func ParseDeleteMessageTemplateFoldersMessageTemplateFolderIdResponse(rsp *http.Response) (*DeleteMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

ParseDeleteMessageTemplateFoldersMessageTemplateFolderIdResponse parses an HTTP response from a DeleteMessageTemplateFoldersMessageTemplateFolderIdWithResponse call

func (DeleteMessageTemplateFoldersMessageTemplateFolderIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteMessageTemplateFoldersMessageTemplateFolderIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteMessageTemplatesMessageTemplateIdResponse

type DeleteMessageTemplatesMessageTemplateIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteMessageTemplatesMessageTemplateIdResponse

func ParseDeleteMessageTemplatesMessageTemplateIdResponse(rsp *http.Response) (*DeleteMessageTemplatesMessageTemplateIdResponse, error)

ParseDeleteMessageTemplatesMessageTemplateIdResponse parses an HTTP response from a DeleteMessageTemplatesMessageTemplateIdWithResponse call

func (DeleteMessageTemplatesMessageTemplateIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteMessageTemplatesMessageTemplateIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteShiftShiftIdTeammatesJSONBody

type DeleteShiftShiftIdTeammatesJSONBody TeammateIds

DeleteShiftShiftIdTeammatesJSONBody defines parameters for DeleteShiftShiftIdTeammates.

type DeleteShiftShiftIdTeammatesJSONRequestBody

type DeleteShiftShiftIdTeammatesJSONRequestBody DeleteShiftShiftIdTeammatesJSONBody

DeleteShiftShiftIdTeammatesJSONRequestBody defines body for DeleteShiftShiftIdTeammates for application/json ContentType.

type DeleteShiftShiftIdTeammatesResponse

type DeleteShiftShiftIdTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteShiftShiftIdTeammatesResponse

func ParseDeleteShiftShiftIdTeammatesResponse(rsp *http.Response) (*DeleteShiftShiftIdTeammatesResponse, error)

ParseDeleteShiftShiftIdTeammatesResponse parses an HTTP response from a DeleteShiftShiftIdTeammatesWithResponse call

func (DeleteShiftShiftIdTeammatesResponse) Status

Status returns HTTPResponse.Status

func (DeleteShiftShiftIdTeammatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteTagsTagIdResponse

type DeleteTagsTagIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteTagsTagIdResponse

func ParseDeleteTagsTagIdResponse(rsp *http.Response) (*DeleteTagsTagIdResponse, error)

ParseDeleteTagsTagIdResponse parses an HTTP response from a DeleteTagsTagIdWithResponse call

func (DeleteTagsTagIdResponse) Status

func (r DeleteTagsTagIdResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTagsTagIdResponse) StatusCode

func (r DeleteTagsTagIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTeamsTeamIdTeammatesJSONBody

type DeleteTeamsTeamIdTeammatesJSONBody TeammateIds

DeleteTeamsTeamIdTeammatesJSONBody defines parameters for DeleteTeamsTeamIdTeammates.

type DeleteTeamsTeamIdTeammatesJSONRequestBody

type DeleteTeamsTeamIdTeammatesJSONRequestBody DeleteTeamsTeamIdTeammatesJSONBody

DeleteTeamsTeamIdTeammatesJSONRequestBody defines body for DeleteTeamsTeamIdTeammates for application/json ContentType.

type DeleteTeamsTeamIdTeammatesResponse

type DeleteTeamsTeamIdTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteTeamsTeamIdTeammatesResponse

func ParseDeleteTeamsTeamIdTeammatesResponse(rsp *http.Response) (*DeleteTeamsTeamIdTeammatesResponse, error)

ParseDeleteTeamsTeamIdTeammatesResponse parses an HTTP response from a DeleteTeamsTeamIdTeammatesWithResponse call

func (DeleteTeamsTeamIdTeammatesResponse) Status

Status returns HTTPResponse.Status

func (DeleteTeamsTeamIdTeammatesResponse) StatusCode

func (r DeleteTeamsTeamIdTeammatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditDraft

type EditDraft struct {
	// Embedded struct due to allOf(#/components/schemas/ReplyDraft)
	ReplyDraft `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	// Mode of the draft to update. Can only be 'shared' (draft is visible to all teammates with access to the conversation).
	Mode *EditDraftMode `json:"mode,omitempty"`

	// Version of the draft
	Version *string `json:"version,omitempty"`
}

EditDraft defines model for EditDraft.

type EditDraftMode

type EditDraftMode string

Mode of the draft to update. Can only be 'shared' (draft is visible to all teammates with access to the conversation).

const (
	EditDraftModeShared EditDraftMode = "shared"
)

Defines values for EditDraftMode.

type Event

type Event EventResponse

An event is created everytime something interesting is happening in Front.

type EventResponse

type EventResponse struct {
	Conversation *ConversationResponse `json:"conversation,omitempty"`

	// Date at which the event has been emitted
	EmittedAt *string `json:"emitted_at,omitempty"`

	// Unique identifier of the event
	Id            *int `json:"id,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Event source
	Source *struct {
		// Metadata about the resource
		Meta *struct {
			// Type of resource
			Type *interface{} `json:"type,omitempty"`
		} `json:"_meta,omitempty"`

		// The resource which triggered the event
		Data *interface{} `json:"data,omitempty"`
	} `json:"source,omitempty"`

	// Partial representation (type & id) of the event's target
	Target *struct {
		// Metadata about the resource
		Meta *struct {
			// The resource which received the event
			Data *interface{} `json:"data,omitempty"`

			// Type of resource
			Type *interface{} `json:"type,omitempty"`
		} `json:"_meta,omitempty"`
	} `json:"target,omitempty"`

	// Type of event
	Type *EventResponseType `json:"type,omitempty"`
}

An event is created everytime something interesting is happening in Front.

type EventResponseType

type EventResponseType string

Type of event

const (
	EventResponseTypeArchive EventResponseType = "archive"

	EventResponseTypeAssign EventResponseType = "assign"

	EventResponseTypeComment EventResponseType = "comment"

	EventResponseTypeForward EventResponseType = "forward"

	EventResponseTypeInbound EventResponseType = "inbound"

	EventResponseTypeMove EventResponseType = "move"

	EventResponseTypeOutbound EventResponseType = "outbound"

	EventResponseTypeReopen EventResponseType = "reopen"

	EventResponseTypeRestore EventResponseType = "restore"

	EventResponseTypeSendingError EventResponseType = "sending_error"

	EventResponseTypeTag EventResponseType = "tag"

	EventResponseTypeTrash EventResponseType = "trash"

	EventResponseTypeUnassign EventResponseType = "unassign"

	EventResponseTypeUntag EventResponseType = "untag"
)

Defines values for EventResponseType.

type Export

type Export ExportResponse

Export defines model for export.

type ExportQuery

type ExportQuery struct {
	// List of columns requested for the export.
	// If the string 'all' is provided, all columns will be exported.
	// If no value is provided, the legacy list of column will be used.
	Columns *[]string `json:"columns,omitempty"`

	// End time of the data to include in the export.
	End int `json:"end"`

	// ID of the inbox to export the analytics for. If omitted, the export will contain all the inboxes.
	InboxId *string `json:"inbox_id,omitempty"`

	// Whether to export all the events or  only messages. Default to `false`.
	ShouldExportEvents *bool `json:"should_export_events,omitempty"`

	// Whether to export events from individual inboxes of team members. Default to `false`.
	ShouldIncludePrivateInboxes *bool `json:"should_include_private_inboxes,omitempty"`

	// Start time of the data to include in the export.
	Start int `json:"start"`

	// ID the tag to export the analytics for. If omitted, the export will contain all the tags.
	TagId *string `json:"tag_id,omitempty"`

	// [IANA name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the timezone to format the dates with. If omitted, the export will use UTC.
	Timezone *string `json:"timezone,omitempty"`
}

ExportQuery defines model for ExportQuery.

type ExportResponse

type ExportResponse struct {
	// Date at which the export has been created.
	CreatedAt *int `json:"created_at,omitempty"`

	// Name of the file of the generated export. Will be null until the status is "done".
	Filename *string `json:"filename,omitempty"`

	// Unique identifier for the export
	Id *string `json:"id,omitempty"`

	// Number ranging from 0 to 100 corresponding to the percentage of the export processed.
	Progress      *int         `json:"progress,omitempty"`
	Query         *ExportQuery `json:"query,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to resource's owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Size (in bytes) of the export file.
	Size *int `json:"size,omitempty"`

	// Status of the export
	Status *ExportResponseStatus `json:"status,omitempty"`

	// URL of the generated export. Will be null until the status is "done".
	Url *string `json:"url,omitempty"`
}

ExportResponse defines model for ExportResponse.

type ExportResponseStatus

type ExportResponseStatus string

Status of the export

const (
	ExportResponseStatusDone ExportResponseStatus = "done"

	ExportResponseStatusFailed ExportResponseStatus = "failed"

	ExportResponseStatusPending ExportResponseStatus = "pending"

	ExportResponseStatusRunning ExportResponseStatus = "running"
)

Defines values for ExportResponseStatus.

type GetAccountsAccountIdContactsParams

type GetAccountsAccountIdContactsParams struct {
	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`
}

GetAccountsAccountIdContactsParams defines parameters for GetAccountsAccountIdContacts.

type GetAccountsAccountIdContactsResponse

type GetAccountsAccountIdContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ContactResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetAccountsAccountIdContactsResponse

func ParseGetAccountsAccountIdContactsResponse(rsp *http.Response) (*GetAccountsAccountIdContactsResponse, error)

ParseGetAccountsAccountIdContactsResponse parses an HTTP response from a GetAccountsAccountIdContactsWithResponse call

func (GetAccountsAccountIdContactsResponse) Status

Status returns HTTPResponse.Status

func (GetAccountsAccountIdContactsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAccountsAccountIdResponse

type GetAccountsAccountIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AccountResponse
}

func ParseGetAccountsAccountIdResponse

func ParseGetAccountsAccountIdResponse(rsp *http.Response) (*GetAccountsAccountIdResponse, error)

ParseGetAccountsAccountIdResponse parses an HTTP response from a GetAccountsAccountIdWithResponse call

func (GetAccountsAccountIdResponse) Status

Status returns HTTPResponse.Status

func (GetAccountsAccountIdResponse) StatusCode

func (r GetAccountsAccountIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAccountsParams

type GetAccountsParams struct {
	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the records
	SortBy *SortBy `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *GetAccountsParamsSortOrder `json:"sort_order,omitempty"`
}

GetAccountsParams defines parameters for GetAccounts.

type GetAccountsParamsSortOrder

type GetAccountsParamsSortOrder string

GetAccountsParamsSortOrder defines parameters for GetAccounts.

type GetAccountsResponse

type GetAccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]AccountResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetAccountsResponse

func ParseGetAccountsResponse(rsp *http.Response) (*GetAccountsResponse, error)

ParseGetAccountsResponse parses an HTTP response from a GetAccountsWithResponse call

func (GetAccountsResponse) Status

func (r GetAccountsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAccountsResponse) StatusCode

func (r GetAccountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAnalyticsExportResponse

type GetAnalyticsExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AnalyticsExportResponse2
}

func ParseGetAnalyticsExportResponse

func ParseGetAnalyticsExportResponse(rsp *http.Response) (*GetAnalyticsExportResponse, error)

ParseGetAnalyticsExportResponse parses an HTTP response from a GetAnalyticsExportWithResponse call

func (GetAnalyticsExportResponse) Status

Status returns HTTPResponse.Status

func (GetAnalyticsExportResponse) StatusCode

func (r GetAnalyticsExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAnalyticsParams

type GetAnalyticsParams struct {
	// List of inboxes to include
	InboxIds *InboxIds `json:"inbox_ids,omitempty"`

	// List of tags to include
	TagIds *TagIds `json:"tag_ids,omitempty"`

	// List of teammates to include
	TeammateIds *TeammateIds `json:"teammate_ids,omitempty"`

	// Timestamp from which analytics will start
	Start AnalyticsStart `json:"start"`

	// Timestamp from which analytics will end
	End AnalyticsEnd `json:"end"`

	// [IANA name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the timezone to format the dates with. If omitted, the export will use UTC.
	Timezone *AnalyticsTimezone `json:"timezone,omitempty"`

	// Metrics to include
	Metrics AnalyticsMetrics `json:"metrics"`
}

GetAnalyticsParams defines parameters for GetAnalytics.

type GetAnalyticsReportResponse

type GetAnalyticsReportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AnalyticsReportResponse2
}

func ParseGetAnalyticsReportResponse

func ParseGetAnalyticsReportResponse(rsp *http.Response) (*GetAnalyticsReportResponse, error)

ParseGetAnalyticsReportResponse parses an HTTP response from a GetAnalyticsReportWithResponse call

func (GetAnalyticsReportResponse) Status

Status returns HTTPResponse.Status

func (GetAnalyticsReportResponse) StatusCode

func (r GetAnalyticsReportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAnalyticsResponse

type GetAnalyticsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AnalyticsResponse
}

func ParseGetAnalyticsResponse

func ParseGetAnalyticsResponse(rsp *http.Response) (*GetAnalyticsResponse, error)

ParseGetAnalyticsResponse parses an HTTP response from a GetAnalyticsWithResponse call

func (GetAnalyticsResponse) Status

func (r GetAnalyticsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAnalyticsResponse) StatusCode

func (r GetAnalyticsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChannelsChannelIdResponse

type GetChannelsChannelIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ChannelResponse
}

func ParseGetChannelsChannelIdResponse

func ParseGetChannelsChannelIdResponse(rsp *http.Response) (*GetChannelsChannelIdResponse, error)

ParseGetChannelsChannelIdResponse parses an HTTP response from a GetChannelsChannelIdWithResponse call

func (GetChannelsChannelIdResponse) Status

Status returns HTTPResponse.Status

func (GetChannelsChannelIdResponse) StatusCode

func (r GetChannelsChannelIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChannelsResponse

type GetChannelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]ChannelResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetChannelsResponse

func ParseGetChannelsResponse(rsp *http.Response) (*GetChannelsResponse, error)

ParseGetChannelsResponse parses an HTTP response from a GetChannelsWithResponse call

func (GetChannelsResponse) Status

func (r GetChannelsResponse) Status() string

Status returns HTTPResponse.Status

func (GetChannelsResponse) StatusCode

func (r GetChannelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCommentsCommentIdMentionsResponse

type GetCommentsCommentIdMentionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]TeammateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetCommentsCommentIdMentionsResponse

func ParseGetCommentsCommentIdMentionsResponse(rsp *http.Response) (*GetCommentsCommentIdMentionsResponse, error)

ParseGetCommentsCommentIdMentionsResponse parses an HTTP response from a GetCommentsCommentIdMentionsWithResponse call

func (GetCommentsCommentIdMentionsResponse) Status

Status returns HTTPResponse.Status

func (GetCommentsCommentIdMentionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCommentsCommentIdResponse

type GetCommentsCommentIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CommentResponse
}

func ParseGetCommentsCommentIdResponse

func ParseGetCommentsCommentIdResponse(rsp *http.Response) (*GetCommentsCommentIdResponse, error)

ParseGetCommentsCommentIdResponse parses an HTTP response from a GetCommentsCommentIdWithResponse call

func (GetCommentsCommentIdResponse) Status

Status returns HTTPResponse.Status

func (GetCommentsCommentIdResponse) StatusCode

func (r GetCommentsCommentIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetContactGroupsContactGroupIdContactsParams

type GetContactGroupsContactGroupIdContactsParams struct {
	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`
}

GetContactGroupsContactGroupIdContactsParams defines parameters for GetContactGroupsContactGroupIdContacts.

type GetContactGroupsContactGroupIdContactsResponse

type GetContactGroupsContactGroupIdContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ContactResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetContactGroupsContactGroupIdContactsResponse

func ParseGetContactGroupsContactGroupIdContactsResponse(rsp *http.Response) (*GetContactGroupsContactGroupIdContactsResponse, error)

ParseGetContactGroupsContactGroupIdContactsResponse parses an HTTP response from a GetContactGroupsContactGroupIdContactsWithResponse call

func (GetContactGroupsContactGroupIdContactsResponse) Status

Status returns HTTPResponse.Status

func (GetContactGroupsContactGroupIdContactsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetContactGroupsResponse

type GetContactGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]ContactGroupResponses `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetContactGroupsResponse

func ParseGetContactGroupsResponse(rsp *http.Response) (*GetContactGroupsResponse, error)

ParseGetContactGroupsResponse parses an HTTP response from a GetContactGroupsWithResponse call

func (GetContactGroupsResponse) Status

func (r GetContactGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (GetContactGroupsResponse) StatusCode

func (r GetContactGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetContactsContactIdConversationsParams

type GetContactsContactIdConversationsParams struct {
	// Search query object with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `deleted`).
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

GetContactsContactIdConversationsParams defines parameters for GetContactsContactIdConversations.

type GetContactsContactIdConversationsResponse

type GetContactsContactIdConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ConversationResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetContactsContactIdConversationsResponse

func ParseGetContactsContactIdConversationsResponse(rsp *http.Response) (*GetContactsContactIdConversationsResponse, error)

ParseGetContactsContactIdConversationsResponse parses an HTTP response from a GetContactsContactIdConversationsWithResponse call

func (GetContactsContactIdConversationsResponse) Status

Status returns HTTPResponse.Status

func (GetContactsContactIdConversationsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetContactsContactIdNotesResponse

type GetContactsContactIdNotesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		Results       *[]ContactNoteResponses `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetContactsContactIdNotesResponse

func ParseGetContactsContactIdNotesResponse(rsp *http.Response) (*GetContactsContactIdNotesResponse, error)

ParseGetContactsContactIdNotesResponse parses an HTTP response from a GetContactsContactIdNotesWithResponse call

func (GetContactsContactIdNotesResponse) Status

Status returns HTTPResponse.Status

func (GetContactsContactIdNotesResponse) StatusCode

func (r GetContactsContactIdNotesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetContactsContactIdResponse

type GetContactsContactIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ContactResponse
}

func ParseGetContactsContactIdResponse

func ParseGetContactsContactIdResponse(rsp *http.Response) (*GetContactsContactIdResponse, error)

ParseGetContactsContactIdResponse parses an HTTP response from a GetContactsContactIdWithResponse call

func (GetContactsContactIdResponse) Status

Status returns HTTPResponse.Status

func (GetContactsContactIdResponse) StatusCode

func (r GetContactsContactIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetContactsParams

type GetContactsParams struct {
	// Search query object with the optional properties `updated_after` and `updated_before`, whose value should be a timestamp in seconds with up to 3 decimal places.
	Q *CardQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the records
	SortBy *SortBy `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *GetContactsParamsSortOrder `json:"sort_order,omitempty"`
}

GetContactsParams defines parameters for GetContacts.

type GetContactsParamsSortOrder

type GetContactsParamsSortOrder string

GetContactsParamsSortOrder defines parameters for GetContacts.

type GetContactsResponse

type GetContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ContactResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetContactsResponse

func ParseGetContactsResponse(rsp *http.Response) (*GetContactsResponse, error)

ParseGetContactsResponse parses an HTTP response from a GetContactsWithResponse call

func (GetContactsResponse) Status

func (r GetContactsResponse) Status() string

Status returns HTTPResponse.Status

func (GetContactsResponse) StatusCode

func (r GetContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConversationByIdResponse

type GetConversationByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ConversationResponse
}

func ParseGetConversationByIdResponse

func ParseGetConversationByIdResponse(rsp *http.Response) (*GetConversationByIdResponse, error)

ParseGetConversationByIdResponse parses an HTTP response from a GetConversationByIdWithResponse call

func (GetConversationByIdResponse) Status

Status returns HTTPResponse.Status

func (GetConversationByIdResponse) StatusCode

func (r GetConversationByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConversationsConversationIdCommentsResponse

type GetConversationsConversationIdCommentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]CommentResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetConversationsConversationIdCommentsResponse

func ParseGetConversationsConversationIdCommentsResponse(rsp *http.Response) (*GetConversationsConversationIdCommentsResponse, error)

ParseGetConversationsConversationIdCommentsResponse parses an HTTP response from a GetConversationsConversationIdCommentsWithResponse call

func (GetConversationsConversationIdCommentsResponse) Status

Status returns HTTPResponse.Status

func (GetConversationsConversationIdCommentsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetConversationsConversationIdDraftsResponse

type GetConversationsConversationIdDraftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]MessageResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetConversationsConversationIdDraftsResponse

func ParseGetConversationsConversationIdDraftsResponse(rsp *http.Response) (*GetConversationsConversationIdDraftsResponse, error)

ParseGetConversationsConversationIdDraftsResponse parses an HTTP response from a GetConversationsConversationIdDraftsWithResponse call

func (GetConversationsConversationIdDraftsResponse) Status

Status returns HTTPResponse.Status

func (GetConversationsConversationIdDraftsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetConversationsConversationIdEventsParams

type GetConversationsConversationIdEventsParams struct {
	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

GetConversationsConversationIdEventsParams defines parameters for GetConversationsConversationIdEvents.

type GetConversationsConversationIdEventsResponse

type GetConversationsConversationIdEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]EventResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetConversationsConversationIdEventsResponse

func ParseGetConversationsConversationIdEventsResponse(rsp *http.Response) (*GetConversationsConversationIdEventsResponse, error)

ParseGetConversationsConversationIdEventsResponse parses an HTTP response from a GetConversationsConversationIdEventsWithResponse call

func (GetConversationsConversationIdEventsResponse) Status

Status returns HTTPResponse.Status

func (GetConversationsConversationIdEventsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetConversationsConversationIdFollowersResponse

type GetConversationsConversationIdFollowersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]TeammateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetConversationsConversationIdFollowersResponse

func ParseGetConversationsConversationIdFollowersResponse(rsp *http.Response) (*GetConversationsConversationIdFollowersResponse, error)

ParseGetConversationsConversationIdFollowersResponse parses an HTTP response from a GetConversationsConversationIdFollowersWithResponse call

func (GetConversationsConversationIdFollowersResponse) Status

Status returns HTTPResponse.Status

func (GetConversationsConversationIdFollowersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetConversationsConversationIdInboxesResponse

type GetConversationsConversationIdInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]InboxResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetConversationsConversationIdInboxesResponse

func ParseGetConversationsConversationIdInboxesResponse(rsp *http.Response) (*GetConversationsConversationIdInboxesResponse, error)

ParseGetConversationsConversationIdInboxesResponse parses an HTTP response from a GetConversationsConversationIdInboxesWithResponse call

func (GetConversationsConversationIdInboxesResponse) Status

Status returns HTTPResponse.Status

func (GetConversationsConversationIdInboxesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetConversationsConversationIdMessagesParams

type GetConversationsConversationIdMessagesParams struct {
	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

GetConversationsConversationIdMessagesParams defines parameters for GetConversationsConversationIdMessages.

type GetConversationsConversationIdMessagesResponse

type GetConversationsConversationIdMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]MessageResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetConversationsConversationIdMessagesResponse

func ParseGetConversationsConversationIdMessagesResponse(rsp *http.Response) (*GetConversationsConversationIdMessagesResponse, error)

ParseGetConversationsConversationIdMessagesResponse parses an HTTP response from a GetConversationsConversationIdMessagesWithResponse call

func (GetConversationsConversationIdMessagesResponse) Status

Status returns HTTPResponse.Status

func (GetConversationsConversationIdMessagesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDownloadAttachmentLinkIdResponse

type GetDownloadAttachmentLinkIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Attachment
}

func ParseGetDownloadAttachmentLinkIdResponse

func ParseGetDownloadAttachmentLinkIdResponse(rsp *http.Response) (*GetDownloadAttachmentLinkIdResponse, error)

ParseGetDownloadAttachmentLinkIdResponse parses an HTTP response from a GetDownloadAttachmentLinkIdWithResponse call

func (GetDownloadAttachmentLinkIdResponse) Status

Status returns HTTPResponse.Status

func (GetDownloadAttachmentLinkIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetEventsEventIdResponse

type GetEventsEventIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EventResponse
}

func ParseGetEventsEventIdResponse

func ParseGetEventsEventIdResponse(rsp *http.Response) (*GetEventsEventIdResponse, error)

ParseGetEventsEventIdResponse parses an HTTP response from a GetEventsEventIdWithResponse call

func (GetEventsEventIdResponse) Status

func (r GetEventsEventIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetEventsEventIdResponse) StatusCode

func (r GetEventsEventIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEventsParams

type GetEventsParams struct {
	// Search query object with optional properties `before`, `after`, or `types`. `before` and `after` should be a timestamp in seconds with up to 3 decimal places. `types` should be a list of event types.
	Q *ActivityQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

GetEventsParams defines parameters for GetEvents.

type GetEventsResponse

type GetEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]EventResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetEventsResponse

func ParseGetEventsResponse(rsp *http.Response) (*GetEventsResponse, error)

ParseGetEventsResponse parses an HTTP response from a GetEventsWithResponse call

func (GetEventsResponse) Status

func (r GetEventsResponse) Status() string

Status returns HTTPResponse.Status

func (GetEventsResponse) StatusCode

func (r GetEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetExportsExportIdResponse

type GetExportsExportIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExportResponse
}

func ParseGetExportsExportIdResponse

func ParseGetExportsExportIdResponse(rsp *http.Response) (*GetExportsExportIdResponse, error)

ParseGetExportsExportIdResponse parses an HTTP response from a GetExportsExportIdWithResponse call

func (GetExportsExportIdResponse) Status

Status returns HTTPResponse.Status

func (GetExportsExportIdResponse) StatusCode

func (r GetExportsExportIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetExportsParams

type GetExportsParams struct {
	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

GetExportsParams defines parameters for GetExports.

type GetExportsResponse

type GetExportsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ExportResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetExportsResponse

func ParseGetExportsResponse(rsp *http.Response) (*GetExportsResponse, error)

ParseGetExportsResponse parses an HTTP response from a GetExportsWithResponse call

func (GetExportsResponse) Status

func (r GetExportsResponse) Status() string

Status returns HTTPResponse.Status

func (GetExportsResponse) StatusCode

func (r GetExportsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInboxesInboxIdChannelsResponse

type GetInboxesInboxIdChannelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]ChannelResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetInboxesInboxIdChannelsResponse

func ParseGetInboxesInboxIdChannelsResponse(rsp *http.Response) (*GetInboxesInboxIdChannelsResponse, error)

ParseGetInboxesInboxIdChannelsResponse parses an HTTP response from a GetInboxesInboxIdChannelsWithResponse call

func (GetInboxesInboxIdChannelsResponse) Status

Status returns HTTPResponse.Status

func (GetInboxesInboxIdChannelsResponse) StatusCode

func (r GetInboxesInboxIdChannelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInboxesInboxIdConversationsParams

type GetInboxesInboxIdConversationsParams struct {
	// Search query object with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `deleted`).
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

GetInboxesInboxIdConversationsParams defines parameters for GetInboxesInboxIdConversations.

type GetInboxesInboxIdConversationsResponse

type GetInboxesInboxIdConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ConversationResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetInboxesInboxIdConversationsResponse

func ParseGetInboxesInboxIdConversationsResponse(rsp *http.Response) (*GetInboxesInboxIdConversationsResponse, error)

ParseGetInboxesInboxIdConversationsResponse parses an HTTP response from a GetInboxesInboxIdConversationsWithResponse call

func (GetInboxesInboxIdConversationsResponse) Status

Status returns HTTPResponse.Status

func (GetInboxesInboxIdConversationsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetInboxesInboxIdResponse

type GetInboxesInboxIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InboxResponse
}

func ParseGetInboxesInboxIdResponse

func ParseGetInboxesInboxIdResponse(rsp *http.Response) (*GetInboxesInboxIdResponse, error)

ParseGetInboxesInboxIdResponse parses an HTTP response from a GetInboxesInboxIdWithResponse call

func (GetInboxesInboxIdResponse) Status

func (r GetInboxesInboxIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetInboxesInboxIdResponse) StatusCode

func (r GetInboxesInboxIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInboxesInboxIdTeammatesResponse

type GetInboxesInboxIdTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]TeammateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetInboxesInboxIdTeammatesResponse

func ParseGetInboxesInboxIdTeammatesResponse(rsp *http.Response) (*GetInboxesInboxIdTeammatesResponse, error)

ParseGetInboxesInboxIdTeammatesResponse parses an HTTP response from a GetInboxesInboxIdTeammatesWithResponse call

func (GetInboxesInboxIdTeammatesResponse) Status

Status returns HTTPResponse.Status

func (GetInboxesInboxIdTeammatesResponse) StatusCode

func (r GetInboxesInboxIdTeammatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInboxesResponse

type GetInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]InboxResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetInboxesResponse

func ParseGetInboxesResponse(rsp *http.Response) (*GetInboxesResponse, error)

ParseGetInboxesResponse parses an HTTP response from a GetInboxesWithResponse call

func (GetInboxesResponse) Status

func (r GetInboxesResponse) Status() string

Status returns HTTPResponse.Status

func (GetInboxesResponse) StatusCode

func (r GetInboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLinksLinkIdResponse

type GetLinksLinkIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LinkResponse
}

func ParseGetLinksLinkIdResponse

func ParseGetLinksLinkIdResponse(rsp *http.Response) (*GetLinksLinkIdResponse, error)

ParseGetLinksLinkIdResponse parses an HTTP response from a GetLinksLinkIdWithResponse call

func (GetLinksLinkIdResponse) Status

func (r GetLinksLinkIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetLinksLinkIdResponse) StatusCode

func (r GetLinksLinkIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLinksParams

type GetLinksParams struct {
	// Search query object with a property `types`, whose value should be a list of link types (examples - `web`, `jira`, `asana` ).
	Q *TopicQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

GetLinksParams defines parameters for GetLinks.

type GetLinksResponse

type GetLinksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]LinkResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetLinksResponse

func ParseGetLinksResponse(rsp *http.Response) (*GetLinksResponse, error)

ParseGetLinksResponse parses an HTTP response from a GetLinksWithResponse call

func (GetLinksResponse) Status

func (r GetLinksResponse) Status() string

Status returns HTTPResponse.Status

func (GetLinksResponse) StatusCode

func (r GetLinksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMeResponse

type GetMeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IdentityResponse
}

func ParseGetMeResponse

func ParseGetMeResponse(rsp *http.Response) (*GetMeResponse, error)

ParseGetMeResponse parses an HTTP response from a GetMeWithResponse call

func (GetMeResponse) Status

func (r GetMeResponse) Status() string

Status returns HTTPResponse.Status

func (GetMeResponse) StatusCode

func (r GetMeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse

type GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]MessageTemplateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse

func ParseGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse(rsp *http.Response) (*GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse, error)

ParseGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse parses an HTTP response from a GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithResponse call

func (GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse) Status

Status returns HTTPResponse.Status

func (GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse

type GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]MessageTemplateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse

func ParseGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse(rsp *http.Response) (*GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse, error)

ParseGetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse parses an HTTP response from a GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithResponse call

func (GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (GetMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetMessageTemplateFoldersMessageTemplateFolderIdResponse

type GetMessageTemplateFoldersMessageTemplateFolderIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageTemplateFolderResponse
}

func ParseGetMessageTemplateFoldersMessageTemplateFolderIdResponse

func ParseGetMessageTemplateFoldersMessageTemplateFolderIdResponse(rsp *http.Response) (*GetMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

ParseGetMessageTemplateFoldersMessageTemplateFolderIdResponse parses an HTTP response from a GetMessageTemplateFoldersMessageTemplateFolderIdWithResponse call

func (GetMessageTemplateFoldersMessageTemplateFolderIdResponse) Status

Status returns HTTPResponse.Status

func (GetMessageTemplateFoldersMessageTemplateFolderIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetMessageTemplateFoldersResponse

type GetMessageTemplateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]MessageTemplateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetMessageTemplateFoldersResponse

func ParseGetMessageTemplateFoldersResponse(rsp *http.Response) (*GetMessageTemplateFoldersResponse, error)

ParseGetMessageTemplateFoldersResponse parses an HTTP response from a GetMessageTemplateFoldersWithResponse call

func (GetMessageTemplateFoldersResponse) Status

Status returns HTTPResponse.Status

func (GetMessageTemplateFoldersResponse) StatusCode

func (r GetMessageTemplateFoldersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMessageTemplatesMessageTemplateIdResponse

type GetMessageTemplatesMessageTemplateIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageTemplateResponse
}

func ParseGetMessageTemplatesMessageTemplateIdResponse

func ParseGetMessageTemplatesMessageTemplateIdResponse(rsp *http.Response) (*GetMessageTemplatesMessageTemplateIdResponse, error)

ParseGetMessageTemplatesMessageTemplateIdResponse parses an HTTP response from a GetMessageTemplatesMessageTemplateIdWithResponse call

func (GetMessageTemplatesMessageTemplateIdResponse) Status

Status returns HTTPResponse.Status

func (GetMessageTemplatesMessageTemplateIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetMessageTemplatesResponse

type GetMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]MessageTemplateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetMessageTemplatesResponse

func ParseGetMessageTemplatesResponse(rsp *http.Response) (*GetMessageTemplatesResponse, error)

ParseGetMessageTemplatesResponse parses an HTTP response from a GetMessageTemplatesWithResponse call

func (GetMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (GetMessageTemplatesResponse) StatusCode

func (r GetMessageTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMessagesMessageIdResponse

type GetMessagesMessageIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageResponse
}

func ParseGetMessagesMessageIdResponse

func ParseGetMessagesMessageIdResponse(rsp *http.Response) (*GetMessagesMessageIdResponse, error)

ParseGetMessagesMessageIdResponse parses an HTTP response from a GetMessagesMessageIdWithResponse call

func (GetMessagesMessageIdResponse) Status

Status returns HTTPResponse.Status

func (GetMessagesMessageIdResponse) StatusCode

func (r GetMessagesMessageIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRulesResponse

type GetRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]RuleResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetRulesResponse

func ParseGetRulesResponse(rsp *http.Response) (*GetRulesResponse, error)

ParseGetRulesResponse parses an HTTP response from a GetRulesWithResponse call

func (GetRulesResponse) Status

func (r GetRulesResponse) Status() string

Status returns HTTPResponse.Status

func (GetRulesResponse) StatusCode

func (r GetRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRulesRuleIdResponse

type GetRulesRuleIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RuleResponse
}

func ParseGetRulesRuleIdResponse

func ParseGetRulesRuleIdResponse(rsp *http.Response) (*GetRulesRuleIdResponse, error)

ParseGetRulesRuleIdResponse parses an HTTP response from a GetRulesRuleIdWithResponse call

func (GetRulesRuleIdResponse) Status

func (r GetRulesRuleIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetRulesRuleIdResponse) StatusCode

func (r GetRulesRuleIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetShiftShiftIdResponse

type GetShiftShiftIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ShiftResponse
}

func ParseGetShiftShiftIdResponse

func ParseGetShiftShiftIdResponse(rsp *http.Response) (*GetShiftShiftIdResponse, error)

ParseGetShiftShiftIdResponse parses an HTTP response from a GetShiftShiftIdWithResponse call

func (GetShiftShiftIdResponse) Status

func (r GetShiftShiftIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetShiftShiftIdResponse) StatusCode

func (r GetShiftShiftIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetShiftShiftIdTeammatesResponse

type GetShiftShiftIdTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]TeammateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetShiftShiftIdTeammatesResponse

func ParseGetShiftShiftIdTeammatesResponse(rsp *http.Response) (*GetShiftShiftIdTeammatesResponse, error)

ParseGetShiftShiftIdTeammatesResponse parses an HTTP response from a GetShiftShiftIdTeammatesWithResponse call

func (GetShiftShiftIdTeammatesResponse) Status

Status returns HTTPResponse.Status

func (GetShiftShiftIdTeammatesResponse) StatusCode

func (r GetShiftShiftIdTeammatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTagsResponse

type GetTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]TagResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTagsResponse

func ParseGetTagsResponse(rsp *http.Response) (*GetTagsResponse, error)

ParseGetTagsResponse parses an HTTP response from a GetTagsWithResponse call

func (GetTagsResponse) Status

func (r GetTagsResponse) Status() string

Status returns HTTPResponse.Status

func (GetTagsResponse) StatusCode

func (r GetTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTagsTagIdChildrenResponse

type GetTagsTagIdChildrenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]TagResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTagsTagIdChildrenResponse

func ParseGetTagsTagIdChildrenResponse(rsp *http.Response) (*GetTagsTagIdChildrenResponse, error)

ParseGetTagsTagIdChildrenResponse parses an HTTP response from a GetTagsTagIdChildrenWithResponse call

func (GetTagsTagIdChildrenResponse) Status

Status returns HTTPResponse.Status

func (GetTagsTagIdChildrenResponse) StatusCode

func (r GetTagsTagIdChildrenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTagsTagIdConversationsParams

type GetTagsTagIdConversationsParams struct {
	// Search query object with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `deleted`).
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

GetTagsTagIdConversationsParams defines parameters for GetTagsTagIdConversations.

type GetTagsTagIdConversationsResponse

type GetTagsTagIdConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ConversationResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTagsTagIdConversationsResponse

func ParseGetTagsTagIdConversationsResponse(rsp *http.Response) (*GetTagsTagIdConversationsResponse, error)

ParseGetTagsTagIdConversationsResponse parses an HTTP response from a GetTagsTagIdConversationsWithResponse call

func (GetTagsTagIdConversationsResponse) Status

Status returns HTTPResponse.Status

func (GetTagsTagIdConversationsResponse) StatusCode

func (r GetTagsTagIdConversationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTagsTagIdResponse

type GetTagsTagIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TagResponse
}

func ParseGetTagsTagIdResponse

func ParseGetTagsTagIdResponse(rsp *http.Response) (*GetTagsTagIdResponse, error)

ParseGetTagsTagIdResponse parses an HTTP response from a GetTagsTagIdWithResponse call

func (GetTagsTagIdResponse) Status

func (r GetTagsTagIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetTagsTagIdResponse) StatusCode

func (r GetTagsTagIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamTeamIdRulesResponse

type GetTeamTeamIdRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]RuleResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeamTeamIdRulesResponse

func ParseGetTeamTeamIdRulesResponse(rsp *http.Response) (*GetTeamTeamIdRulesResponse, error)

ParseGetTeamTeamIdRulesResponse parses an HTTP response from a GetTeamTeamIdRulesWithResponse call

func (GetTeamTeamIdRulesResponse) Status

Status returns HTTPResponse.Status

func (GetTeamTeamIdRulesResponse) StatusCode

func (r GetTeamTeamIdRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesResponse

type GetTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]TeammateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesResponse

func ParseGetTeammatesResponse(rsp *http.Response) (*GetTeammatesResponse, error)

ParseGetTeammatesResponse parses an HTTP response from a GetTeammatesWithResponse call

func (GetTeammatesResponse) Status

func (r GetTeammatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeammatesResponse) StatusCode

func (r GetTeammatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdChannelsResponse

type GetTeammatesTeammateIdChannelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]ChannelResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesTeammateIdChannelsResponse

func ParseGetTeammatesTeammateIdChannelsResponse(rsp *http.Response) (*GetTeammatesTeammateIdChannelsResponse, error)

ParseGetTeammatesTeammateIdChannelsResponse parses an HTTP response from a GetTeammatesTeammateIdChannelsWithResponse call

func (GetTeammatesTeammateIdChannelsResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdChannelsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdContactGroupsResponse

type GetTeammatesTeammateIdContactGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]ContactGroupResponses `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesTeammateIdContactGroupsResponse

func ParseGetTeammatesTeammateIdContactGroupsResponse(rsp *http.Response) (*GetTeammatesTeammateIdContactGroupsResponse, error)

ParseGetTeammatesTeammateIdContactGroupsResponse parses an HTTP response from a GetTeammatesTeammateIdContactGroupsWithResponse call

func (GetTeammatesTeammateIdContactGroupsResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdContactGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdContactsParams

type GetTeammatesTeammateIdContactsParams struct {
	// Search query object with the optional properties `updated_after` and `updated_before`, whose value should be a timestamp in seconds with up to 3 decimal places.
	Q *CardQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the records
	SortBy *SortBy `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *GetTeammatesTeammateIdContactsParamsSortOrder `json:"sort_order,omitempty"`
}

GetTeammatesTeammateIdContactsParams defines parameters for GetTeammatesTeammateIdContacts.

type GetTeammatesTeammateIdContactsParamsSortOrder

type GetTeammatesTeammateIdContactsParamsSortOrder string

GetTeammatesTeammateIdContactsParamsSortOrder defines parameters for GetTeammatesTeammateIdContacts.

type GetTeammatesTeammateIdContactsResponse

type GetTeammatesTeammateIdContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ContactResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesTeammateIdContactsResponse

func ParseGetTeammatesTeammateIdContactsResponse(rsp *http.Response) (*GetTeammatesTeammateIdContactsResponse, error)

ParseGetTeammatesTeammateIdContactsResponse parses an HTTP response from a GetTeammatesTeammateIdContactsWithResponse call

func (GetTeammatesTeammateIdContactsResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdContactsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdConversationsParams

type GetTeammatesTeammateIdConversationsParams struct {
	// Search query object with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `deleted`).
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

GetTeammatesTeammateIdConversationsParams defines parameters for GetTeammatesTeammateIdConversations.

type GetTeammatesTeammateIdConversationsResponse

type GetTeammatesTeammateIdConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ConversationResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesTeammateIdConversationsResponse

func ParseGetTeammatesTeammateIdConversationsResponse(rsp *http.Response) (*GetTeammatesTeammateIdConversationsResponse, error)

ParseGetTeammatesTeammateIdConversationsResponse parses an HTTP response from a GetTeammatesTeammateIdConversationsWithResponse call

func (GetTeammatesTeammateIdConversationsResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdConversationsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdInboxesResponse

type GetTeammatesTeammateIdInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]InboxResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesTeammateIdInboxesResponse

func ParseGetTeammatesTeammateIdInboxesResponse(rsp *http.Response) (*GetTeammatesTeammateIdInboxesResponse, error)

ParseGetTeammatesTeammateIdInboxesResponse parses an HTTP response from a GetTeammatesTeammateIdInboxesWithResponse call

func (GetTeammatesTeammateIdInboxesResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdInboxesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdMessageTemplateFoldersResponse

type GetTeammatesTeammateIdMessageTemplateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]MessageTemplateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesTeammateIdMessageTemplateFoldersResponse

func ParseGetTeammatesTeammateIdMessageTemplateFoldersResponse(rsp *http.Response) (*GetTeammatesTeammateIdMessageTemplateFoldersResponse, error)

ParseGetTeammatesTeammateIdMessageTemplateFoldersResponse parses an HTTP response from a GetTeammatesTeammateIdMessageTemplateFoldersWithResponse call

func (GetTeammatesTeammateIdMessageTemplateFoldersResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdMessageTemplateFoldersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdMessageTemplatesResponse

type GetTeammatesTeammateIdMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]MessageTemplateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesTeammateIdMessageTemplatesResponse

func ParseGetTeammatesTeammateIdMessageTemplatesResponse(rsp *http.Response) (*GetTeammatesTeammateIdMessageTemplatesResponse, error)

ParseGetTeammatesTeammateIdMessageTemplatesResponse parses an HTTP response from a GetTeammatesTeammateIdMessageTemplatesWithResponse call

func (GetTeammatesTeammateIdMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdMessageTemplatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdResponse

type GetTeammatesTeammateIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeammateResponse
}

func ParseGetTeammatesTeammateIdResponse

func ParseGetTeammatesTeammateIdResponse(rsp *http.Response) (*GetTeammatesTeammateIdResponse, error)

ParseGetTeammatesTeammateIdResponse parses an HTTP response from a GetTeammatesTeammateIdWithResponse call

func (GetTeammatesTeammateIdResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdResponse) StatusCode

func (r GetTeammatesTeammateIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdRulesResponse

type GetTeammatesTeammateIdRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]RuleResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesTeammateIdRulesResponse

func ParseGetTeammatesTeammateIdRulesResponse(rsp *http.Response) (*GetTeammatesTeammateIdRulesResponse, error)

ParseGetTeammatesTeammateIdRulesResponse parses an HTTP response from a GetTeammatesTeammateIdRulesWithResponse call

func (GetTeammatesTeammateIdRulesResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdRulesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdShiftsResponse

type GetTeammatesTeammateIdShiftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]ShiftResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesTeammateIdShiftsResponse

func ParseGetTeammatesTeammateIdShiftsResponse(rsp *http.Response) (*GetTeammatesTeammateIdShiftsResponse, error)

ParseGetTeammatesTeammateIdShiftsResponse parses an HTTP response from a GetTeammatesTeammateIdShiftsWithResponse call

func (GetTeammatesTeammateIdShiftsResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdShiftsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeammatesTeammateIdTagsResponse

type GetTeammatesTeammateIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]TagResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeammatesTeammateIdTagsResponse

func ParseGetTeammatesTeammateIdTagsResponse(rsp *http.Response) (*GetTeammatesTeammateIdTagsResponse, error)

ParseGetTeammatesTeammateIdTagsResponse parses an HTTP response from a GetTeammatesTeammateIdTagsWithResponse call

func (GetTeammatesTeammateIdTagsResponse) Status

Status returns HTTPResponse.Status

func (GetTeammatesTeammateIdTagsResponse) StatusCode

func (r GetTeammatesTeammateIdTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsResponse

type GetTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]TeamResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeamsResponse

func ParseGetTeamsResponse(rsp *http.Response) (*GetTeamsResponse, error)

ParseGetTeamsResponse parses an HTTP response from a GetTeamsWithResponse call

func (GetTeamsResponse) Status

func (r GetTeamsResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeamsResponse) StatusCode

func (r GetTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIdAnalyticsParams

type GetTeamsTeamIdAnalyticsParams struct {
	// List of inboxes to include
	InboxIds *InboxIds `json:"inbox_ids,omitempty"`

	// List of tags to include
	TagIds *TagIds `json:"tag_ids,omitempty"`

	// List of teammates to include
	TeammateIds *TeammateIds `json:"teammate_ids,omitempty"`

	// Timestamp from which analytics will start
	Start AnalyticsStart `json:"start"`

	// Timestamp from which analytics will end
	End AnalyticsEnd `json:"end"`

	// [IANA name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the timezone to format the dates with. If omitted, the export will use UTC.
	Timezone *AnalyticsTimezone `json:"timezone,omitempty"`

	// Metrics to include
	Metrics AnalyticsMetrics `json:"metrics"`
}

GetTeamsTeamIdAnalyticsParams defines parameters for GetTeamsTeamIdAnalytics.

type GetTeamsTeamIdAnalyticsResponse

type GetTeamsTeamIdAnalyticsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AnalyticsResponse
}

func ParseGetTeamsTeamIdAnalyticsResponse

func ParseGetTeamsTeamIdAnalyticsResponse(rsp *http.Response) (*GetTeamsTeamIdAnalyticsResponse, error)

ParseGetTeamsTeamIdAnalyticsResponse parses an HTTP response from a GetTeamsTeamIdAnalyticsWithResponse call

func (GetTeamsTeamIdAnalyticsResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIdAnalyticsResponse) StatusCode

func (r GetTeamsTeamIdAnalyticsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIdChannelsResponse

type GetTeamsTeamIdChannelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]ChannelResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeamsTeamIdChannelsResponse

func ParseGetTeamsTeamIdChannelsResponse(rsp *http.Response) (*GetTeamsTeamIdChannelsResponse, error)

ParseGetTeamsTeamIdChannelsResponse parses an HTTP response from a GetTeamsTeamIdChannelsWithResponse call

func (GetTeamsTeamIdChannelsResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIdChannelsResponse) StatusCode

func (r GetTeamsTeamIdChannelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIdContactGroupsResponse

type GetTeamsTeamIdContactGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]ContactGroupResponses `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeamsTeamIdContactGroupsResponse

func ParseGetTeamsTeamIdContactGroupsResponse(rsp *http.Response) (*GetTeamsTeamIdContactGroupsResponse, error)

ParseGetTeamsTeamIdContactGroupsResponse parses an HTTP response from a GetTeamsTeamIdContactGroupsWithResponse call

func (GetTeamsTeamIdContactGroupsResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIdContactGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIdContactsParams

type GetTeamsTeamIdContactsParams struct {
	// Search query object with the optional properties `updated_after` and `updated_before`, whose value should be a timestamp in seconds with up to 3 decimal places.
	Q *CardQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the records
	SortBy *SortBy `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *GetTeamsTeamIdContactsParamsSortOrder `json:"sort_order,omitempty"`
}

GetTeamsTeamIdContactsParams defines parameters for GetTeamsTeamIdContacts.

type GetTeamsTeamIdContactsParamsSortOrder

type GetTeamsTeamIdContactsParamsSortOrder string

GetTeamsTeamIdContactsParamsSortOrder defines parameters for GetTeamsTeamIdContacts.

type GetTeamsTeamIdContactsResponse

type GetTeamsTeamIdContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ContactResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeamsTeamIdContactsResponse

func ParseGetTeamsTeamIdContactsResponse(rsp *http.Response) (*GetTeamsTeamIdContactsResponse, error)

ParseGetTeamsTeamIdContactsResponse parses an HTTP response from a GetTeamsTeamIdContactsWithResponse call

func (GetTeamsTeamIdContactsResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIdContactsResponse) StatusCode

func (r GetTeamsTeamIdContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIdInboxesResponse

type GetTeamsTeamIdInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]InboxResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeamsTeamIdInboxesResponse

func ParseGetTeamsTeamIdInboxesResponse(rsp *http.Response) (*GetTeamsTeamIdInboxesResponse, error)

ParseGetTeamsTeamIdInboxesResponse parses an HTTP response from a GetTeamsTeamIdInboxesWithResponse call

func (GetTeamsTeamIdInboxesResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIdInboxesResponse) StatusCode

func (r GetTeamsTeamIdInboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIdMessageTemplateFoldersResponse

type GetTeamsTeamIdMessageTemplateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]MessageTemplateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeamsTeamIdMessageTemplateFoldersResponse

func ParseGetTeamsTeamIdMessageTemplateFoldersResponse(rsp *http.Response) (*GetTeamsTeamIdMessageTemplateFoldersResponse, error)

ParseGetTeamsTeamIdMessageTemplateFoldersResponse parses an HTTP response from a GetTeamsTeamIdMessageTemplateFoldersWithResponse call

func (GetTeamsTeamIdMessageTemplateFoldersResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIdMessageTemplateFoldersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIdMessageTemplatesResponse

type GetTeamsTeamIdMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]MessageTemplateResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeamsTeamIdMessageTemplatesResponse

func ParseGetTeamsTeamIdMessageTemplatesResponse(rsp *http.Response) (*GetTeamsTeamIdMessageTemplatesResponse, error)

ParseGetTeamsTeamIdMessageTemplatesResponse parses an HTTP response from a GetTeamsTeamIdMessageTemplatesWithResponse call

func (GetTeamsTeamIdMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIdMessageTemplatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIdResponse

type GetTeamsTeamIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeamResponse
}

func ParseGetTeamsTeamIdResponse

func ParseGetTeamsTeamIdResponse(rsp *http.Response) (*GetTeamsTeamIdResponse, error)

ParseGetTeamsTeamIdResponse parses an HTTP response from a GetTeamsTeamIdWithResponse call

func (GetTeamsTeamIdResponse) Status

func (r GetTeamsTeamIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeamsTeamIdResponse) StatusCode

func (r GetTeamsTeamIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIdShiftsResponse

type GetTeamsTeamIdShiftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]ShiftResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeamsTeamIdShiftsResponse

func ParseGetTeamsTeamIdShiftsResponse(rsp *http.Response) (*GetTeamsTeamIdShiftsResponse, error)

ParseGetTeamsTeamIdShiftsResponse parses an HTTP response from a GetTeamsTeamIdShiftsWithResponse call

func (GetTeamsTeamIdShiftsResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIdShiftsResponse) StatusCode

func (r GetTeamsTeamIdShiftsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIdTagsResponse

type GetTeamsTeamIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]TagResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseGetTeamsTeamIdTagsResponse

func ParseGetTeamsTeamIdTagsResponse(rsp *http.Response) (*GetTeamsTeamIdTagsResponse, error)

ParseGetTeamsTeamIdTagsResponse parses an HTTP response from a GetTeamsTeamIdTagsWithResponse call

func (GetTeamsTeamIdTagsResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIdTagsResponse) StatusCode

func (r GetTeamsTeamIdTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Identity

type Identity IdentityResponse

Identity defines model for identity.

type IdentityResponse

type IdentityResponse struct {
	// Unique ID of company
	Id *int `json:"id,omitempty"`

	// Name of company
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

IdentityResponse defines model for IdentityResponse.

type ImportInboxMessageJSONBody

type ImportInboxMessageJSONBody ImportMessage

ImportInboxMessageJSONBody defines parameters for ImportInboxMessage.

type ImportInboxMessageJSONRequestBody

type ImportInboxMessageJSONRequestBody ImportInboxMessageJSONBody

ImportInboxMessageJSONRequestBody defines body for ImportInboxMessage for application/json ContentType.

type ImportInboxMessageResponse

type ImportInboxMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		// Message unique identifier
		MessageUid *string `json:"message_uid,omitempty"`
		Status     *string `json:"status,omitempty"`
	}
}

func ParseImportInboxMessageResponse

func ParseImportInboxMessageResponse(rsp *http.Response) (*ImportInboxMessageResponse, error)

ParseImportInboxMessageResponse parses an HTTP response from a ImportInboxMessageWithResponse call

func (ImportInboxMessageResponse) Status

Status returns HTTPResponse.Status

func (ImportInboxMessageResponse) StatusCode

func (r ImportInboxMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ImportMessage

type ImportMessage struct {
	// ID of the teammate who will be assigned to the conversation.
	AssigneeId *string `json:"assignee_id,omitempty"`

	// Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://gist.github.com/hdornier/e04d04921032e98271f46ff8a539a4cb).
	Attachments *[]string `json:"attachments,omitempty"`
	Bcc         *[]string `json:"bcc,omitempty"`

	// Body of the message
	Body string `json:"body"`

	// Format of the message body. Can be `markdown` (default) or `html`, and can only be specified for `email` type.
	BodyFormat *ImportMessageBodyFormat `json:"body_format,omitempty"`
	Cc         *[]string                `json:"cc,omitempty"`

	// Date at which the message as been sent or received.
	CreatedAt int `json:"created_at"`

	// External identifier of the message. Front won't import two messages with the same external ID.
	ExternalId string `json:"external_id"`
	Metadata   struct {
		// Determines if message is archived after import.
		IsArchived *bool `json:"is_archived,omitempty"`

		// Determines if message is received (inbound) or sent (outbound) by you.
		IsInbound bool `json:"is_inbound"`

		// Determines if rules should be skipped. `true` by default.
		ShouldSkipRules *bool `json:"should_skip_rules,omitempty"`

		// Reference which will be used to thread messages. If  omitted, Front threads by sender instead
		ThreadRef *string `json:"thread_ref,omitempty"`
	} `json:"metadata"`

	// Data of the sender
	Sender struct {
		// ID of the teammate who is the author of the message. Ignored if the message is inbound.
		AuthorId *string `json:"author_id,omitempty"`

		// Handle of the sender. It can be any string used to uniquely identify the sender
		Handle string `json:"handle"`

		// Name of the sender
		Name *string `json:"name,omitempty"`
	} `json:"sender"`

	// Subject of the message
	Subject *string `json:"subject,omitempty"`

	// List of tag names to add to the conversation
	Tags *[]string `json:"tags,omitempty"`
	To   []string  `json:"to"`

	// Type of the message to import. Default is `email`.
	Type *ImportMessageType `json:"type,omitempty"`
}

ImportMessage defines model for ImportMessage.

type ImportMessageBodyFormat

type ImportMessageBodyFormat string

Format of the message body. Can be `markdown` (default) or `html`, and can only be specified for `email` type.

const (
	ImportMessageBodyFormatHtml ImportMessageBodyFormat = "html"

	ImportMessageBodyFormatMarkdown ImportMessageBodyFormat = "markdown"
)

Defines values for ImportMessageBodyFormat.

type ImportMessageType

type ImportMessageType string

Type of the message to import. Default is `email`.

const (
	ImportMessageTypeCustom ImportMessageType = "custom"

	ImportMessageTypeEmail ImportMessageType = "email"

	ImportMessageTypeIntercom ImportMessageType = "intercom"

	ImportMessageTypeSms ImportMessageType = "sms"
)

Defines values for ImportMessageType.

type Inbox

type Inbox InboxResponse

Inbox defines model for inbox.

type InboxIds

type InboxIds struct {
	InboxIds []ResourceID `json:"inbox_ids"`
}

InboxIds defines model for InboxIds.

type InboxResponse

type InboxResponse struct {
	// Unique identifier for the inbox
	Id *string `json:"id,omitempty"`

	// Whether or not the inbox is individual
	IsPrivate *bool `json:"is_private,omitempty"`

	// Name of the inbox
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to inbox channels
			Channels *string `json:"channels,omitempty"`

			// Link to inbox conversations
			Conversations *string `json:"conversations,omitempty"`

			// Link to inbox owner
			Owner *string `json:"owner,omitempty"`

			// Link to inbox teammates
			Teammates *string `json:"teammates,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

InboxResponse defines model for InboxResponse.

type Limit

type Limit int

Limit defines model for limit.

type Link LinkResponse

A link used to connect a Front conversation to an external resource.

type LinkResponse

type LinkResponse struct {
	// Underlying identifying external URL of the link
	ExternalUrl *string `json:"external_url,omitempty"`

	// Unique identifier of the link
	Id *string `json:"id,omitempty"`

	// Display name of the link
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Type of the link. Typically associated with the underlying link provider (if known)
	Type *string `json:"type,omitempty"`
}

A link used to connect a Front conversation to an external resource.

type ListContactCustomFieldsResponse

type ListContactCustomFieldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]CustomFieldResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseListContactCustomFieldsResponse

func ParseListContactCustomFieldsResponse(rsp *http.Response) (*ListContactCustomFieldsResponse, error)

ParseListContactCustomFieldsResponse parses an HTTP response from a ListContactCustomFieldsWithResponse call

func (ListContactCustomFieldsResponse) Status

Status returns HTTPResponse.Status

func (ListContactCustomFieldsResponse) StatusCode

func (r ListContactCustomFieldsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListConversationsParams

type ListConversationsParams struct {
	// Search query object with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `deleted`).
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

ListConversationsParams defines parameters for ListConversations.

type ListConversationsResponse

type ListConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ConversationResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseListConversationsResponse

func ParseListConversationsResponse(rsp *http.Response) (*ListConversationsResponse, error)

ParseListConversationsResponse parses an HTTP response from a ListConversationsWithResponse call

func (ListConversationsResponse) Status

func (r ListConversationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListConversationsResponse) StatusCode

func (r ListConversationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCustomFieldsResponse

type ListCustomFieldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]CustomFieldResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseListCustomFieldsResponse

func ParseListCustomFieldsResponse(rsp *http.Response) (*ListCustomFieldsResponse, error)

ParseListCustomFieldsResponse parses an HTTP response from a ListCustomFieldsWithResponse call

func (ListCustomFieldsResponse) Status

func (r ListCustomFieldsResponse) Status() string

Status returns HTTPResponse.Status

func (ListCustomFieldsResponse) StatusCode

func (r ListCustomFieldsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLinkConversationsParams

type ListLinkConversationsParams struct {
	// Search query object with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `deleted`).
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

ListLinkConversationsParams defines parameters for ListLinkConversations.

type ListLinkConversationsResponse

type ListLinkConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results       *[]ConversationResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseListLinkConversationsResponse

func ParseListLinkConversationsResponse(rsp *http.Response) (*ListLinkConversationsResponse, error)

ParseListLinkConversationsResponse parses an HTTP response from a ListLinkConversationsWithResponse call

func (ListLinkConversationsResponse) Status

Status returns HTTPResponse.Status

func (ListLinkConversationsResponse) StatusCode

func (r ListLinkConversationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOfAccounts

type ListOfAccounts struct {
	Pagination *struct {
		// Link to next page of results
		Next *string `json:"next,omitempty"`
	} `json:"_pagination,omitempty"`
	Results       *[]AccountResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfAccounts defines model for listOfAccounts.

type ListOfCannedAnswerFolders

type ListOfCannedAnswerFolders struct {
	Pagination *struct {
		// Link to next page of results
		Next *string `json:"next,omitempty"`
	} `json:"_pagination,omitempty"`
	Results       *[]MessageTemplateResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfCannedAnswerFolders defines model for listOfCannedAnswerFolders.

type ListOfCannedAnswers

type ListOfCannedAnswers struct {
	Pagination *struct {
		// Link to next page of results
		Next *string `json:"next,omitempty"`
	} `json:"_pagination,omitempty"`
	Results       *[]MessageTemplateResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfCannedAnswers defines model for listOfCannedAnswers.

type ListOfChannels

type ListOfChannels struct {
	Results       *[]ChannelResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfChannels defines model for listOfChannels.

type ListOfComments

type ListOfComments struct {
	Results       *[]CommentResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfComments defines model for listOfComments.

type ListOfContactGroups

type ListOfContactGroups struct {
	Results       *[]ContactGroupResponses `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfContactGroups defines model for listOfContactGroups.

type ListOfContactNotes

type ListOfContactNotes struct {
	Results       *[]ContactNoteResponses `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfContactNotes defines model for listOfContactNotes.

type ListOfContacts

type ListOfContacts struct {
	Pagination *struct {
		// Link to next page of results
		Next *string `json:"next,omitempty"`
	} `json:"_pagination,omitempty"`
	Results       *[]ContactResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfContacts defines model for listOfContacts.

type ListOfConversationSearchResults

type ListOfConversationSearchResults struct {
	Pagination *struct {
		// Link to next page of results
		Next *string `json:"next,omitempty"`
	} `json:"_pagination,omitempty"`
	Results *[]ConversationResponse `json:"_results,omitempty"`

	// Total number of matching conversations
	Total *int `json:"_total,omitempty"`
}

ListOfConversationSearchResults defines model for listOfConversationSearchResults.

type ListOfConversations

type ListOfConversations struct {
	Pagination *struct {
		// Link to next page of results
		Next *string `json:"next,omitempty"`
	} `json:"_pagination,omitempty"`
	Results       *[]ConversationResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfConversations defines model for listOfConversations.

type ListOfCustomFields

type ListOfCustomFields struct {
	Results       *[]CustomFieldResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfCustomFields defines model for listOfCustomFields.

type ListOfEvents

type ListOfEvents struct {
	Pagination *struct {
		// Link to next page of results
		Next *string `json:"next,omitempty"`
	} `json:"_pagination,omitempty"`
	Results       *[]EventResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfEvents defines model for listOfEvents.

type ListOfExports

type ListOfExports struct {
	Pagination *struct {
		// Link to next page of results
		Next *string `json:"next,omitempty"`
	} `json:"_pagination,omitempty"`
	Results       *[]ExportResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfExports defines model for listOfExports.

type ListOfInboxes

type ListOfInboxes struct {
	Results       *[]InboxResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfInboxes defines model for listOfInboxes.

type ListOfLinks struct {
	Results       *[]LinkResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfLinks defines model for listOfLinks.

type ListOfMessages

type ListOfMessages struct {
	Pagination *struct {
		// Link to next page of results
		Next *string `json:"next,omitempty"`
	} `json:"_pagination,omitempty"`
	Results       *[]MessageResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfMessages defines model for listOfMessages.

type ListOfRoles

type ListOfRoles struct {
	Results       *[]RoleResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfRoles defines model for listOfRoles.

type ListOfRules

type ListOfRules struct {
	Results       *[]RuleResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfRules defines model for listOfRules.

type ListOfShifts

type ListOfShifts struct {
	Results       *[]ShiftResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfShifts defines model for listOfShifts.

type ListOfTags

type ListOfTags struct {
	Results       *[]TagResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfTags defines model for listOfTags.

type ListOfTeammates

type ListOfTeammates struct {
	Results       *[]TeammateResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfTeammates defines model for listOfTeammates.

type ListOfTeams

type ListOfTeams struct {
	Results       *[]TeamResponse `json:"_results,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

ListOfTeams defines model for listOfTeams.

type ListShiftsResponse

type ListShiftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results       *[]ShiftResponse `json:"_results,omitempty"`
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"resource_links,omitempty"`
	}
}

func ParseListShiftsResponse

func ParseListShiftsResponse(rsp *http.Response) (*ListShiftsResponse, error)

ParseListShiftsResponse parses an HTTP response from a ListShiftsWithResponse call

func (ListShiftsResponse) Status

func (r ListShiftsResponse) Status() string

Status returns HTTPResponse.Status

func (ListShiftsResponse) StatusCode

func (r ListShiftsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Message

type Message MessageResponse

Message defines model for message.

type MessageResponse

type MessageResponse struct {
	// List of files attached to the message
	Attachments *[]Attachment `json:"attachments,omitempty"`

	// A teammate is a user in Front.
	Author *TeammateResponse `json:"author,omitempty"`

	// Preview of the message body
	Blurb *string `json:"blurb,omitempty"`

	// Body of the message
	Body *string `json:"body,omitempty"`

	// Date at which the message as been sent or received
	CreatedAt *int `json:"created_at,omitempty"`

	// If the message is a draft, describes the draft mode. Can be 'private' (draft is visible to the author only) or 'shared' (draft is visible to all teammates with access to the conversation).
	DraftMode *MessageResponseDraftMode `json:"draft_mode"`

	// Type of the error when the draft failed to be sent
	ErrorType *string `json:"error_type,omitempty"`

	// Unique identifier of the message
	Id *string `json:"id,omitempty"`

	// Whether or not the message has been received or sent
	IsInbound *bool `json:"is_inbound,omitempty"`

	// Optional metadata about the message
	Metadata *struct {
		// For `truly-call` messages only. Length of the call in seconds.
		Duration *int `json:"duration,omitempty"`

		// For `tweet` or 'custom' (partner channel token authenticated) messages only. Unique message identifier in the underlying provider (Twitter or Partner). For custom messages, only present for partner channel token authenticated requests.
		ExternalId *string `json:"external_id,omitempty"`

		// For `truly-call` messages only. Whether or not the call have been answered.
		HaveBeenAnswered *bool `json:"have_been_answered,omitempty"`

		// For `tweet` messages only. Whether or not the tweet have been favorited.
		HaveBeenFavorited *bool `json:"have_been_favorited,omitempty"`

		// For `tweet` messages only. Whether or not the tweet have been retweeted.
		HaveBeenRetweeted *bool `json:"have_been_retweeted,omitempty"`

		// For `custom` messages only. Custom object holding internal information.
		Headers *map[string]interface{} `json:"headers,omitempty"`

		// For `intercom` messages only. URL of the Intercom conversation the message is comming from.
		IntercomUrl *string `json:"intercom_url,omitempty"`

		// For `tweet` messages only. Whether or not the tweet is a retweet.
		IsRetweet *bool `json:"is_retweet,omitempty"`

		// For `custom` messages only. Custom reference which is used to thread messages.
		ThreadRef *string `json:"thread_ref,omitempty"`

		// For `tweet` messages only. URL of the tweet.
		TwitterUrl *string `json:"twitter_url,omitempty"`
	} `json:"metadata,omitempty"`
	Recipients    *[]RecipientResponse `json:"recipients,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to message converation
			Conversation *string `json:"conversation,omitempty"`

			// Link to message this message replied to
			MessageRepliedTo *string `json:"message_replied_to,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Subject of the message
	Subject *string `json:"subject,omitempty"`

	// Text version of the body for email messages
	Text *string `json:"text,omitempty"`

	// Type of the message
	Type *MessageResponseType `json:"type,omitempty"`

	// The current version of the message in Front
	Version *string `json:"version,omitempty"`
}

MessageResponse defines model for MessageResponse.

type MessageResponseDraftMode

type MessageResponseDraftMode string

If the message is a draft, describes the draft mode. Can be 'private' (draft is visible to the author only) or 'shared' (draft is visible to all teammates with access to the conversation).

const (
	MessageResponseDraftModePrivate MessageResponseDraftMode = "private"

	MessageResponseDraftModeShared MessageResponseDraftMode = "shared"
)

Defines values for MessageResponseDraftMode.

type MessageResponseType

type MessageResponseType string

Type of the message

const (
	MessageResponseTypeCustom MessageResponseType = "custom"

	MessageResponseTypeEmail MessageResponseType = "email"

	MessageResponseTypeFacebook MessageResponseType = "facebook"

	MessageResponseTypeIntercom MessageResponseType = "intercom"

	MessageResponseTypeSmooch MessageResponseType = "smooch"

	MessageResponseTypeSms MessageResponseType = "sms"

	MessageResponseTypeTrulyCall MessageResponseType = "truly-call"

	MessageResponseTypeTweet MessageResponseType = "tweet"
)

Defines values for MessageResponseType.

type MessageTemplateFolderResponse

type MessageTemplateFolderResponse struct {
	// Unique identifier of the message template folder
	Id *string `json:"id,omitempty"`

	// Name of the message template folder
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to resource's owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

MessageTemplateFolderResponse defines model for MessageTemplateFolderResponse.

type MessageTemplateResponse

type MessageTemplateResponse struct {
	// List of files attached to the response
	Attachments *[]Attachment `json:"attachments,omitempty"`

	// Body of the response
	Body *string `json:"body,omitempty"`

	// Unique identifier of the response
	Id       *string   `json:"id,omitempty"`
	InboxIds *[]string `json:"inbox_ids,omitempty"`

	// Whether or not the template is available in all inboxes.
	IsAvailableForAllInboxes *bool `json:"is_available_for_all_inboxes,omitempty"`

	// Name of the response
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to resource's owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Subject of the response
	Subject *string `json:"subject,omitempty"`
}

MessageTemplateResponse defines model for MessageTemplateResponse.

type OutboundMessage

type OutboundMessage struct {
	// Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://gist.github.com/hdornier/e04d04921032e98271f46ff8a539a4cb).
	Attachments *[]string `json:"attachments,omitempty"`

	// ID of the teammate on behalf of whom the answer is sent
	AuthorId *string   `json:"author_id,omitempty"`
	Bcc      *[]string `json:"bcc,omitempty"`

	// Body of the message
	Body    string    `json:"body"`
	Cc      *[]string `json:"cc,omitempty"`
	Options *struct {
		// Archive the conversation right when sending the message
		Archive *bool     `json:"archive,omitempty"`
		TagIds  *[]string `json:"tag_ids,omitempty"`
	} `json:"options,omitempty"`

	// Name used for the sender info of the message
	SenderName *string `json:"sender_name,omitempty"`

	// Subject of the message for email message
	Subject *string `json:"subject,omitempty"`

	// Text version of the body for email messages
	Text *string  `json:"text,omitempty"`
	To   []string `json:"to"`
}

OutboundMessage defines model for OutboundMessage.

type OutboundReplyMessage

type OutboundReplyMessage struct {
	// Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://gist.github.com/hdornier/e04d04921032e98271f46ff8a539a4cb).
	Attachments *[]string `json:"attachments,omitempty"`

	// ID of the teammate on behalf of whom the answer is sent
	AuthorId *string   `json:"author_id,omitempty"`
	Bcc      *[]string `json:"bcc,omitempty"`

	// Body of the message
	Body string    `json:"body"`
	Cc   *[]string `json:"cc,omitempty"`

	// Channel ID the message is sent from
	ChannelId *string `json:"channel_id,omitempty"`
	Options   *struct {
		// Archive the conversation right when sending the message. `true` by default
		Archive *bool     `json:"archive,omitempty"`
		TagIds  *[]string `json:"tag_ids,omitempty"`
	} `json:"options,omitempty"`

	// Name used for the sender info of the message
	SenderName *string `json:"sender_name,omitempty"`

	// Subject of the message for email message
	Subject *string `json:"subject,omitempty"`

	// Text version of the body for email messages
	Text *string   `json:"text,omitempty"`
	To   *[]string `json:"to,omitempty"`
}

OutboundReplyMessage defines model for OutboundReplyMessage.

type PageToken

type PageToken string

PageToken defines model for pageToken.

type PatchAccountsAccountIdJSONBody

type PatchAccountsAccountIdJSONBody Account

PatchAccountsAccountIdJSONBody defines parameters for PatchAccountsAccountId.

type PatchAccountsAccountIdJSONRequestBody

type PatchAccountsAccountIdJSONRequestBody PatchAccountsAccountIdJSONBody

PatchAccountsAccountIdJSONRequestBody defines body for PatchAccountsAccountId for application/json ContentType.

type PatchAccountsAccountIdResponse

type PatchAccountsAccountIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AccountResponse
}

func ParsePatchAccountsAccountIdResponse

func ParsePatchAccountsAccountIdResponse(rsp *http.Response) (*PatchAccountsAccountIdResponse, error)

ParsePatchAccountsAccountIdResponse parses an HTTP response from a PatchAccountsAccountIdWithResponse call

func (PatchAccountsAccountIdResponse) Status

Status returns HTTPResponse.Status

func (PatchAccountsAccountIdResponse) StatusCode

func (r PatchAccountsAccountIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchChannelsChannelIdJSONBody

type PatchChannelsChannelIdJSONBody UpdateChannel

PatchChannelsChannelIdJSONBody defines parameters for PatchChannelsChannelId.

type PatchChannelsChannelIdJSONRequestBody

type PatchChannelsChannelIdJSONRequestBody PatchChannelsChannelIdJSONBody

PatchChannelsChannelIdJSONRequestBody defines body for PatchChannelsChannelId for application/json ContentType.

type PatchChannelsChannelIdResponse

type PatchChannelsChannelIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePatchChannelsChannelIdResponse

func ParsePatchChannelsChannelIdResponse(rsp *http.Response) (*PatchChannelsChannelIdResponse, error)

ParsePatchChannelsChannelIdResponse parses an HTTP response from a PatchChannelsChannelIdWithResponse call

func (PatchChannelsChannelIdResponse) Status

Status returns HTTPResponse.Status

func (PatchChannelsChannelIdResponse) StatusCode

func (r PatchChannelsChannelIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchContactsContactIdJSONBody

type PatchContactsContactIdJSONBody Contact

PatchContactsContactIdJSONBody defines parameters for PatchContactsContactId.

type PatchContactsContactIdJSONRequestBody

type PatchContactsContactIdJSONRequestBody PatchContactsContactIdJSONBody

PatchContactsContactIdJSONRequestBody defines body for PatchContactsContactId for application/json ContentType.

type PatchContactsContactIdResponse

type PatchContactsContactIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePatchContactsContactIdResponse

func ParsePatchContactsContactIdResponse(rsp *http.Response) (*PatchContactsContactIdResponse, error)

ParsePatchContactsContactIdResponse parses an HTTP response from a PatchContactsContactIdWithResponse call

func (PatchContactsContactIdResponse) Status

Status returns HTTPResponse.Status

func (PatchContactsContactIdResponse) StatusCode

func (r PatchContactsContactIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchConversationsConversationIdJSONBody

type PatchConversationsConversationIdJSONBody UpdateConversation

PatchConversationsConversationIdJSONBody defines parameters for PatchConversationsConversationId.

type PatchConversationsConversationIdJSONRequestBody

type PatchConversationsConversationIdJSONRequestBody PatchConversationsConversationIdJSONBody

PatchConversationsConversationIdJSONRequestBody defines body for PatchConversationsConversationId for application/json ContentType.

type PatchConversationsConversationIdRemindersJSONBody

type PatchConversationsConversationIdRemindersJSONBody UpdateConversationReminders

PatchConversationsConversationIdRemindersJSONBody defines parameters for PatchConversationsConversationIdReminders.

type PatchConversationsConversationIdRemindersJSONRequestBody

type PatchConversationsConversationIdRemindersJSONRequestBody PatchConversationsConversationIdRemindersJSONBody

PatchConversationsConversationIdRemindersJSONRequestBody defines body for PatchConversationsConversationIdReminders for application/json ContentType.

type PatchConversationsConversationIdRemindersResponse

type PatchConversationsConversationIdRemindersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePatchConversationsConversationIdRemindersResponse

func ParsePatchConversationsConversationIdRemindersResponse(rsp *http.Response) (*PatchConversationsConversationIdRemindersResponse, error)

ParsePatchConversationsConversationIdRemindersResponse parses an HTTP response from a PatchConversationsConversationIdRemindersWithResponse call

func (PatchConversationsConversationIdRemindersResponse) Status

Status returns HTTPResponse.Status

func (PatchConversationsConversationIdRemindersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchConversationsConversationIdResponse

type PatchConversationsConversationIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePatchConversationsConversationIdResponse

func ParsePatchConversationsConversationIdResponse(rsp *http.Response) (*PatchConversationsConversationIdResponse, error)

ParsePatchConversationsConversationIdResponse parses an HTTP response from a PatchConversationsConversationIdWithResponse call

func (PatchConversationsConversationIdResponse) Status

Status returns HTTPResponse.Status

func (PatchConversationsConversationIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchCustomFieldsCustomFieldIdJSONBody

type PatchCustomFieldsCustomFieldIdJSONBody UpdateCustomField

PatchCustomFieldsCustomFieldIdJSONBody defines parameters for PatchCustomFieldsCustomFieldId.

type PatchCustomFieldsCustomFieldIdJSONRequestBody

type PatchCustomFieldsCustomFieldIdJSONRequestBody PatchCustomFieldsCustomFieldIdJSONBody

PatchCustomFieldsCustomFieldIdJSONRequestBody defines body for PatchCustomFieldsCustomFieldId for application/json ContentType.

type PatchCustomFieldsCustomFieldIdResponse

type PatchCustomFieldsCustomFieldIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePatchCustomFieldsCustomFieldIdResponse

func ParsePatchCustomFieldsCustomFieldIdResponse(rsp *http.Response) (*PatchCustomFieldsCustomFieldIdResponse, error)

ParsePatchCustomFieldsCustomFieldIdResponse parses an HTTP response from a PatchCustomFieldsCustomFieldIdWithResponse call

func (PatchCustomFieldsCustomFieldIdResponse) Status

Status returns HTTPResponse.Status

func (PatchCustomFieldsCustomFieldIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchDraftsMessageIdJSONBody

type PatchDraftsMessageIdJSONBody EditDraft

PatchDraftsMessageIdJSONBody defines parameters for PatchDraftsMessageId.

type PatchDraftsMessageIdJSONRequestBody

type PatchDraftsMessageIdJSONRequestBody PatchDraftsMessageIdJSONBody

PatchDraftsMessageIdJSONRequestBody defines body for PatchDraftsMessageId for application/json ContentType.

type PatchDraftsMessageIdResponse

type PatchDraftsMessageIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageResponse
}

func ParsePatchDraftsMessageIdResponse

func ParsePatchDraftsMessageIdResponse(rsp *http.Response) (*PatchDraftsMessageIdResponse, error)

ParsePatchDraftsMessageIdResponse parses an HTTP response from a PatchDraftsMessageIdWithResponse call

func (PatchDraftsMessageIdResponse) Status

Status returns HTTPResponse.Status

func (PatchDraftsMessageIdResponse) StatusCode

func (r PatchDraftsMessageIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchLinksLinkIdJSONBody

type PatchLinksLinkIdJSONBody UpdateLink

PatchLinksLinkIdJSONBody defines parameters for PatchLinksLinkId.

type PatchLinksLinkIdJSONRequestBody

type PatchLinksLinkIdJSONRequestBody PatchLinksLinkIdJSONBody

PatchLinksLinkIdJSONRequestBody defines body for PatchLinksLinkId for application/json ContentType.

type PatchLinksLinkIdResponse

type PatchLinksLinkIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePatchLinksLinkIdResponse

func ParsePatchLinksLinkIdResponse(rsp *http.Response) (*PatchLinksLinkIdResponse, error)

ParsePatchLinksLinkIdResponse parses an HTTP response from a PatchLinksLinkIdWithResponse call

func (PatchLinksLinkIdResponse) Status

func (r PatchLinksLinkIdResponse) Status() string

Status returns HTTPResponse.Status

func (PatchLinksLinkIdResponse) StatusCode

func (r PatchLinksLinkIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchMessageTemplateFoldersMessageTemplateFolderIdJSONBody

type PatchMessageTemplateFoldersMessageTemplateFolderIdJSONBody UpdateMessageTemplateFolder

PatchMessageTemplateFoldersMessageTemplateFolderIdJSONBody defines parameters for PatchMessageTemplateFoldersMessageTemplateFolderId.

type PatchMessageTemplateFoldersMessageTemplateFolderIdJSONRequestBody

type PatchMessageTemplateFoldersMessageTemplateFolderIdJSONRequestBody PatchMessageTemplateFoldersMessageTemplateFolderIdJSONBody

PatchMessageTemplateFoldersMessageTemplateFolderIdJSONRequestBody defines body for PatchMessageTemplateFoldersMessageTemplateFolderId for application/json ContentType.

type PatchMessageTemplateFoldersMessageTemplateFolderIdResponse

type PatchMessageTemplateFoldersMessageTemplateFolderIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageTemplateFolderResponse
}

func ParsePatchMessageTemplateFoldersMessageTemplateFolderIdResponse

func ParsePatchMessageTemplateFoldersMessageTemplateFolderIdResponse(rsp *http.Response) (*PatchMessageTemplateFoldersMessageTemplateFolderIdResponse, error)

ParsePatchMessageTemplateFoldersMessageTemplateFolderIdResponse parses an HTTP response from a PatchMessageTemplateFoldersMessageTemplateFolderIdWithResponse call

func (PatchMessageTemplateFoldersMessageTemplateFolderIdResponse) Status

Status returns HTTPResponse.Status

func (PatchMessageTemplateFoldersMessageTemplateFolderIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchMessageTemplatesMessageTemplateIdJSONBody

type PatchMessageTemplatesMessageTemplateIdJSONBody UpdateMessageTemplate

PatchMessageTemplatesMessageTemplateIdJSONBody defines parameters for PatchMessageTemplatesMessageTemplateId.

type PatchMessageTemplatesMessageTemplateIdJSONRequestBody

type PatchMessageTemplatesMessageTemplateIdJSONRequestBody PatchMessageTemplatesMessageTemplateIdJSONBody

PatchMessageTemplatesMessageTemplateIdJSONRequestBody defines body for PatchMessageTemplatesMessageTemplateId for application/json ContentType.

type PatchMessageTemplatesMessageTemplateIdResponse

type PatchMessageTemplatesMessageTemplateIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageTemplateResponse
}

func ParsePatchMessageTemplatesMessageTemplateIdResponse

func ParsePatchMessageTemplatesMessageTemplateIdResponse(rsp *http.Response) (*PatchMessageTemplatesMessageTemplateIdResponse, error)

ParsePatchMessageTemplatesMessageTemplateIdResponse parses an HTTP response from a PatchMessageTemplatesMessageTemplateIdWithResponse call

func (PatchMessageTemplatesMessageTemplateIdResponse) Status

Status returns HTTPResponse.Status

func (PatchMessageTemplatesMessageTemplateIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchShiftsShiftIdJSONBody

type PatchShiftsShiftIdJSONBody UpdateShift

PatchShiftsShiftIdJSONBody defines parameters for PatchShiftsShiftId.

type PatchShiftsShiftIdJSONRequestBody

type PatchShiftsShiftIdJSONRequestBody PatchShiftsShiftIdJSONBody

PatchShiftsShiftIdJSONRequestBody defines body for PatchShiftsShiftId for application/json ContentType.

type PatchShiftsShiftIdResponse

type PatchShiftsShiftIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePatchShiftsShiftIdResponse

func ParsePatchShiftsShiftIdResponse(rsp *http.Response) (*PatchShiftsShiftIdResponse, error)

ParsePatchShiftsShiftIdResponse parses an HTTP response from a PatchShiftsShiftIdWithResponse call

func (PatchShiftsShiftIdResponse) Status

Status returns HTTPResponse.Status

func (PatchShiftsShiftIdResponse) StatusCode

func (r PatchShiftsShiftIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchTagsTagIdJSONBody

type PatchTagsTagIdJSONBody UpdateTag

PatchTagsTagIdJSONBody defines parameters for PatchTagsTagId.

type PatchTagsTagIdJSONRequestBody

type PatchTagsTagIdJSONRequestBody PatchTagsTagIdJSONBody

PatchTagsTagIdJSONRequestBody defines body for PatchTagsTagId for application/json ContentType.

type PatchTagsTagIdResponse

type PatchTagsTagIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePatchTagsTagIdResponse

func ParsePatchTagsTagIdResponse(rsp *http.Response) (*PatchTagsTagIdResponse, error)

ParsePatchTagsTagIdResponse parses an HTTP response from a PatchTagsTagIdWithResponse call

func (PatchTagsTagIdResponse) Status

func (r PatchTagsTagIdResponse) Status() string

Status returns HTTPResponse.Status

func (PatchTagsTagIdResponse) StatusCode

func (r PatchTagsTagIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchTeammatesTeammateIdJSONBody

type PatchTeammatesTeammateIdJSONBody UpdateTeammate

PatchTeammatesTeammateIdJSONBody defines parameters for PatchTeammatesTeammateId.

type PatchTeammatesTeammateIdJSONRequestBody

type PatchTeammatesTeammateIdJSONRequestBody PatchTeammatesTeammateIdJSONBody

PatchTeammatesTeammateIdJSONRequestBody defines body for PatchTeammatesTeammateId for application/json ContentType.

type PatchTeammatesTeammateIdResponse

type PatchTeammatesTeammateIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePatchTeammatesTeammateIdResponse

func ParsePatchTeammatesTeammateIdResponse(rsp *http.Response) (*PatchTeammatesTeammateIdResponse, error)

ParsePatchTeammatesTeammateIdResponse parses an HTTP response from a PatchTeammatesTeammateIdWithResponse call

func (PatchTeammatesTeammateIdResponse) Status

Status returns HTTPResponse.Status

func (PatchTeammatesTeammateIdResponse) StatusCode

func (r PatchTeammatesTeammateIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAccountsAccountIdContactsJSONBody

type PostAccountsAccountIdContactsJSONBody ContactIds

PostAccountsAccountIdContactsJSONBody defines parameters for PostAccountsAccountIdContacts.

type PostAccountsAccountIdContactsJSONRequestBody

type PostAccountsAccountIdContactsJSONRequestBody PostAccountsAccountIdContactsJSONBody

PostAccountsAccountIdContactsJSONRequestBody defines body for PostAccountsAccountIdContacts for application/json ContentType.

type PostAccountsAccountIdContactsResponse

type PostAccountsAccountIdContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostAccountsAccountIdContactsResponse

func ParsePostAccountsAccountIdContactsResponse(rsp *http.Response) (*PostAccountsAccountIdContactsResponse, error)

ParsePostAccountsAccountIdContactsResponse parses an HTTP response from a PostAccountsAccountIdContactsWithResponse call

func (PostAccountsAccountIdContactsResponse) Status

Status returns HTTPResponse.Status

func (PostAccountsAccountIdContactsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostAccountsJSONBody

type PostAccountsJSONBody Account

PostAccountsJSONBody defines parameters for PostAccounts.

type PostAccountsJSONRequestBody

type PostAccountsJSONRequestBody PostAccountsJSONBody

PostAccountsJSONRequestBody defines body for PostAccounts for application/json ContentType.

type PostAccountsResponse

type PostAccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *AccountResponse
}

func ParsePostAccountsResponse

func ParsePostAccountsResponse(rsp *http.Response) (*PostAccountsResponse, error)

ParsePostAccountsResponse parses an HTTP response from a PostAccountsWithResponse call

func (PostAccountsResponse) Status

func (r PostAccountsResponse) Status() string

Status returns HTTPResponse.Status

func (PostAccountsResponse) StatusCode

func (r PostAccountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostChannelsChannelIdDraftsJSONBody

type PostChannelsChannelIdDraftsJSONBody CreateDraft

PostChannelsChannelIdDraftsJSONBody defines parameters for PostChannelsChannelIdDrafts.

type PostChannelsChannelIdDraftsJSONRequestBody

type PostChannelsChannelIdDraftsJSONRequestBody PostChannelsChannelIdDraftsJSONBody

PostChannelsChannelIdDraftsJSONRequestBody defines body for PostChannelsChannelIdDrafts for application/json ContentType.

type PostChannelsChannelIdDraftsResponse

type PostChannelsChannelIdDraftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageResponse
}

func ParsePostChannelsChannelIdDraftsResponse

func ParsePostChannelsChannelIdDraftsResponse(rsp *http.Response) (*PostChannelsChannelIdDraftsResponse, error)

ParsePostChannelsChannelIdDraftsResponse parses an HTTP response from a PostChannelsChannelIdDraftsWithResponse call

func (PostChannelsChannelIdDraftsResponse) Status

Status returns HTTPResponse.Status

func (PostChannelsChannelIdDraftsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostChannelsChannelIdIncomingMessagesJSONBody

type PostChannelsChannelIdIncomingMessagesJSONBody CustomMessage

PostChannelsChannelIdIncomingMessagesJSONBody defines parameters for PostChannelsChannelIdIncomingMessages.

type PostChannelsChannelIdIncomingMessagesJSONRequestBody

type PostChannelsChannelIdIncomingMessagesJSONRequestBody PostChannelsChannelIdIncomingMessagesJSONBody

PostChannelsChannelIdIncomingMessagesJSONRequestBody defines body for PostChannelsChannelIdIncomingMessages for application/json ContentType.

type PostChannelsChannelIdIncomingMessagesResponse

type PostChannelsChannelIdIncomingMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		// Message unique identifier
		MessageUid *string `json:"message_uid,omitempty"`
		Status     *string `json:"status,omitempty"`
	}
}

func ParsePostChannelsChannelIdIncomingMessagesResponse

func ParsePostChannelsChannelIdIncomingMessagesResponse(rsp *http.Response) (*PostChannelsChannelIdIncomingMessagesResponse, error)

ParsePostChannelsChannelIdIncomingMessagesResponse parses an HTTP response from a PostChannelsChannelIdIncomingMessagesWithResponse call

func (PostChannelsChannelIdIncomingMessagesResponse) Status

Status returns HTTPResponse.Status

func (PostChannelsChannelIdIncomingMessagesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostChannelsChannelIdMessagesJSONBody

type PostChannelsChannelIdMessagesJSONBody OutboundMessage

PostChannelsChannelIdMessagesJSONBody defines parameters for PostChannelsChannelIdMessages.

type PostChannelsChannelIdMessagesJSONRequestBody

type PostChannelsChannelIdMessagesJSONRequestBody PostChannelsChannelIdMessagesJSONBody

PostChannelsChannelIdMessagesJSONRequestBody defines body for PostChannelsChannelIdMessages for application/json ContentType.

type PostChannelsChannelIdMessagesResponse

type PostChannelsChannelIdMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *MessageResponse
}

func ParsePostChannelsChannelIdMessagesResponse

func ParsePostChannelsChannelIdMessagesResponse(rsp *http.Response) (*PostChannelsChannelIdMessagesResponse, error)

ParsePostChannelsChannelIdMessagesResponse parses an HTTP response from a PostChannelsChannelIdMessagesWithResponse call

func (PostChannelsChannelIdMessagesResponse) Status

Status returns HTTPResponse.Status

func (PostChannelsChannelIdMessagesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostChannelsChannelIdValidateResponse

type PostChannelsChannelIdValidateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		Status *string `json:"status,omitempty"`
	}
}

func ParsePostChannelsChannelIdValidateResponse

func ParsePostChannelsChannelIdValidateResponse(rsp *http.Response) (*PostChannelsChannelIdValidateResponse, error)

ParsePostChannelsChannelIdValidateResponse parses an HTTP response from a PostChannelsChannelIdValidateWithResponse call

func (PostChannelsChannelIdValidateResponse) Status

Status returns HTTPResponse.Status

func (PostChannelsChannelIdValidateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostContactGroupsContactGroupIdContactsJSONBody

type PostContactGroupsContactGroupIdContactsJSONBody AddContactsToGroup

PostContactGroupsContactGroupIdContactsJSONBody defines parameters for PostContactGroupsContactGroupIdContacts.

type PostContactGroupsContactGroupIdContactsJSONRequestBody

type PostContactGroupsContactGroupIdContactsJSONRequestBody PostContactGroupsContactGroupIdContactsJSONBody

PostContactGroupsContactGroupIdContactsJSONRequestBody defines body for PostContactGroupsContactGroupIdContacts for application/json ContentType.

type PostContactGroupsContactGroupIdContactsResponse

type PostContactGroupsContactGroupIdContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostContactGroupsContactGroupIdContactsResponse

func ParsePostContactGroupsContactGroupIdContactsResponse(rsp *http.Response) (*PostContactGroupsContactGroupIdContactsResponse, error)

ParsePostContactGroupsContactGroupIdContactsResponse parses an HTTP response from a PostContactGroupsContactGroupIdContactsWithResponse call

func (PostContactGroupsContactGroupIdContactsResponse) Status

Status returns HTTPResponse.Status

func (PostContactGroupsContactGroupIdContactsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostContactGroupsJSONBody

type PostContactGroupsJSONBody CreateContactGroup

PostContactGroupsJSONBody defines parameters for PostContactGroups.

type PostContactGroupsJSONRequestBody

type PostContactGroupsJSONRequestBody PostContactGroupsJSONBody

PostContactGroupsJSONRequestBody defines body for PostContactGroups for application/json ContentType.

type PostContactGroupsResponse

type PostContactGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostContactGroupsResponse

func ParsePostContactGroupsResponse(rsp *http.Response) (*PostContactGroupsResponse, error)

ParsePostContactGroupsResponse parses an HTTP response from a PostContactGroupsWithResponse call

func (PostContactGroupsResponse) Status

func (r PostContactGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (PostContactGroupsResponse) StatusCode

func (r PostContactGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostContactsContactIdHandlesJSONBody

type PostContactsContactIdHandlesJSONBody ContactHandle

PostContactsContactIdHandlesJSONBody defines parameters for PostContactsContactIdHandles.

type PostContactsContactIdHandlesJSONRequestBody

type PostContactsContactIdHandlesJSONRequestBody PostContactsContactIdHandlesJSONBody

PostContactsContactIdHandlesJSONRequestBody defines body for PostContactsContactIdHandles for application/json ContentType.

type PostContactsContactIdHandlesResponse

type PostContactsContactIdHandlesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostContactsContactIdHandlesResponse

func ParsePostContactsContactIdHandlesResponse(rsp *http.Response) (*PostContactsContactIdHandlesResponse, error)

ParsePostContactsContactIdHandlesResponse parses an HTTP response from a PostContactsContactIdHandlesWithResponse call

func (PostContactsContactIdHandlesResponse) Status

Status returns HTTPResponse.Status

func (PostContactsContactIdHandlesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostContactsContactIdNotesJSONBody

type PostContactsContactIdNotesJSONBody CreateContactNote

PostContactsContactIdNotesJSONBody defines parameters for PostContactsContactIdNotes.

type PostContactsContactIdNotesJSONRequestBody

type PostContactsContactIdNotesJSONRequestBody PostContactsContactIdNotesJSONBody

PostContactsContactIdNotesJSONRequestBody defines body for PostContactsContactIdNotes for application/json ContentType.

type PostContactsContactIdNotesResponse

type PostContactsContactIdNotesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ContactNoteResponses
}

func ParsePostContactsContactIdNotesResponse

func ParsePostContactsContactIdNotesResponse(rsp *http.Response) (*PostContactsContactIdNotesResponse, error)

ParsePostContactsContactIdNotesResponse parses an HTTP response from a PostContactsContactIdNotesWithResponse call

func (PostContactsContactIdNotesResponse) Status

Status returns HTTPResponse.Status

func (PostContactsContactIdNotesResponse) StatusCode

func (r PostContactsContactIdNotesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostContactsJSONBody

type PostContactsJSONBody CreateContact

PostContactsJSONBody defines parameters for PostContacts.

type PostContactsJSONRequestBody

type PostContactsJSONRequestBody PostContactsJSONBody

PostContactsJSONRequestBody defines body for PostContacts for application/json ContentType.

type PostContactsResponse

type PostContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ContactResponse
}

func ParsePostContactsResponse

func ParsePostContactsResponse(rsp *http.Response) (*PostContactsResponse, error)

ParsePostContactsResponse parses an HTTP response from a PostContactsWithResponse call

func (PostContactsResponse) Status

func (r PostContactsResponse) Status() string

Status returns HTTPResponse.Status

func (PostContactsResponse) StatusCode

func (r PostContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostConversationsConversationIdCommentsJSONBody

type PostConversationsConversationIdCommentsJSONBody CreateComment

PostConversationsConversationIdCommentsJSONBody defines parameters for PostConversationsConversationIdComments.

type PostConversationsConversationIdCommentsJSONRequestBody

type PostConversationsConversationIdCommentsJSONRequestBody PostConversationsConversationIdCommentsJSONBody

PostConversationsConversationIdCommentsJSONRequestBody defines body for PostConversationsConversationIdComments for application/json ContentType.

type PostConversationsConversationIdCommentsResponse

type PostConversationsConversationIdCommentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CommentResponse
}

func ParsePostConversationsConversationIdCommentsResponse

func ParsePostConversationsConversationIdCommentsResponse(rsp *http.Response) (*PostConversationsConversationIdCommentsResponse, error)

ParsePostConversationsConversationIdCommentsResponse parses an HTTP response from a PostConversationsConversationIdCommentsWithResponse call

func (PostConversationsConversationIdCommentsResponse) Status

Status returns HTTPResponse.Status

func (PostConversationsConversationIdCommentsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostConversationsConversationIdDraftsJSONBody

type PostConversationsConversationIdDraftsJSONBody ReplyDraft

PostConversationsConversationIdDraftsJSONBody defines parameters for PostConversationsConversationIdDrafts.

type PostConversationsConversationIdDraftsJSONRequestBody

type PostConversationsConversationIdDraftsJSONRequestBody PostConversationsConversationIdDraftsJSONBody

PostConversationsConversationIdDraftsJSONRequestBody defines body for PostConversationsConversationIdDrafts for application/json ContentType.

type PostConversationsConversationIdDraftsResponse

type PostConversationsConversationIdDraftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageResponse
}

func ParsePostConversationsConversationIdDraftsResponse

func ParsePostConversationsConversationIdDraftsResponse(rsp *http.Response) (*PostConversationsConversationIdDraftsResponse, error)

ParsePostConversationsConversationIdDraftsResponse parses an HTTP response from a PostConversationsConversationIdDraftsWithResponse call

func (PostConversationsConversationIdDraftsResponse) Status

Status returns HTTPResponse.Status

func (PostConversationsConversationIdDraftsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostConversationsConversationIdFollowersJSONBody

type PostConversationsConversationIdFollowersJSONBody struct {
	// IDs of the teammate to add to the followers list.
	TeammateIds []string `json:"teammate_ids"`
}

PostConversationsConversationIdFollowersJSONBody defines parameters for PostConversationsConversationIdFollowers.

type PostConversationsConversationIdFollowersJSONRequestBody

type PostConversationsConversationIdFollowersJSONRequestBody PostConversationsConversationIdFollowersJSONBody

PostConversationsConversationIdFollowersJSONRequestBody defines body for PostConversationsConversationIdFollowers for application/json ContentType.

type PostConversationsConversationIdFollowersResponse

type PostConversationsConversationIdFollowersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostConversationsConversationIdFollowersResponse

func ParsePostConversationsConversationIdFollowersResponse(rsp *http.Response) (*PostConversationsConversationIdFollowersResponse, error)

ParsePostConversationsConversationIdFollowersResponse parses an HTTP response from a PostConversationsConversationIdFollowersWithResponse call

func (PostConversationsConversationIdFollowersResponse) Status

Status returns HTTPResponse.Status

func (PostConversationsConversationIdFollowersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostConversationsConversationIdLinksJSONBody

type PostConversationsConversationIdLinksJSONBody struct {
	// Link external URLs to add. Creates links if necessary. Either link_ids or link_external_urls must be specified but not both
	LinkExternalUrls *[]string `json:"link_external_urls,omitempty"`

	// Link IDs to add. Either link_ids or link_external_urls must be specified but not both
	LinkIds *[]string `json:"link_ids,omitempty"`
}

PostConversationsConversationIdLinksJSONBody defines parameters for PostConversationsConversationIdLinks.

type PostConversationsConversationIdLinksJSONRequestBody

type PostConversationsConversationIdLinksJSONRequestBody PostConversationsConversationIdLinksJSONBody

PostConversationsConversationIdLinksJSONRequestBody defines body for PostConversationsConversationIdLinks for application/json ContentType.

type PostConversationsConversationIdLinksResponse

type PostConversationsConversationIdLinksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostConversationsConversationIdLinksResponse

func ParsePostConversationsConversationIdLinksResponse(rsp *http.Response) (*PostConversationsConversationIdLinksResponse, error)

ParsePostConversationsConversationIdLinksResponse parses an HTTP response from a PostConversationsConversationIdLinksWithResponse call

func (PostConversationsConversationIdLinksResponse) Status

Status returns HTTPResponse.Status

func (PostConversationsConversationIdLinksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostConversationsConversationIdMessagesJSONBody

type PostConversationsConversationIdMessagesJSONBody OutboundReplyMessage

PostConversationsConversationIdMessagesJSONBody defines parameters for PostConversationsConversationIdMessages.

type PostConversationsConversationIdMessagesJSONRequestBody

type PostConversationsConversationIdMessagesJSONRequestBody PostConversationsConversationIdMessagesJSONBody

PostConversationsConversationIdMessagesJSONRequestBody defines body for PostConversationsConversationIdMessages for application/json ContentType.

type PostConversationsConversationIdMessagesResponse

type PostConversationsConversationIdMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *MessageResponse
}

func ParsePostConversationsConversationIdMessagesResponse

func ParsePostConversationsConversationIdMessagesResponse(rsp *http.Response) (*PostConversationsConversationIdMessagesResponse, error)

ParsePostConversationsConversationIdMessagesResponse parses an HTTP response from a PostConversationsConversationIdMessagesWithResponse call

func (PostConversationsConversationIdMessagesResponse) Status

Status returns HTTPResponse.Status

func (PostConversationsConversationIdMessagesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostConversationsConversationIdTagsJSONBody

type PostConversationsConversationIdTagsJSONBody TagIds

PostConversationsConversationIdTagsJSONBody defines parameters for PostConversationsConversationIdTags.

type PostConversationsConversationIdTagsJSONRequestBody

type PostConversationsConversationIdTagsJSONRequestBody PostConversationsConversationIdTagsJSONBody

PostConversationsConversationIdTagsJSONRequestBody defines body for PostConversationsConversationIdTags for application/json ContentType.

type PostConversationsConversationIdTagsResponse

type PostConversationsConversationIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostConversationsConversationIdTagsResponse

func ParsePostConversationsConversationIdTagsResponse(rsp *http.Response) (*PostConversationsConversationIdTagsResponse, error)

ParsePostConversationsConversationIdTagsResponse parses an HTTP response from a PostConversationsConversationIdTagsWithResponse call

func (PostConversationsConversationIdTagsResponse) Status

Status returns HTTPResponse.Status

func (PostConversationsConversationIdTagsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostInboxesInboxIdChannelsJSONBody

type PostInboxesInboxIdChannelsJSONBody CreateChannel

PostInboxesInboxIdChannelsJSONBody defines parameters for PostInboxesInboxIdChannels.

type PostInboxesInboxIdChannelsJSONRequestBody

type PostInboxesInboxIdChannelsJSONRequestBody PostInboxesInboxIdChannelsJSONBody

PostInboxesInboxIdChannelsJSONRequestBody defines body for PostInboxesInboxIdChannels for application/json ContentType.

type PostInboxesInboxIdChannelsResponse

type PostInboxesInboxIdChannelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostInboxesInboxIdChannelsResponse

func ParsePostInboxesInboxIdChannelsResponse(rsp *http.Response) (*PostInboxesInboxIdChannelsResponse, error)

ParsePostInboxesInboxIdChannelsResponse parses an HTTP response from a PostInboxesInboxIdChannelsWithResponse call

func (PostInboxesInboxIdChannelsResponse) Status

Status returns HTTPResponse.Status

func (PostInboxesInboxIdChannelsResponse) StatusCode

func (r PostInboxesInboxIdChannelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInboxesInboxIdTeammatesJSONBody

type PostInboxesInboxIdTeammatesJSONBody TeammateIds

PostInboxesInboxIdTeammatesJSONBody defines parameters for PostInboxesInboxIdTeammates.

type PostInboxesInboxIdTeammatesJSONRequestBody

type PostInboxesInboxIdTeammatesJSONRequestBody PostInboxesInboxIdTeammatesJSONBody

PostInboxesInboxIdTeammatesJSONRequestBody defines body for PostInboxesInboxIdTeammates for application/json ContentType.

type PostInboxesInboxIdTeammatesResponse

type PostInboxesInboxIdTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostInboxesInboxIdTeammatesResponse

func ParsePostInboxesInboxIdTeammatesResponse(rsp *http.Response) (*PostInboxesInboxIdTeammatesResponse, error)

ParsePostInboxesInboxIdTeammatesResponse parses an HTTP response from a PostInboxesInboxIdTeammatesWithResponse call

func (PostInboxesInboxIdTeammatesResponse) Status

Status returns HTTPResponse.Status

func (PostInboxesInboxIdTeammatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostInboxesJSONBody

type PostInboxesJSONBody CreateInbox

PostInboxesJSONBody defines parameters for PostInboxes.

type PostInboxesJSONRequestBody

type PostInboxesJSONRequestBody PostInboxesJSONBody

PostInboxesJSONRequestBody defines body for PostInboxes for application/json ContentType.

type PostInboxesResponse

type PostInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostInboxesResponse

func ParsePostInboxesResponse(rsp *http.Response) (*PostInboxesResponse, error)

ParsePostInboxesResponse parses an HTTP response from a PostInboxesWithResponse call

func (PostInboxesResponse) Status

func (r PostInboxesResponse) Status() string

Status returns HTTPResponse.Status

func (PostInboxesResponse) StatusCode

func (r PostInboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostLinksJSONBody

type PostLinksJSONBody CreateLink

PostLinksJSONBody defines parameters for PostLinks.

type PostLinksJSONRequestBody

type PostLinksJSONRequestBody PostLinksJSONBody

PostLinksJSONRequestBody defines body for PostLinks for application/json ContentType.

type PostLinksResponse

type PostLinksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *LinkResponse
}

func ParsePostLinksResponse

func ParsePostLinksResponse(rsp *http.Response) (*PostLinksResponse, error)

ParsePostLinksResponse parses an HTTP response from a PostLinksWithResponse call

func (PostLinksResponse) Status

func (r PostLinksResponse) Status() string

Status returns HTTPResponse.Status

func (PostLinksResponse) StatusCode

func (r PostLinksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostMessageTemplateFoldersJSONBody

type PostMessageTemplateFoldersJSONBody CreateMessageTemplateFolder

PostMessageTemplateFoldersJSONBody defines parameters for PostMessageTemplateFolders.

type PostMessageTemplateFoldersJSONRequestBody

type PostMessageTemplateFoldersJSONRequestBody PostMessageTemplateFoldersJSONBody

PostMessageTemplateFoldersJSONRequestBody defines body for PostMessageTemplateFolders for application/json ContentType.

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONBody

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONBody CreateMessageTemplateFolderAsChild

PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONBody defines parameters for PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders.

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONRequestBody

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONRequestBody PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONBody

PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersJSONRequestBody defines body for PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFolders for application/json ContentType.

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateFolderResponse
}

func ParsePostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse

func ParsePostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse(rsp *http.Response) (*PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse, error)

ParsePostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse parses an HTTP response from a PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersWithResponse call

func (PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse) Status

Status returns HTTPResponse.Status

func (PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplateFoldersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONBody

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONBody CreateMessageTemplateAsChild

PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONBody defines parameters for PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates.

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONRequestBody

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONRequestBody PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONBody

PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesJSONRequestBody defines body for PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplates for application/json ContentType.

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse

type PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateResponse
}

func ParsePostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse

func ParsePostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse(rsp *http.Response) (*PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse, error)

ParsePostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse parses an HTTP response from a PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesWithResponse call

func (PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (PostMessageTemplateFoldersMessageTemplateFolderIdMessageTemplatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostMessageTemplateFoldersResponse

type PostMessageTemplateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateFolderResponse
}

func ParsePostMessageTemplateFoldersResponse

func ParsePostMessageTemplateFoldersResponse(rsp *http.Response) (*PostMessageTemplateFoldersResponse, error)

ParsePostMessageTemplateFoldersResponse parses an HTTP response from a PostMessageTemplateFoldersWithResponse call

func (PostMessageTemplateFoldersResponse) Status

Status returns HTTPResponse.Status

func (PostMessageTemplateFoldersResponse) StatusCode

func (r PostMessageTemplateFoldersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostMessageTemplatesJSONBody

type PostMessageTemplatesJSONBody CreateSharedMessageTemplate

PostMessageTemplatesJSONBody defines parameters for PostMessageTemplates.

type PostMessageTemplatesJSONRequestBody

type PostMessageTemplatesJSONRequestBody PostMessageTemplatesJSONBody

PostMessageTemplatesJSONRequestBody defines body for PostMessageTemplates for application/json ContentType.

type PostMessageTemplatesResponse

type PostMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateResponse
}

func ParsePostMessageTemplatesResponse

func ParsePostMessageTemplatesResponse(rsp *http.Response) (*PostMessageTemplatesResponse, error)

ParsePostMessageTemplatesResponse parses an HTTP response from a PostMessageTemplatesWithResponse call

func (PostMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (PostMessageTemplatesResponse) StatusCode

func (r PostMessageTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostShiftShiftIdTeammatesJSONBody

type PostShiftShiftIdTeammatesJSONBody TeammateIds

PostShiftShiftIdTeammatesJSONBody defines parameters for PostShiftShiftIdTeammates.

type PostShiftShiftIdTeammatesJSONRequestBody

type PostShiftShiftIdTeammatesJSONRequestBody PostShiftShiftIdTeammatesJSONBody

PostShiftShiftIdTeammatesJSONRequestBody defines body for PostShiftShiftIdTeammates for application/json ContentType.

type PostShiftShiftIdTeammatesResponse

type PostShiftShiftIdTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostShiftShiftIdTeammatesResponse

func ParsePostShiftShiftIdTeammatesResponse(rsp *http.Response) (*PostShiftShiftIdTeammatesResponse, error)

ParsePostShiftShiftIdTeammatesResponse parses an HTTP response from a PostShiftShiftIdTeammatesWithResponse call

func (PostShiftShiftIdTeammatesResponse) Status

Status returns HTTPResponse.Status

func (PostShiftShiftIdTeammatesResponse) StatusCode

func (r PostShiftShiftIdTeammatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostShiftsJSONBody

type PostShiftsJSONBody CreateShift

PostShiftsJSONBody defines parameters for PostShifts.

type PostShiftsJSONRequestBody

type PostShiftsJSONRequestBody PostShiftsJSONBody

PostShiftsJSONRequestBody defines body for PostShifts for application/json ContentType.

type PostShiftsResponse

type PostShiftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ShiftResponse
}

func ParsePostShiftsResponse

func ParsePostShiftsResponse(rsp *http.Response) (*PostShiftsResponse, error)

ParsePostShiftsResponse parses an HTTP response from a PostShiftsWithResponse call

func (PostShiftsResponse) Status

func (r PostShiftsResponse) Status() string

Status returns HTTPResponse.Status

func (PostShiftsResponse) StatusCode

func (r PostShiftsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTagsJSONBody

type PostTagsJSONBody CreateTag

PostTagsJSONBody defines parameters for PostTags.

type PostTagsJSONRequestBody

type PostTagsJSONRequestBody PostTagsJSONBody

PostTagsJSONRequestBody defines body for PostTags for application/json ContentType.

type PostTagsResponse

type PostTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TagResponse
}

func ParsePostTagsResponse

func ParsePostTagsResponse(rsp *http.Response) (*PostTagsResponse, error)

ParsePostTagsResponse parses an HTTP response from a PostTagsWithResponse call

func (PostTagsResponse) Status

func (r PostTagsResponse) Status() string

Status returns HTTPResponse.Status

func (PostTagsResponse) StatusCode

func (r PostTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTagsTagIdChildrenJSONBody

type PostTagsTagIdChildrenJSONBody CreateTag

PostTagsTagIdChildrenJSONBody defines parameters for PostTagsTagIdChildren.

type PostTagsTagIdChildrenJSONRequestBody

type PostTagsTagIdChildrenJSONRequestBody PostTagsTagIdChildrenJSONBody

PostTagsTagIdChildrenJSONRequestBody defines body for PostTagsTagIdChildren for application/json ContentType.

type PostTagsTagIdChildrenResponse

type PostTagsTagIdChildrenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TagResponse
}

func ParsePostTagsTagIdChildrenResponse

func ParsePostTagsTagIdChildrenResponse(rsp *http.Response) (*PostTagsTagIdChildrenResponse, error)

ParsePostTagsTagIdChildrenResponse parses an HTTP response from a PostTagsTagIdChildrenWithResponse call

func (PostTagsTagIdChildrenResponse) Status

Status returns HTTPResponse.Status

func (PostTagsTagIdChildrenResponse) StatusCode

func (r PostTagsTagIdChildrenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTeammatesTeammateIdContactGroupsJSONBody

type PostTeammatesTeammateIdContactGroupsJSONBody CreateContactGroup

PostTeammatesTeammateIdContactGroupsJSONBody defines parameters for PostTeammatesTeammateIdContactGroups.

type PostTeammatesTeammateIdContactGroupsJSONRequestBody

type PostTeammatesTeammateIdContactGroupsJSONRequestBody PostTeammatesTeammateIdContactGroupsJSONBody

PostTeammatesTeammateIdContactGroupsJSONRequestBody defines body for PostTeammatesTeammateIdContactGroups for application/json ContentType.

type PostTeammatesTeammateIdContactGroupsResponse

type PostTeammatesTeammateIdContactGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostTeammatesTeammateIdContactGroupsResponse

func ParsePostTeammatesTeammateIdContactGroupsResponse(rsp *http.Response) (*PostTeammatesTeammateIdContactGroupsResponse, error)

ParsePostTeammatesTeammateIdContactGroupsResponse parses an HTTP response from a PostTeammatesTeammateIdContactGroupsWithResponse call

func (PostTeammatesTeammateIdContactGroupsResponse) Status

Status returns HTTPResponse.Status

func (PostTeammatesTeammateIdContactGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTeammatesTeammateIdContactsJSONBody

type PostTeammatesTeammateIdContactsJSONBody CreateContact

PostTeammatesTeammateIdContactsJSONBody defines parameters for PostTeammatesTeammateIdContacts.

type PostTeammatesTeammateIdContactsJSONRequestBody

type PostTeammatesTeammateIdContactsJSONRequestBody PostTeammatesTeammateIdContactsJSONBody

PostTeammatesTeammateIdContactsJSONRequestBody defines body for PostTeammatesTeammateIdContacts for application/json ContentType.

type PostTeammatesTeammateIdContactsResponse

type PostTeammatesTeammateIdContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ContactResponse
}

func ParsePostTeammatesTeammateIdContactsResponse

func ParsePostTeammatesTeammateIdContactsResponse(rsp *http.Response) (*PostTeammatesTeammateIdContactsResponse, error)

ParsePostTeammatesTeammateIdContactsResponse parses an HTTP response from a PostTeammatesTeammateIdContactsWithResponse call

func (PostTeammatesTeammateIdContactsResponse) Status

Status returns HTTPResponse.Status

func (PostTeammatesTeammateIdContactsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTeammatesTeammateIdMessageTemplateFoldersJSONBody

type PostTeammatesTeammateIdMessageTemplateFoldersJSONBody CreateMessageTemplateFolder

PostTeammatesTeammateIdMessageTemplateFoldersJSONBody defines parameters for PostTeammatesTeammateIdMessageTemplateFolders.

type PostTeammatesTeammateIdMessageTemplateFoldersJSONRequestBody

type PostTeammatesTeammateIdMessageTemplateFoldersJSONRequestBody PostTeammatesTeammateIdMessageTemplateFoldersJSONBody

PostTeammatesTeammateIdMessageTemplateFoldersJSONRequestBody defines body for PostTeammatesTeammateIdMessageTemplateFolders for application/json ContentType.

type PostTeammatesTeammateIdMessageTemplateFoldersResponse

type PostTeammatesTeammateIdMessageTemplateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateFolderResponse
}

func ParsePostTeammatesTeammateIdMessageTemplateFoldersResponse

func ParsePostTeammatesTeammateIdMessageTemplateFoldersResponse(rsp *http.Response) (*PostTeammatesTeammateIdMessageTemplateFoldersResponse, error)

ParsePostTeammatesTeammateIdMessageTemplateFoldersResponse parses an HTTP response from a PostTeammatesTeammateIdMessageTemplateFoldersWithResponse call

func (PostTeammatesTeammateIdMessageTemplateFoldersResponse) Status

Status returns HTTPResponse.Status

func (PostTeammatesTeammateIdMessageTemplateFoldersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTeammatesTeammateIdMessageTemplatesJSONBody

type PostTeammatesTeammateIdMessageTemplatesJSONBody CreatePrivateMessageTemplate

PostTeammatesTeammateIdMessageTemplatesJSONBody defines parameters for PostTeammatesTeammateIdMessageTemplates.

type PostTeammatesTeammateIdMessageTemplatesJSONRequestBody

type PostTeammatesTeammateIdMessageTemplatesJSONRequestBody PostTeammatesTeammateIdMessageTemplatesJSONBody

PostTeammatesTeammateIdMessageTemplatesJSONRequestBody defines body for PostTeammatesTeammateIdMessageTemplates for application/json ContentType.

type PostTeammatesTeammateIdMessageTemplatesResponse

type PostTeammatesTeammateIdMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateResponse
}

func ParsePostTeammatesTeammateIdMessageTemplatesResponse

func ParsePostTeammatesTeammateIdMessageTemplatesResponse(rsp *http.Response) (*PostTeammatesTeammateIdMessageTemplatesResponse, error)

ParsePostTeammatesTeammateIdMessageTemplatesResponse parses an HTTP response from a PostTeammatesTeammateIdMessageTemplatesWithResponse call

func (PostTeammatesTeammateIdMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (PostTeammatesTeammateIdMessageTemplatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTeammatesTeammateIdTagsJSONBody

type PostTeammatesTeammateIdTagsJSONBody CreateTag

PostTeammatesTeammateIdTagsJSONBody defines parameters for PostTeammatesTeammateIdTags.

type PostTeammatesTeammateIdTagsJSONRequestBody

type PostTeammatesTeammateIdTagsJSONRequestBody PostTeammatesTeammateIdTagsJSONBody

PostTeammatesTeammateIdTagsJSONRequestBody defines body for PostTeammatesTeammateIdTags for application/json ContentType.

type PostTeammatesTeammateIdTagsResponse

type PostTeammatesTeammateIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TagResponse
}

func ParsePostTeammatesTeammateIdTagsResponse

func ParsePostTeammatesTeammateIdTagsResponse(rsp *http.Response) (*PostTeammatesTeammateIdTagsResponse, error)

ParsePostTeammatesTeammateIdTagsResponse parses an HTTP response from a PostTeammatesTeammateIdTagsWithResponse call

func (PostTeammatesTeammateIdTagsResponse) Status

Status returns HTTPResponse.Status

func (PostTeammatesTeammateIdTagsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTeamsTeamIdContactGroupsJSONBody

type PostTeamsTeamIdContactGroupsJSONBody CreateContactGroup

PostTeamsTeamIdContactGroupsJSONBody defines parameters for PostTeamsTeamIdContactGroups.

type PostTeamsTeamIdContactGroupsJSONRequestBody

type PostTeamsTeamIdContactGroupsJSONRequestBody PostTeamsTeamIdContactGroupsJSONBody

PostTeamsTeamIdContactGroupsJSONRequestBody defines body for PostTeamsTeamIdContactGroups for application/json ContentType.

type PostTeamsTeamIdContactGroupsResponse

type PostTeamsTeamIdContactGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostTeamsTeamIdContactGroupsResponse

func ParsePostTeamsTeamIdContactGroupsResponse(rsp *http.Response) (*PostTeamsTeamIdContactGroupsResponse, error)

ParsePostTeamsTeamIdContactGroupsResponse parses an HTTP response from a PostTeamsTeamIdContactGroupsWithResponse call

func (PostTeamsTeamIdContactGroupsResponse) Status

Status returns HTTPResponse.Status

func (PostTeamsTeamIdContactGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTeamsTeamIdContactsJSONBody

type PostTeamsTeamIdContactsJSONBody CreateContact

PostTeamsTeamIdContactsJSONBody defines parameters for PostTeamsTeamIdContacts.

type PostTeamsTeamIdContactsJSONRequestBody

type PostTeamsTeamIdContactsJSONRequestBody PostTeamsTeamIdContactsJSONBody

PostTeamsTeamIdContactsJSONRequestBody defines body for PostTeamsTeamIdContacts for application/json ContentType.

type PostTeamsTeamIdContactsResponse

type PostTeamsTeamIdContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ContactResponse
}

func ParsePostTeamsTeamIdContactsResponse

func ParsePostTeamsTeamIdContactsResponse(rsp *http.Response) (*PostTeamsTeamIdContactsResponse, error)

ParsePostTeamsTeamIdContactsResponse parses an HTTP response from a PostTeamsTeamIdContactsWithResponse call

func (PostTeamsTeamIdContactsResponse) Status

Status returns HTTPResponse.Status

func (PostTeamsTeamIdContactsResponse) StatusCode

func (r PostTeamsTeamIdContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTeamsTeamIdExportsJSONBody

type PostTeamsTeamIdExportsJSONBody ExportQuery

PostTeamsTeamIdExportsJSONBody defines parameters for PostTeamsTeamIdExports.

type PostTeamsTeamIdExportsJSONRequestBody

type PostTeamsTeamIdExportsJSONRequestBody PostTeamsTeamIdExportsJSONBody

PostTeamsTeamIdExportsJSONRequestBody defines body for PostTeamsTeamIdExports for application/json ContentType.

type PostTeamsTeamIdExportsResponse

type PostTeamsTeamIdExportsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ExportResponse
}

func ParsePostTeamsTeamIdExportsResponse

func ParsePostTeamsTeamIdExportsResponse(rsp *http.Response) (*PostTeamsTeamIdExportsResponse, error)

ParsePostTeamsTeamIdExportsResponse parses an HTTP response from a PostTeamsTeamIdExportsWithResponse call

func (PostTeamsTeamIdExportsResponse) Status

Status returns HTTPResponse.Status

func (PostTeamsTeamIdExportsResponse) StatusCode

func (r PostTeamsTeamIdExportsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTeamsTeamIdInboxesJSONBody

type PostTeamsTeamIdInboxesJSONBody CreateInbox

PostTeamsTeamIdInboxesJSONBody defines parameters for PostTeamsTeamIdInboxes.

type PostTeamsTeamIdInboxesJSONRequestBody

type PostTeamsTeamIdInboxesJSONRequestBody PostTeamsTeamIdInboxesJSONBody

PostTeamsTeamIdInboxesJSONRequestBody defines body for PostTeamsTeamIdInboxes for application/json ContentType.

type PostTeamsTeamIdInboxesResponse

type PostTeamsTeamIdInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostTeamsTeamIdInboxesResponse

func ParsePostTeamsTeamIdInboxesResponse(rsp *http.Response) (*PostTeamsTeamIdInboxesResponse, error)

ParsePostTeamsTeamIdInboxesResponse parses an HTTP response from a PostTeamsTeamIdInboxesWithResponse call

func (PostTeamsTeamIdInboxesResponse) Status

Status returns HTTPResponse.Status

func (PostTeamsTeamIdInboxesResponse) StatusCode

func (r PostTeamsTeamIdInboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTeamsTeamIdMessageTemplateFoldersJSONBody

type PostTeamsTeamIdMessageTemplateFoldersJSONBody CreateMessageTemplateFolder

PostTeamsTeamIdMessageTemplateFoldersJSONBody defines parameters for PostTeamsTeamIdMessageTemplateFolders.

type PostTeamsTeamIdMessageTemplateFoldersJSONRequestBody

type PostTeamsTeamIdMessageTemplateFoldersJSONRequestBody PostTeamsTeamIdMessageTemplateFoldersJSONBody

PostTeamsTeamIdMessageTemplateFoldersJSONRequestBody defines body for PostTeamsTeamIdMessageTemplateFolders for application/json ContentType.

type PostTeamsTeamIdMessageTemplateFoldersResponse

type PostTeamsTeamIdMessageTemplateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateFolderResponse
}

func ParsePostTeamsTeamIdMessageTemplateFoldersResponse

func ParsePostTeamsTeamIdMessageTemplateFoldersResponse(rsp *http.Response) (*PostTeamsTeamIdMessageTemplateFoldersResponse, error)

ParsePostTeamsTeamIdMessageTemplateFoldersResponse parses an HTTP response from a PostTeamsTeamIdMessageTemplateFoldersWithResponse call

func (PostTeamsTeamIdMessageTemplateFoldersResponse) Status

Status returns HTTPResponse.Status

func (PostTeamsTeamIdMessageTemplateFoldersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTeamsTeamIdMessageTemplatesJSONBody

type PostTeamsTeamIdMessageTemplatesJSONBody CreateSharedMessageTemplate

PostTeamsTeamIdMessageTemplatesJSONBody defines parameters for PostTeamsTeamIdMessageTemplates.

type PostTeamsTeamIdMessageTemplatesJSONRequestBody

type PostTeamsTeamIdMessageTemplatesJSONRequestBody PostTeamsTeamIdMessageTemplatesJSONBody

PostTeamsTeamIdMessageTemplatesJSONRequestBody defines body for PostTeamsTeamIdMessageTemplates for application/json ContentType.

type PostTeamsTeamIdMessageTemplatesResponse

type PostTeamsTeamIdMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateResponse
}

func ParsePostTeamsTeamIdMessageTemplatesResponse

func ParsePostTeamsTeamIdMessageTemplatesResponse(rsp *http.Response) (*PostTeamsTeamIdMessageTemplatesResponse, error)

ParsePostTeamsTeamIdMessageTemplatesResponse parses an HTTP response from a PostTeamsTeamIdMessageTemplatesWithResponse call

func (PostTeamsTeamIdMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (PostTeamsTeamIdMessageTemplatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTeamsTeamIdShiftsJSONBody

type PostTeamsTeamIdShiftsJSONBody CreateShift

PostTeamsTeamIdShiftsJSONBody defines parameters for PostTeamsTeamIdShifts.

type PostTeamsTeamIdShiftsJSONRequestBody

type PostTeamsTeamIdShiftsJSONRequestBody PostTeamsTeamIdShiftsJSONBody

PostTeamsTeamIdShiftsJSONRequestBody defines body for PostTeamsTeamIdShifts for application/json ContentType.

type PostTeamsTeamIdShiftsResponse

type PostTeamsTeamIdShiftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ShiftResponse
}

func ParsePostTeamsTeamIdShiftsResponse

func ParsePostTeamsTeamIdShiftsResponse(rsp *http.Response) (*PostTeamsTeamIdShiftsResponse, error)

ParsePostTeamsTeamIdShiftsResponse parses an HTTP response from a PostTeamsTeamIdShiftsWithResponse call

func (PostTeamsTeamIdShiftsResponse) Status

Status returns HTTPResponse.Status

func (PostTeamsTeamIdShiftsResponse) StatusCode

func (r PostTeamsTeamIdShiftsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTeamsTeamIdTagsJSONBody

type PostTeamsTeamIdTagsJSONBody CreateTag

PostTeamsTeamIdTagsJSONBody defines parameters for PostTeamsTeamIdTags.

type PostTeamsTeamIdTagsJSONRequestBody

type PostTeamsTeamIdTagsJSONRequestBody PostTeamsTeamIdTagsJSONBody

PostTeamsTeamIdTagsJSONRequestBody defines body for PostTeamsTeamIdTags for application/json ContentType.

type PostTeamsTeamIdTagsResponse

type PostTeamsTeamIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TagResponse
}

func ParsePostTeamsTeamIdTagsResponse

func ParsePostTeamsTeamIdTagsResponse(rsp *http.Response) (*PostTeamsTeamIdTagsResponse, error)

ParsePostTeamsTeamIdTagsResponse parses an HTTP response from a PostTeamsTeamIdTagsWithResponse call

func (PostTeamsTeamIdTagsResponse) Status

Status returns HTTPResponse.Status

func (PostTeamsTeamIdTagsResponse) StatusCode

func (r PostTeamsTeamIdTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTeamsTeamIdTeammatesJSONBody

type PostTeamsTeamIdTeammatesJSONBody TeammateIds

PostTeamsTeamIdTeammatesJSONBody defines parameters for PostTeamsTeamIdTeammates.

type PostTeamsTeamIdTeammatesJSONRequestBody

type PostTeamsTeamIdTeammatesJSONRequestBody PostTeamsTeamIdTeammatesJSONBody

PostTeamsTeamIdTeammatesJSONRequestBody defines body for PostTeamsTeamIdTeammates for application/json ContentType.

type PostTeamsTeamIdTeammatesResponse

type PostTeamsTeamIdTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostTeamsTeamIdTeammatesResponse

func ParsePostTeamsTeamIdTeammatesResponse(rsp *http.Response) (*PostTeamsTeamIdTeammatesResponse, error)

ParsePostTeamsTeamIdTeammatesResponse parses an HTTP response from a PostTeamsTeamIdTeammatesWithResponse call

func (PostTeamsTeamIdTeammatesResponse) Status

Status returns HTTPResponse.Status

func (PostTeamsTeamIdTeammatesResponse) StatusCode

func (r PostTeamsTeamIdTeammatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutConversationsConversationIdAssigneeJSONBody

type PutConversationsConversationIdAssigneeJSONBody UpdateConversationAssignee

PutConversationsConversationIdAssigneeJSONBody defines parameters for PutConversationsConversationIdAssignee.

type PutConversationsConversationIdAssigneeJSONRequestBody

type PutConversationsConversationIdAssigneeJSONRequestBody PutConversationsConversationIdAssigneeJSONBody

PutConversationsConversationIdAssigneeJSONRequestBody defines body for PutConversationsConversationIdAssignee for application/json ContentType.

type PutConversationsConversationIdAssigneeResponse

type PutConversationsConversationIdAssigneeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePutConversationsConversationIdAssigneeResponse

func ParsePutConversationsConversationIdAssigneeResponse(rsp *http.Response) (*PutConversationsConversationIdAssigneeResponse, error)

ParsePutConversationsConversationIdAssigneeResponse parses an HTTP response from a PutConversationsConversationIdAssigneeWithResponse call

func (PutConversationsConversationIdAssigneeResponse) Status

Status returns HTTPResponse.Status

func (PutConversationsConversationIdAssigneeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RecipientResponse

type RecipientResponse struct {
	// Handle of the contact. Can be any string used to uniquely identify the contact
	Handle        *string `json:"handle,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to recipient contact
			Contact *string `json:"contact,omitempty"`
		} `json:"related,omitempty"`
	} `json:"resource_links,omitempty"`

	// Role of the recipient
	Role *RecipientResponseRole `json:"role,omitempty"`
}

RecipientResponse defines model for RecipientResponse.

type RecipientResponseRole

type RecipientResponseRole string

Role of the recipient

const (
	RecipientResponseRoleBcc RecipientResponseRole = "bcc"

	RecipientResponseRoleCc RecipientResponseRole = "cc"

	RecipientResponseRoleFrom RecipientResponseRole = "from"

	RecipientResponseRoleTo RecipientResponseRole = "to"
)

Defines values for RecipientResponseRole.

type Reminder

type Reminder struct {
	// Timestamp at which the conversation reminder has been created
	CreatedAt     *int `json:"created_at,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to conversation owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`
	} `json:"resource_links,omitempty"`

	// Timestamp that the conversation reminder has been scheduled for
	ScheduledAt *int `json:"scheduled_at,omitempty"`

	// Timestamp at which the conversation reminder has been updated
	UpdatedAt *int `json:"updated_at,omitempty"`
}

Reminder defines model for Reminder.

type ReplyDraft

type ReplyDraft struct {
	// Embedded struct due to allOf(#/components/schemas/CreateDraft)
	CreateDraft `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	// ID of the channel from which the draft will be sent
	ChannelId *string `json:"channel_id,omitempty"`
}

ReplyDraft defines model for ReplyDraft.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResourceID

type ResourceID string

ResourceID defines model for ResourceID.

type Role

type Role RoleResponse

Role defines model for role.

type RoleResponse

type RoleResponse struct {
	// Unique identifier of the role
	Id *string `json:"id,omitempty"`

	// Name of the role
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to role owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`
	} `json:"resource_links,omitempty"`
}

RoleResponse defines model for RoleResponse.

type Rule

type Rule RuleResponse

Rule defines model for rule.

type RuleResponse

type RuleResponse struct {
	// List of the rule's actions description
	Actions *[]string `json:"actions,omitempty"`

	// Unique identifier of the rule
	Id *string `json:"id,omitempty"`

	// Whether or not the rule is individual
	IsPrivate *bool `json:"is_private,omitempty"`

	// Name of the rule
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to rule owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

RuleResponse defines model for RuleResponse.

type SearchConversationsParams

type SearchConversationsParams struct {
	// Max number of results per page
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the next page
	PageToken *PageToken `json:"page_token,omitempty"`
}

SearchConversationsParams defines parameters for SearchConversations.

type SearchConversationsResponse

type SearchConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Pagination *struct {
			// Link to next page of results
			Next *string `json:"next,omitempty"`
		} `json:"_pagination,omitempty"`
		Results *[]ConversationResponse `json:"_results,omitempty"`

		// Total number of matching conversations
		Total *int `json:"_total,omitempty"`
	}
}

func ParseSearchConversationsResponse

func ParseSearchConversationsResponse(rsp *http.Response) (*SearchConversationsResponse, error)

ParseSearchConversationsResponse parses an HTTP response from a SearchConversationsWithResponse call

func (SearchConversationsResponse) Status

Status returns HTTPResponse.Status

func (SearchConversationsResponse) StatusCode

func (r SearchConversationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Shift

type Shift ShiftResponse

Shift defines model for shift.

type ShiftInterval

type ShiftInterval struct {
	// End of shift
	End string `json:"end"`

	// Start of shift
	Start string `json:"start"`
}

ShiftInterval defines model for ShiftInterval.

type ShiftIntervals

type ShiftIntervals struct {
	Fri *ShiftInterval `json:"fri,omitempty"`
	Mon *ShiftInterval `json:"mon,omitempty"`
	Sat *ShiftInterval `json:"sat,omitempty"`
	Sun *ShiftInterval `json:"sun,omitempty"`
	Thu *ShiftInterval `json:"thu,omitempty"`
	Tue *ShiftInterval `json:"tue,omitempty"`
	Wed *ShiftInterval `json:"wed,omitempty"`
}

ShiftIntervals defines model for ShiftIntervals.

type ShiftResponse

type ShiftResponse struct {
	// Color of the shift
	Color     *ShiftResponseColor `json:"color,omitempty"`
	CreatedAt *int                `json:"created_at,omitempty"`

	// Unique identifier of the shift
	Id *string `json:"id,omitempty"`

	// Name of the shift
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to shift owner
			Owner *string `json:"owner,omitempty"`

			// Link to shift teammates
			Teammates *string `json:"teammates,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
	Times *ShiftIntervals `json:"times,omitempty"`

	// A timezone name as defined in the IANA tz database
	Timezone  *string `json:"timezone,omitempty"`
	UpdatedAt *int    `json:"updated_at,omitempty"`
}

ShiftResponse defines model for ShiftResponse.

type ShiftResponseColor

type ShiftResponseColor string

Color of the shift

const (
	ShiftResponseColorBlack ShiftResponseColor = "black"
)

Defines values for ShiftResponseColor.

type SortBy

type SortBy string

SortBy defines model for sortBy.

type SortOrder

type SortOrder string

SortOrder defines model for sortOrder.

const (
	Asc SortOrder = "asc"

	Desc SortOrder = "desc"
)

Defines values for SortOrder.

type Tag

type Tag TagResponse

A tag is a label that can be used to classify conversations.

type TagIds

type TagIds struct {
	TagIds []ResourceID `json:"tag_ids"`
}

TagIds defines model for TagIds.

type TagResponse

type TagResponse struct {
	// Timestamp of tag create creation
	CreatedAt *int `json:"created_at,omitempty"`

	// Highlight color of the tag.
	Highlight *TagResponseHighlight `json:"highlight,omitempty"`

	// Unique identifier of the tag
	Id *string `json:"id,omitempty"`

	// Whether or not the tag is individual
	IsPrivate *bool `json:"is_private,omitempty"`

	// Whether the tag is visible in conversation lists.
	IsVisibleInConversationLists *bool `json:"is_visible_in_conversation_lists,omitempty"`

	// Name of the tag
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to tag children
			Children *string `json:"children,omitempty"`

			// Link to tag conversations
			Conversations *string `json:"conversations,omitempty"`

			// Link to tag owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Timestamp of the last tag update
	UpdatedAt *int `json:"updated_at,omitempty"`
}

A tag is a label that can be used to classify conversations.

type TagResponseHighlight

type TagResponseHighlight string

Highlight color of the tag.

const (
	TagResponseHighlightBlue TagResponseHighlight = "blue"

	TagResponseHighlightGreen TagResponseHighlight = "green"

	TagResponseHighlightGrey TagResponseHighlight = "grey"

	TagResponseHighlightLightBlue TagResponseHighlight = "light-blue"

	TagResponseHighlightOrange TagResponseHighlight = "orange"

	TagResponseHighlightPink TagResponseHighlight = "pink"

	TagResponseHighlightPurple TagResponseHighlight = "purple"

	TagResponseHighlightRed TagResponseHighlight = "red"

	TagResponseHighlightYellow TagResponseHighlight = "yellow"
)

Defines values for TagResponseHighlight.

type Team

type Team TeamResponse

Team defines model for team.

type TeamIds

type TeamIds struct {
	TeamIds []ResourceID `json:"team_ids"`
}

TeamIds defines model for TeamIds.

type TeamResponse

type TeamResponse struct {
	// Unique identifier of the team
	Id *string `json:"id,omitempty"`

	// List of the inboxes in the team
	Inboxes *[]InboxResponse `json:"inboxes,omitempty"`

	// List of the teammates that have access to the team
	Members *[]TeammateResponse `json:"members,omitempty"`

	// Name of the team
	Name          *string `json:"name,omitempty"`
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`
}

TeamResponse defines model for TeamResponse.

type Teammate

type Teammate TeammateResponse

A teammate is a user in Front.

type TeammateIds

type TeammateIds struct {
	TeammateIds []ResourceID `json:"teammate_ids"`
}

TeammateIds defines model for TeammateIds.

type TeammateResponse

type TeammateResponse struct {
	// Email address of the teammate
	Email *string `json:"email,omitempty"`

	// First name of the teammate
	FirstName *string `json:"first_name,omitempty"`

	// Unique identifier of the teammate
	Id *string `json:"id,omitempty"`

	// Whether or not the teammate is an admin in your company
	IsAdmin *bool `json:"is_admin,omitempty"`

	// Whether or not the teammate is available
	IsAvailable *bool `json:"is_available,omitempty"`

	// Whether or not the teammate account has been blocked
	IsBlocked *bool `json:"is_blocked,omitempty"`

	// Last name of the teammate
	LastName      *string `json:"last_name,omitempty"`
	ResourceLinks *struct {
		Related *struct {
			// Link to teammate's conversations
			Conversations *string `json:"conversations,omitempty"`

			// Link to teammate's inboxes
			Inboxes *string `json:"inboxes,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"resource_links,omitempty"`

	// Username of the teammate (used for "@" mentions)
	Username *string `json:"username,omitempty"`
}

A teammate is a user in Front.

type TopicQuery

type TopicQuery string

TopicQuery defines model for topicQuery.

type UpdateChannel

type UpdateChannel struct {
	// Name of the channel
	Name *string `json:"name,omitempty"`

	// Settings to replace.
	// For custom channels, all settings may be replaced.
	// For all other channels, only `undo_send_time` and `all_teammates_can_reply` may be replaced.
	Settings *struct {
		// Whether teammates without inbox access can reply on this channel. Only allowed for shared channels.
		AllTeammatesCanReply *bool `json:"all_teammates_can_reply,omitempty"`

		// The time (measured in seconds) that users have to undo a send operation in the channel.
		UndoSendTime *UpdateChannelSettingsUndoSendTime `json:"undo_send_time,omitempty"`
	} `json:"settings,omitempty"`
}

UpdateChannel defines model for UpdateChannel.

type UpdateChannelSettingsUndoSendTime

type UpdateChannelSettingsUndoSendTime int

The time (measured in seconds) that users have to undo a send operation in the channel.

const (
	UpdateChannelSettingsUndoSendTimeN0 UpdateChannelSettingsUndoSendTime = 0

	UpdateChannelSettingsUndoSendTimeN10 UpdateChannelSettingsUndoSendTime = 10

	UpdateChannelSettingsUndoSendTimeN15 UpdateChannelSettingsUndoSendTime = 15

	UpdateChannelSettingsUndoSendTimeN30 UpdateChannelSettingsUndoSendTime = 30

	UpdateChannelSettingsUndoSendTimeN5 UpdateChannelSettingsUndoSendTime = 5

	UpdateChannelSettingsUndoSendTimeN60 UpdateChannelSettingsUndoSendTime = 60
)

Defines values for UpdateChannelSettingsUndoSendTime.

type UpdateConversation

type UpdateConversation struct {
	// ID of the teammate to assign the conversation to. Set it to null to unassign.
	AssigneeId *string `json:"assignee_id,omitempty"`

	// ID of the inbox to move the conversation to.
	InboxId *string `json:"inbox_id,omitempty"`

	// New status of the conversation
	Status *UpdateConversationStatus `json:"status,omitempty"`

	// List of all the tag IDs replacing the old conversation tags
	TagIds *[]ResourceID `json:"tag_ids,omitempty"`
}

UpdateConversation defines model for UpdateConversation.

type UpdateConversationAssignee

type UpdateConversationAssignee struct {
	// ID of the teammate to assign the conversation to. Set it to null to unassign.
	AssigneeId string `json:"assignee_id"`
}

UpdateConversationAssignee defines model for UpdateConversationAssignee.

type UpdateConversationReminders

type UpdateConversationReminders struct {
	// Timestamp to schedule the reminder for. Set to null to cancel.
	ScheduledAt string `json:"scheduled_at"`

	// ID of the teammate to create a reminder for. For a private conversation, specify the id of the teammate that owns the conversation. For a shared conversation, use the id of any teammate that has access to the conversation's shared inbox.
	TeammateId string `json:"teammate_id"`
}

UpdateConversationReminders defines model for UpdateConversationReminders.

type UpdateConversationStatus

type UpdateConversationStatus string

New status of the conversation

const (
	UpdateConversationStatusArchived UpdateConversationStatus = "archived"

	UpdateConversationStatusDeleted UpdateConversationStatus = "deleted"

	UpdateConversationStatusOpen UpdateConversationStatus = "open"

	UpdateConversationStatusSpam UpdateConversationStatus = "spam"
)

Defines values for UpdateConversationStatus.

type UpdateCustomField

type UpdateCustomField struct {
	// Description of the custom field
	Description *string `json:"description,omitempty"`

	// Name of the custom field
	Name *string `json:"name,omitempty"`
}

UpdateCustomField defines model for UpdateCustomField.

type UpdateLink struct {
	// Name of the link
	Name *string `json:"name,omitempty"`
}

UpdateLink defines model for UpdateLink.

type UpdateMessageTemplate

type UpdateMessageTemplate struct {
	// Body of the message template
	Body *string `json:"body,omitempty"`

	// ID of the parent folder to be placed into. Goes into the root folder if unspecified or if null.
	FolderId *string   `json:"folder_id,omitempty"`
	InboxIds *[]string `json:"inbox_ids,omitempty"`

	// Name of the message template
	Name *string `json:"name,omitempty"`

	// Subject of the message template
	Subject *string `json:"subject,omitempty"`
}

UpdateMessageTemplate defines model for UpdateMessageTemplate.

type UpdateMessageTemplateFolder

type UpdateMessageTemplateFolder struct {
	// Name of the message template folder
	Name *string `json:"name,omitempty"`

	// ID of the parent folder to be placed into. Goes into the root folder if unspecified or if null.
	ParentFolderId *string `json:"parent_folder_id,omitempty"`
}

A message template folder that is used to store message templates or other folders.

type UpdateShift

type UpdateShift struct {
	// Color of the shift
	Color *UpdateShiftColor `json:"color,omitempty"`

	// Name of the shift
	Name *string `json:"name,omitempty"`

	// List of all the teammate ids who will be part of this shift.
	TeammateIds *[]ResourceID   `json:"teammate_ids,omitempty"`
	Times       *ShiftIntervals `json:"times,omitempty"`

	// A timezone name as defined in the IANA tz database
	Timezone *string `json:"timezone,omitempty"`
}

UpdateShift defines model for UpdateShift.

type UpdateShiftColor

type UpdateShiftColor string

Color of the shift

const (
	UpdateShiftColorBlack UpdateShiftColor = "black"

	UpdateShiftColorBlue UpdateShiftColor = "blue"

	UpdateShiftColorGreen UpdateShiftColor = "green"

	UpdateShiftColorGrey UpdateShiftColor = "grey"

	UpdateShiftColorOrange UpdateShiftColor = "orange"

	UpdateShiftColorPink UpdateShiftColor = "pink"

	UpdateShiftColorPurple UpdateShiftColor = "purple"

	UpdateShiftColorRed UpdateShiftColor = "red"

	UpdateShiftColorTeal UpdateShiftColor = "teal"

	UpdateShiftColorYellow UpdateShiftColor = "yellow"
)

Defines values for UpdateShiftColor.

type UpdateTag

type UpdateTag struct {
	// Highlight color of the tag.
	Highlight *UpdateTagHighlight `json:"highlight,omitempty"`

	// Whether the tag is visible in conversation lists.
	IsVisibleInConversationLists *bool `json:"is_visible_in_conversation_lists,omitempty"`

	// Name of the tag
	Name *string `json:"name,omitempty"`

	// ID of the parent of this tag. Set to `null` to remove  the parent tag.
	ParentTagId *string `json:"parent_tag_id,omitempty"`
}

UpdateTag defines model for UpdateTag.

type UpdateTagHighlight

type UpdateTagHighlight string

Highlight color of the tag.

const (
	UpdateTagHighlightBlue UpdateTagHighlight = "blue"

	UpdateTagHighlightGreen UpdateTagHighlight = "green"

	UpdateTagHighlightGrey UpdateTagHighlight = "grey"

	UpdateTagHighlightLightBlue UpdateTagHighlight = "light-blue"

	UpdateTagHighlightOrange UpdateTagHighlight = "orange"

	UpdateTagHighlightPink UpdateTagHighlight = "pink"

	UpdateTagHighlightPurple UpdateTagHighlight = "purple"

	UpdateTagHighlightRed UpdateTagHighlight = "red"

	UpdateTagHighlightYellow UpdateTagHighlight = "yellow"
)

Defines values for UpdateTagHighlight.

type UpdateTeammate

type UpdateTeammate struct {
	// New first name
	FirstName *string `json:"first_name,omitempty"`

	// New availability status
	IsAvailable *bool `json:"is_available,omitempty"`

	// New last name
	LastName *string `json:"last_name,omitempty"`

	// New username. It must be unique and can only contains lowercase letters, numbers and underscores.
	Username *string `json:"username,omitempty"`
}

UpdateTeammate defines model for UpdateTeammate.

Directories

Path Synopsis
Package front is a generated GoMock package.
Package front is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL