front

package module
v0.0.0-...-c369e93 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 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.WithFrontClient("<YOUR_AUTH_TOKEN>", front.LimitStarter),
)
if err != nil {
  // ...
}

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

Rate limiters available based on your Front plan:

  • LimitStarter: 50 requests/minute
  • LimitGrowth: 100 requests/minute
  • LimitScale: 200 requests/minute

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

View Source
var LimitGrowth = rate.NewLimiter(rate.Limit(float64(100)/60), 1)
View Source
var LimitScale = rate.NewLimiter(rate.Limit(float64(200)/60), 1)
View Source
var LimitStarter = rate.NewLimiter(rate.Limit(float64(50)/60), 1)

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 NewAddCommentReplyRequest

func NewAddCommentReplyRequest(server string, commentId string, body AddCommentReplyJSONRequestBody) (*http.Request, error)

NewAddCommentReplyRequest calls the generic AddCommentReply builder with application/json body

func NewAddCommentReplyRequestWithBody

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

NewAddCommentReplyRequestWithBody generates requests for AddCommentReply with any type of body

func NewAddCommentRequest

func NewAddCommentRequest(server string, conversationId string, body AddCommentJSONRequestBody) (*http.Request, error)

NewAddCommentRequest calls the generic AddComment builder with application/json body

func NewAddCommentRequestWithBody

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

NewAddCommentRequestWithBody generates requests for AddComment with any type of body

func NewAddCompanyTeammateGroupTeamInboxesRequest

func NewAddCompanyTeammateGroupTeamInboxesRequest(server string, teammateGroupId string, body AddCompanyTeammateGroupTeamInboxesJSONRequestBody) (*http.Request, error)

NewAddCompanyTeammateGroupTeamInboxesRequest calls the generic AddCompanyTeammateGroupTeamInboxes builder with application/json body

func NewAddCompanyTeammateGroupTeamInboxesRequestWithBody

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

NewAddCompanyTeammateGroupTeamInboxesRequestWithBody generates requests for AddCompanyTeammateGroupTeamInboxes with any type of body

func NewAddCompanyTeammateGroupTeammatesRequest

func NewAddCompanyTeammateGroupTeammatesRequest(server string, teammateGroupId string, body AddCompanyTeammateGroupTeammatesJSONRequestBody) (*http.Request, error)

NewAddCompanyTeammateGroupTeammatesRequest calls the generic AddCompanyTeammateGroupTeammates builder with application/json body

func NewAddCompanyTeammateGroupTeammatesRequestWithBody

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

NewAddCompanyTeammateGroupTeammatesRequestWithBody generates requests for AddCompanyTeammateGroupTeammates with any type of body

func NewAddCompanyTeammateGroupTeamsRequest

func NewAddCompanyTeammateGroupTeamsRequest(server string, teammateGroupId string, body AddCompanyTeammateGroupTeamsJSONRequestBody) (*http.Request, error)

NewAddCompanyTeammateGroupTeamsRequest calls the generic AddCompanyTeammateGroupTeams builder with application/json body

func NewAddCompanyTeammateGroupTeamsRequestWithBody

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

NewAddCompanyTeammateGroupTeamsRequestWithBody generates requests for AddCompanyTeammateGroupTeams with any type of body

func NewAddContactHandleRequest

func NewAddContactHandleRequest(server string, contactId string, body AddContactHandleJSONRequestBody) (*http.Request, error)

NewAddContactHandleRequest calls the generic AddContactHandle builder with application/json body

func NewAddContactHandleRequestWithBody

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

NewAddContactHandleRequestWithBody generates requests for AddContactHandle with any type of body

func NewAddContactToAccountRequest

func NewAddContactToAccountRequest(server string, accountId string, body AddContactToAccountJSONRequestBody) (*http.Request, error)

NewAddContactToAccountRequest calls the generic AddContactToAccount builder with application/json body

func NewAddContactToAccountRequestWithBody

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

NewAddContactToAccountRequestWithBody generates requests for AddContactToAccount with any type of body

func NewAddContactsToContactListRequest

func NewAddContactsToContactListRequest(server string, contactListId string, body AddContactsToContactListJSONRequestBody) (*http.Request, error)

NewAddContactsToContactListRequest calls the generic AddContactsToContactList builder with application/json body

func NewAddContactsToContactListRequestWithBody

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

NewAddContactsToContactListRequestWithBody generates requests for AddContactsToContactList with any type of body

func NewAddContactsToGroupRequest

func NewAddContactsToGroupRequest(server string, contactGroupId string, body AddContactsToGroupJSONRequestBody) (*http.Request, error)

NewAddContactsToGroupRequest calls the generic AddContactsToGroup builder with application/json body

func NewAddContactsToGroupRequestWithBody

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

NewAddContactsToGroupRequestWithBody generates requests for AddContactsToGroup with any type of body

func NewAddConversationFollowersRequest

func NewAddConversationFollowersRequest(server string, conversationId string, params *AddConversationFollowersParams, body AddConversationFollowersJSONRequestBody) (*http.Request, error)

NewAddConversationFollowersRequest calls the generic AddConversationFollowers builder with application/json body

func NewAddConversationFollowersRequestWithBody

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

NewAddConversationFollowersRequestWithBody generates requests for AddConversationFollowers with any type of body

func NewAddConversationLinkRequest

func NewAddConversationLinkRequest(server string, conversationId string, body AddConversationLinkJSONRequestBody) (*http.Request, error)

NewAddConversationLinkRequest calls the generic AddConversationLink builder with application/json body

func NewAddConversationLinkRequestWithBody

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

NewAddConversationLinkRequestWithBody generates requests for AddConversationLink with any type of body

func NewAddConversationTagRequest

func NewAddConversationTagRequest(server string, conversationId string, body AddConversationTagJSONRequestBody) (*http.Request, error)

NewAddConversationTagRequest calls the generic AddConversationTag builder with application/json body

func NewAddConversationTagRequestWithBody

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

NewAddConversationTagRequestWithBody generates requests for AddConversationTag with any type of body

func NewAddInboxAccessRequest

func NewAddInboxAccessRequest(server string, inboxId string, body AddInboxAccessJSONRequestBody) (*http.Request, error)

NewAddInboxAccessRequest calls the generic AddInboxAccess builder with application/json body

func NewAddInboxAccessRequestWithBody

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

NewAddInboxAccessRequestWithBody generates requests for AddInboxAccess with any type of body

func NewAddNoteRequest

func NewAddNoteRequest(server string, contactId string, body AddNoteJSONRequestBody) (*http.Request, error)

NewAddNoteRequest calls the generic AddNote builder with application/json body

func NewAddNoteRequestWithBody

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

NewAddNoteRequestWithBody generates requests for AddNote with any type of body

func NewAddTeammatesToShiftRequest

func NewAddTeammatesToShiftRequest(server string, shiftId string, body AddTeammatesToShiftJSONRequestBody) (*http.Request, error)

NewAddTeammatesToShiftRequest calls the generic AddTeammatesToShift builder with application/json body

func NewAddTeammatesToShiftRequestWithBody

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

NewAddTeammatesToShiftRequestWithBody generates requests for AddTeammatesToShift with any type of body

func NewAddTeammatesToTeamRequest

func NewAddTeammatesToTeamRequest(server string, teamId string, body AddTeammatesToTeamJSONRequestBody) (*http.Request, error)

NewAddTeammatesToTeamRequest calls the generic AddTeammatesToTeam builder with application/json body

func NewAddTeammatesToTeamRequestWithBody

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

NewAddTeammatesToTeamRequestWithBody generates requests for AddTeammatesToTeam with any type of body

func NewApiTokenDetailsRequest

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

NewApiTokenDetailsRequest generates requests for ApiTokenDetails

func NewCreateAChannelRequest

func NewCreateAChannelRequest(server string, inboxId string, body CreateAChannelJSONRequestBody) (*http.Request, error)

NewCreateAChannelRequest calls the generic CreateAChannel builder with application/json body

func NewCreateAChannelRequestWithBody

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

NewCreateAChannelRequestWithBody generates requests for CreateAChannel with any type of body

func NewCreateAKnowledgeBaseRequest

func NewCreateAKnowledgeBaseRequest(server string, body CreateAKnowledgeBaseJSONRequestBody) (*http.Request, error)

NewCreateAKnowledgeBaseRequest calls the generic CreateAKnowledgeBase builder with application/json body

func NewCreateAKnowledgeBaseRequestWithBody

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

NewCreateAKnowledgeBaseRequestWithBody generates requests for CreateAKnowledgeBase with any type of body

func NewCreateAccountRequest

func NewCreateAccountRequest(server string, body CreateAccountJSONRequestBody) (*http.Request, error)

NewCreateAccountRequest calls the generic CreateAccount builder with application/json body

func NewCreateAccountRequestWithBody

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

NewCreateAccountRequestWithBody generates requests for CreateAccount with any type of body

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 NewCreateArticleInAKnowledgeBaseInDefaultLocaleRequest

func NewCreateArticleInAKnowledgeBaseInDefaultLocaleRequest(server string, knowledgeBaseId string, body CreateArticleInAKnowledgeBaseInDefaultLocaleJSONRequestBody) (*http.Request, error)

NewCreateArticleInAKnowledgeBaseInDefaultLocaleRequest calls the generic CreateArticleInAKnowledgeBaseInDefaultLocale builder with application/json body

func NewCreateArticleInAKnowledgeBaseInDefaultLocaleRequestWithBody

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

NewCreateArticleInAKnowledgeBaseInDefaultLocaleRequestWithBody generates requests for CreateArticleInAKnowledgeBaseInDefaultLocale with any type of body

func NewCreateArticleInAKnowledgeBaseInSpecifiedLocaleRequest

func NewCreateArticleInAKnowledgeBaseInSpecifiedLocaleRequest(server string, knowledgeBaseId string, locale string, body CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONRequestBody) (*http.Request, error)

NewCreateArticleInAKnowledgeBaseInSpecifiedLocaleRequest calls the generic CreateArticleInAKnowledgeBaseInSpecifiedLocale builder with application/json body

func NewCreateArticleInAKnowledgeBaseInSpecifiedLocaleRequestWithBody

func NewCreateArticleInAKnowledgeBaseInSpecifiedLocaleRequestWithBody(server string, knowledgeBaseId string, locale string, contentType string, body io.Reader) (*http.Request, error)

NewCreateArticleInAKnowledgeBaseInSpecifiedLocaleRequestWithBody generates requests for CreateArticleInAKnowledgeBaseInSpecifiedLocale with any type of body

func NewCreateChildFolderRequest

func NewCreateChildFolderRequest(server string, messageTemplateFolderId string, body CreateChildFolderJSONRequestBody) (*http.Request, error)

NewCreateChildFolderRequest calls the generic CreateChildFolder builder with application/json body

func NewCreateChildFolderRequestWithBody

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

NewCreateChildFolderRequestWithBody generates requests for CreateChildFolder with any type of body

func NewCreateChildTagRequest

func NewCreateChildTagRequest(server string, tagId string, body CreateChildTagJSONRequestBody) (*http.Request, error)

NewCreateChildTagRequest calls the generic CreateChildTag builder with application/json body

func NewCreateChildTagRequestWithBody

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

NewCreateChildTagRequestWithBody generates requests for CreateChildTag with any type of body

func NewCreateChildTemplateRequest

func NewCreateChildTemplateRequest(server string, messageTemplateFolderId string, body CreateChildTemplateJSONRequestBody) (*http.Request, error)

NewCreateChildTemplateRequest calls the generic CreateChildTemplate builder with application/json body

func NewCreateChildTemplateRequestWithBody

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

NewCreateChildTemplateRequestWithBody generates requests for CreateChildTemplate with any type of body

func NewCreateCompanyTagRequest

func NewCreateCompanyTagRequest(server string, body CreateCompanyTagJSONRequestBody) (*http.Request, error)

NewCreateCompanyTagRequest calls the generic CreateCompanyTag builder with application/json body

func NewCreateCompanyTagRequestWithBody

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

NewCreateCompanyTagRequestWithBody generates requests for CreateCompanyTag with any type of body

func NewCreateCompanyTeammateGroupRequest

func NewCreateCompanyTeammateGroupRequest(server string, body CreateCompanyTeammateGroupJSONRequestBody) (*http.Request, error)

NewCreateCompanyTeammateGroupRequest calls the generic CreateCompanyTeammateGroup builder with application/json body

func NewCreateCompanyTeammateGroupRequestWithBody

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

NewCreateCompanyTeammateGroupRequestWithBody generates requests for CreateCompanyTeammateGroup with any type of body

func NewCreateContactListRequest

func NewCreateContactListRequest(server string, body CreateContactListJSONRequestBody) (*http.Request, error)

NewCreateContactListRequest calls the generic CreateContactList builder with application/json body

func NewCreateContactListRequestWithBody

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

NewCreateContactListRequestWithBody generates requests for CreateContactList with any type of body

func NewCreateContactRequest

func NewCreateContactRequest(server string, body CreateContactJSONRequestBody) (*http.Request, error)

NewCreateContactRequest calls the generic CreateContact builder with application/json body

func NewCreateContactRequestWithBody

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

NewCreateContactRequestWithBody generates requests for CreateContact with any type of body

func NewCreateConversationRequest

func NewCreateConversationRequest(server string, body CreateConversationJSONRequestBody) (*http.Request, error)

NewCreateConversationRequest calls the generic CreateConversation builder with application/json body

func NewCreateConversationRequestWithBody

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

NewCreateConversationRequestWithBody generates requests for CreateConversation with any type of body

func NewCreateDraftReplyRequest

func NewCreateDraftReplyRequest(server string, conversationId string, body CreateDraftReplyJSONRequestBody) (*http.Request, error)

NewCreateDraftReplyRequest calls the generic CreateDraftReply builder with application/json body

func NewCreateDraftReplyRequestWithBody

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

NewCreateDraftReplyRequestWithBody generates requests for CreateDraftReply with any type of body

func NewCreateDraftRequest

func NewCreateDraftRequest(server string, channelId string, body CreateDraftJSONRequestBody) (*http.Request, error)

NewCreateDraftRequest calls the generic CreateDraft builder with application/json body

func NewCreateDraftRequestWithBody

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

NewCreateDraftRequestWithBody generates requests for CreateDraft with any type of body

func NewCreateFolderRequest

func NewCreateFolderRequest(server string, body CreateFolderJSONRequestBody) (*http.Request, error)

NewCreateFolderRequest calls the generic CreateFolder builder with application/json body

func NewCreateFolderRequestWithBody

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

NewCreateFolderRequestWithBody generates requests for CreateFolder with any type of body

func NewCreateGroupRequest

func NewCreateGroupRequest(server string, body CreateGroupJSONRequestBody) (*http.Request, error)

NewCreateGroupRequest calls the generic CreateGroup builder with application/json body

func NewCreateGroupRequestWithBody

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

NewCreateGroupRequestWithBody generates requests for CreateGroup with any type of body

func NewCreateInboxRequest

func NewCreateInboxRequest(server string, body CreateInboxJSONRequestBody) (*http.Request, error)

NewCreateInboxRequest calls the generic CreateInbox builder with application/json body

func NewCreateInboxRequestWithBody

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

NewCreateInboxRequestWithBody generates requests for CreateInbox with any type of body

func NewCreateKnowledgeBaseCategoryInDefaultLocaleRequest

func NewCreateKnowledgeBaseCategoryInDefaultLocaleRequest(server string, knowledgeBaseId string, body CreateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody) (*http.Request, error)

NewCreateKnowledgeBaseCategoryInDefaultLocaleRequest calls the generic CreateKnowledgeBaseCategoryInDefaultLocale builder with application/json body

func NewCreateKnowledgeBaseCategoryInDefaultLocaleRequestWithBody

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

NewCreateKnowledgeBaseCategoryInDefaultLocaleRequestWithBody generates requests for CreateKnowledgeBaseCategoryInDefaultLocale with any type of body

func NewCreateKnowledgeBaseCategoryInSpecifiedLocaleRequest

func NewCreateKnowledgeBaseCategoryInSpecifiedLocaleRequest(server string, knowledgeBaseId string, locale string, body CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody) (*http.Request, error)

NewCreateKnowledgeBaseCategoryInSpecifiedLocaleRequest calls the generic CreateKnowledgeBaseCategoryInSpecifiedLocale builder with application/json body

func NewCreateKnowledgeBaseCategoryInSpecifiedLocaleRequestWithBody

func NewCreateKnowledgeBaseCategoryInSpecifiedLocaleRequestWithBody(server string, knowledgeBaseId string, locale string, contentType string, body io.Reader) (*http.Request, error)

NewCreateKnowledgeBaseCategoryInSpecifiedLocaleRequestWithBody generates requests for CreateKnowledgeBaseCategoryInSpecifiedLocale with any type of body

func NewCreateLinkRequest

func NewCreateLinkRequest(server string, body CreateLinkJSONRequestBody) (*http.Request, error)

NewCreateLinkRequest calls the generic CreateLink builder with application/json body

func NewCreateLinkRequestWithBody

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

NewCreateLinkRequestWithBody generates requests for CreateLink with any type of body

func NewCreateMessageReplyRequest

func NewCreateMessageReplyRequest(server string, conversationId string, body CreateMessageReplyJSONRequestBody) (*http.Request, error)

NewCreateMessageReplyRequest calls the generic CreateMessageReply builder with application/json body

func NewCreateMessageReplyRequestWithBody

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

NewCreateMessageReplyRequestWithBody generates requests for CreateMessageReply with any type of body

func NewCreateMessageRequest

func NewCreateMessageRequest(server string, channelId string, body CreateMessageJSONRequestBody) (*http.Request, error)

NewCreateMessageRequest calls the generic CreateMessage builder with application/json body

func NewCreateMessageRequestWithBody

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

NewCreateMessageRequestWithBody generates requests for CreateMessage with any type of body

func NewCreateMessageTemplateRequest

func NewCreateMessageTemplateRequest(server string, body CreateMessageTemplateJSONRequestBody) (*http.Request, error)

NewCreateMessageTemplateRequest calls the generic CreateMessageTemplate builder with application/json body

func NewCreateMessageTemplateRequestWithBody

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

NewCreateMessageTemplateRequestWithBody generates requests for CreateMessageTemplate with any type of body

func NewCreateShiftRequest

func NewCreateShiftRequest(server string, body CreateShiftJSONRequestBody) (*http.Request, error)

NewCreateShiftRequest calls the generic CreateShift builder with application/json body

func NewCreateShiftRequestWithBody

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

NewCreateShiftRequestWithBody generates requests for CreateShift with any type of body

func NewCreateTagRequest

func NewCreateTagRequest(server string, body CreateTagJSONRequestBody) (*http.Request, error)

NewCreateTagRequest calls the generic CreateTag builder with application/json body

func NewCreateTagRequestWithBody

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

NewCreateTagRequestWithBody generates requests for CreateTag with any type of body

func NewCreateTeamContactListRequest

func NewCreateTeamContactListRequest(server string, teamId string, body CreateTeamContactListJSONRequestBody) (*http.Request, error)

NewCreateTeamContactListRequest calls the generic CreateTeamContactList builder with application/json body

func NewCreateTeamContactListRequestWithBody

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

NewCreateTeamContactListRequestWithBody generates requests for CreateTeamContactList with any type of body

func NewCreateTeamContactRequest

func NewCreateTeamContactRequest(server string, teamId string, body CreateTeamContactJSONRequestBody) (*http.Request, error)

NewCreateTeamContactRequest calls the generic CreateTeamContact builder with application/json body

func NewCreateTeamContactRequestWithBody

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

NewCreateTeamContactRequestWithBody generates requests for CreateTeamContact with any type of body

func NewCreateTeamFolderRequest

func NewCreateTeamFolderRequest(server string, teamId string, body CreateTeamFolderJSONRequestBody) (*http.Request, error)

NewCreateTeamFolderRequest calls the generic CreateTeamFolder builder with application/json body

func NewCreateTeamFolderRequestWithBody

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

NewCreateTeamFolderRequestWithBody generates requests for CreateTeamFolder with any type of body

func NewCreateTeamGroupRequest

func NewCreateTeamGroupRequest(server string, teamId string, body CreateTeamGroupJSONRequestBody) (*http.Request, error)

NewCreateTeamGroupRequest calls the generic CreateTeamGroup builder with application/json body

func NewCreateTeamGroupRequestWithBody

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

NewCreateTeamGroupRequestWithBody generates requests for CreateTeamGroup with any type of body

func NewCreateTeamInboxRequest

func NewCreateTeamInboxRequest(server string, teamId string, body CreateTeamInboxJSONRequestBody) (*http.Request, error)

NewCreateTeamInboxRequest calls the generic CreateTeamInbox builder with application/json body

func NewCreateTeamInboxRequestWithBody

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

NewCreateTeamInboxRequestWithBody generates requests for CreateTeamInbox with any type of body

func NewCreateTeamMessageTemplateRequest

func NewCreateTeamMessageTemplateRequest(server string, teamId string, body CreateTeamMessageTemplateJSONRequestBody) (*http.Request, error)

NewCreateTeamMessageTemplateRequest calls the generic CreateTeamMessageTemplate builder with application/json body

func NewCreateTeamMessageTemplateRequestWithBody

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

NewCreateTeamMessageTemplateRequestWithBody generates requests for CreateTeamMessageTemplate with any type of body

func NewCreateTeamShiftRequest

func NewCreateTeamShiftRequest(server string, teamId string, body CreateTeamShiftJSONRequestBody) (*http.Request, error)

NewCreateTeamShiftRequest calls the generic CreateTeamShift builder with application/json body

func NewCreateTeamShiftRequestWithBody

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

NewCreateTeamShiftRequestWithBody generates requests for CreateTeamShift with any type of body

func NewCreateTeamSignatureRequest

func NewCreateTeamSignatureRequest(server string, teamId string, body CreateTeamSignatureJSONRequestBody) (*http.Request, error)

NewCreateTeamSignatureRequest calls the generic CreateTeamSignature builder with application/json body

func NewCreateTeamSignatureRequestWithBody

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

NewCreateTeamSignatureRequestWithBody generates requests for CreateTeamSignature with any type of body

func NewCreateTeamTagRequest

func NewCreateTeamTagRequest(server string, teamId string, body CreateTeamTagJSONRequestBody) (*http.Request, error)

NewCreateTeamTagRequest calls the generic CreateTeamTag builder with application/json body

func NewCreateTeamTagRequestWithBody

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

NewCreateTeamTagRequestWithBody generates requests for CreateTeamTag with any type of body

func NewCreateTeammateContactListRequest

func NewCreateTeammateContactListRequest(server string, teammateId string, body CreateTeammateContactListJSONRequestBody) (*http.Request, error)

NewCreateTeammateContactListRequest calls the generic CreateTeammateContactList builder with application/json body

func NewCreateTeammateContactListRequestWithBody

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

NewCreateTeammateContactListRequestWithBody generates requests for CreateTeammateContactList with any type of body

func NewCreateTeammateContactRequest

func NewCreateTeammateContactRequest(server string, teammateId string, body CreateTeammateContactJSONRequestBody) (*http.Request, error)

NewCreateTeammateContactRequest calls the generic CreateTeammateContact builder with application/json body

func NewCreateTeammateContactRequestWithBody

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

NewCreateTeammateContactRequestWithBody generates requests for CreateTeammateContact with any type of body

func NewCreateTeammateFolderRequest

func NewCreateTeammateFolderRequest(server string, teammateId string, body CreateTeammateFolderJSONRequestBody) (*http.Request, error)

NewCreateTeammateFolderRequest calls the generic CreateTeammateFolder builder with application/json body

func NewCreateTeammateFolderRequestWithBody

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

NewCreateTeammateFolderRequestWithBody generates requests for CreateTeammateFolder with any type of body

func NewCreateTeammateGroupRequest

func NewCreateTeammateGroupRequest(server string, teammateId string, body CreateTeammateGroupJSONRequestBody) (*http.Request, error)

NewCreateTeammateGroupRequest calls the generic CreateTeammateGroup builder with application/json body

func NewCreateTeammateGroupRequestWithBody

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

NewCreateTeammateGroupRequestWithBody generates requests for CreateTeammateGroup with any type of body

func NewCreateTeammateMessageTemplateRequest

func NewCreateTeammateMessageTemplateRequest(server string, teammateId string, body CreateTeammateMessageTemplateJSONRequestBody) (*http.Request, error)

NewCreateTeammateMessageTemplateRequest calls the generic CreateTeammateMessageTemplate builder with application/json body

func NewCreateTeammateMessageTemplateRequestWithBody

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

NewCreateTeammateMessageTemplateRequestWithBody generates requests for CreateTeammateMessageTemplate with any type of body

func NewCreateTeammateSignatureRequest

func NewCreateTeammateSignatureRequest(server string, teammateId string, body CreateTeammateSignatureJSONRequestBody) (*http.Request, error)

NewCreateTeammateSignatureRequest calls the generic CreateTeammateSignature builder with application/json body

func NewCreateTeammateSignatureRequestWithBody

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

NewCreateTeammateSignatureRequestWithBody generates requests for CreateTeammateSignature with any type of body

func NewCreateTeammateTagRequest

func NewCreateTeammateTagRequest(server string, teammateId string, body CreateTeammateTagJSONRequestBody) (*http.Request, error)

NewCreateTeammateTagRequest calls the generic CreateTeammateTag builder with application/json body

func NewCreateTeammateTagRequestWithBody

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

NewCreateTeammateTagRequestWithBody generates requests for CreateTeammateTag with any type of body

func NewDeleteAContactRequest

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

NewDeleteAContactRequest generates requests for DeleteAContact

func NewDeleteAKnowledgeBaseCategoryRequest

func NewDeleteAKnowledgeBaseCategoryRequest(server string, categoryId string) (*http.Request, error)

NewDeleteAKnowledgeBaseCategoryRequest generates requests for DeleteAKnowledgeBaseCategory

func NewDeleteAnAccountRequest

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

NewDeleteAnAccountRequest generates requests for DeleteAnAccount

func NewDeleteAnArticleRequest

func NewDeleteAnArticleRequest(server string, articleId string) (*http.Request, error)

NewDeleteAnArticleRequest generates requests for DeleteAnArticle

func NewDeleteCompanyTeammateGroupRequest

func NewDeleteCompanyTeammateGroupRequest(server string, teammateGroupId string) (*http.Request, error)

NewDeleteCompanyTeammateGroupRequest generates requests for DeleteCompanyTeammateGroup

func NewDeleteContactHandleRequest

func NewDeleteContactHandleRequest(server string, contactId string, body DeleteContactHandleJSONRequestBody) (*http.Request, error)

NewDeleteContactHandleRequest calls the generic DeleteContactHandle builder with application/json body

func NewDeleteContactHandleRequestWithBody

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

NewDeleteContactHandleRequestWithBody generates requests for DeleteContactHandle with any type of body

func NewDeleteContactListRequest

func NewDeleteContactListRequest(server string, contactListId string) (*http.Request, error)

NewDeleteContactListRequest generates requests for DeleteContactList

func NewDeleteConversationFollowersRequest

func NewDeleteConversationFollowersRequest(server string, conversationId string, body DeleteConversationFollowersJSONRequestBody) (*http.Request, error)

NewDeleteConversationFollowersRequest calls the generic DeleteConversationFollowers builder with application/json body

func NewDeleteConversationFollowersRequestWithBody

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

NewDeleteConversationFollowersRequestWithBody generates requests for DeleteConversationFollowers with any type of body

func NewDeleteDraftRequest

func NewDeleteDraftRequest(server string, draftId string, body DeleteDraftJSONRequestBody) (*http.Request, error)

NewDeleteDraftRequest calls the generic DeleteDraft builder with application/json body

func NewDeleteDraftRequestWithBody

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

NewDeleteDraftRequestWithBody generates requests for DeleteDraft with any type of body

func NewDeleteFolderRequest

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

NewDeleteFolderRequest generates requests for DeleteFolder

func NewDeleteGroupRequest

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

NewDeleteGroupRequest generates requests for DeleteGroup

func NewDeleteMessageTemplateRequest

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

NewDeleteMessageTemplateRequest generates requests for DeleteMessageTemplate

func NewDeleteSignatureRequest

func NewDeleteSignatureRequest(server string, signatureId string) (*http.Request, error)

NewDeleteSignatureRequest generates requests for DeleteSignature

func NewDeleteTagRequest

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

NewDeleteTagRequest generates requests for DeleteTag

func NewDownloadAttachmentForACommentRequest

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

NewDownloadAttachmentForACommentRequest generates requests for DownloadAttachmentForAComment

func NewDownloadAttachmentForAMessageRequest

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

NewDownloadAttachmentForAMessageRequest generates requests for DownloadAttachmentForAMessage

func NewDownloadAttachmentForAMessageTemplateRequest

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

NewDownloadAttachmentForAMessageTemplateRequest generates requests for DownloadAttachmentForAMessageTemplate

func NewDownloadAttachmentFromAnArticleRequest

func NewDownloadAttachmentFromAnArticleRequest(server string, articleId string, attachmentId string) (*http.Request, error)

NewDownloadAttachmentFromAnArticleRequest generates requests for DownloadAttachmentFromAnArticle

func NewDownloadAttachmentRequest

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

NewDownloadAttachmentRequest generates requests for DownloadAttachment

func NewEditDraftRequest

func NewEditDraftRequest(server string, messageId string, body EditDraftJSONRequestBody) (*http.Request, error)

NewEditDraftRequest calls the generic EditDraft builder with application/json body

func NewEditDraftRequestWithBody

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

NewEditDraftRequestWithBody generates requests for EditDraft with any type of body

func NewFetchAnAccountRequest

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

NewFetchAnAccountRequest generates requests for FetchAnAccount

func NewGetAKnowledgeBaseArticleRequest

func NewGetAKnowledgeBaseArticleRequest(server string, articleId string) (*http.Request, error)

NewGetAKnowledgeBaseArticleRequest generates requests for GetAKnowledgeBaseArticle

func NewGetAKnowledgeBaseCategoryRequest

func NewGetAKnowledgeBaseCategoryRequest(server string, categoryId string) (*http.Request, error)

NewGetAKnowledgeBaseCategoryRequest generates requests for GetAKnowledgeBaseCategory

func NewGetAKnowledgeBaseRequest

func NewGetAKnowledgeBaseRequest(server string, knowledgeBaseId string) (*http.Request, error)

NewGetAKnowledgeBaseRequest generates requests for GetAKnowledgeBase

func NewGetAKnowledgeBaseWithContentInDefaultLocaleRequest

func NewGetAKnowledgeBaseWithContentInDefaultLocaleRequest(server string, knowledgeBaseId string) (*http.Request, error)

NewGetAKnowledgeBaseWithContentInDefaultLocaleRequest generates requests for GetAKnowledgeBaseWithContentInDefaultLocale

func NewGetAKnowledgeBaseWithContentInSpecifiedLocaleRequest

func NewGetAKnowledgeBaseWithContentInSpecifiedLocaleRequest(server string, knowledgeBaseId string, locale string) (*http.Request, error)

NewGetAKnowledgeBaseWithContentInSpecifiedLocaleRequest generates requests for GetAKnowledgeBaseWithContentInSpecifiedLocale

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 NewGetChannelRequest

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

NewGetChannelRequest generates requests for GetChannel

func NewGetChildFoldersRequest

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

NewGetChildFoldersRequest generates requests for GetChildFolders

func NewGetChildTemplatesRequest

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

NewGetChildTemplatesRequest generates requests for GetChildTemplates

func NewGetCommentRequest

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

NewGetCommentRequest generates requests for GetComment

func NewGetCompanyTeammateGroupRequest

func NewGetCompanyTeammateGroupRequest(server string, teammateGroupId string) (*http.Request, error)

NewGetCompanyTeammateGroupRequest generates requests for GetCompanyTeammateGroup

func NewGetContactRequest

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

NewGetContactRequest generates requests for GetContact

func NewGetConversationByIdRequest

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

NewGetConversationByIdRequest generates requests for GetConversationById

func NewGetEventRequest

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

NewGetEventRequest generates requests for GetEvent

func NewGetFolderRequest

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

NewGetFolderRequest generates requests for GetFolder

func NewGetInboxRequest

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

NewGetInboxRequest generates requests for GetInbox

func NewGetKnowledgeBaseArticleWithContentInDefaultLocaleRequest

func NewGetKnowledgeBaseArticleWithContentInDefaultLocaleRequest(server string, articleId string) (*http.Request, error)

NewGetKnowledgeBaseArticleWithContentInDefaultLocaleRequest generates requests for GetKnowledgeBaseArticleWithContentInDefaultLocale

func NewGetKnowledgeBaseArticleWithContentInSpecifiedLocaleRequest

func NewGetKnowledgeBaseArticleWithContentInSpecifiedLocaleRequest(server string, articleId string, locale string) (*http.Request, error)

NewGetKnowledgeBaseArticleWithContentInSpecifiedLocaleRequest generates requests for GetKnowledgeBaseArticleWithContentInSpecifiedLocale

func NewGetKnowledgeBaseCategoryContentInDefaultLocaleRequest

func NewGetKnowledgeBaseCategoryContentInDefaultLocaleRequest(server string, categoryId string) (*http.Request, error)

NewGetKnowledgeBaseCategoryContentInDefaultLocaleRequest generates requests for GetKnowledgeBaseCategoryContentInDefaultLocale

func NewGetKnowledgeBaseCategoryWithContentInSpecifiedLocaleRequest

func NewGetKnowledgeBaseCategoryWithContentInSpecifiedLocaleRequest(server string, categoryId string, locale string) (*http.Request, error)

NewGetKnowledgeBaseCategoryWithContentInSpecifiedLocaleRequest generates requests for GetKnowledgeBaseCategoryWithContentInSpecifiedLocale

func NewGetLinkRequest

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

NewGetLinkRequest generates requests for GetLink

func NewGetMessageRequest

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

NewGetMessageRequest generates requests for GetMessage

func NewGetMessageSeenStatusRequest

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

NewGetMessageSeenStatusRequest generates requests for GetMessageSeenStatus

func NewGetMessageTemplateRequest

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

NewGetMessageTemplateRequest generates requests for GetMessageTemplate

func NewGetRuleRequest

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

NewGetRuleRequest generates requests for GetRule

func NewGetShiftRequest

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

NewGetShiftRequest generates requests for GetShift

func NewGetSignaturesRequest

func NewGetSignaturesRequest(server string, signatureId string) (*http.Request, error)

NewGetSignaturesRequest generates requests for GetSignatures

func NewGetTagRequest

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

NewGetTagRequest generates requests for GetTag

func NewGetTeamRequest

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

NewGetTeamRequest generates requests for GetTeam

func NewGetTeammateRequest

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

NewGetTeammateRequest generates requests for GetTeammate

func NewGetTicketStatusByIdRequest

func NewGetTicketStatusByIdRequest(server string, statusId string) (*http.Request, error)

NewGetTicketStatusByIdRequest generates requests for GetTicketStatusById

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 NewListAccountContactsRequest

func NewListAccountContactsRequest(server string, accountId string, params *ListAccountContactsParams) (*http.Request, error)

NewListAccountContactsRequest generates requests for ListAccountContacts

func NewListAccountCustomFieldsRequest

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

NewListAccountCustomFieldsRequest generates requests for ListAccountCustomFields

func NewListAccountsRequest

func NewListAccountsRequest(server string, params *ListAccountsParams) (*http.Request, error)

NewListAccountsRequest generates requests for ListAccounts

func NewListAllCompanyRulesRequest

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

NewListAllCompanyRulesRequest generates requests for ListAllCompanyRules

func NewListArticlesInACategoryRequest

func NewListArticlesInACategoryRequest(server string, categoryId string, params *ListArticlesInACategoryParams) (*http.Request, error)

NewListArticlesInACategoryRequest generates requests for ListArticlesInACategory

func NewListArticlesInAKnowledgeBaseRequest

func NewListArticlesInAKnowledgeBaseRequest(server string, knowledgeBaseId string, params *ListArticlesInAKnowledgeBaseParams) (*http.Request, error)

NewListArticlesInAKnowledgeBaseRequest generates requests for ListArticlesInAKnowledgeBase

func NewListAssignedConversationsRequest

func NewListAssignedConversationsRequest(server string, teammateId string, params *ListAssignedConversationsParams) (*http.Request, error)

NewListAssignedConversationsRequest generates requests for ListAssignedConversations

func NewListCategoriesInAKnowledgeBaseRequest

func NewListCategoriesInAKnowledgeBaseRequest(server string, knowledgeBaseId string, params *ListCategoriesInAKnowledgeBaseParams) (*http.Request, error)

NewListCategoriesInAKnowledgeBaseRequest generates requests for ListCategoriesInAKnowledgeBase

func NewListChannelsRequest

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

NewListChannelsRequest generates requests for ListChannels

func NewListCommentMentionsRequest

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

NewListCommentMentionsRequest generates requests for ListCommentMentions

func NewListCompanyTagsRequest

func NewListCompanyTagsRequest(server string, params *ListCompanyTagsParams) (*http.Request, error)

NewListCompanyTagsRequest generates requests for ListCompanyTags

func NewListCompanyTeammateGroupTeamInboxesRequest

func NewListCompanyTeammateGroupTeamInboxesRequest(server string, teammateGroupId string) (*http.Request, error)

NewListCompanyTeammateGroupTeamInboxesRequest generates requests for ListCompanyTeammateGroupTeamInboxes

func NewListCompanyTeammateGroupTeammatesRequest

func NewListCompanyTeammateGroupTeammatesRequest(server string, teammateGroupId string) (*http.Request, error)

NewListCompanyTeammateGroupTeammatesRequest generates requests for ListCompanyTeammateGroupTeammates

func NewListCompanyTeammateGroupTeamsRequest

func NewListCompanyTeammateGroupTeamsRequest(server string, teammateGroupId string) (*http.Request, error)

NewListCompanyTeammateGroupTeamsRequest generates requests for ListCompanyTeammateGroupTeams

func NewListCompanyTeammateGroupsRequest

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

NewListCompanyTeammateGroupsRequest generates requests for ListCompanyTeammateGroups

func NewListCompanyTicketStatusesRequest

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

NewListCompanyTicketStatusesRequest generates requests for ListCompanyTicketStatuses

func NewListContactConversationsRequest

func NewListContactConversationsRequest(server string, contactId string, params *ListContactConversationsParams) (*http.Request, error)

NewListContactConversationsRequest generates requests for ListContactConversations

func NewListContactCustomFieldsRequest

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

NewListContactCustomFieldsRequest generates requests for ListContactCustomFields

func NewListContactListsRequest

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

NewListContactListsRequest generates requests for ListContactLists

func NewListContactsInContactListRequest

func NewListContactsInContactListRequest(server string, contactListId string, params *ListContactsInContactListParams) (*http.Request, error)

NewListContactsInContactListRequest generates requests for ListContactsInContactList

func NewListContactsInGroupRequest

func NewListContactsInGroupRequest(server string, contactGroupId string, params *ListContactsInGroupParams) (*http.Request, error)

NewListContactsInGroupRequest generates requests for ListContactsInGroup

func NewListContactsRequest

func NewListContactsRequest(server string, params *ListContactsParams) (*http.Request, error)

NewListContactsRequest generates requests for ListContacts

func NewListConversationCommentsRequest

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

NewListConversationCommentsRequest generates requests for ListConversationComments

func NewListConversationCustomFieldsRequest

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

NewListConversationCustomFieldsRequest generates requests for ListConversationCustomFields

func NewListConversationDraftsRequest

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

NewListConversationDraftsRequest generates requests for ListConversationDrafts

func NewListConversationEventsRequest

func NewListConversationEventsRequest(server string, conversationId string, params *ListConversationEventsParams) (*http.Request, error)

NewListConversationEventsRequest generates requests for ListConversationEvents

func NewListConversationFollowersRequest

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

NewListConversationFollowersRequest generates requests for ListConversationFollowers

func NewListConversationInboxesRequest

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

NewListConversationInboxesRequest generates requests for ListConversationInboxes

func NewListConversationMessagesRequest

func NewListConversationMessagesRequest(server string, conversationId string, params *ListConversationMessagesParams) (*http.Request, error)

NewListConversationMessagesRequest generates requests for ListConversationMessages

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 NewListEventsRequest

func NewListEventsRequest(server string, params *ListEventsParams) (*http.Request, error)

NewListEventsRequest generates requests for ListEvents

func NewListFoldersRequest

func NewListFoldersRequest(server string, params *ListFoldersParams) (*http.Request, error)

NewListFoldersRequest generates requests for ListFolders

func NewListGroupsRequest

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

NewListGroupsRequest generates requests for ListGroups

func NewListInboxAccessRequest

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

NewListInboxAccessRequest generates requests for ListInboxAccess

func NewListInboxChannelsRequest

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

NewListInboxChannelsRequest generates requests for ListInboxChannels

func NewListInboxConversationsRequest

func NewListInboxConversationsRequest(server string, inboxId string, params *ListInboxConversationsParams) (*http.Request, error)

NewListInboxConversationsRequest generates requests for ListInboxConversations

func NewListInboxCustomFieldsRequest

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

NewListInboxCustomFieldsRequest generates requests for ListInboxCustomFields

func NewListInboxesRequest

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

NewListInboxesRequest generates requests for ListInboxes

func NewListKnowledgeBasesRequest

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

NewListKnowledgeBasesRequest generates requests for ListKnowledgeBases

func NewListLinkConversationsRequest

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

NewListLinkConversationsRequest generates requests for ListLinkConversations

func NewListLinkCustomFieldsRequest

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

NewListLinkCustomFieldsRequest generates requests for ListLinkCustomFields

func NewListLinksRequest

func NewListLinksRequest(server string, params *ListLinksParams) (*http.Request, error)

NewListLinksRequest generates requests for ListLinks

func NewListMessageTemplatesRequest

func NewListMessageTemplatesRequest(server string, params *ListMessageTemplatesParams) (*http.Request, error)

NewListMessageTemplatesRequest generates requests for ListMessageTemplates

func NewListNotesRequest

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

NewListNotesRequest generates requests for ListNotes

func NewListRulesRequest

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

NewListRulesRequest generates requests for ListRules

func NewListShiftsRequest

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

NewListShiftsRequest generates requests for ListShifts

func NewListShiftsTeammatesRequest

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

NewListShiftsTeammatesRequest generates requests for ListShiftsTeammates

func NewListTagChildrenRequest

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

NewListTagChildrenRequest generates requests for ListTagChildren

func NewListTaggedConversationsRequest

func NewListTaggedConversationsRequest(server string, tagId string, params *ListTaggedConversationsParams) (*http.Request, error)

NewListTaggedConversationsRequest generates requests for ListTaggedConversations

func NewListTagsRequest

func NewListTagsRequest(server string, params *ListTagsParams) (*http.Request, error)

NewListTagsRequest generates requests for ListTags

func NewListTeamChannelsRequest

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

NewListTeamChannelsRequest generates requests for ListTeamChannels

func NewListTeamContactListsRequest

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

NewListTeamContactListsRequest generates requests for ListTeamContactLists

func NewListTeamContactsRequest

func NewListTeamContactsRequest(server string, teamId string, params *ListTeamContactsParams) (*http.Request, error)

NewListTeamContactsRequest generates requests for ListTeamContacts

func NewListTeamFoldersRequest

func NewListTeamFoldersRequest(server string, teamId string, params *ListTeamFoldersParams) (*http.Request, error)

NewListTeamFoldersRequest generates requests for ListTeamFolders

func NewListTeamGroupsRequest

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

NewListTeamGroupsRequest generates requests for ListTeamGroups

func NewListTeamInboxesRequest

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

NewListTeamInboxesRequest generates requests for ListTeamInboxes

func NewListTeamMessageTemplatesRequest

func NewListTeamMessageTemplatesRequest(server string, teamId string, params *ListTeamMessageTemplatesParams) (*http.Request, error)

NewListTeamMessageTemplatesRequest generates requests for ListTeamMessageTemplates

func NewListTeamRulesRequest

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

NewListTeamRulesRequest generates requests for ListTeamRules

func NewListTeamShiftsRequest

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

NewListTeamShiftsRequest generates requests for ListTeamShifts

func NewListTeamSignaturesRequest

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

NewListTeamSignaturesRequest generates requests for ListTeamSignatures

func NewListTeamTagsRequest

func NewListTeamTagsRequest(server string, teamId string, params *ListTeamTagsParams) (*http.Request, error)

NewListTeamTagsRequest generates requests for ListTeamTags

func NewListTeammateChannelsRequest

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

NewListTeammateChannelsRequest generates requests for ListTeammateChannels

func NewListTeammateContactListsRequest

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

NewListTeammateContactListsRequest generates requests for ListTeammateContactLists

func NewListTeammateContactsRequest

func NewListTeammateContactsRequest(server string, teammateId string, params *ListTeammateContactsParams) (*http.Request, error)

NewListTeammateContactsRequest generates requests for ListTeammateContacts

func NewListTeammateCustomFieldsRequest

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

NewListTeammateCustomFieldsRequest generates requests for ListTeammateCustomFields

func NewListTeammateFoldersRequest

func NewListTeammateFoldersRequest(server string, teammateId string, params *ListTeammateFoldersParams) (*http.Request, error)

NewListTeammateFoldersRequest generates requests for ListTeammateFolders

func NewListTeammateGroupsRequest

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

NewListTeammateGroupsRequest generates requests for ListTeammateGroups

func NewListTeammateInboxesRequest

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

NewListTeammateInboxesRequest generates requests for ListTeammateInboxes

func NewListTeammateMessageTemplatesRequest

func NewListTeammateMessageTemplatesRequest(server string, teammateId string, params *ListTeammateMessageTemplatesParams) (*http.Request, error)

NewListTeammateMessageTemplatesRequest generates requests for ListTeammateMessageTemplates

func NewListTeammateRulesRequest

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

NewListTeammateRulesRequest generates requests for ListTeammateRules

func NewListTeammateShiftsRequest

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

NewListTeammateShiftsRequest generates requests for ListTeammateShifts

func NewListTeammateSignaturesRequest

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

NewListTeammateSignaturesRequest generates requests for ListTeammateSignatures

func NewListTeammateTagsRequest

func NewListTeammateTagsRequest(server string, teammateId string, params *ListTeammateTagsParams) (*http.Request, error)

NewListTeammateTagsRequest generates requests for ListTeammateTags

func NewListTeammatesRequest

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

NewListTeammatesRequest generates requests for ListTeammates

func NewListTeamsRequest

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

NewListTeamsRequest generates requests for ListTeams

func NewMarkMessageSeenRequest

func NewMarkMessageSeenRequest(server string, messageId string, body MarkMessageSeenJSONRequestBody) (*http.Request, error)

NewMarkMessageSeenRequest calls the generic MarkMessageSeen builder with application/json body

func NewMarkMessageSeenRequestWithBody

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

NewMarkMessageSeenRequestWithBody generates requests for MarkMessageSeen with any type of body

func NewMergeContactsRequest

func NewMergeContactsRequest(server string, body MergeContactsJSONRequestBody) (*http.Request, error)

NewMergeContactsRequest calls the generic MergeContacts builder with application/json body

func NewMergeContactsRequestWithBody

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

NewMergeContactsRequestWithBody generates requests for MergeContacts with any type of body

func NewReceiveCustomMessagesRequest

func NewReceiveCustomMessagesRequest(server string, channelId string, body ReceiveCustomMessagesJSONRequestBody) (*http.Request, error)

NewReceiveCustomMessagesRequest calls the generic ReceiveCustomMessages builder with application/json body

func NewReceiveCustomMessagesRequestWithBody

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

NewReceiveCustomMessagesRequestWithBody generates requests for ReceiveCustomMessages with any type of body

func NewRemoveCompanyTeammateGroupTeamInboxesRequest

func NewRemoveCompanyTeammateGroupTeamInboxesRequest(server string, teammateGroupId string, body RemoveCompanyTeammateGroupTeamInboxesJSONRequestBody) (*http.Request, error)

NewRemoveCompanyTeammateGroupTeamInboxesRequest calls the generic RemoveCompanyTeammateGroupTeamInboxes builder with application/json body

func NewRemoveCompanyTeammateGroupTeamInboxesRequestWithBody

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

NewRemoveCompanyTeammateGroupTeamInboxesRequestWithBody generates requests for RemoveCompanyTeammateGroupTeamInboxes with any type of body

func NewRemoveCompanyTeammateGroupTeammatesRequest

func NewRemoveCompanyTeammateGroupTeammatesRequest(server string, teammateGroupId string, body RemoveCompanyTeammateGroupTeammatesJSONRequestBody) (*http.Request, error)

NewRemoveCompanyTeammateGroupTeammatesRequest calls the generic RemoveCompanyTeammateGroupTeammates builder with application/json body

func NewRemoveCompanyTeammateGroupTeammatesRequestWithBody

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

NewRemoveCompanyTeammateGroupTeammatesRequestWithBody generates requests for RemoveCompanyTeammateGroupTeammates with any type of body

func NewRemoveCompanyTeammateGroupTeamsRequest

func NewRemoveCompanyTeammateGroupTeamsRequest(server string, teammateGroupId string, body RemoveCompanyTeammateGroupTeamsJSONRequestBody) (*http.Request, error)

NewRemoveCompanyTeammateGroupTeamsRequest calls the generic RemoveCompanyTeammateGroupTeams builder with application/json body

func NewRemoveCompanyTeammateGroupTeamsRequestWithBody

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

NewRemoveCompanyTeammateGroupTeamsRequestWithBody generates requests for RemoveCompanyTeammateGroupTeams with any type of body

func NewRemoveContactFromAccountRequest

func NewRemoveContactFromAccountRequest(server string, accountId string, body RemoveContactFromAccountJSONRequestBody) (*http.Request, error)

NewRemoveContactFromAccountRequest calls the generic RemoveContactFromAccount builder with application/json body

func NewRemoveContactFromAccountRequestWithBody

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

NewRemoveContactFromAccountRequestWithBody generates requests for RemoveContactFromAccount with any type of body

func NewRemoveContactsFromContactListRequest

func NewRemoveContactsFromContactListRequest(server string, contactListId string, body RemoveContactsFromContactListJSONRequestBody) (*http.Request, error)

NewRemoveContactsFromContactListRequest calls the generic RemoveContactsFromContactList builder with application/json body

func NewRemoveContactsFromContactListRequestWithBody

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

NewRemoveContactsFromContactListRequestWithBody generates requests for RemoveContactsFromContactList with any type of body

func NewRemoveContactsFromGroupRequest

func NewRemoveContactsFromGroupRequest(server string, contactGroupId string, body RemoveContactsFromGroupJSONRequestBody) (*http.Request, error)

NewRemoveContactsFromGroupRequest calls the generic RemoveContactsFromGroup builder with application/json body

func NewRemoveContactsFromGroupRequestWithBody

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

NewRemoveContactsFromGroupRequestWithBody generates requests for RemoveContactsFromGroup with any type of body

func NewRemoveConversationLinksRequest

func NewRemoveConversationLinksRequest(server string, conversationId string, body RemoveConversationLinksJSONRequestBody) (*http.Request, error)

NewRemoveConversationLinksRequest calls the generic RemoveConversationLinks builder with application/json body

func NewRemoveConversationLinksRequestWithBody

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

NewRemoveConversationLinksRequestWithBody generates requests for RemoveConversationLinks with any type of body

func NewRemoveConversationTagRequest

func NewRemoveConversationTagRequest(server string, conversationId string, body RemoveConversationTagJSONRequestBody) (*http.Request, error)

NewRemoveConversationTagRequest calls the generic RemoveConversationTag builder with application/json body

func NewRemoveConversationTagRequestWithBody

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

NewRemoveConversationTagRequestWithBody generates requests for RemoveConversationTag with any type of body

func NewRemoveTeammatesFromShiftRequest

func NewRemoveTeammatesFromShiftRequest(server string, shiftId string, body RemoveTeammatesFromShiftJSONRequestBody) (*http.Request, error)

NewRemoveTeammatesFromShiftRequest calls the generic RemoveTeammatesFromShift builder with application/json body

func NewRemoveTeammatesFromShiftRequestWithBody

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

NewRemoveTeammatesFromShiftRequestWithBody generates requests for RemoveTeammatesFromShift with any type of body

func NewRemoveTeammatesFromTeamRequest

func NewRemoveTeammatesFromTeamRequest(server string, teamId string, body RemoveTeammatesFromTeamJSONRequestBody) (*http.Request, error)

NewRemoveTeammatesFromTeamRequest calls the generic RemoveTeammatesFromTeam builder with application/json body

func NewRemoveTeammatesFromTeamRequestWithBody

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

NewRemoveTeammatesFromTeamRequestWithBody generates requests for RemoveTeammatesFromTeam with any type of body

func NewRemovesInboxAccessRequest

func NewRemovesInboxAccessRequest(server string, inboxId string, body RemovesInboxAccessJSONRequestBody) (*http.Request, error)

NewRemovesInboxAccessRequest calls the generic RemovesInboxAccess builder with application/json body

func NewRemovesInboxAccessRequestWithBody

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

NewRemovesInboxAccessRequestWithBody generates requests for RemovesInboxAccess with any type of body

func NewSearchConversationsRequest

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

NewSearchConversationsRequest generates requests for SearchConversations

func NewTriggerAppEventRequest

func NewTriggerAppEventRequest(server string, applicationUid string, body TriggerAppEventJSONRequestBody) (*http.Request, error)

NewTriggerAppEventRequest calls the generic TriggerAppEvent builder with application/json body

func NewTriggerAppEventRequestWithBody

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

NewTriggerAppEventRequestWithBody generates requests for TriggerAppEvent with any type of body

func NewUpdateACompanyTeammateGroupRequest

func NewUpdateACompanyTeammateGroupRequest(server string, teammateGroupId string, body UpdateACompanyTeammateGroupJSONRequestBody) (*http.Request, error)

NewUpdateACompanyTeammateGroupRequest calls the generic UpdateACompanyTeammateGroup builder with application/json body

func NewUpdateACompanyTeammateGroupRequestWithBody

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

NewUpdateACompanyTeammateGroupRequestWithBody generates requests for UpdateACompanyTeammateGroup with any type of body

func NewUpdateAContactRequest

func NewUpdateAContactRequest(server string, contactId string, body UpdateAContactJSONRequestBody) (*http.Request, error)

NewUpdateAContactRequest calls the generic UpdateAContact builder with application/json body

func NewUpdateAContactRequestWithBody

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

NewUpdateAContactRequestWithBody generates requests for UpdateAContact with any type of body

func NewUpdateALinkRequest

func NewUpdateALinkRequest(server string, linkId string, body UpdateALinkJSONRequestBody) (*http.Request, error)

NewUpdateALinkRequest calls the generic UpdateALink builder with application/json body

func NewUpdateALinkRequestWithBody

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

NewUpdateALinkRequestWithBody generates requests for UpdateALink with any type of body

func NewUpdateATagRequest

func NewUpdateATagRequest(server string, tagId string, body UpdateATagJSONRequestBody) (*http.Request, error)

NewUpdateATagRequest calls the generic UpdateATag builder with application/json body

func NewUpdateATagRequestWithBody

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

NewUpdateATagRequestWithBody generates requests for UpdateATag with any type of body

func NewUpdateAccountRequest

func NewUpdateAccountRequest(server string, accountId string, body UpdateAccountJSONRequestBody) (*http.Request, error)

NewUpdateAccountRequest calls the generic UpdateAccount builder with application/json body

func NewUpdateAccountRequestWithBody

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

NewUpdateAccountRequestWithBody generates requests for UpdateAccount with any type of body

func NewUpdateArticleContentInDefaultLocaleRequest

func NewUpdateArticleContentInDefaultLocaleRequest(server string, articleId string, body UpdateArticleContentInDefaultLocaleJSONRequestBody) (*http.Request, error)

NewUpdateArticleContentInDefaultLocaleRequest calls the generic UpdateArticleContentInDefaultLocale builder with application/json body

func NewUpdateArticleContentInDefaultLocaleRequestWithBody

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

NewUpdateArticleContentInDefaultLocaleRequestWithBody generates requests for UpdateArticleContentInDefaultLocale with any type of body

func NewUpdateArticleContentInSpecifiedLocaleRequest

func NewUpdateArticleContentInSpecifiedLocaleRequest(server string, articleId string, locale string, body UpdateArticleContentInSpecifiedLocaleJSONRequestBody) (*http.Request, error)

NewUpdateArticleContentInSpecifiedLocaleRequest calls the generic UpdateArticleContentInSpecifiedLocale builder with application/json body

func NewUpdateArticleContentInSpecifiedLocaleRequestWithBody

func NewUpdateArticleContentInSpecifiedLocaleRequestWithBody(server string, articleId string, locale string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateArticleContentInSpecifiedLocaleRequestWithBody generates requests for UpdateArticleContentInSpecifiedLocale with any type of body

func NewUpdateChannelRequest

func NewUpdateChannelRequest(server string, channelId string, body UpdateChannelJSONRequestBody) (*http.Request, error)

NewUpdateChannelRequest calls the generic UpdateChannel builder with application/json body

func NewUpdateChannelRequestWithBody

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

NewUpdateChannelRequestWithBody generates requests for UpdateChannel with any type of body

func NewUpdateCommentRequest

func NewUpdateCommentRequest(server string, commentId string, body UpdateCommentJSONRequestBody) (*http.Request, error)

NewUpdateCommentRequest calls the generic UpdateComment builder with application/json body

func NewUpdateCommentRequestWithBody

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

NewUpdateCommentRequestWithBody generates requests for UpdateComment with any type of body

func NewUpdateConversationAssigneeRequest

func NewUpdateConversationAssigneeRequest(server string, conversationId string, body UpdateConversationAssigneeJSONRequestBody) (*http.Request, error)

NewUpdateConversationAssigneeRequest calls the generic UpdateConversationAssignee builder with application/json body

func NewUpdateConversationAssigneeRequestWithBody

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

NewUpdateConversationAssigneeRequestWithBody generates requests for UpdateConversationAssignee with any type of body

func NewUpdateConversationRemindersRequest

func NewUpdateConversationRemindersRequest(server string, conversationId string, body UpdateConversationRemindersJSONRequestBody) (*http.Request, error)

NewUpdateConversationRemindersRequest calls the generic UpdateConversationReminders builder with application/json body

func NewUpdateConversationRemindersRequestWithBody

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

NewUpdateConversationRemindersRequestWithBody generates requests for UpdateConversationReminders with any type of body

func NewUpdateConversationRequest

func NewUpdateConversationRequest(server string, conversationId string, body UpdateConversationJSONRequestBody) (*http.Request, error)

NewUpdateConversationRequest calls the generic UpdateConversation builder with application/json body

func NewUpdateConversationRequestWithBody

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

NewUpdateConversationRequestWithBody generates requests for UpdateConversation with any type of body

func NewUpdateFolderRequest

func NewUpdateFolderRequest(server string, messageTemplateFolderId string, body UpdateFolderJSONRequestBody) (*http.Request, error)

NewUpdateFolderRequest calls the generic UpdateFolder builder with application/json body

func NewUpdateFolderRequestWithBody

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

NewUpdateFolderRequestWithBody generates requests for UpdateFolder with any type of body

func NewUpdateKnowledgeBaseCategoryInDefaultLocaleRequest

func NewUpdateKnowledgeBaseCategoryInDefaultLocaleRequest(server string, categoryId string, body UpdateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody) (*http.Request, error)

NewUpdateKnowledgeBaseCategoryInDefaultLocaleRequest calls the generic UpdateKnowledgeBaseCategoryInDefaultLocale builder with application/json body

func NewUpdateKnowledgeBaseCategoryInDefaultLocaleRequestWithBody

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

NewUpdateKnowledgeBaseCategoryInDefaultLocaleRequestWithBody generates requests for UpdateKnowledgeBaseCategoryInDefaultLocale with any type of body

func NewUpdateKnowledgeBaseCategoryInSpecifiedLocaleRequest

func NewUpdateKnowledgeBaseCategoryInSpecifiedLocaleRequest(server string, categoryId string, locale string, body UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody) (*http.Request, error)

NewUpdateKnowledgeBaseCategoryInSpecifiedLocaleRequest calls the generic UpdateKnowledgeBaseCategoryInSpecifiedLocale builder with application/json body

func NewUpdateKnowledgeBaseCategoryInSpecifiedLocaleRequestWithBody

func NewUpdateKnowledgeBaseCategoryInSpecifiedLocaleRequestWithBody(server string, categoryId string, locale string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateKnowledgeBaseCategoryInSpecifiedLocaleRequestWithBody generates requests for UpdateKnowledgeBaseCategoryInSpecifiedLocale with any type of body

func NewUpdateKnowledgeBaseInDefaultLocaleRequest

func NewUpdateKnowledgeBaseInDefaultLocaleRequest(server string, knowledgeBaseId string, body UpdateKnowledgeBaseInDefaultLocaleJSONRequestBody) (*http.Request, error)

NewUpdateKnowledgeBaseInDefaultLocaleRequest calls the generic UpdateKnowledgeBaseInDefaultLocale builder with application/json body

func NewUpdateKnowledgeBaseInDefaultLocaleRequestWithBody

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

NewUpdateKnowledgeBaseInDefaultLocaleRequestWithBody generates requests for UpdateKnowledgeBaseInDefaultLocale with any type of body

func NewUpdateKnowledgeBaseInSpecifiedLocaleRequest

func NewUpdateKnowledgeBaseInSpecifiedLocaleRequest(server string, knowledgeBaseId string, locale string, body UpdateKnowledgeBaseInSpecifiedLocaleJSONRequestBody) (*http.Request, error)

NewUpdateKnowledgeBaseInSpecifiedLocaleRequest calls the generic UpdateKnowledgeBaseInSpecifiedLocale builder with application/json body

func NewUpdateKnowledgeBaseInSpecifiedLocaleRequestWithBody

func NewUpdateKnowledgeBaseInSpecifiedLocaleRequestWithBody(server string, knowledgeBaseId string, locale string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateKnowledgeBaseInSpecifiedLocaleRequestWithBody generates requests for UpdateKnowledgeBaseInSpecifiedLocale with any type of body

func NewUpdateMessageTemplateRequest

func NewUpdateMessageTemplateRequest(server string, messageTemplateId string, body UpdateMessageTemplateJSONRequestBody) (*http.Request, error)

NewUpdateMessageTemplateRequest calls the generic UpdateMessageTemplate builder with application/json body

func NewUpdateMessageTemplateRequestWithBody

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

NewUpdateMessageTemplateRequestWithBody generates requests for UpdateMessageTemplate with any type of body

func NewUpdateShiftRequest

func NewUpdateShiftRequest(server string, shiftId string, body UpdateShiftJSONRequestBody) (*http.Request, error)

NewUpdateShiftRequest calls the generic UpdateShift builder with application/json body

func NewUpdateShiftRequestWithBody

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

NewUpdateShiftRequestWithBody generates requests for UpdateShift with any type of body

func NewUpdateSignatureRequest

func NewUpdateSignatureRequest(server string, signatureId string, body UpdateSignatureJSONRequestBody) (*http.Request, error)

NewUpdateSignatureRequest calls the generic UpdateSignature builder with application/json body

func NewUpdateSignatureRequestWithBody

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

NewUpdateSignatureRequestWithBody generates requests for UpdateSignature with any type of body

func NewUpdateTeammateRequest

func NewUpdateTeammateRequest(server string, teammateId string, body UpdateTeammateJSONRequestBody) (*http.Request, error)

NewUpdateTeammateRequest calls the generic UpdateTeammate builder with application/json body

func NewUpdateTeammateRequestWithBody

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

NewUpdateTeammateRequestWithBody generates requests for UpdateTeammate with any type of body

func NewValidateChannelRequest

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

NewValidateChannelRequest generates requests for ValidateChannel

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. Use the message UID as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1) to check whether the [message is created successfully](https://dev.frontapp.com/reference/messages#creating-a-new-message).
	MessageUid *string `json:"message_uid,omitempty"`

	// The status of the incoming message. Should return 'accepted' if successful.
	Status *string `json:"status,omitempty"`
}

AcceptedMessage defines model for acceptedMessage.

type Account

type Account struct {
	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields *CustomFieldParameter `json:"custom_fields,omitempty"`

	// Account description
	Description *string `json:"description,omitempty"`

	// List of domains associated with the Account
	Domains *[]string `json:"domains,omitempty"`

	// ID of the Account in an external system
	ExternalId *string `json:"external_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 AccountPatch

type AccountPatch struct {
	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields *CustomFieldParameter `json:"custom_fields,omitempty"`

	// Account description
	Description *string `json:"description,omitempty"`

	// List of domains associated with the Account
	Domains *[]string `json:"domains,omitempty"`

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

AccountPatch defines model for AccountPatch.

type AccountResponse

type AccountResponse struct {
	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:"_links"`

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

	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields CustomFieldParameter `json:"custom_fields"`

	// Account Description
	Description *string `json:"description"`

	// List of domains associated to the Account
	Domains []string `json:"domains"`

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

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

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

	// Account name
	Name string `json:"name"`

	// 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 AddCommentJSONBody

type AddCommentJSONBody CreateComment

AddCommentJSONBody defines parameters for AddComment.

type AddCommentJSONRequestBody

type AddCommentJSONRequestBody AddCommentJSONBody

AddCommentJSONRequestBody defines body for AddComment for application/json ContentType.

type AddCommentReplyJSONBody

type AddCommentReplyJSONBody CreateComment

AddCommentReplyJSONBody defines parameters for AddCommentReply.

type AddCommentReplyJSONRequestBody

type AddCommentReplyJSONRequestBody AddCommentReplyJSONBody

AddCommentReplyJSONRequestBody defines body for AddCommentReply for application/json ContentType.

type AddCommentReplyResponse

type AddCommentReplyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CommentResponse
}

func ParseAddCommentReplyResponse

func ParseAddCommentReplyResponse(rsp *http.Response) (*AddCommentReplyResponse, error)

ParseAddCommentReplyResponse parses an HTTP response from a AddCommentReplyWithResponse call

func (AddCommentReplyResponse) Status

func (r AddCommentReplyResponse) Status() string

Status returns HTTPResponse.Status

func (AddCommentReplyResponse) StatusCode

func (r AddCommentReplyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddCommentResponse

type AddCommentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CommentResponse
}

func ParseAddCommentResponse

func ParseAddCommentResponse(rsp *http.Response) (*AddCommentResponse, error)

ParseAddCommentResponse parses an HTTP response from a AddCommentWithResponse call

func (AddCommentResponse) Status

func (r AddCommentResponse) Status() string

Status returns HTTPResponse.Status

func (AddCommentResponse) StatusCode

func (r AddCommentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddCompanyTeammateGroupTeamInboxesJSONBody

type AddCompanyTeammateGroupTeamInboxesJSONBody InboxIds

AddCompanyTeammateGroupTeamInboxesJSONBody defines parameters for AddCompanyTeammateGroupTeamInboxes.

type AddCompanyTeammateGroupTeamInboxesJSONRequestBody

type AddCompanyTeammateGroupTeamInboxesJSONRequestBody AddCompanyTeammateGroupTeamInboxesJSONBody

AddCompanyTeammateGroupTeamInboxesJSONRequestBody defines body for AddCompanyTeammateGroupTeamInboxes for application/json ContentType.

type AddCompanyTeammateGroupTeamInboxesResponse

type AddCompanyTeammateGroupTeamInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddCompanyTeammateGroupTeamInboxesResponse

func ParseAddCompanyTeammateGroupTeamInboxesResponse(rsp *http.Response) (*AddCompanyTeammateGroupTeamInboxesResponse, error)

ParseAddCompanyTeammateGroupTeamInboxesResponse parses an HTTP response from a AddCompanyTeammateGroupTeamInboxesWithResponse call

func (AddCompanyTeammateGroupTeamInboxesResponse) Status

Status returns HTTPResponse.Status

func (AddCompanyTeammateGroupTeamInboxesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AddCompanyTeammateGroupTeammatesJSONBody

type AddCompanyTeammateGroupTeammatesJSONBody TeammateIds

AddCompanyTeammateGroupTeammatesJSONBody defines parameters for AddCompanyTeammateGroupTeammates.

type AddCompanyTeammateGroupTeammatesJSONRequestBody

type AddCompanyTeammateGroupTeammatesJSONRequestBody AddCompanyTeammateGroupTeammatesJSONBody

AddCompanyTeammateGroupTeammatesJSONRequestBody defines body for AddCompanyTeammateGroupTeammates for application/json ContentType.

type AddCompanyTeammateGroupTeammatesResponse

type AddCompanyTeammateGroupTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddCompanyTeammateGroupTeammatesResponse

func ParseAddCompanyTeammateGroupTeammatesResponse(rsp *http.Response) (*AddCompanyTeammateGroupTeammatesResponse, error)

ParseAddCompanyTeammateGroupTeammatesResponse parses an HTTP response from a AddCompanyTeammateGroupTeammatesWithResponse call

func (AddCompanyTeammateGroupTeammatesResponse) Status

Status returns HTTPResponse.Status

func (AddCompanyTeammateGroupTeammatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AddCompanyTeammateGroupTeamsJSONBody

type AddCompanyTeammateGroupTeamsJSONBody TeamIds

AddCompanyTeammateGroupTeamsJSONBody defines parameters for AddCompanyTeammateGroupTeams.

type AddCompanyTeammateGroupTeamsJSONRequestBody

type AddCompanyTeammateGroupTeamsJSONRequestBody AddCompanyTeammateGroupTeamsJSONBody

AddCompanyTeammateGroupTeamsJSONRequestBody defines body for AddCompanyTeammateGroupTeams for application/json ContentType.

type AddCompanyTeammateGroupTeamsResponse

type AddCompanyTeammateGroupTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddCompanyTeammateGroupTeamsResponse

func ParseAddCompanyTeammateGroupTeamsResponse(rsp *http.Response) (*AddCompanyTeammateGroupTeamsResponse, error)

ParseAddCompanyTeammateGroupTeamsResponse parses an HTTP response from a AddCompanyTeammateGroupTeamsWithResponse call

func (AddCompanyTeammateGroupTeamsResponse) Status

Status returns HTTPResponse.Status

func (AddCompanyTeammateGroupTeamsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AddContactHandleJSONBody

type AddContactHandleJSONBody ContactHandle

AddContactHandleJSONBody defines parameters for AddContactHandle.

type AddContactHandleJSONRequestBody

type AddContactHandleJSONRequestBody AddContactHandleJSONBody

AddContactHandleJSONRequestBody defines body for AddContactHandle for application/json ContentType.

type AddContactHandleResponse

type AddContactHandleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddContactHandleResponse

func ParseAddContactHandleResponse(rsp *http.Response) (*AddContactHandleResponse, error)

ParseAddContactHandleResponse parses an HTTP response from a AddContactHandleWithResponse call

func (AddContactHandleResponse) Status

func (r AddContactHandleResponse) Status() string

Status returns HTTPResponse.Status

func (AddContactHandleResponse) StatusCode

func (r AddContactHandleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddContactToAccountJSONBody

type AddContactToAccountJSONBody ContactIds

AddContactToAccountJSONBody defines parameters for AddContactToAccount.

type AddContactToAccountJSONRequestBody

type AddContactToAccountJSONRequestBody AddContactToAccountJSONBody

AddContactToAccountJSONRequestBody defines body for AddContactToAccount for application/json ContentType.

type AddContactToAccountResponse

type AddContactToAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddContactToAccountResponse

func ParseAddContactToAccountResponse(rsp *http.Response) (*AddContactToAccountResponse, error)

ParseAddContactToAccountResponse parses an HTTP response from a AddContactToAccountWithResponse call

func (AddContactToAccountResponse) Status

Status returns HTTPResponse.Status

func (AddContactToAccountResponse) StatusCode

func (r AddContactToAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddContactsToContactListJSONBody

type AddContactsToContactListJSONBody AddContactsToList

AddContactsToContactListJSONBody defines parameters for AddContactsToContactList.

type AddContactsToContactListJSONRequestBody

type AddContactsToContactListJSONRequestBody AddContactsToContactListJSONBody

AddContactsToContactListJSONRequestBody defines body for AddContactsToContactList for application/json ContentType.

type AddContactsToContactListResponse

type AddContactsToContactListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddContactsToContactListResponse

func ParseAddContactsToContactListResponse(rsp *http.Response) (*AddContactsToContactListResponse, error)

ParseAddContactsToContactListResponse parses an HTTP response from a AddContactsToContactListWithResponse call

func (AddContactsToContactListResponse) Status

Status returns HTTPResponse.Status

func (AddContactsToContactListResponse) StatusCode

func (r AddContactsToContactListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddContactsToGroupJSONBody

type AddContactsToGroupJSONBody AddContactsToList

AddContactsToGroupJSONBody defines parameters for AddContactsToGroup.

type AddContactsToGroupJSONRequestBody

type AddContactsToGroupJSONRequestBody AddContactsToGroupJSONBody

AddContactsToGroupJSONRequestBody defines body for AddContactsToGroup for application/json ContentType.

type AddContactsToGroupResponse

type AddContactsToGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddContactsToGroupResponse

func ParseAddContactsToGroupResponse(rsp *http.Response) (*AddContactsToGroupResponse, error)

ParseAddContactsToGroupResponse parses an HTTP response from a AddContactsToGroupWithResponse call

func (AddContactsToGroupResponse) Status

Status returns HTTPResponse.Status

func (AddContactsToGroupResponse) StatusCode

func (r AddContactsToGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddContactsToList

type AddContactsToList struct {
	// List of IDs of the contacts to add in the requested contact list. Alternatively, you can supply the contact source and handle as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	ContactIds []ResourceID `json:"contact_ids"`
}

AddContactsToList defines model for AddContactsToList.

type AddConversationFollowersJSONBody

type AddConversationFollowersJSONBody struct {
	// IDs of the teammate to add to the followers list. Alternatively, you can supply the teammates as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	TeammateIds []string `json:"teammate_ids"`
}

AddConversationFollowersJSONBody defines parameters for AddConversationFollowers.

type AddConversationFollowersJSONRequestBody

type AddConversationFollowersJSONRequestBody AddConversationFollowersJSONBody

AddConversationFollowersJSONRequestBody defines body for AddConversationFollowers for application/json ContentType.

type AddConversationFollowersParams

type AddConversationFollowersParams struct {
	// Whether to ignore invalid teammate IDs and continue adding valid ones.
	IgnoreErrors *bool `json:"ignore_errors,omitempty"`
}

AddConversationFollowersParams defines parameters for AddConversationFollowers.

type AddConversationFollowersResponse

type AddConversationFollowersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddConversationFollowersResponse

func ParseAddConversationFollowersResponse(rsp *http.Response) (*AddConversationFollowersResponse, error)

ParseAddConversationFollowersResponse parses an HTTP response from a AddConversationFollowersWithResponse call

func (AddConversationFollowersResponse) Status

Status returns HTTPResponse.Status

func (AddConversationFollowersResponse) StatusCode

func (r AddConversationFollowersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddConversationLinkJSONBody

type AddConversationLinkJSONBody 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"`
}

AddConversationLinkJSONBody defines parameters for AddConversationLink.

type AddConversationLinkJSONRequestBody

type AddConversationLinkJSONRequestBody AddConversationLinkJSONBody

AddConversationLinkJSONRequestBody defines body for AddConversationLink for application/json ContentType.

type AddConversationLinkResponse

type AddConversationLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddConversationLinkResponse

func ParseAddConversationLinkResponse(rsp *http.Response) (*AddConversationLinkResponse, error)

ParseAddConversationLinkResponse parses an HTTP response from a AddConversationLinkWithResponse call

func (AddConversationLinkResponse) Status

Status returns HTTPResponse.Status

func (AddConversationLinkResponse) StatusCode

func (r AddConversationLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddConversationTagJSONBody

type AddConversationTagJSONBody TagIds

AddConversationTagJSONBody defines parameters for AddConversationTag.

type AddConversationTagJSONRequestBody

type AddConversationTagJSONRequestBody AddConversationTagJSONBody

AddConversationTagJSONRequestBody defines body for AddConversationTag for application/json ContentType.

type AddConversationTagResponse

type AddConversationTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddConversationTagResponse

func ParseAddConversationTagResponse(rsp *http.Response) (*AddConversationTagResponse, error)

ParseAddConversationTagResponse parses an HTTP response from a AddConversationTagWithResponse call

func (AddConversationTagResponse) Status

Status returns HTTPResponse.Status

func (AddConversationTagResponse) StatusCode

func (r AddConversationTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddInboxAccessJSONBody

type AddInboxAccessJSONBody TeammateIds

AddInboxAccessJSONBody defines parameters for AddInboxAccess.

type AddInboxAccessJSONRequestBody

type AddInboxAccessJSONRequestBody AddInboxAccessJSONBody

AddInboxAccessJSONRequestBody defines body for AddInboxAccess for application/json ContentType.

type AddInboxAccessResponse

type AddInboxAccessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddInboxAccessResponse

func ParseAddInboxAccessResponse(rsp *http.Response) (*AddInboxAccessResponse, error)

ParseAddInboxAccessResponse parses an HTTP response from a AddInboxAccessWithResponse call

func (AddInboxAccessResponse) Status

func (r AddInboxAccessResponse) Status() string

Status returns HTTPResponse.Status

func (AddInboxAccessResponse) StatusCode

func (r AddInboxAccessResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddNoteJSONBody

type AddNoteJSONBody CreateContactNote

AddNoteJSONBody defines parameters for AddNote.

type AddNoteJSONRequestBody

type AddNoteJSONRequestBody AddNoteJSONBody

AddNoteJSONRequestBody defines body for AddNote for application/json ContentType.

type AddNoteResponse

type AddNoteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ContactNoteResponses
}

func ParseAddNoteResponse

func ParseAddNoteResponse(rsp *http.Response) (*AddNoteResponse, error)

ParseAddNoteResponse parses an HTTP response from a AddNoteWithResponse call

func (AddNoteResponse) Status

func (r AddNoteResponse) Status() string

Status returns HTTPResponse.Status

func (AddNoteResponse) StatusCode

func (r AddNoteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddTeammatesToShiftJSONBody

type AddTeammatesToShiftJSONBody TeammateIds

AddTeammatesToShiftJSONBody defines parameters for AddTeammatesToShift.

type AddTeammatesToShiftJSONRequestBody

type AddTeammatesToShiftJSONRequestBody AddTeammatesToShiftJSONBody

AddTeammatesToShiftJSONRequestBody defines body for AddTeammatesToShift for application/json ContentType.

type AddTeammatesToShiftResponse

type AddTeammatesToShiftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddTeammatesToShiftResponse

func ParseAddTeammatesToShiftResponse(rsp *http.Response) (*AddTeammatesToShiftResponse, error)

ParseAddTeammatesToShiftResponse parses an HTTP response from a AddTeammatesToShiftWithResponse call

func (AddTeammatesToShiftResponse) Status

Status returns HTTPResponse.Status

func (AddTeammatesToShiftResponse) StatusCode

func (r AddTeammatesToShiftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddTeammatesToTeamJSONBody

type AddTeammatesToTeamJSONBody TeammateIds

AddTeammatesToTeamJSONBody defines parameters for AddTeammatesToTeam.

type AddTeammatesToTeamJSONRequestBody

type AddTeammatesToTeamJSONRequestBody AddTeammatesToTeamJSONBody

AddTeammatesToTeamJSONRequestBody defines body for AddTeammatesToTeam for application/json ContentType.

type AddTeammatesToTeamResponse

type AddTeammatesToTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAddTeammatesToTeamResponse

func ParseAddTeammatesToTeamResponse(rsp *http.Response) (*AddTeammatesToTeamResponse, error)

ParseAddTeammatesToTeamResponse parses an HTTP response from a AddTeammatesToTeamWithResponse call

func (AddTeammatesToTeamResponse) Status

Status returns HTTPResponse.Status

func (AddTeammatesToTeamResponse) StatusCode

func (r AddTeammatesToTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AnalyticsActivitiesColumns

type AnalyticsActivitiesColumns string

AnalyticsActivitiesColumns defines model for AnalyticsActivitiesColumns.

const (
	AnalyticsActivitiesColumnsAccountName AnalyticsActivitiesColumns = "Account name"

	AnalyticsActivitiesColumnsAccountNames AnalyticsActivitiesColumns = "Account names"

	AnalyticsActivitiesColumnsActivityAPIID AnalyticsActivitiesColumns = "Activity API ID"

	AnalyticsActivitiesColumnsActivityID AnalyticsActivitiesColumns = "Activity ID"

	AnalyticsActivitiesColumnsAddedTag AnalyticsActivitiesColumns = "Added tag"

	AnalyticsActivitiesColumnsAddedTagAPIID AnalyticsActivitiesColumns = "Added tag API ID"

	AnalyticsActivitiesColumnsAssignee AnalyticsActivitiesColumns = "Assignee"

	AnalyticsActivitiesColumnsAttributedTo AnalyticsActivitiesColumns = "Attributed to"

	AnalyticsActivitiesColumnsAuthor AnalyticsActivitiesColumns = "Author"

	AnalyticsActivitiesColumnsAutoreply AnalyticsActivitiesColumns = "Autoreply"

	AnalyticsActivitiesColumnsBcc AnalyticsActivitiesColumns = "Bcc"

	AnalyticsActivitiesColumnsBusinessHours AnalyticsActivitiesColumns = "Business hours"

	AnalyticsActivitiesColumnsCc AnalyticsActivitiesColumns = "Cc"

	AnalyticsActivitiesColumnsCommentAPIID AnalyticsActivitiesColumns = "Comment API ID"

	AnalyticsActivitiesColumnsContactHandle AnalyticsActivitiesColumns = "Contact handle"

	AnalyticsActivitiesColumnsContactName AnalyticsActivitiesColumns = "Contact name"

	AnalyticsActivitiesColumnsConversationAPIID AnalyticsActivitiesColumns = "Conversation API ID"

	AnalyticsActivitiesColumnsConversationID AnalyticsActivitiesColumns = "Conversation ID"

	AnalyticsActivitiesColumnsDirection AnalyticsActivitiesColumns = "Direction"

	AnalyticsActivitiesColumnsExtract AnalyticsActivitiesColumns = "Extract"

	AnalyticsActivitiesColumnsFirstResponse AnalyticsActivitiesColumns = "First response"

	AnalyticsActivitiesColumnsFrom AnalyticsActivitiesColumns = "From"

	AnalyticsActivitiesColumnsHandleTime AnalyticsActivitiesColumns = "Handle time"

	AnalyticsActivitiesColumnsInbox AnalyticsActivitiesColumns = "Inbox"

	AnalyticsActivitiesColumnsInboxAPIID AnalyticsActivitiesColumns = "Inbox API ID"

	AnalyticsActivitiesColumnsInboxAPIIDsAtActivityTime AnalyticsActivitiesColumns = "Inbox API IDs at activity time"

	AnalyticsActivitiesColumnsInboxAtActivityTime AnalyticsActivitiesColumns = "Inbox at activity time"

	AnalyticsActivitiesColumnsLastSegmentActivity AnalyticsActivitiesColumns = "Last segment activity"

	AnalyticsActivitiesColumnsMessageAPIID AnalyticsActivitiesColumns = "Message API ID"

	AnalyticsActivitiesColumnsMessageDate AnalyticsActivitiesColumns = "Message date"

	AnalyticsActivitiesColumnsMessageID AnalyticsActivitiesColumns = "Message ID"

	AnalyticsActivitiesColumnsMessageOriginalID AnalyticsActivitiesColumns = "Message original ID"

	AnalyticsActivitiesColumnsNewConversation AnalyticsActivitiesColumns = "New Conversation"

	AnalyticsActivitiesColumnsPreviousInboxIDs AnalyticsActivitiesColumns = "Previous inbox IDs"

	AnalyticsActivitiesColumnsReactionTime AnalyticsActivitiesColumns = "Reaction time"

	AnalyticsActivitiesColumnsRemovedTag AnalyticsActivitiesColumns = "Removed tag"

	AnalyticsActivitiesColumnsRemovedTagAPIID AnalyticsActivitiesColumns = "Removed tag API ID"

	AnalyticsActivitiesColumnsRepliesToResolution AnalyticsActivitiesColumns = "Replies to resolution"

	AnalyticsActivitiesColumnsResponseTime AnalyticsActivitiesColumns = "Response time"

	AnalyticsActivitiesColumnsSegment AnalyticsActivitiesColumns = "Segment"

	AnalyticsActivitiesColumnsSegmentClosed AnalyticsActivitiesColumns = "Segment closed"

	AnalyticsActivitiesColumnsSegmentContainsMessages AnalyticsActivitiesColumns = "Segment contains messages"

	AnalyticsActivitiesColumnsSegmentCumulativeTeammates AnalyticsActivitiesColumns = "Segment cumulative teammates"

	AnalyticsActivitiesColumnsSegmentEnd AnalyticsActivitiesColumns = "Segment end"

	AnalyticsActivitiesColumnsSegmentID AnalyticsActivitiesColumns = "Segment ID"

	AnalyticsActivitiesColumnsSegmentStart AnalyticsActivitiesColumns = "Segment start"

	AnalyticsActivitiesColumnsSource AnalyticsActivitiesColumns = "Source"

	AnalyticsActivitiesColumnsStageResolutionTime AnalyticsActivitiesColumns = "Stage resolution time"

	AnalyticsActivitiesColumnsStatus AnalyticsActivitiesColumns = "Status"

	AnalyticsActivitiesColumnsStatusAtActivityTime AnalyticsActivitiesColumns = "Status at activity time"

	AnalyticsActivitiesColumnsSubject AnalyticsActivitiesColumns = "Subject"

	AnalyticsActivitiesColumnsSurveyComment AnalyticsActivitiesColumns = "Survey comment"

	AnalyticsActivitiesColumnsSurveyRating AnalyticsActivitiesColumns = "Survey rating"

	AnalyticsActivitiesColumnsTagAPIIDs AnalyticsActivitiesColumns = "Tag API IDs"

	AnalyticsActivitiesColumnsTagAPIIDsAtActivityTime AnalyticsActivitiesColumns = "Tag API IDs at activity time"

	AnalyticsActivitiesColumnsTagApplicationDuration AnalyticsActivitiesColumns = "Tag application duration"

	AnalyticsActivitiesColumnsTags AnalyticsActivitiesColumns = "Tags"

	AnalyticsActivitiesColumnsTagsAtActivityTime AnalyticsActivitiesColumns = "Tags at activity time"

	AnalyticsActivitiesColumnsTicketIDs AnalyticsActivitiesColumns = "Ticket IDs"

	AnalyticsActivitiesColumnsTicketRepliesToResolution AnalyticsActivitiesColumns = "Ticket replies to resolution"

	AnalyticsActivitiesColumnsTicketResolutionTime AnalyticsActivitiesColumns = "Ticket resolution time"

	AnalyticsActivitiesColumnsTicketStatusCategory AnalyticsActivitiesColumns = "Ticket status category"

	AnalyticsActivitiesColumnsTicketStatusCategoryAtActivityTime AnalyticsActivitiesColumns = "Ticket status category at activity time"

	AnalyticsActivitiesColumnsTicketStatusName AnalyticsActivitiesColumns = "Ticket status name"

	AnalyticsActivitiesColumnsTicketStatusNameAtActivityTime AnalyticsActivitiesColumns = "Ticket status name at activity time"

	AnalyticsActivitiesColumnsTo AnalyticsActivitiesColumns = "To"

	AnalyticsActivitiesColumnsTotalReplyTime AnalyticsActivitiesColumns = "Total reply time"

	AnalyticsActivitiesColumnsType AnalyticsActivitiesColumns = "Type"
)

Defines values for AnalyticsActivitiesColumns.

type AnalyticsActivitiesExportsColumns

type AnalyticsActivitiesExportsColumns struct {
	// List of the columns to include in the export.
	Columns []AnalyticsActivitiesColumns `json:"columns"`
}

AnalyticsActivitiesExportsColumns defines model for AnalyticsActivitiesExportsColumns.

type AnalyticsExportRequest

type AnalyticsExportRequest interface{}

AnalyticsExportRequest defines model for AnalyticsExportRequest.

type AnalyticsExportResponse

type AnalyticsExportResponse struct {
	ResourceLinks struct {
		// Link to analytics export
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

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

	// The filename of the export with extension included. Only displays after you make a GET request to the link included in the POST response.
	Filename *string `json:"filename,omitempty"`

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

	// The public ID of the analytics export
	Id string `json:"id"`

	// Number ranging from 0 to 100 corresponding to the percentage of the analytics processed.
	Progress int `json:"progress"`

	// Size (in bytes) of the export data. Only displays after you make a GET request to the link included in the POST response.
	Size *float32 `json:"size"`

	// Status of the analytics
	Status AnalyticsExportResponseStatus `json:"status"`

	// The URL from which the export data can be downloaded. Only displays after you make a GET request to the link included in the POST response.
	Url *string `json:"url,omitempty"`
}

AnalyticsExportResponse defines model for AnalyticsExportResponse.

type AnalyticsExportResponseStatus

type AnalyticsExportResponseStatus string

Status of the analytics

const (
	AnalyticsExportResponseStatusDone AnalyticsExportResponseStatus = "done"

	AnalyticsExportResponseStatusFailed AnalyticsExportResponseStatus = "failed"

	AnalyticsExportResponseStatusRunning AnalyticsExportResponseStatus = "running"

	AnalyticsExportResponseStatusTooBig AnalyticsExportResponseStatus = "too_big"
)

Defines values for AnalyticsExportResponseStatus.

type AnalyticsFilters

type AnalyticsFilters interface{}

Resources to compute the analytics for. Defaults to all.

type AnalyticsMessagesColumns

type AnalyticsMessagesColumns string

AnalyticsMessagesColumns defines model for AnalyticsMessagesColumns.

const (
	AnalyticsMessagesColumnsAccountNames AnalyticsMessagesColumns = "Account names"

	AnalyticsMessagesColumnsAssignee AnalyticsMessagesColumns = "Assignee"

	AnalyticsMessagesColumnsAttributedTo AnalyticsMessagesColumns = "Attributed to"

	AnalyticsMessagesColumnsAuthor AnalyticsMessagesColumns = "Author"

	AnalyticsMessagesColumnsAutoreply AnalyticsMessagesColumns = "Autoreply"

	AnalyticsMessagesColumnsBcc AnalyticsMessagesColumns = "Bcc"

	AnalyticsMessagesColumnsBusinessHours AnalyticsMessagesColumns = "Business hours"

	AnalyticsMessagesColumnsCc AnalyticsMessagesColumns = "Cc"

	AnalyticsMessagesColumnsContactHandle AnalyticsMessagesColumns = "Contact handle"

	AnalyticsMessagesColumnsContactName AnalyticsMessagesColumns = "Contact name"

	AnalyticsMessagesColumnsConversationAPIID AnalyticsMessagesColumns = "Conversation API ID"

	AnalyticsMessagesColumnsConversationID AnalyticsMessagesColumns = "Conversation ID"

	AnalyticsMessagesColumnsDirection AnalyticsMessagesColumns = "Direction"

	AnalyticsMessagesColumnsExtract AnalyticsMessagesColumns = "Extract"

	AnalyticsMessagesColumnsFirstResponse AnalyticsMessagesColumns = "First response"

	AnalyticsMessagesColumnsFrom AnalyticsMessagesColumns = "From"

	AnalyticsMessagesColumnsHandleTime AnalyticsMessagesColumns = "Handle time"

	AnalyticsMessagesColumnsInbox AnalyticsMessagesColumns = "Inbox"

	AnalyticsMessagesColumnsInboxAPIID AnalyticsMessagesColumns = "Inbox API ID"

	AnalyticsMessagesColumnsInboxAPIIDsAtActivityTime AnalyticsMessagesColumns = "Inbox API IDs at activity time"

	AnalyticsMessagesColumnsInboxAtActivityTime AnalyticsMessagesColumns = "Inbox at activity time"

	AnalyticsMessagesColumnsLastSegmentActivity AnalyticsMessagesColumns = "Last segment activity"

	AnalyticsMessagesColumnsMessageAPIID AnalyticsMessagesColumns = "Message API ID"

	AnalyticsMessagesColumnsMessageDate AnalyticsMessagesColumns = "Message date"

	AnalyticsMessagesColumnsMessageID AnalyticsMessagesColumns = "Message ID"

	AnalyticsMessagesColumnsNewConversation AnalyticsMessagesColumns = "New Conversation"

	AnalyticsMessagesColumnsReactionTime AnalyticsMessagesColumns = "Reaction time"

	AnalyticsMessagesColumnsResponseTime AnalyticsMessagesColumns = "Response time"

	AnalyticsMessagesColumnsSegment AnalyticsMessagesColumns = "Segment"

	AnalyticsMessagesColumnsSegmentClosed AnalyticsMessagesColumns = "Segment closed"

	AnalyticsMessagesColumnsSegmentCumulativeTeammates AnalyticsMessagesColumns = "Segment cumulative teammates"

	AnalyticsMessagesColumnsSegmentEnd AnalyticsMessagesColumns = "Segment end"

	AnalyticsMessagesColumnsSegmentID AnalyticsMessagesColumns = "Segment ID"

	AnalyticsMessagesColumnsSegmentStart AnalyticsMessagesColumns = "Segment start"

	AnalyticsMessagesColumnsStatus AnalyticsMessagesColumns = "Status"

	AnalyticsMessagesColumnsSubject AnalyticsMessagesColumns = "Subject"

	AnalyticsMessagesColumnsTagAPIIDs AnalyticsMessagesColumns = "Tag API IDs"

	AnalyticsMessagesColumnsTags AnalyticsMessagesColumns = "Tags"

	AnalyticsMessagesColumnsTicketIDs AnalyticsMessagesColumns = "Ticket IDs"

	AnalyticsMessagesColumnsTicketStatusCategory AnalyticsMessagesColumns = "Ticket status category"

	AnalyticsMessagesColumnsTicketStatusCategoryAtActivityTime AnalyticsMessagesColumns = "Ticket status category at activity time"

	AnalyticsMessagesColumnsTicketStatusName AnalyticsMessagesColumns = "Ticket status name"

	AnalyticsMessagesColumnsTicketStatusNameAtActivityTime AnalyticsMessagesColumns = "Ticket status name at activity time"

	AnalyticsMessagesColumnsTo AnalyticsMessagesColumns = "To"

	AnalyticsMessagesColumnsTotalReplyTime AnalyticsMessagesColumns = "Total reply time"
)

Defines values for AnalyticsMessagesColumns.

type AnalyticsMessagesExportColumns

type AnalyticsMessagesExportColumns struct {
	// List of the columns to include in the export.
	Columns []AnalyticsMessagesColumns `json:"columns"`
}

AnalyticsMessagesExportColumns defines model for AnalyticsMessagesExportColumns.

type AnalyticsMetricId

type AnalyticsMetricId string

AnalyticsMetricId defines model for AnalyticsMetricId.

const (
	AnalyticsMetricIdAvgCsatSurveyResponse AnalyticsMetricId = "avg_csat_survey_response"

	AnalyticsMetricIdAvgFirstResponseTime AnalyticsMetricId = "avg_first_response_time"

	AnalyticsMetricIdAvgHandleTime AnalyticsMetricId = "avg_handle_time"

	AnalyticsMetricIdAvgRepliesToResolution AnalyticsMetricId = "avg_replies_to_resolution"

	AnalyticsMetricIdAvgResolutionTime AnalyticsMetricId = "avg_resolution_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"

	AnalyticsMetricIdNumResolvedSegments AnalyticsMetricId = "num_resolved_segments"

	AnalyticsMetricIdNumSlaBreach AnalyticsMetricId = "num_sla_breach"

	AnalyticsMetricIdNumUnresolvedActiveSegments AnalyticsMetricId = "num_unresolved_active_segments"

	AnalyticsMetricIdNumWorkloadSegments AnalyticsMetricId = "num_workload_segments"

	AnalyticsMetricIdPctCsatSurveySatisfaction AnalyticsMetricId = "pct_csat_survey_satisfaction"

	AnalyticsMetricIdPctResolvedOnFirstReply AnalyticsMetricId = "pct_resolved_on_first_reply"

	AnalyticsMetricIdPctTaggedConversations AnalyticsMetricId = "pct_tagged_conversations"
)

Defines values for AnalyticsMetricId.

type AnalyticsReportRequest

type AnalyticsReportRequest 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"`
}

AnalyticsReportRequest defines model for AnalyticsReportRequest.

type AnalyticsReportResponse

type AnalyticsReportResponse struct {
	ResourceLinks struct {
		// Link to analytics job.
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// The metrics computed for the report.
	Metrics []AnalyticsScalar `json:"metrics"`

	// Number ranging from 0 to 100 corresponding to the percentage of the analytics processed.
	Progress int `json:"progress"`

	// Status of the report.
	Status AnalyticsReportResponseStatus `json:"status"`

	// The UID of the analytics report
	Uid string `json:"uid"`
}

AnalyticsReportResponse defines model for AnalyticsReportResponse.

type AnalyticsReportResponseStatus

type AnalyticsReportResponseStatus string

Status of the report.

const (
	AnalyticsReportResponseStatusDone AnalyticsReportResponseStatus = "done"

	AnalyticsReportResponseStatusFailed AnalyticsReportResponseStatus = "failed"

	AnalyticsReportResponseStatusRunning AnalyticsReportResponseStatus = "running"
)

Defines values for AnalyticsReportResponseStatus.

type AnalyticsScalar

type AnalyticsScalar struct {
	Id   AnalyticsMetricId   `json:"id"`
	Type AnalyticsScalarType `json:"type"`

	// The value of a scalar metric.
	Value *AnalyticsScalarValue `json:"value"`
}

AnalyticsScalar defines model for AnalyticsScalar.

type AnalyticsScalarType

type AnalyticsScalarType string

AnalyticsScalarType defines model for AnalyticsScalarType.

const (
	AnalyticsScalarTypeDuration AnalyticsScalarType = "duration"

	AnalyticsScalarTypeNumber AnalyticsScalarType = "number"

	AnalyticsScalarTypePercentage AnalyticsScalarType = "percentage"

	AnalyticsScalarTypeResource AnalyticsScalarType = "resource"

	AnalyticsScalarTypeString AnalyticsScalarType = "string"
)

Defines values for AnalyticsScalarType.

type AnalyticsScalarValue

type AnalyticsScalarValue interface{}

The value of a scalar metric.

type ApiTokenDetailsResponse

type ApiTokenDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IdentityResponse
}

func ParseApiTokenDetailsResponse

func ParseApiTokenDetailsResponse(rsp *http.Response) (*ApiTokenDetailsResponse, error)

ParseApiTokenDetailsResponse parses an HTTP response from a ApiTokenDetailsWithResponse call

func (ApiTokenDetailsResponse) Status

func (r ApiTokenDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (ApiTokenDetailsResponse) StatusCode

func (r ApiTokenDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AppEvent

type AppEvent struct {
	// Identifier for the app object to which the event is related. Either an ID or an external link is required.
	// If both are provided, the ID will be favored.
	AppObject struct {
		// External link of the app object
		ExtLink *string `json:"ext_link,omitempty"`

		// ID of the app object
		Id *string `json:"id,omitempty"`
	} `json:"app_object"`

	// The type of event this application should handle
	EventType string `json:"event_type"`
}

AppEvent defines model for AppEvent.

type Attachment

type Attachment struct {
	// Content type of the attached file in [MIME format](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types). Note that some attachments types may not be supported.
	ContentType string `json:"content_type"`

	// Name of the attached file
	Filename string `json:"filename"`

	// The unique identifier of the attachment.
	Id string `json:"id"`

	// 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"`

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

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

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 {
	ResourceLinks struct {
		Related *struct {
			// Link to channel inbox
			Inbox *string `json:"inbox"`

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

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

	// Address receiving the messages
	Address *string `json:"address,omitempty"`

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

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

	// Whether or not the channel configuration is valid
	IsValid bool `json:"is_valid"`

	// The name of the channel
	Name *string `json:"name,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"`

	// Type of the channel
	Type ChannelResponseType `json:"type"`
}

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 ChannelResponseType

type ChannelResponseType string

Type of the channel

const (
	ChannelResponseTypeCustom ChannelResponseType = "custom"

	ChannelResponseTypeFacebook ChannelResponseType = "facebook"

	ChannelResponseTypeForm ChannelResponseType = "form"

	ChannelResponseTypeFrontChat ChannelResponseType = "front_chat"

	ChannelResponseTypeFrontMail ChannelResponseType = "front_mail"

	ChannelResponseTypeGmail ChannelResponseType = "gmail"

	ChannelResponseTypeGooglePlay ChannelResponseType = "google_play"

	ChannelResponseTypeImap ChannelResponseType = "imap"

	ChannelResponseTypeIntercom ChannelResponseType = "intercom"

	ChannelResponseTypeLayerAnon ChannelResponseType = "layer_anon"

	ChannelResponseTypeOffice365 ChannelResponseType = "office365"

	ChannelResponseTypeSmtp ChannelResponseType = "smtp"

	ChannelResponseTypeTalkdesk ChannelResponseType = "talkdesk"

	ChannelResponseTypeTruly ChannelResponseType = "truly"

	ChannelResponseTypeTwilio ChannelResponseType = "twilio"

	ChannelResponseTypeTwilioWhatsapp ChannelResponseType = "twilio_whatsapp"

	ChannelResponseTypeTwitter ChannelResponseType = "twitter"

	ChannelResponseTypeTwitterDm ChannelResponseType = "twitter_dm"

	ChannelResponseTypeYaloWha ChannelResponseType = "yalo_wha"
)

Defines values for ChannelResponseType.

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

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

func (*Client) AddCommentReply

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

func (*Client) AddCommentReplyWithBody

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

func (*Client) AddCommentWithBody

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

func (*Client) AddCompanyTeammateGroupTeamInboxes

func (c *Client) AddCompanyTeammateGroupTeamInboxes(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeamInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddCompanyTeammateGroupTeamInboxesWithBody

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

func (*Client) AddCompanyTeammateGroupTeammates

func (c *Client) AddCompanyTeammateGroupTeammates(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddCompanyTeammateGroupTeammatesWithBody

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

func (*Client) AddCompanyTeammateGroupTeams

func (c *Client) AddCompanyTeammateGroupTeams(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddCompanyTeammateGroupTeamsWithBody

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

func (*Client) AddContactHandle

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

func (*Client) AddContactHandleWithBody

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

func (*Client) AddContactToAccount

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

func (*Client) AddContactToAccountWithBody

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

func (*Client) AddContactsToContactList

func (c *Client) AddContactsToContactList(ctx context.Context, contactListId string, body AddContactsToContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddContactsToContactListWithBody

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

func (*Client) AddContactsToGroup

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

func (*Client) AddContactsToGroupWithBody

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

func (*Client) AddConversationFollowers

func (c *Client) AddConversationFollowers(ctx context.Context, conversationId string, params *AddConversationFollowersParams, body AddConversationFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddConversationFollowersWithBody

func (c *Client) AddConversationFollowersWithBody(ctx context.Context, conversationId string, params *AddConversationFollowersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) AddConversationLink(ctx context.Context, conversationId string, body AddConversationLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddConversationLinkWithBody

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

func (*Client) AddConversationTag

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

func (*Client) AddConversationTagWithBody

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

func (*Client) AddInboxAccess

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

func (*Client) AddInboxAccessWithBody

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

func (*Client) AddNote

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

func (*Client) AddNoteWithBody

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

func (*Client) AddTeammatesToShift

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

func (*Client) AddTeammatesToShiftWithBody

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

func (*Client) AddTeammatesToTeam

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

func (*Client) AddTeammatesToTeamWithBody

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

func (*Client) ApiTokenDetails

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

func (*Client) CreateAChannel

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

func (*Client) CreateAChannelWithBody

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

func (*Client) CreateAKnowledgeBase

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

func (*Client) CreateAKnowledgeBaseWithBody

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

func (*Client) CreateAccount

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

func (*Client) CreateAccountWithBody

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

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

func (c *Client) CreateArticleInAKnowledgeBaseInDefaultLocale(ctx context.Context, knowledgeBaseId string, body CreateArticleInAKnowledgeBaseInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateArticleInAKnowledgeBaseInDefaultLocaleWithBody

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

func (*Client) CreateArticleInAKnowledgeBaseInSpecifiedLocale

func (c *Client) CreateArticleInAKnowledgeBaseInSpecifiedLocale(ctx context.Context, knowledgeBaseId string, locale string, body CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateArticleInAKnowledgeBaseInSpecifiedLocaleWithBody

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

func (*Client) CreateChildFolder

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

func (*Client) CreateChildFolderWithBody

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

func (*Client) CreateChildTag

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

func (*Client) CreateChildTagWithBody

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

func (*Client) CreateChildTemplate

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

func (*Client) CreateChildTemplateWithBody

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

func (*Client) CreateCompanyTag

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

func (*Client) CreateCompanyTagWithBody

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

func (*Client) CreateCompanyTeammateGroup

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

func (*Client) CreateCompanyTeammateGroupWithBody

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

func (*Client) CreateContact

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

func (*Client) CreateContactList

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

func (*Client) CreateContactListWithBody

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

func (*Client) CreateContactWithBody

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

func (*Client) CreateConversation

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

func (*Client) CreateConversationWithBody

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

func (*Client) CreateDraft

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

func (*Client) CreateDraftReply

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

func (*Client) CreateDraftReplyWithBody

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

func (*Client) CreateDraftWithBody

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

func (*Client) CreateFolder

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

func (*Client) CreateFolderWithBody

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

func (*Client) CreateGroup

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

func (*Client) CreateGroupWithBody

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

func (*Client) CreateInbox

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

func (*Client) CreateInboxWithBody

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

func (*Client) CreateKnowledgeBaseCategoryInDefaultLocale

func (c *Client) CreateKnowledgeBaseCategoryInDefaultLocale(ctx context.Context, knowledgeBaseId string, body CreateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateKnowledgeBaseCategoryInDefaultLocaleWithBody

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

func (*Client) CreateKnowledgeBaseCategoryInSpecifiedLocale

func (c *Client) CreateKnowledgeBaseCategoryInSpecifiedLocale(ctx context.Context, knowledgeBaseId string, locale string, body CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateKnowledgeBaseCategoryInSpecifiedLocaleWithBody

func (c *Client) CreateKnowledgeBaseCategoryInSpecifiedLocaleWithBody(ctx context.Context, knowledgeBaseId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) CreateLink(ctx context.Context, body CreateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateLinkWithBody

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

func (*Client) CreateMessage

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

func (*Client) CreateMessageReply

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

func (*Client) CreateMessageReplyWithBody

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

func (*Client) CreateMessageTemplate

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

func (*Client) CreateMessageTemplateWithBody

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

func (*Client) CreateMessageWithBody

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

func (*Client) CreateShift

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

func (*Client) CreateShiftWithBody

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

func (*Client) CreateTag

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

func (*Client) CreateTagWithBody

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

func (*Client) CreateTeamContact

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

func (*Client) CreateTeamContactList

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

func (*Client) CreateTeamContactListWithBody

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

func (*Client) CreateTeamContactWithBody

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

func (*Client) CreateTeamFolder

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

func (*Client) CreateTeamFolderWithBody

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

func (*Client) CreateTeamGroup

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

func (*Client) CreateTeamGroupWithBody

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

func (*Client) CreateTeamInbox

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

func (*Client) CreateTeamInboxWithBody

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

func (*Client) CreateTeamMessageTemplate

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

func (*Client) CreateTeamMessageTemplateWithBody

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

func (*Client) CreateTeamShift

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

func (*Client) CreateTeamShiftWithBody

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

func (*Client) CreateTeamSignature

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

func (*Client) CreateTeamSignatureWithBody

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

func (*Client) CreateTeamTag

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

func (*Client) CreateTeamTagWithBody

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

func (*Client) CreateTeammateContact

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

func (*Client) CreateTeammateContactList

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

func (*Client) CreateTeammateContactListWithBody

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

func (*Client) CreateTeammateContactWithBody

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

func (*Client) CreateTeammateFolder

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

func (*Client) CreateTeammateFolderWithBody

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

func (*Client) CreateTeammateGroup

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

func (*Client) CreateTeammateGroupWithBody

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

func (*Client) CreateTeammateMessageTemplate

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

func (*Client) CreateTeammateMessageTemplateWithBody

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

func (*Client) CreateTeammateSignature

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

func (*Client) CreateTeammateSignatureWithBody

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

func (*Client) CreateTeammateTag

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

func (*Client) CreateTeammateTagWithBody

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

func (*Client) DeleteAContact

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

func (*Client) DeleteAKnowledgeBaseCategory

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

func (*Client) DeleteAnAccount

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

func (*Client) DeleteAnArticle

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

func (*Client) DeleteCompanyTeammateGroup

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

func (*Client) DeleteContactHandle

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

func (*Client) DeleteContactHandleWithBody

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

func (*Client) DeleteContactList

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

func (*Client) DeleteConversationFollowers

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

func (*Client) DeleteConversationFollowersWithBody

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

func (*Client) DeleteDraft

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

func (*Client) DeleteDraftWithBody

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

func (*Client) DeleteFolder

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

func (*Client) DeleteGroup

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

func (*Client) DeleteMessageTemplate

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

func (*Client) DeleteSignature

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

func (*Client) DeleteTag

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

func (*Client) DownloadAttachment

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

func (*Client) DownloadAttachmentForAComment

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

func (*Client) DownloadAttachmentForAMessage

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

func (*Client) DownloadAttachmentForAMessageTemplate

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

func (*Client) DownloadAttachmentFromAnArticle

func (c *Client) DownloadAttachmentFromAnArticle(ctx context.Context, articleId string, attachmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditDraft

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

func (*Client) EditDraftWithBody

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

func (*Client) FetchAnAccount

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

func (*Client) GetAKnowledgeBase

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

func (*Client) GetAKnowledgeBaseArticle

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

func (*Client) GetAKnowledgeBaseCategory

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

func (*Client) GetAKnowledgeBaseWithContentInDefaultLocale

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

func (*Client) GetAKnowledgeBaseWithContentInSpecifiedLocale

func (c *Client) GetAKnowledgeBaseWithContentInSpecifiedLocale(ctx context.Context, knowledgeBaseId string, locale string, 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) GetChannel

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

func (*Client) GetChildFolders

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

func (*Client) GetChildTemplates

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

func (*Client) GetComment

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

func (*Client) GetCompanyTeammateGroup

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

func (*Client) GetContact

func (c *Client) GetContact(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) GetEvent

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

func (*Client) GetFolder

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

func (*Client) GetInbox

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

func (*Client) GetKnowledgeBaseArticleWithContentInDefaultLocale

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

func (*Client) GetKnowledgeBaseArticleWithContentInSpecifiedLocale

func (c *Client) GetKnowledgeBaseArticleWithContentInSpecifiedLocale(ctx context.Context, articleId string, locale string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetKnowledgeBaseCategoryContentInDefaultLocale

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

func (*Client) GetKnowledgeBaseCategoryWithContentInSpecifiedLocale

func (c *Client) GetKnowledgeBaseCategoryWithContentInSpecifiedLocale(ctx context.Context, categoryId string, locale string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) GetLink(ctx context.Context, linkId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMessage

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

func (*Client) GetMessageSeenStatus

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

func (*Client) GetMessageTemplate

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

func (*Client) GetRule

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

func (*Client) GetShift

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

func (*Client) GetSignatures

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

func (*Client) GetTag

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

func (*Client) GetTeam

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

func (*Client) GetTeammate

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

func (*Client) GetTicketStatusById

func (c *Client) GetTicketStatusById(ctx context.Context, statusId 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) ListAccountContacts

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

func (*Client) ListAccountCustomFields

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

func (*Client) ListAccounts

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

func (*Client) ListAllCompanyRules

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

func (*Client) ListArticlesInACategory

func (c *Client) ListArticlesInACategory(ctx context.Context, categoryId string, params *ListArticlesInACategoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListArticlesInAKnowledgeBase

func (c *Client) ListArticlesInAKnowledgeBase(ctx context.Context, knowledgeBaseId string, params *ListArticlesInAKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAssignedConversations

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

func (*Client) ListCategoriesInAKnowledgeBase

func (c *Client) ListCategoriesInAKnowledgeBase(ctx context.Context, knowledgeBaseId string, params *ListCategoriesInAKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListChannels

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

func (*Client) ListCommentMentions

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

func (*Client) ListCompanyTags

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

func (*Client) ListCompanyTeammateGroupTeamInboxes

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

func (*Client) ListCompanyTeammateGroupTeammates

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

func (*Client) ListCompanyTeammateGroupTeams

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

func (*Client) ListCompanyTeammateGroups

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

func (*Client) ListCompanyTicketStatuses

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

func (*Client) ListContactConversations

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

func (*Client) ListContactCustomFields

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

func (*Client) ListContactLists

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

func (*Client) ListContacts

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

func (*Client) ListContactsInContactList

func (c *Client) ListContactsInContactList(ctx context.Context, contactListId string, params *ListContactsInContactListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListContactsInGroup

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

func (*Client) ListConversationComments

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

func (*Client) ListConversationCustomFields

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

func (*Client) ListConversationDrafts

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

func (*Client) ListConversationEvents

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

func (*Client) ListConversationFollowers

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

func (*Client) ListConversationInboxes

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

func (*Client) ListConversationMessages

func (c *Client) ListConversationMessages(ctx context.Context, conversationId string, params *ListConversationMessagesParams, 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) ListEvents

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

func (*Client) ListFolders

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

func (*Client) ListGroups

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

func (*Client) ListInboxAccess

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

func (*Client) ListInboxChannels

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

func (*Client) ListInboxConversations

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

func (*Client) ListInboxCustomFields

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

func (*Client) ListInboxes

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

func (*Client) ListKnowledgeBases

func (c *Client) ListKnowledgeBases(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) ListLinkCustomFields

func (c *Client) ListLinkCustomFields(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) ListLinks(ctx context.Context, params *ListLinksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListMessageTemplates

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

func (*Client) ListNotes

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

func (*Client) ListRules

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

func (*Client) ListShifts

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

func (*Client) ListShiftsTeammates

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

func (*Client) ListTagChildren

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

func (*Client) ListTaggedConversations

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

func (*Client) ListTags

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

func (*Client) ListTeamChannels

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

func (*Client) ListTeamContactLists

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

func (*Client) ListTeamContacts

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

func (*Client) ListTeamFolders

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

func (*Client) ListTeamGroups

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

func (*Client) ListTeamInboxes

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

func (*Client) ListTeamMessageTemplates

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

func (*Client) ListTeamRules

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

func (*Client) ListTeamShifts

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

func (*Client) ListTeamSignatures

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

func (*Client) ListTeamTags

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

func (*Client) ListTeammateChannels

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

func (*Client) ListTeammateContactLists

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

func (*Client) ListTeammateContacts

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

func (*Client) ListTeammateCustomFields

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

func (*Client) ListTeammateFolders

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

func (*Client) ListTeammateGroups

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

func (*Client) ListTeammateInboxes

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

func (*Client) ListTeammateMessageTemplates

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

func (*Client) ListTeammateRules

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

func (*Client) ListTeammateShifts

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

func (*Client) ListTeammateSignatures

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

func (*Client) ListTeammateTags

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

func (*Client) ListTeammates

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

func (*Client) ListTeams

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

func (*Client) MarkMessageSeen

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

func (*Client) MarkMessageSeenWithBody

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

func (*Client) MergeContacts

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

func (*Client) MergeContactsWithBody

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

func (*Client) ReceiveCustomMessages

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

func (*Client) ReceiveCustomMessagesWithBody

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

func (*Client) RemoveCompanyTeammateGroupTeamInboxes

func (c *Client) RemoveCompanyTeammateGroupTeamInboxes(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeamInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveCompanyTeammateGroupTeamInboxesWithBody

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

func (*Client) RemoveCompanyTeammateGroupTeammates

func (c *Client) RemoveCompanyTeammateGroupTeammates(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveCompanyTeammateGroupTeammatesWithBody

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

func (*Client) RemoveCompanyTeammateGroupTeams

func (c *Client) RemoveCompanyTeammateGroupTeams(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveCompanyTeammateGroupTeamsWithBody

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

func (*Client) RemoveContactFromAccount

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

func (*Client) RemoveContactFromAccountWithBody

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

func (*Client) RemoveContactsFromContactList

func (c *Client) RemoveContactsFromContactList(ctx context.Context, contactListId string, body RemoveContactsFromContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveContactsFromContactListWithBody

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

func (*Client) RemoveContactsFromGroup

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

func (*Client) RemoveContactsFromGroupWithBody

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

func (*Client) RemoveConversationLinksWithBody

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

func (*Client) RemoveConversationTag

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

func (*Client) RemoveConversationTagWithBody

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

func (*Client) RemoveTeammatesFromShift

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

func (*Client) RemoveTeammatesFromShiftWithBody

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

func (*Client) RemoveTeammatesFromTeam

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

func (*Client) RemoveTeammatesFromTeamWithBody

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

func (*Client) RemovesInboxAccess

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

func (*Client) RemovesInboxAccessWithBody

func (c *Client) RemovesInboxAccessWithBody(ctx context.Context, inboxId 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)

func (*Client) TriggerAppEvent

func (c *Client) TriggerAppEvent(ctx context.Context, applicationUid string, body TriggerAppEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TriggerAppEventWithBody

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

func (*Client) UpdateACompanyTeammateGroup

func (c *Client) UpdateACompanyTeammateGroup(ctx context.Context, teammateGroupId string, body UpdateACompanyTeammateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateACompanyTeammateGroupWithBody

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

func (*Client) UpdateAContact

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

func (*Client) UpdateAContactWithBody

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

func (*Client) UpdateALinkWithBody

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

func (*Client) UpdateATag

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

func (*Client) UpdateATagWithBody

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

func (*Client) UpdateAccount

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

func (*Client) UpdateAccountWithBody

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

func (*Client) UpdateArticleContentInDefaultLocale

func (c *Client) UpdateArticleContentInDefaultLocale(ctx context.Context, articleId string, body UpdateArticleContentInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateArticleContentInDefaultLocaleWithBody

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

func (*Client) UpdateArticleContentInSpecifiedLocale

func (c *Client) UpdateArticleContentInSpecifiedLocale(ctx context.Context, articleId string, locale string, body UpdateArticleContentInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateArticleContentInSpecifiedLocaleWithBody

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

func (*Client) UpdateChannel

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

func (*Client) UpdateChannelWithBody

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

func (*Client) UpdateComment

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

func (*Client) UpdateCommentWithBody

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

func (*Client) UpdateConversation

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

func (*Client) UpdateConversationAssignee

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

func (*Client) UpdateConversationAssigneeWithBody

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

func (*Client) UpdateConversationReminders

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

func (*Client) UpdateConversationRemindersWithBody

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

func (*Client) UpdateConversationWithBody

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

func (*Client) UpdateFolder

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

func (*Client) UpdateFolderWithBody

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

func (*Client) UpdateKnowledgeBaseCategoryInDefaultLocale

func (c *Client) UpdateKnowledgeBaseCategoryInDefaultLocale(ctx context.Context, categoryId string, body UpdateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateKnowledgeBaseCategoryInDefaultLocaleWithBody

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

func (*Client) UpdateKnowledgeBaseCategoryInSpecifiedLocale

func (c *Client) UpdateKnowledgeBaseCategoryInSpecifiedLocale(ctx context.Context, categoryId string, locale string, body UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateKnowledgeBaseCategoryInSpecifiedLocaleWithBody

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

func (*Client) UpdateKnowledgeBaseInDefaultLocale

func (c *Client) UpdateKnowledgeBaseInDefaultLocale(ctx context.Context, knowledgeBaseId string, body UpdateKnowledgeBaseInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateKnowledgeBaseInDefaultLocaleWithBody

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

func (*Client) UpdateKnowledgeBaseInSpecifiedLocale

func (c *Client) UpdateKnowledgeBaseInSpecifiedLocale(ctx context.Context, knowledgeBaseId string, locale string, body UpdateKnowledgeBaseInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateKnowledgeBaseInSpecifiedLocaleWithBody

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

func (*Client) UpdateMessageTemplate

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

func (*Client) UpdateMessageTemplateWithBody

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

func (*Client) UpdateShift

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

func (*Client) UpdateShiftWithBody

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

func (*Client) UpdateSignature

func (c *Client) UpdateSignature(ctx context.Context, signatureId string, body UpdateSignatureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSignatureWithBody

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

func (*Client) UpdateTeammate

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

func (*Client) UpdateTeammateWithBody

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

func (*Client) ValidateChannel

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

type ClientInterface

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

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

	CreateAccount(ctx context.Context, body CreateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

	AddContactToAccount(ctx context.Context, accountId string, body AddContactToAccountJSONRequestBody, 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)

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

	TriggerAppEvent(ctx context.Context, applicationUid string, body TriggerAppEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

	UpdateComment(ctx context.Context, commentId string, body UpdateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	AddCommentReply(ctx context.Context, commentId string, body AddCommentReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

	CreateCompanyTag(ctx context.Context, body CreateCompanyTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

	CreateContactList(ctx context.Context, body CreateContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	RemoveContactsFromContactList(ctx context.Context, contactListId string, body RemoveContactsFromContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListContactsInContactList request
	ListContactsInContactList(ctx context.Context, contactListId string, params *ListContactsInContactListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AddContactsToContactList(ctx context.Context, contactListId string, body AddContactsToContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateContact(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	MergeContacts(ctx context.Context, body MergeContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	CreateConversation(ctx context.Context, body CreateConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListConversationCustomFields request
	ListConversationCustomFields(ctx context.Context, 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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// AddConversationFollowers request with any body
	AddConversationFollowersWithBody(ctx context.Context, conversationId string, params *AddConversationFollowersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddConversationFollowers(ctx context.Context, conversationId string, params *AddConversationFollowersParams, body AddConversationFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	CreateInbox(ctx context.Context, body CreateInboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

	// ListInboxConversations request
	ListInboxConversations(ctx context.Context, inboxId string, params *ListInboxConversationsParams, 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)

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

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

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

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

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

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

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

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

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

	UpdateArticleContentInDefaultLocale(ctx context.Context, articleId string, body UpdateArticleContentInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadAttachmentFromAnArticle request
	DownloadAttachmentFromAnArticle(ctx context.Context, articleId string, attachmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetKnowledgeBaseArticleWithContentInSpecifiedLocale request
	GetKnowledgeBaseArticleWithContentInSpecifiedLocale(ctx context.Context, articleId string, locale string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateArticleContentInSpecifiedLocale request with any body
	UpdateArticleContentInSpecifiedLocaleWithBody(ctx context.Context, articleId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateArticleContentInSpecifiedLocale(ctx context.Context, articleId string, locale string, body UpdateArticleContentInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	// ListArticlesInACategory request
	ListArticlesInACategory(ctx context.Context, categoryId string, params *ListArticlesInACategoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	UpdateKnowledgeBaseCategoryInDefaultLocale(ctx context.Context, categoryId string, body UpdateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetKnowledgeBaseCategoryWithContentInSpecifiedLocale request
	GetKnowledgeBaseCategoryWithContentInSpecifiedLocale(ctx context.Context, categoryId string, locale string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateKnowledgeBaseCategoryInSpecifiedLocale request with any body
	UpdateKnowledgeBaseCategoryInSpecifiedLocaleWithBody(ctx context.Context, categoryId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateKnowledgeBaseCategoryInSpecifiedLocale(ctx context.Context, categoryId string, locale string, body UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateAKnowledgeBase(ctx context.Context, body CreateAKnowledgeBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// ListArticlesInAKnowledgeBase request
	ListArticlesInAKnowledgeBase(ctx context.Context, knowledgeBaseId string, params *ListArticlesInAKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateArticleInAKnowledgeBaseInDefaultLocale(ctx context.Context, knowledgeBaseId string, body CreateArticleInAKnowledgeBaseInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCategoriesInAKnowledgeBase request
	ListCategoriesInAKnowledgeBase(ctx context.Context, knowledgeBaseId string, params *ListCategoriesInAKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateKnowledgeBaseCategoryInDefaultLocale(ctx context.Context, knowledgeBaseId string, body CreateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	UpdateKnowledgeBaseInDefaultLocale(ctx context.Context, knowledgeBaseId string, body UpdateKnowledgeBaseInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateArticleInAKnowledgeBaseInSpecifiedLocale request with any body
	CreateArticleInAKnowledgeBaseInSpecifiedLocaleWithBody(ctx context.Context, knowledgeBaseId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateArticleInAKnowledgeBaseInSpecifiedLocale(ctx context.Context, knowledgeBaseId string, locale string, body CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateKnowledgeBaseCategoryInSpecifiedLocale request with any body
	CreateKnowledgeBaseCategoryInSpecifiedLocaleWithBody(ctx context.Context, knowledgeBaseId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateKnowledgeBaseCategoryInSpecifiedLocale(ctx context.Context, knowledgeBaseId string, locale string, body CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAKnowledgeBaseWithContentInSpecifiedLocale request
	GetAKnowledgeBaseWithContentInSpecifiedLocale(ctx context.Context, knowledgeBaseId string, locale string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateKnowledgeBaseInSpecifiedLocale request with any body
	UpdateKnowledgeBaseInSpecifiedLocaleWithBody(ctx context.Context, knowledgeBaseId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateKnowledgeBaseInSpecifiedLocale(ctx context.Context, knowledgeBaseId string, locale string, body UpdateKnowledgeBaseInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateLink(ctx context.Context, body CreateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

	CreateFolder(ctx context.Context, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

	CreateMessageTemplate(ctx context.Context, body CreateMessageTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	CreateShift(ctx context.Context, body CreateShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

	UpdateSignature(ctx context.Context, signatureId string, body UpdateSignatureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateTag(ctx context.Context, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

	CreateCompanyTeammateGroup(ctx context.Context, body CreateCompanyTeammateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	UpdateACompanyTeammateGroup(ctx context.Context, teammateGroupId string, body UpdateACompanyTeammateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	RemoveCompanyTeammateGroupTeamInboxes(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeamInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	AddCompanyTeammateGroupTeamInboxes(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeamInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	RemoveCompanyTeammateGroupTeammates(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	AddCompanyTeammateGroupTeammates(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	RemoveCompanyTeammateGroupTeams(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	AddCompanyTeammateGroupTeams(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	AddTeammatesToTeam(ctx context.Context, teamId string, body AddTeammatesToTeamJSONRequestBody, 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, limiter Limiter) 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) AddCommentReplyWithBodyWithResponse

func (c *ClientWithResponses) AddCommentReplyWithBodyWithResponse(ctx context.Context, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCommentReplyResponse, error)

AddCommentReplyWithBodyWithResponse request with arbitrary body returning *AddCommentReplyResponse

func (*ClientWithResponses) AddCommentReplyWithResponse

func (c *ClientWithResponses) AddCommentReplyWithResponse(ctx context.Context, commentId string, body AddCommentReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCommentReplyResponse, error)

func (*ClientWithResponses) AddCommentWithBodyWithResponse

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

AddCommentWithBodyWithResponse request with arbitrary body returning *AddCommentResponse

func (*ClientWithResponses) AddCommentWithResponse

func (c *ClientWithResponses) AddCommentWithResponse(ctx context.Context, conversationId string, body AddCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCommentResponse, error)

func (*ClientWithResponses) AddCompanyTeammateGroupTeamInboxesWithBodyWithResponse

func (c *ClientWithResponses) AddCompanyTeammateGroupTeamInboxesWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeamInboxesResponse, error)

AddCompanyTeammateGroupTeamInboxesWithBodyWithResponse request with arbitrary body returning *AddCompanyTeammateGroupTeamInboxesResponse

func (*ClientWithResponses) AddCompanyTeammateGroupTeamInboxesWithResponse

func (c *ClientWithResponses) AddCompanyTeammateGroupTeamInboxesWithResponse(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeamInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeamInboxesResponse, error)

func (*ClientWithResponses) AddCompanyTeammateGroupTeammatesWithBodyWithResponse

func (c *ClientWithResponses) AddCompanyTeammateGroupTeammatesWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeammatesResponse, error)

AddCompanyTeammateGroupTeammatesWithBodyWithResponse request with arbitrary body returning *AddCompanyTeammateGroupTeammatesResponse

func (*ClientWithResponses) AddCompanyTeammateGroupTeammatesWithResponse

func (c *ClientWithResponses) AddCompanyTeammateGroupTeammatesWithResponse(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeammatesResponse, error)

func (*ClientWithResponses) AddCompanyTeammateGroupTeamsWithBodyWithResponse

func (c *ClientWithResponses) AddCompanyTeammateGroupTeamsWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeamsResponse, error)

AddCompanyTeammateGroupTeamsWithBodyWithResponse request with arbitrary body returning *AddCompanyTeammateGroupTeamsResponse

func (*ClientWithResponses) AddCompanyTeammateGroupTeamsWithResponse

func (c *ClientWithResponses) AddCompanyTeammateGroupTeamsWithResponse(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeamsResponse, error)

func (*ClientWithResponses) AddContactHandleWithBodyWithResponse

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

AddContactHandleWithBodyWithResponse request with arbitrary body returning *AddContactHandleResponse

func (*ClientWithResponses) AddContactHandleWithResponse

func (c *ClientWithResponses) AddContactHandleWithResponse(ctx context.Context, contactId string, body AddContactHandleJSONRequestBody, reqEditors ...RequestEditorFn) (*AddContactHandleResponse, error)

func (*ClientWithResponses) AddContactToAccountWithBodyWithResponse

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

AddContactToAccountWithBodyWithResponse request with arbitrary body returning *AddContactToAccountResponse

func (*ClientWithResponses) AddContactToAccountWithResponse

func (c *ClientWithResponses) AddContactToAccountWithResponse(ctx context.Context, accountId string, body AddContactToAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*AddContactToAccountResponse, error)

func (*ClientWithResponses) AddContactsToContactListWithBodyWithResponse

func (c *ClientWithResponses) AddContactsToContactListWithBodyWithResponse(ctx context.Context, contactListId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddContactsToContactListResponse, error)

AddContactsToContactListWithBodyWithResponse request with arbitrary body returning *AddContactsToContactListResponse

func (*ClientWithResponses) AddContactsToContactListWithResponse

func (c *ClientWithResponses) AddContactsToContactListWithResponse(ctx context.Context, contactListId string, body AddContactsToContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*AddContactsToContactListResponse, error)

func (*ClientWithResponses) AddContactsToGroupWithBodyWithResponse

func (c *ClientWithResponses) AddContactsToGroupWithBodyWithResponse(ctx context.Context, contactGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddContactsToGroupResponse, error)

AddContactsToGroupWithBodyWithResponse request with arbitrary body returning *AddContactsToGroupResponse

func (*ClientWithResponses) AddContactsToGroupWithResponse

func (c *ClientWithResponses) AddContactsToGroupWithResponse(ctx context.Context, contactGroupId string, body AddContactsToGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddContactsToGroupResponse, error)

func (*ClientWithResponses) AddConversationFollowersWithBodyWithResponse

func (c *ClientWithResponses) AddConversationFollowersWithBodyWithResponse(ctx context.Context, conversationId string, params *AddConversationFollowersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddConversationFollowersResponse, error)

AddConversationFollowersWithBodyWithResponse request with arbitrary body returning *AddConversationFollowersResponse

func (*ClientWithResponses) AddConversationFollowersWithResponse

func (c *ClientWithResponses) AddConversationFollowersWithResponse(ctx context.Context, conversationId string, params *AddConversationFollowersParams, body AddConversationFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*AddConversationFollowersResponse, error)

func (*ClientWithResponses) AddConversationLinkWithBodyWithResponse

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

AddConversationLinkWithBodyWithResponse request with arbitrary body returning *AddConversationLinkResponse

func (*ClientWithResponses) AddConversationLinkWithResponse

func (c *ClientWithResponses) AddConversationLinkWithResponse(ctx context.Context, conversationId string, body AddConversationLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*AddConversationLinkResponse, error)

func (*ClientWithResponses) AddConversationTagWithBodyWithResponse

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

AddConversationTagWithBodyWithResponse request with arbitrary body returning *AddConversationTagResponse

func (*ClientWithResponses) AddConversationTagWithResponse

func (c *ClientWithResponses) AddConversationTagWithResponse(ctx context.Context, conversationId string, body AddConversationTagJSONRequestBody, reqEditors ...RequestEditorFn) (*AddConversationTagResponse, error)

func (*ClientWithResponses) AddInboxAccessWithBodyWithResponse

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

AddInboxAccessWithBodyWithResponse request with arbitrary body returning *AddInboxAccessResponse

func (*ClientWithResponses) AddInboxAccessWithResponse

func (c *ClientWithResponses) AddInboxAccessWithResponse(ctx context.Context, inboxId string, body AddInboxAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*AddInboxAccessResponse, error)

func (*ClientWithResponses) AddNoteWithBodyWithResponse

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

AddNoteWithBodyWithResponse request with arbitrary body returning *AddNoteResponse

func (*ClientWithResponses) AddNoteWithResponse

func (c *ClientWithResponses) AddNoteWithResponse(ctx context.Context, contactId string, body AddNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*AddNoteResponse, error)

func (*ClientWithResponses) AddTeammatesToShiftWithBodyWithResponse

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

AddTeammatesToShiftWithBodyWithResponse request with arbitrary body returning *AddTeammatesToShiftResponse

func (*ClientWithResponses) AddTeammatesToShiftWithResponse

func (c *ClientWithResponses) AddTeammatesToShiftWithResponse(ctx context.Context, shiftId string, body AddTeammatesToShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTeammatesToShiftResponse, error)

func (*ClientWithResponses) AddTeammatesToTeamWithBodyWithResponse

func (c *ClientWithResponses) AddTeammatesToTeamWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTeammatesToTeamResponse, error)

AddTeammatesToTeamWithBodyWithResponse request with arbitrary body returning *AddTeammatesToTeamResponse

func (*ClientWithResponses) AddTeammatesToTeamWithResponse

func (c *ClientWithResponses) AddTeammatesToTeamWithResponse(ctx context.Context, teamId string, body AddTeammatesToTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTeammatesToTeamResponse, error)

func (*ClientWithResponses) ApiTokenDetailsWithResponse

func (c *ClientWithResponses) ApiTokenDetailsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ApiTokenDetailsResponse, error)

ApiTokenDetailsWithResponse request returning *ApiTokenDetailsResponse

func (*ClientWithResponses) CreateAChannelWithBodyWithResponse

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

CreateAChannelWithBodyWithResponse request with arbitrary body returning *CreateAChannelResponse

func (*ClientWithResponses) CreateAChannelWithResponse

func (c *ClientWithResponses) CreateAChannelWithResponse(ctx context.Context, inboxId string, body CreateAChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAChannelResponse, error)

func (*ClientWithResponses) CreateAKnowledgeBaseWithBodyWithResponse

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

CreateAKnowledgeBaseWithBodyWithResponse request with arbitrary body returning *CreateAKnowledgeBaseResponse

func (*ClientWithResponses) CreateAKnowledgeBaseWithResponse

func (c *ClientWithResponses) CreateAKnowledgeBaseWithResponse(ctx context.Context, body CreateAKnowledgeBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAKnowledgeBaseResponse, error)

func (*ClientWithResponses) CreateAccountWithBodyWithResponse

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

CreateAccountWithBodyWithResponse request with arbitrary body returning *CreateAccountResponse

func (*ClientWithResponses) CreateAccountWithResponse

func (c *ClientWithResponses) CreateAccountWithResponse(ctx context.Context, body CreateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccountResponse, error)

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

func (c *ClientWithResponses) CreateArticleInAKnowledgeBaseInDefaultLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateArticleInAKnowledgeBaseInDefaultLocaleResponse, error)

CreateArticleInAKnowledgeBaseInDefaultLocaleWithBodyWithResponse request with arbitrary body returning *CreateArticleInAKnowledgeBaseInDefaultLocaleResponse

func (*ClientWithResponses) CreateArticleInAKnowledgeBaseInDefaultLocaleWithResponse

func (c *ClientWithResponses) CreateArticleInAKnowledgeBaseInDefaultLocaleWithResponse(ctx context.Context, knowledgeBaseId string, body CreateArticleInAKnowledgeBaseInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateArticleInAKnowledgeBaseInDefaultLocaleResponse, error)

func (*ClientWithResponses) CreateArticleInAKnowledgeBaseInSpecifiedLocaleWithBodyWithResponse

func (c *ClientWithResponses) CreateArticleInAKnowledgeBaseInSpecifiedLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse, error)

CreateArticleInAKnowledgeBaseInSpecifiedLocaleWithBodyWithResponse request with arbitrary body returning *CreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse

func (*ClientWithResponses) CreateArticleInAKnowledgeBaseInSpecifiedLocaleWithResponse

func (c *ClientWithResponses) CreateArticleInAKnowledgeBaseInSpecifiedLocaleWithResponse(ctx context.Context, knowledgeBaseId string, locale string, body CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse, error)

func (*ClientWithResponses) CreateChildFolderWithBodyWithResponse

func (c *ClientWithResponses) CreateChildFolderWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChildFolderResponse, error)

CreateChildFolderWithBodyWithResponse request with arbitrary body returning *CreateChildFolderResponse

func (*ClientWithResponses) CreateChildFolderWithResponse

func (c *ClientWithResponses) CreateChildFolderWithResponse(ctx context.Context, messageTemplateFolderId string, body CreateChildFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChildFolderResponse, error)

func (*ClientWithResponses) CreateChildTagWithBodyWithResponse

func (c *ClientWithResponses) CreateChildTagWithBodyWithResponse(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChildTagResponse, error)

CreateChildTagWithBodyWithResponse request with arbitrary body returning *CreateChildTagResponse

func (*ClientWithResponses) CreateChildTagWithResponse

func (c *ClientWithResponses) CreateChildTagWithResponse(ctx context.Context, tagId string, body CreateChildTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChildTagResponse, error)

func (*ClientWithResponses) CreateChildTemplateWithBodyWithResponse

func (c *ClientWithResponses) CreateChildTemplateWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChildTemplateResponse, error)

CreateChildTemplateWithBodyWithResponse request with arbitrary body returning *CreateChildTemplateResponse

func (*ClientWithResponses) CreateChildTemplateWithResponse

func (c *ClientWithResponses) CreateChildTemplateWithResponse(ctx context.Context, messageTemplateFolderId string, body CreateChildTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChildTemplateResponse, error)

func (*ClientWithResponses) CreateCompanyTagWithBodyWithResponse

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

CreateCompanyTagWithBodyWithResponse request with arbitrary body returning *CreateCompanyTagResponse

func (*ClientWithResponses) CreateCompanyTagWithResponse

func (c *ClientWithResponses) CreateCompanyTagWithResponse(ctx context.Context, body CreateCompanyTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCompanyTagResponse, error)

func (*ClientWithResponses) CreateCompanyTeammateGroupWithBodyWithResponse

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

CreateCompanyTeammateGroupWithBodyWithResponse request with arbitrary body returning *CreateCompanyTeammateGroupResponse

func (*ClientWithResponses) CreateCompanyTeammateGroupWithResponse

func (c *ClientWithResponses) CreateCompanyTeammateGroupWithResponse(ctx context.Context, body CreateCompanyTeammateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCompanyTeammateGroupResponse, error)

func (*ClientWithResponses) CreateContactListWithBodyWithResponse

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

CreateContactListWithBodyWithResponse request with arbitrary body returning *CreateContactListResponse

func (*ClientWithResponses) CreateContactListWithResponse

func (c *ClientWithResponses) CreateContactListWithResponse(ctx context.Context, body CreateContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContactListResponse, error)

func (*ClientWithResponses) CreateContactWithBodyWithResponse

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

CreateContactWithBodyWithResponse request with arbitrary body returning *CreateContactResponse

func (*ClientWithResponses) CreateContactWithResponse

func (c *ClientWithResponses) CreateContactWithResponse(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)

func (*ClientWithResponses) CreateConversationWithBodyWithResponse

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

CreateConversationWithBodyWithResponse request with arbitrary body returning *CreateConversationResponse

func (*ClientWithResponses) CreateConversationWithResponse

func (c *ClientWithResponses) CreateConversationWithResponse(ctx context.Context, body CreateConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateConversationResponse, error)

func (*ClientWithResponses) CreateDraftReplyWithBodyWithResponse

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

CreateDraftReplyWithBodyWithResponse request with arbitrary body returning *CreateDraftReplyResponse

func (*ClientWithResponses) CreateDraftReplyWithResponse

func (c *ClientWithResponses) CreateDraftReplyWithResponse(ctx context.Context, conversationId string, body CreateDraftReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDraftReplyResponse, error)

func (*ClientWithResponses) CreateDraftWithBodyWithResponse

func (c *ClientWithResponses) CreateDraftWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDraftResponse, error)

CreateDraftWithBodyWithResponse request with arbitrary body returning *CreateDraftResponse

func (*ClientWithResponses) CreateDraftWithResponse

func (c *ClientWithResponses) CreateDraftWithResponse(ctx context.Context, channelId string, body CreateDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDraftResponse, error)

func (*ClientWithResponses) CreateFolderWithBodyWithResponse

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

CreateFolderWithBodyWithResponse request with arbitrary body returning *CreateFolderResponse

func (*ClientWithResponses) CreateFolderWithResponse

func (c *ClientWithResponses) CreateFolderWithResponse(ctx context.Context, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFolderResponse, error)

func (*ClientWithResponses) CreateGroupWithBodyWithResponse

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

CreateGroupWithBodyWithResponse request with arbitrary body returning *CreateGroupResponse

func (*ClientWithResponses) CreateGroupWithResponse

func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

func (*ClientWithResponses) CreateInboxWithBodyWithResponse

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

CreateInboxWithBodyWithResponse request with arbitrary body returning *CreateInboxResponse

func (*ClientWithResponses) CreateInboxWithResponse

func (c *ClientWithResponses) CreateInboxWithResponse(ctx context.Context, body CreateInboxJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInboxResponse, error)

func (*ClientWithResponses) CreateKnowledgeBaseCategoryInDefaultLocaleWithBodyWithResponse

func (c *ClientWithResponses) CreateKnowledgeBaseCategoryInDefaultLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKnowledgeBaseCategoryInDefaultLocaleResponse, error)

CreateKnowledgeBaseCategoryInDefaultLocaleWithBodyWithResponse request with arbitrary body returning *CreateKnowledgeBaseCategoryInDefaultLocaleResponse

func (*ClientWithResponses) CreateKnowledgeBaseCategoryInDefaultLocaleWithResponse

func (c *ClientWithResponses) CreateKnowledgeBaseCategoryInDefaultLocaleWithResponse(ctx context.Context, knowledgeBaseId string, body CreateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKnowledgeBaseCategoryInDefaultLocaleResponse, error)

func (*ClientWithResponses) CreateKnowledgeBaseCategoryInSpecifiedLocaleWithBodyWithResponse

func (c *ClientWithResponses) CreateKnowledgeBaseCategoryInSpecifiedLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKnowledgeBaseCategoryInSpecifiedLocaleResponse, error)

CreateKnowledgeBaseCategoryInSpecifiedLocaleWithBodyWithResponse request with arbitrary body returning *CreateKnowledgeBaseCategoryInSpecifiedLocaleResponse

func (*ClientWithResponses) CreateKnowledgeBaseCategoryInSpecifiedLocaleWithResponse

func (c *ClientWithResponses) CreateKnowledgeBaseCategoryInSpecifiedLocaleWithResponse(ctx context.Context, knowledgeBaseId string, locale string, body CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKnowledgeBaseCategoryInSpecifiedLocaleResponse, error)

func (*ClientWithResponses) CreateLinkWithBodyWithResponse

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

CreateLinkWithBodyWithResponse request with arbitrary body returning *CreateLinkResponse

func (*ClientWithResponses) CreateLinkWithResponse

func (c *ClientWithResponses) CreateLinkWithResponse(ctx context.Context, body CreateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLinkResponse, error)

func (*ClientWithResponses) CreateMessageReplyWithBodyWithResponse

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

CreateMessageReplyWithBodyWithResponse request with arbitrary body returning *CreateMessageReplyResponse

func (*ClientWithResponses) CreateMessageReplyWithResponse

func (c *ClientWithResponses) CreateMessageReplyWithResponse(ctx context.Context, conversationId string, body CreateMessageReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMessageReplyResponse, error)

func (*ClientWithResponses) CreateMessageTemplateWithBodyWithResponse

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

CreateMessageTemplateWithBodyWithResponse request with arbitrary body returning *CreateMessageTemplateResponse

func (*ClientWithResponses) CreateMessageTemplateWithResponse

func (c *ClientWithResponses) CreateMessageTemplateWithResponse(ctx context.Context, body CreateMessageTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMessageTemplateResponse, error)

func (*ClientWithResponses) CreateMessageWithBodyWithResponse

func (c *ClientWithResponses) CreateMessageWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMessageResponse, error)

CreateMessageWithBodyWithResponse request with arbitrary body returning *CreateMessageResponse

func (*ClientWithResponses) CreateMessageWithResponse

func (c *ClientWithResponses) CreateMessageWithResponse(ctx context.Context, channelId string, body CreateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMessageResponse, error)

func (*ClientWithResponses) CreateShiftWithBodyWithResponse

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

CreateShiftWithBodyWithResponse request with arbitrary body returning *CreateShiftResponse

func (*ClientWithResponses) CreateShiftWithResponse

func (c *ClientWithResponses) CreateShiftWithResponse(ctx context.Context, body CreateShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateShiftResponse, error)

func (*ClientWithResponses) CreateTagWithBodyWithResponse

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

CreateTagWithBodyWithResponse request with arbitrary body returning *CreateTagResponse

func (*ClientWithResponses) CreateTagWithResponse

func (c *ClientWithResponses) CreateTagWithResponse(ctx context.Context, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)

func (*ClientWithResponses) CreateTeamContactListWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamContactListWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamContactListResponse, error)

CreateTeamContactListWithBodyWithResponse request with arbitrary body returning *CreateTeamContactListResponse

func (*ClientWithResponses) CreateTeamContactListWithResponse

func (c *ClientWithResponses) CreateTeamContactListWithResponse(ctx context.Context, teamId string, body CreateTeamContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamContactListResponse, error)

func (*ClientWithResponses) CreateTeamContactWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamContactWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamContactResponse, error)

CreateTeamContactWithBodyWithResponse request with arbitrary body returning *CreateTeamContactResponse

func (*ClientWithResponses) CreateTeamContactWithResponse

func (c *ClientWithResponses) CreateTeamContactWithResponse(ctx context.Context, teamId string, body CreateTeamContactJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamContactResponse, error)

func (*ClientWithResponses) CreateTeamFolderWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamFolderWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamFolderResponse, error)

CreateTeamFolderWithBodyWithResponse request with arbitrary body returning *CreateTeamFolderResponse

func (*ClientWithResponses) CreateTeamFolderWithResponse

func (c *ClientWithResponses) CreateTeamFolderWithResponse(ctx context.Context, teamId string, body CreateTeamFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamFolderResponse, error)

func (*ClientWithResponses) CreateTeamGroupWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamGroupWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamGroupResponse, error)

CreateTeamGroupWithBodyWithResponse request with arbitrary body returning *CreateTeamGroupResponse

func (*ClientWithResponses) CreateTeamGroupWithResponse

func (c *ClientWithResponses) CreateTeamGroupWithResponse(ctx context.Context, teamId string, body CreateTeamGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamGroupResponse, error)

func (*ClientWithResponses) CreateTeamInboxWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamInboxWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamInboxResponse, error)

CreateTeamInboxWithBodyWithResponse request with arbitrary body returning *CreateTeamInboxResponse

func (*ClientWithResponses) CreateTeamInboxWithResponse

func (c *ClientWithResponses) CreateTeamInboxWithResponse(ctx context.Context, teamId string, body CreateTeamInboxJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamInboxResponse, error)

func (*ClientWithResponses) CreateTeamMessageTemplateWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamMessageTemplateWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamMessageTemplateResponse, error)

CreateTeamMessageTemplateWithBodyWithResponse request with arbitrary body returning *CreateTeamMessageTemplateResponse

func (*ClientWithResponses) CreateTeamMessageTemplateWithResponse

func (c *ClientWithResponses) CreateTeamMessageTemplateWithResponse(ctx context.Context, teamId string, body CreateTeamMessageTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamMessageTemplateResponse, error)

func (*ClientWithResponses) CreateTeamShiftWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamShiftWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamShiftResponse, error)

CreateTeamShiftWithBodyWithResponse request with arbitrary body returning *CreateTeamShiftResponse

func (*ClientWithResponses) CreateTeamShiftWithResponse

func (c *ClientWithResponses) CreateTeamShiftWithResponse(ctx context.Context, teamId string, body CreateTeamShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamShiftResponse, error)

func (*ClientWithResponses) CreateTeamSignatureWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamSignatureWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamSignatureResponse, error)

CreateTeamSignatureWithBodyWithResponse request with arbitrary body returning *CreateTeamSignatureResponse

func (*ClientWithResponses) CreateTeamSignatureWithResponse

func (c *ClientWithResponses) CreateTeamSignatureWithResponse(ctx context.Context, teamId string, body CreateTeamSignatureJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamSignatureResponse, error)

func (*ClientWithResponses) CreateTeamTagWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamTagWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamTagResponse, error)

CreateTeamTagWithBodyWithResponse request with arbitrary body returning *CreateTeamTagResponse

func (*ClientWithResponses) CreateTeamTagWithResponse

func (c *ClientWithResponses) CreateTeamTagWithResponse(ctx context.Context, teamId string, body CreateTeamTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamTagResponse, error)

func (*ClientWithResponses) CreateTeammateContactListWithBodyWithResponse

func (c *ClientWithResponses) CreateTeammateContactListWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateContactListResponse, error)

CreateTeammateContactListWithBodyWithResponse request with arbitrary body returning *CreateTeammateContactListResponse

func (*ClientWithResponses) CreateTeammateContactListWithResponse

func (c *ClientWithResponses) CreateTeammateContactListWithResponse(ctx context.Context, teammateId string, body CreateTeammateContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateContactListResponse, error)

func (*ClientWithResponses) CreateTeammateContactWithBodyWithResponse

func (c *ClientWithResponses) CreateTeammateContactWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateContactResponse, error)

CreateTeammateContactWithBodyWithResponse request with arbitrary body returning *CreateTeammateContactResponse

func (*ClientWithResponses) CreateTeammateContactWithResponse

func (c *ClientWithResponses) CreateTeammateContactWithResponse(ctx context.Context, teammateId string, body CreateTeammateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateContactResponse, error)

func (*ClientWithResponses) CreateTeammateFolderWithBodyWithResponse

func (c *ClientWithResponses) CreateTeammateFolderWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateFolderResponse, error)

CreateTeammateFolderWithBodyWithResponse request with arbitrary body returning *CreateTeammateFolderResponse

func (*ClientWithResponses) CreateTeammateFolderWithResponse

func (c *ClientWithResponses) CreateTeammateFolderWithResponse(ctx context.Context, teammateId string, body CreateTeammateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateFolderResponse, error)

func (*ClientWithResponses) CreateTeammateGroupWithBodyWithResponse

func (c *ClientWithResponses) CreateTeammateGroupWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateGroupResponse, error)

CreateTeammateGroupWithBodyWithResponse request with arbitrary body returning *CreateTeammateGroupResponse

func (*ClientWithResponses) CreateTeammateGroupWithResponse

func (c *ClientWithResponses) CreateTeammateGroupWithResponse(ctx context.Context, teammateId string, body CreateTeammateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateGroupResponse, error)

func (*ClientWithResponses) CreateTeammateMessageTemplateWithBodyWithResponse

func (c *ClientWithResponses) CreateTeammateMessageTemplateWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateMessageTemplateResponse, error)

CreateTeammateMessageTemplateWithBodyWithResponse request with arbitrary body returning *CreateTeammateMessageTemplateResponse

func (*ClientWithResponses) CreateTeammateMessageTemplateWithResponse

func (c *ClientWithResponses) CreateTeammateMessageTemplateWithResponse(ctx context.Context, teammateId string, body CreateTeammateMessageTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateMessageTemplateResponse, error)

func (*ClientWithResponses) CreateTeammateSignatureWithBodyWithResponse

func (c *ClientWithResponses) CreateTeammateSignatureWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateSignatureResponse, error)

CreateTeammateSignatureWithBodyWithResponse request with arbitrary body returning *CreateTeammateSignatureResponse

func (*ClientWithResponses) CreateTeammateSignatureWithResponse

func (c *ClientWithResponses) CreateTeammateSignatureWithResponse(ctx context.Context, teammateId string, body CreateTeammateSignatureJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateSignatureResponse, error)

func (*ClientWithResponses) CreateTeammateTagWithBodyWithResponse

func (c *ClientWithResponses) CreateTeammateTagWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateTagResponse, error)

CreateTeammateTagWithBodyWithResponse request with arbitrary body returning *CreateTeammateTagResponse

func (*ClientWithResponses) CreateTeammateTagWithResponse

func (c *ClientWithResponses) CreateTeammateTagWithResponse(ctx context.Context, teammateId string, body CreateTeammateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateTagResponse, error)

func (*ClientWithResponses) DeleteAContactWithResponse

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

DeleteAContactWithResponse request returning *DeleteAContactResponse

func (*ClientWithResponses) DeleteAKnowledgeBaseCategoryWithResponse

func (c *ClientWithResponses) DeleteAKnowledgeBaseCategoryWithResponse(ctx context.Context, categoryId string, reqEditors ...RequestEditorFn) (*DeleteAKnowledgeBaseCategoryResponse, error)

DeleteAKnowledgeBaseCategoryWithResponse request returning *DeleteAKnowledgeBaseCategoryResponse

func (*ClientWithResponses) DeleteAnAccountWithResponse

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

DeleteAnAccountWithResponse request returning *DeleteAnAccountResponse

func (*ClientWithResponses) DeleteAnArticleWithResponse

func (c *ClientWithResponses) DeleteAnArticleWithResponse(ctx context.Context, articleId string, reqEditors ...RequestEditorFn) (*DeleteAnArticleResponse, error)

DeleteAnArticleWithResponse request returning *DeleteAnArticleResponse

func (*ClientWithResponses) DeleteCompanyTeammateGroupWithResponse

func (c *ClientWithResponses) DeleteCompanyTeammateGroupWithResponse(ctx context.Context, teammateGroupId string, reqEditors ...RequestEditorFn) (*DeleteCompanyTeammateGroupResponse, error)

DeleteCompanyTeammateGroupWithResponse request returning *DeleteCompanyTeammateGroupResponse

func (*ClientWithResponses) DeleteContactHandleWithBodyWithResponse

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

DeleteContactHandleWithBodyWithResponse request with arbitrary body returning *DeleteContactHandleResponse

func (*ClientWithResponses) DeleteContactHandleWithResponse

func (c *ClientWithResponses) DeleteContactHandleWithResponse(ctx context.Context, contactId string, body DeleteContactHandleJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteContactHandleResponse, error)

func (*ClientWithResponses) DeleteContactListWithResponse

func (c *ClientWithResponses) DeleteContactListWithResponse(ctx context.Context, contactListId string, reqEditors ...RequestEditorFn) (*DeleteContactListResponse, error)

DeleteContactListWithResponse request returning *DeleteContactListResponse

func (*ClientWithResponses) DeleteConversationFollowersWithBodyWithResponse

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

DeleteConversationFollowersWithBodyWithResponse request with arbitrary body returning *DeleteConversationFollowersResponse

func (*ClientWithResponses) DeleteConversationFollowersWithResponse

func (c *ClientWithResponses) DeleteConversationFollowersWithResponse(ctx context.Context, conversationId string, body DeleteConversationFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteConversationFollowersResponse, error)

func (*ClientWithResponses) DeleteDraftWithBodyWithResponse

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

DeleteDraftWithBodyWithResponse request with arbitrary body returning *DeleteDraftResponse

func (*ClientWithResponses) DeleteDraftWithResponse

func (c *ClientWithResponses) DeleteDraftWithResponse(ctx context.Context, draftId string, body DeleteDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDraftResponse, error)

func (*ClientWithResponses) DeleteFolderWithResponse

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

DeleteFolderWithResponse request returning *DeleteFolderResponse

func (*ClientWithResponses) DeleteGroupWithResponse

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

DeleteGroupWithResponse request returning *DeleteGroupResponse

func (*ClientWithResponses) DeleteMessageTemplateWithResponse

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

DeleteMessageTemplateWithResponse request returning *DeleteMessageTemplateResponse

func (*ClientWithResponses) DeleteSignatureWithResponse

func (c *ClientWithResponses) DeleteSignatureWithResponse(ctx context.Context, signatureId string, reqEditors ...RequestEditorFn) (*DeleteSignatureResponse, error)

DeleteSignatureWithResponse request returning *DeleteSignatureResponse

func (*ClientWithResponses) DeleteTagWithResponse

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

DeleteTagWithResponse request returning *DeleteTagResponse

func (*ClientWithResponses) DownloadAttachmentForACommentWithResponse

func (c *ClientWithResponses) DownloadAttachmentForACommentWithResponse(ctx context.Context, commentId string, attachmentLinkId string, reqEditors ...RequestEditorFn) (*DownloadAttachmentForACommentResponse, error)

DownloadAttachmentForACommentWithResponse request returning *DownloadAttachmentForACommentResponse

func (*ClientWithResponses) DownloadAttachmentForAMessageTemplateWithResponse

func (c *ClientWithResponses) DownloadAttachmentForAMessageTemplateWithResponse(ctx context.Context, messageTemplateId string, attachmentLinkId string, reqEditors ...RequestEditorFn) (*DownloadAttachmentForAMessageTemplateResponse, error)

DownloadAttachmentForAMessageTemplateWithResponse request returning *DownloadAttachmentForAMessageTemplateResponse

func (*ClientWithResponses) DownloadAttachmentForAMessageWithResponse

func (c *ClientWithResponses) DownloadAttachmentForAMessageWithResponse(ctx context.Context, messageId string, attachmentLinkId string, reqEditors ...RequestEditorFn) (*DownloadAttachmentForAMessageResponse, error)

DownloadAttachmentForAMessageWithResponse request returning *DownloadAttachmentForAMessageResponse

func (*ClientWithResponses) DownloadAttachmentFromAnArticleWithResponse

func (c *ClientWithResponses) DownloadAttachmentFromAnArticleWithResponse(ctx context.Context, articleId string, attachmentId string, reqEditors ...RequestEditorFn) (*DownloadAttachmentFromAnArticleResponse, error)

DownloadAttachmentFromAnArticleWithResponse request returning *DownloadAttachmentFromAnArticleResponse

func (*ClientWithResponses) DownloadAttachmentWithResponse

func (c *ClientWithResponses) DownloadAttachmentWithResponse(ctx context.Context, attachmentLinkId string, reqEditors ...RequestEditorFn) (*DownloadAttachmentResponse, error)

DownloadAttachmentWithResponse request returning *DownloadAttachmentResponse

func (*ClientWithResponses) EditDraftWithBodyWithResponse

func (c *ClientWithResponses) EditDraftWithBodyWithResponse(ctx context.Context, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditDraftResponse, error)

EditDraftWithBodyWithResponse request with arbitrary body returning *EditDraftResponse

func (*ClientWithResponses) EditDraftWithResponse

func (c *ClientWithResponses) EditDraftWithResponse(ctx context.Context, messageId string, body EditDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*EditDraftResponse, error)

func (*ClientWithResponses) FetchAnAccountWithResponse

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

FetchAnAccountWithResponse request returning *FetchAnAccountResponse

func (*ClientWithResponses) GetAKnowledgeBaseArticleWithResponse

func (c *ClientWithResponses) GetAKnowledgeBaseArticleWithResponse(ctx context.Context, articleId string, reqEditors ...RequestEditorFn) (*GetAKnowledgeBaseArticleResponse, error)

GetAKnowledgeBaseArticleWithResponse request returning *GetAKnowledgeBaseArticleResponse

func (*ClientWithResponses) GetAKnowledgeBaseCategoryWithResponse

func (c *ClientWithResponses) GetAKnowledgeBaseCategoryWithResponse(ctx context.Context, categoryId string, reqEditors ...RequestEditorFn) (*GetAKnowledgeBaseCategoryResponse, error)

GetAKnowledgeBaseCategoryWithResponse request returning *GetAKnowledgeBaseCategoryResponse

func (*ClientWithResponses) GetAKnowledgeBaseWithContentInDefaultLocaleWithResponse

func (c *ClientWithResponses) GetAKnowledgeBaseWithContentInDefaultLocaleWithResponse(ctx context.Context, knowledgeBaseId string, reqEditors ...RequestEditorFn) (*GetAKnowledgeBaseWithContentInDefaultLocaleResponse, error)

GetAKnowledgeBaseWithContentInDefaultLocaleWithResponse request returning *GetAKnowledgeBaseWithContentInDefaultLocaleResponse

func (*ClientWithResponses) GetAKnowledgeBaseWithContentInSpecifiedLocaleWithResponse

func (c *ClientWithResponses) GetAKnowledgeBaseWithContentInSpecifiedLocaleWithResponse(ctx context.Context, knowledgeBaseId string, locale string, reqEditors ...RequestEditorFn) (*GetAKnowledgeBaseWithContentInSpecifiedLocaleResponse, error)

GetAKnowledgeBaseWithContentInSpecifiedLocaleWithResponse request returning *GetAKnowledgeBaseWithContentInSpecifiedLocaleResponse

func (*ClientWithResponses) GetAKnowledgeBaseWithResponse

func (c *ClientWithResponses) GetAKnowledgeBaseWithResponse(ctx context.Context, knowledgeBaseId string, reqEditors ...RequestEditorFn) (*GetAKnowledgeBaseResponse, error)

GetAKnowledgeBaseWithResponse request returning *GetAKnowledgeBaseResponse

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

func (c *ClientWithResponses) GetChannelWithResponse(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*GetChannelResponse, error)

GetChannelWithResponse request returning *GetChannelResponse

func (*ClientWithResponses) GetChildFoldersWithResponse

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

GetChildFoldersWithResponse request returning *GetChildFoldersResponse

func (*ClientWithResponses) GetChildTemplatesWithResponse

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

GetChildTemplatesWithResponse request returning *GetChildTemplatesResponse

func (*ClientWithResponses) GetCommentWithResponse

func (c *ClientWithResponses) GetCommentWithResponse(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*GetCommentResponse, error)

GetCommentWithResponse request returning *GetCommentResponse

func (*ClientWithResponses) GetCompanyTeammateGroupWithResponse

func (c *ClientWithResponses) GetCompanyTeammateGroupWithResponse(ctx context.Context, teammateGroupId string, reqEditors ...RequestEditorFn) (*GetCompanyTeammateGroupResponse, error)

GetCompanyTeammateGroupWithResponse request returning *GetCompanyTeammateGroupResponse

func (*ClientWithResponses) GetContactWithResponse

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

GetContactWithResponse request returning *GetContactResponse

func (*ClientWithResponses) GetConversationByIdWithResponse

func (c *ClientWithResponses) GetConversationByIdWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*GetConversationByIdResponse, error)

GetConversationByIdWithResponse request returning *GetConversationByIdResponse

func (*ClientWithResponses) GetEventWithResponse

func (c *ClientWithResponses) GetEventWithResponse(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*GetEventResponse, error)

GetEventWithResponse request returning *GetEventResponse

func (*ClientWithResponses) GetFolderWithResponse

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

GetFolderWithResponse request returning *GetFolderResponse

func (*ClientWithResponses) GetInboxWithResponse

func (c *ClientWithResponses) GetInboxWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*GetInboxResponse, error)

GetInboxWithResponse request returning *GetInboxResponse

func (*ClientWithResponses) GetKnowledgeBaseArticleWithContentInDefaultLocaleWithResponse

func (c *ClientWithResponses) GetKnowledgeBaseArticleWithContentInDefaultLocaleWithResponse(ctx context.Context, articleId string, reqEditors ...RequestEditorFn) (*GetKnowledgeBaseArticleWithContentInDefaultLocaleResponse, error)

GetKnowledgeBaseArticleWithContentInDefaultLocaleWithResponse request returning *GetKnowledgeBaseArticleWithContentInDefaultLocaleResponse

func (*ClientWithResponses) GetKnowledgeBaseArticleWithContentInSpecifiedLocaleWithResponse

func (c *ClientWithResponses) GetKnowledgeBaseArticleWithContentInSpecifiedLocaleWithResponse(ctx context.Context, articleId string, locale string, reqEditors ...RequestEditorFn) (*GetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse, error)

GetKnowledgeBaseArticleWithContentInSpecifiedLocaleWithResponse request returning *GetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse

func (*ClientWithResponses) GetKnowledgeBaseCategoryContentInDefaultLocaleWithResponse

func (c *ClientWithResponses) GetKnowledgeBaseCategoryContentInDefaultLocaleWithResponse(ctx context.Context, categoryId string, reqEditors ...RequestEditorFn) (*GetKnowledgeBaseCategoryContentInDefaultLocaleResponse, error)

GetKnowledgeBaseCategoryContentInDefaultLocaleWithResponse request returning *GetKnowledgeBaseCategoryContentInDefaultLocaleResponse

func (*ClientWithResponses) GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleWithResponse

func (c *ClientWithResponses) GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleWithResponse(ctx context.Context, categoryId string, locale string, reqEditors ...RequestEditorFn) (*GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse, error)

GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleWithResponse request returning *GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse

func (*ClientWithResponses) GetLinkWithResponse

func (c *ClientWithResponses) GetLinkWithResponse(ctx context.Context, linkId string, reqEditors ...RequestEditorFn) (*GetLinkResponse, error)

GetLinkWithResponse request returning *GetLinkResponse

func (*ClientWithResponses) GetMessageSeenStatusWithResponse

func (c *ClientWithResponses) GetMessageSeenStatusWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*GetMessageSeenStatusResponse, error)

GetMessageSeenStatusWithResponse request returning *GetMessageSeenStatusResponse

func (*ClientWithResponses) GetMessageTemplateWithResponse

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

GetMessageTemplateWithResponse request returning *GetMessageTemplateResponse

func (*ClientWithResponses) GetMessageWithResponse

func (c *ClientWithResponses) GetMessageWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*GetMessageResponse, error)

GetMessageWithResponse request returning *GetMessageResponse

func (*ClientWithResponses) GetRuleWithResponse

func (c *ClientWithResponses) GetRuleWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*GetRuleResponse, error)

GetRuleWithResponse request returning *GetRuleResponse

func (*ClientWithResponses) GetShiftWithResponse

func (c *ClientWithResponses) GetShiftWithResponse(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*GetShiftResponse, error)

GetShiftWithResponse request returning *GetShiftResponse

func (*ClientWithResponses) GetSignaturesWithResponse

func (c *ClientWithResponses) GetSignaturesWithResponse(ctx context.Context, signatureId string, reqEditors ...RequestEditorFn) (*GetSignaturesResponse, error)

GetSignaturesWithResponse request returning *GetSignaturesResponse

func (*ClientWithResponses) GetTagWithResponse

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

GetTagWithResponse request returning *GetTagResponse

func (*ClientWithResponses) GetTeamWithResponse

func (c *ClientWithResponses) GetTeamWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)

GetTeamWithResponse request returning *GetTeamResponse

func (*ClientWithResponses) GetTeammateWithResponse

func (c *ClientWithResponses) GetTeammateWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammateResponse, error)

GetTeammateWithResponse request returning *GetTeammateResponse

func (*ClientWithResponses) GetTicketStatusByIdWithResponse

func (c *ClientWithResponses) GetTicketStatusByIdWithResponse(ctx context.Context, statusId string, reqEditors ...RequestEditorFn) (*GetTicketStatusByIdResponse, error)

GetTicketStatusByIdWithResponse request returning *GetTicketStatusByIdResponse

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

func (c *ClientWithResponses) ListAccountContactsWithResponse(ctx context.Context, accountId string, params *ListAccountContactsParams, reqEditors ...RequestEditorFn) (*ListAccountContactsResponse, error)

ListAccountContactsWithResponse request returning *ListAccountContactsResponse

func (*ClientWithResponses) ListAccountCustomFieldsWithResponse

func (c *ClientWithResponses) ListAccountCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAccountCustomFieldsResponse, error)

ListAccountCustomFieldsWithResponse request returning *ListAccountCustomFieldsResponse

func (*ClientWithResponses) ListAccountsWithResponse

func (c *ClientWithResponses) ListAccountsWithResponse(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error)

ListAccountsWithResponse request returning *ListAccountsResponse

func (*ClientWithResponses) ListAllCompanyRulesWithResponse

func (c *ClientWithResponses) ListAllCompanyRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAllCompanyRulesResponse, error)

ListAllCompanyRulesWithResponse request returning *ListAllCompanyRulesResponse

func (*ClientWithResponses) ListArticlesInACategoryWithResponse

func (c *ClientWithResponses) ListArticlesInACategoryWithResponse(ctx context.Context, categoryId string, params *ListArticlesInACategoryParams, reqEditors ...RequestEditorFn) (*ListArticlesInACategoryResponse, error)

ListArticlesInACategoryWithResponse request returning *ListArticlesInACategoryResponse

func (*ClientWithResponses) ListArticlesInAKnowledgeBaseWithResponse

func (c *ClientWithResponses) ListArticlesInAKnowledgeBaseWithResponse(ctx context.Context, knowledgeBaseId string, params *ListArticlesInAKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*ListArticlesInAKnowledgeBaseResponse, error)

ListArticlesInAKnowledgeBaseWithResponse request returning *ListArticlesInAKnowledgeBaseResponse

func (*ClientWithResponses) ListAssignedConversationsWithResponse

func (c *ClientWithResponses) ListAssignedConversationsWithResponse(ctx context.Context, teammateId string, params *ListAssignedConversationsParams, reqEditors ...RequestEditorFn) (*ListAssignedConversationsResponse, error)

ListAssignedConversationsWithResponse request returning *ListAssignedConversationsResponse

func (*ClientWithResponses) ListCategoriesInAKnowledgeBaseWithResponse

func (c *ClientWithResponses) ListCategoriesInAKnowledgeBaseWithResponse(ctx context.Context, knowledgeBaseId string, params *ListCategoriesInAKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*ListCategoriesInAKnowledgeBaseResponse, error)

ListCategoriesInAKnowledgeBaseWithResponse request returning *ListCategoriesInAKnowledgeBaseResponse

func (*ClientWithResponses) ListChannelsWithResponse

func (c *ClientWithResponses) ListChannelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListChannelsResponse, error)

ListChannelsWithResponse request returning *ListChannelsResponse

func (*ClientWithResponses) ListCommentMentionsWithResponse

func (c *ClientWithResponses) ListCommentMentionsWithResponse(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*ListCommentMentionsResponse, error)

ListCommentMentionsWithResponse request returning *ListCommentMentionsResponse

func (*ClientWithResponses) ListCompanyTagsWithResponse

func (c *ClientWithResponses) ListCompanyTagsWithResponse(ctx context.Context, params *ListCompanyTagsParams, reqEditors ...RequestEditorFn) (*ListCompanyTagsResponse, error)

ListCompanyTagsWithResponse request returning *ListCompanyTagsResponse

func (*ClientWithResponses) ListCompanyTeammateGroupTeamInboxesWithResponse

func (c *ClientWithResponses) ListCompanyTeammateGroupTeamInboxesWithResponse(ctx context.Context, teammateGroupId string, reqEditors ...RequestEditorFn) (*ListCompanyTeammateGroupTeamInboxesResponse, error)

ListCompanyTeammateGroupTeamInboxesWithResponse request returning *ListCompanyTeammateGroupTeamInboxesResponse

func (*ClientWithResponses) ListCompanyTeammateGroupTeammatesWithResponse

func (c *ClientWithResponses) ListCompanyTeammateGroupTeammatesWithResponse(ctx context.Context, teammateGroupId string, reqEditors ...RequestEditorFn) (*ListCompanyTeammateGroupTeammatesResponse, error)

ListCompanyTeammateGroupTeammatesWithResponse request returning *ListCompanyTeammateGroupTeammatesResponse

func (*ClientWithResponses) ListCompanyTeammateGroupTeamsWithResponse

func (c *ClientWithResponses) ListCompanyTeammateGroupTeamsWithResponse(ctx context.Context, teammateGroupId string, reqEditors ...RequestEditorFn) (*ListCompanyTeammateGroupTeamsResponse, error)

ListCompanyTeammateGroupTeamsWithResponse request returning *ListCompanyTeammateGroupTeamsResponse

func (*ClientWithResponses) ListCompanyTeammateGroupsWithResponse

func (c *ClientWithResponses) ListCompanyTeammateGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCompanyTeammateGroupsResponse, error)

ListCompanyTeammateGroupsWithResponse request returning *ListCompanyTeammateGroupsResponse

func (*ClientWithResponses) ListCompanyTicketStatusesWithResponse

func (c *ClientWithResponses) ListCompanyTicketStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCompanyTicketStatusesResponse, error)

ListCompanyTicketStatusesWithResponse request returning *ListCompanyTicketStatusesResponse

func (*ClientWithResponses) ListContactConversationsWithResponse

func (c *ClientWithResponses) ListContactConversationsWithResponse(ctx context.Context, contactId string, params *ListContactConversationsParams, reqEditors ...RequestEditorFn) (*ListContactConversationsResponse, error)

ListContactConversationsWithResponse request returning *ListContactConversationsResponse

func (*ClientWithResponses) ListContactCustomFieldsWithResponse

func (c *ClientWithResponses) ListContactCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContactCustomFieldsResponse, error)

ListContactCustomFieldsWithResponse request returning *ListContactCustomFieldsResponse

func (*ClientWithResponses) ListContactListsWithResponse

func (c *ClientWithResponses) ListContactListsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContactListsResponse, error)

ListContactListsWithResponse request returning *ListContactListsResponse

func (*ClientWithResponses) ListContactsInContactListWithResponse

func (c *ClientWithResponses) ListContactsInContactListWithResponse(ctx context.Context, contactListId string, params *ListContactsInContactListParams, reqEditors ...RequestEditorFn) (*ListContactsInContactListResponse, error)

ListContactsInContactListWithResponse request returning *ListContactsInContactListResponse

func (*ClientWithResponses) ListContactsInGroupWithResponse

func (c *ClientWithResponses) ListContactsInGroupWithResponse(ctx context.Context, contactGroupId string, params *ListContactsInGroupParams, reqEditors ...RequestEditorFn) (*ListContactsInGroupResponse, error)

ListContactsInGroupWithResponse request returning *ListContactsInGroupResponse

func (*ClientWithResponses) ListContactsWithResponse

func (c *ClientWithResponses) ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)

ListContactsWithResponse request returning *ListContactsResponse

func (*ClientWithResponses) ListConversationCommentsWithResponse

func (c *ClientWithResponses) ListConversationCommentsWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*ListConversationCommentsResponse, error)

ListConversationCommentsWithResponse request returning *ListConversationCommentsResponse

func (*ClientWithResponses) ListConversationCustomFieldsWithResponse

func (c *ClientWithResponses) ListConversationCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListConversationCustomFieldsResponse, error)

ListConversationCustomFieldsWithResponse request returning *ListConversationCustomFieldsResponse

func (*ClientWithResponses) ListConversationDraftsWithResponse

func (c *ClientWithResponses) ListConversationDraftsWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*ListConversationDraftsResponse, error)

ListConversationDraftsWithResponse request returning *ListConversationDraftsResponse

func (*ClientWithResponses) ListConversationEventsWithResponse

func (c *ClientWithResponses) ListConversationEventsWithResponse(ctx context.Context, conversationId string, params *ListConversationEventsParams, reqEditors ...RequestEditorFn) (*ListConversationEventsResponse, error)

ListConversationEventsWithResponse request returning *ListConversationEventsResponse

func (*ClientWithResponses) ListConversationFollowersWithResponse

func (c *ClientWithResponses) ListConversationFollowersWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*ListConversationFollowersResponse, error)

ListConversationFollowersWithResponse request returning *ListConversationFollowersResponse

func (*ClientWithResponses) ListConversationInboxesWithResponse

func (c *ClientWithResponses) ListConversationInboxesWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*ListConversationInboxesResponse, error)

ListConversationInboxesWithResponse request returning *ListConversationInboxesResponse

func (*ClientWithResponses) ListConversationMessagesWithResponse

func (c *ClientWithResponses) ListConversationMessagesWithResponse(ctx context.Context, conversationId string, params *ListConversationMessagesParams, reqEditors ...RequestEditorFn) (*ListConversationMessagesResponse, error)

ListConversationMessagesWithResponse request returning *ListConversationMessagesResponse

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

func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error)

ListEventsWithResponse request returning *ListEventsResponse

func (*ClientWithResponses) ListFoldersWithResponse

func (c *ClientWithResponses) ListFoldersWithResponse(ctx context.Context, params *ListFoldersParams, reqEditors ...RequestEditorFn) (*ListFoldersResponse, error)

ListFoldersWithResponse request returning *ListFoldersResponse

func (*ClientWithResponses) ListGroupsWithResponse

func (c *ClientWithResponses) ListGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListGroupsResponse, error)

ListGroupsWithResponse request returning *ListGroupsResponse

func (*ClientWithResponses) ListInboxAccessWithResponse

func (c *ClientWithResponses) ListInboxAccessWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*ListInboxAccessResponse, error)

ListInboxAccessWithResponse request returning *ListInboxAccessResponse

func (*ClientWithResponses) ListInboxChannelsWithResponse

func (c *ClientWithResponses) ListInboxChannelsWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*ListInboxChannelsResponse, error)

ListInboxChannelsWithResponse request returning *ListInboxChannelsResponse

func (*ClientWithResponses) ListInboxConversationsWithResponse

func (c *ClientWithResponses) ListInboxConversationsWithResponse(ctx context.Context, inboxId string, params *ListInboxConversationsParams, reqEditors ...RequestEditorFn) (*ListInboxConversationsResponse, error)

ListInboxConversationsWithResponse request returning *ListInboxConversationsResponse

func (*ClientWithResponses) ListInboxCustomFieldsWithResponse

func (c *ClientWithResponses) ListInboxCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInboxCustomFieldsResponse, error)

ListInboxCustomFieldsWithResponse request returning *ListInboxCustomFieldsResponse

func (*ClientWithResponses) ListInboxesWithResponse

func (c *ClientWithResponses) ListInboxesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInboxesResponse, error)

ListInboxesWithResponse request returning *ListInboxesResponse

func (*ClientWithResponses) ListKnowledgeBasesWithResponse

func (c *ClientWithResponses) ListKnowledgeBasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListKnowledgeBasesResponse, error)

ListKnowledgeBasesWithResponse request returning *ListKnowledgeBasesResponse

func (*ClientWithResponses) ListLinkConversationsWithResponse

func (c *ClientWithResponses) ListLinkConversationsWithResponse(ctx context.Context, linkId string, params *ListLinkConversationsParams, reqEditors ...RequestEditorFn) (*ListLinkConversationsResponse, error)

ListLinkConversationsWithResponse request returning *ListLinkConversationsResponse

func (*ClientWithResponses) ListLinkCustomFieldsWithResponse

func (c *ClientWithResponses) ListLinkCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLinkCustomFieldsResponse, error)

ListLinkCustomFieldsWithResponse request returning *ListLinkCustomFieldsResponse

func (*ClientWithResponses) ListLinksWithResponse

func (c *ClientWithResponses) ListLinksWithResponse(ctx context.Context, params *ListLinksParams, reqEditors ...RequestEditorFn) (*ListLinksResponse, error)

ListLinksWithResponse request returning *ListLinksResponse

func (*ClientWithResponses) ListMessageTemplatesWithResponse

func (c *ClientWithResponses) ListMessageTemplatesWithResponse(ctx context.Context, params *ListMessageTemplatesParams, reqEditors ...RequestEditorFn) (*ListMessageTemplatesResponse, error)

ListMessageTemplatesWithResponse request returning *ListMessageTemplatesResponse

func (*ClientWithResponses) ListNotesWithResponse

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

ListNotesWithResponse request returning *ListNotesResponse

func (*ClientWithResponses) ListRulesWithResponse

func (c *ClientWithResponses) ListRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRulesResponse, error)

ListRulesWithResponse request returning *ListRulesResponse

func (*ClientWithResponses) ListShiftsTeammatesWithResponse

func (c *ClientWithResponses) ListShiftsTeammatesWithResponse(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*ListShiftsTeammatesResponse, error)

ListShiftsTeammatesWithResponse request returning *ListShiftsTeammatesResponse

func (*ClientWithResponses) ListShiftsWithResponse

func (c *ClientWithResponses) ListShiftsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListShiftsResponse, error)

ListShiftsWithResponse request returning *ListShiftsResponse

func (*ClientWithResponses) ListTagChildrenWithResponse

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

ListTagChildrenWithResponse request returning *ListTagChildrenResponse

func (*ClientWithResponses) ListTaggedConversationsWithResponse

func (c *ClientWithResponses) ListTaggedConversationsWithResponse(ctx context.Context, tagId string, params *ListTaggedConversationsParams, reqEditors ...RequestEditorFn) (*ListTaggedConversationsResponse, error)

ListTaggedConversationsWithResponse request returning *ListTaggedConversationsResponse

func (*ClientWithResponses) ListTagsWithResponse

func (c *ClientWithResponses) ListTagsWithResponse(ctx context.Context, params *ListTagsParams, reqEditors ...RequestEditorFn) (*ListTagsResponse, error)

ListTagsWithResponse request returning *ListTagsResponse

func (*ClientWithResponses) ListTeamChannelsWithResponse

func (c *ClientWithResponses) ListTeamChannelsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamChannelsResponse, error)

ListTeamChannelsWithResponse request returning *ListTeamChannelsResponse

func (*ClientWithResponses) ListTeamContactListsWithResponse

func (c *ClientWithResponses) ListTeamContactListsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamContactListsResponse, error)

ListTeamContactListsWithResponse request returning *ListTeamContactListsResponse

func (*ClientWithResponses) ListTeamContactsWithResponse

func (c *ClientWithResponses) ListTeamContactsWithResponse(ctx context.Context, teamId string, params *ListTeamContactsParams, reqEditors ...RequestEditorFn) (*ListTeamContactsResponse, error)

ListTeamContactsWithResponse request returning *ListTeamContactsResponse

func (*ClientWithResponses) ListTeamFoldersWithResponse

func (c *ClientWithResponses) ListTeamFoldersWithResponse(ctx context.Context, teamId string, params *ListTeamFoldersParams, reqEditors ...RequestEditorFn) (*ListTeamFoldersResponse, error)

ListTeamFoldersWithResponse request returning *ListTeamFoldersResponse

func (*ClientWithResponses) ListTeamGroupsWithResponse

func (c *ClientWithResponses) ListTeamGroupsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamGroupsResponse, error)

ListTeamGroupsWithResponse request returning *ListTeamGroupsResponse

func (*ClientWithResponses) ListTeamInboxesWithResponse

func (c *ClientWithResponses) ListTeamInboxesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamInboxesResponse, error)

ListTeamInboxesWithResponse request returning *ListTeamInboxesResponse

func (*ClientWithResponses) ListTeamMessageTemplatesWithResponse

func (c *ClientWithResponses) ListTeamMessageTemplatesWithResponse(ctx context.Context, teamId string, params *ListTeamMessageTemplatesParams, reqEditors ...RequestEditorFn) (*ListTeamMessageTemplatesResponse, error)

ListTeamMessageTemplatesWithResponse request returning *ListTeamMessageTemplatesResponse

func (*ClientWithResponses) ListTeamRulesWithResponse

func (c *ClientWithResponses) ListTeamRulesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamRulesResponse, error)

ListTeamRulesWithResponse request returning *ListTeamRulesResponse

func (*ClientWithResponses) ListTeamShiftsWithResponse

func (c *ClientWithResponses) ListTeamShiftsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamShiftsResponse, error)

ListTeamShiftsWithResponse request returning *ListTeamShiftsResponse

func (*ClientWithResponses) ListTeamSignaturesWithResponse

func (c *ClientWithResponses) ListTeamSignaturesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamSignaturesResponse, error)

ListTeamSignaturesWithResponse request returning *ListTeamSignaturesResponse

func (*ClientWithResponses) ListTeamTagsWithResponse

func (c *ClientWithResponses) ListTeamTagsWithResponse(ctx context.Context, teamId string, params *ListTeamTagsParams, reqEditors ...RequestEditorFn) (*ListTeamTagsResponse, error)

ListTeamTagsWithResponse request returning *ListTeamTagsResponse

func (*ClientWithResponses) ListTeammateChannelsWithResponse

func (c *ClientWithResponses) ListTeammateChannelsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateChannelsResponse, error)

ListTeammateChannelsWithResponse request returning *ListTeammateChannelsResponse

func (*ClientWithResponses) ListTeammateContactListsWithResponse

func (c *ClientWithResponses) ListTeammateContactListsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateContactListsResponse, error)

ListTeammateContactListsWithResponse request returning *ListTeammateContactListsResponse

func (*ClientWithResponses) ListTeammateContactsWithResponse

func (c *ClientWithResponses) ListTeammateContactsWithResponse(ctx context.Context, teammateId string, params *ListTeammateContactsParams, reqEditors ...RequestEditorFn) (*ListTeammateContactsResponse, error)

ListTeammateContactsWithResponse request returning *ListTeammateContactsResponse

func (*ClientWithResponses) ListTeammateCustomFieldsWithResponse

func (c *ClientWithResponses) ListTeammateCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeammateCustomFieldsResponse, error)

ListTeammateCustomFieldsWithResponse request returning *ListTeammateCustomFieldsResponse

func (*ClientWithResponses) ListTeammateFoldersWithResponse

func (c *ClientWithResponses) ListTeammateFoldersWithResponse(ctx context.Context, teammateId string, params *ListTeammateFoldersParams, reqEditors ...RequestEditorFn) (*ListTeammateFoldersResponse, error)

ListTeammateFoldersWithResponse request returning *ListTeammateFoldersResponse

func (*ClientWithResponses) ListTeammateGroupsWithResponse

func (c *ClientWithResponses) ListTeammateGroupsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateGroupsResponse, error)

ListTeammateGroupsWithResponse request returning *ListTeammateGroupsResponse

func (*ClientWithResponses) ListTeammateInboxesWithResponse

func (c *ClientWithResponses) ListTeammateInboxesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateInboxesResponse, error)

ListTeammateInboxesWithResponse request returning *ListTeammateInboxesResponse

func (*ClientWithResponses) ListTeammateMessageTemplatesWithResponse

func (c *ClientWithResponses) ListTeammateMessageTemplatesWithResponse(ctx context.Context, teammateId string, params *ListTeammateMessageTemplatesParams, reqEditors ...RequestEditorFn) (*ListTeammateMessageTemplatesResponse, error)

ListTeammateMessageTemplatesWithResponse request returning *ListTeammateMessageTemplatesResponse

func (*ClientWithResponses) ListTeammateRulesWithResponse

func (c *ClientWithResponses) ListTeammateRulesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateRulesResponse, error)

ListTeammateRulesWithResponse request returning *ListTeammateRulesResponse

func (*ClientWithResponses) ListTeammateShiftsWithResponse

func (c *ClientWithResponses) ListTeammateShiftsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateShiftsResponse, error)

ListTeammateShiftsWithResponse request returning *ListTeammateShiftsResponse

func (*ClientWithResponses) ListTeammateSignaturesWithResponse

func (c *ClientWithResponses) ListTeammateSignaturesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateSignaturesResponse, error)

ListTeammateSignaturesWithResponse request returning *ListTeammateSignaturesResponse

func (*ClientWithResponses) ListTeammateTagsWithResponse

func (c *ClientWithResponses) ListTeammateTagsWithResponse(ctx context.Context, teammateId string, params *ListTeammateTagsParams, reqEditors ...RequestEditorFn) (*ListTeammateTagsResponse, error)

ListTeammateTagsWithResponse request returning *ListTeammateTagsResponse

func (*ClientWithResponses) ListTeammatesWithResponse

func (c *ClientWithResponses) ListTeammatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeammatesResponse, error)

ListTeammatesWithResponse request returning *ListTeammatesResponse

func (*ClientWithResponses) ListTeamsWithResponse

func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)

ListTeamsWithResponse request returning *ListTeamsResponse

func (*ClientWithResponses) MarkMessageSeenWithBodyWithResponse

func (c *ClientWithResponses) MarkMessageSeenWithBodyWithResponse(ctx context.Context, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkMessageSeenResponse, error)

MarkMessageSeenWithBodyWithResponse request with arbitrary body returning *MarkMessageSeenResponse

func (*ClientWithResponses) MarkMessageSeenWithResponse

func (c *ClientWithResponses) MarkMessageSeenWithResponse(ctx context.Context, messageId string, body MarkMessageSeenJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkMessageSeenResponse, error)

func (*ClientWithResponses) MergeContactsWithBodyWithResponse

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

MergeContactsWithBodyWithResponse request with arbitrary body returning *MergeContactsResponse

func (*ClientWithResponses) MergeContactsWithResponse

func (c *ClientWithResponses) MergeContactsWithResponse(ctx context.Context, body MergeContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*MergeContactsResponse, error)

func (*ClientWithResponses) ReceiveCustomMessagesWithBodyWithResponse

func (c *ClientWithResponses) ReceiveCustomMessagesWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReceiveCustomMessagesResponse, error)

ReceiveCustomMessagesWithBodyWithResponse request with arbitrary body returning *ReceiveCustomMessagesResponse

func (*ClientWithResponses) ReceiveCustomMessagesWithResponse

func (c *ClientWithResponses) ReceiveCustomMessagesWithResponse(ctx context.Context, channelId string, body ReceiveCustomMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*ReceiveCustomMessagesResponse, error)

func (*ClientWithResponses) RemoveCompanyTeammateGroupTeamInboxesWithBodyWithResponse

func (c *ClientWithResponses) RemoveCompanyTeammateGroupTeamInboxesWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeamInboxesResponse, error)

RemoveCompanyTeammateGroupTeamInboxesWithBodyWithResponse request with arbitrary body returning *RemoveCompanyTeammateGroupTeamInboxesResponse

func (*ClientWithResponses) RemoveCompanyTeammateGroupTeamInboxesWithResponse

func (c *ClientWithResponses) RemoveCompanyTeammateGroupTeamInboxesWithResponse(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeamInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeamInboxesResponse, error)

func (*ClientWithResponses) RemoveCompanyTeammateGroupTeammatesWithBodyWithResponse

func (c *ClientWithResponses) RemoveCompanyTeammateGroupTeammatesWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeammatesResponse, error)

RemoveCompanyTeammateGroupTeammatesWithBodyWithResponse request with arbitrary body returning *RemoveCompanyTeammateGroupTeammatesResponse

func (*ClientWithResponses) RemoveCompanyTeammateGroupTeammatesWithResponse

func (c *ClientWithResponses) RemoveCompanyTeammateGroupTeammatesWithResponse(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeammatesResponse, error)

func (*ClientWithResponses) RemoveCompanyTeammateGroupTeamsWithBodyWithResponse

func (c *ClientWithResponses) RemoveCompanyTeammateGroupTeamsWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeamsResponse, error)

RemoveCompanyTeammateGroupTeamsWithBodyWithResponse request with arbitrary body returning *RemoveCompanyTeammateGroupTeamsResponse

func (*ClientWithResponses) RemoveCompanyTeammateGroupTeamsWithResponse

func (c *ClientWithResponses) RemoveCompanyTeammateGroupTeamsWithResponse(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeamsResponse, error)

func (*ClientWithResponses) RemoveContactFromAccountWithBodyWithResponse

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

RemoveContactFromAccountWithBodyWithResponse request with arbitrary body returning *RemoveContactFromAccountResponse

func (*ClientWithResponses) RemoveContactFromAccountWithResponse

func (c *ClientWithResponses) RemoveContactFromAccountWithResponse(ctx context.Context, accountId string, body RemoveContactFromAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveContactFromAccountResponse, error)

func (*ClientWithResponses) RemoveContactsFromContactListWithBodyWithResponse

func (c *ClientWithResponses) RemoveContactsFromContactListWithBodyWithResponse(ctx context.Context, contactListId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveContactsFromContactListResponse, error)

RemoveContactsFromContactListWithBodyWithResponse request with arbitrary body returning *RemoveContactsFromContactListResponse

func (*ClientWithResponses) RemoveContactsFromContactListWithResponse

func (c *ClientWithResponses) RemoveContactsFromContactListWithResponse(ctx context.Context, contactListId string, body RemoveContactsFromContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveContactsFromContactListResponse, error)

func (*ClientWithResponses) RemoveContactsFromGroupWithBodyWithResponse

func (c *ClientWithResponses) RemoveContactsFromGroupWithBodyWithResponse(ctx context.Context, contactGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveContactsFromGroupResponse, error)

RemoveContactsFromGroupWithBodyWithResponse request with arbitrary body returning *RemoveContactsFromGroupResponse

func (*ClientWithResponses) RemoveContactsFromGroupWithResponse

func (c *ClientWithResponses) RemoveContactsFromGroupWithResponse(ctx context.Context, contactGroupId string, body RemoveContactsFromGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveContactsFromGroupResponse, error)

func (*ClientWithResponses) RemoveConversationLinksWithBodyWithResponse

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

RemoveConversationLinksWithBodyWithResponse request with arbitrary body returning *RemoveConversationLinksResponse

func (*ClientWithResponses) RemoveConversationLinksWithResponse

func (c *ClientWithResponses) RemoveConversationLinksWithResponse(ctx context.Context, conversationId string, body RemoveConversationLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveConversationLinksResponse, error)

func (*ClientWithResponses) RemoveConversationTagWithBodyWithResponse

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

RemoveConversationTagWithBodyWithResponse request with arbitrary body returning *RemoveConversationTagResponse

func (*ClientWithResponses) RemoveConversationTagWithResponse

func (c *ClientWithResponses) RemoveConversationTagWithResponse(ctx context.Context, conversationId string, body RemoveConversationTagJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveConversationTagResponse, error)

func (*ClientWithResponses) RemoveTeammatesFromShiftWithBodyWithResponse

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

RemoveTeammatesFromShiftWithBodyWithResponse request with arbitrary body returning *RemoveTeammatesFromShiftResponse

func (*ClientWithResponses) RemoveTeammatesFromShiftWithResponse

func (c *ClientWithResponses) RemoveTeammatesFromShiftWithResponse(ctx context.Context, shiftId string, body RemoveTeammatesFromShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTeammatesFromShiftResponse, error)

func (*ClientWithResponses) RemoveTeammatesFromTeamWithBodyWithResponse

func (c *ClientWithResponses) RemoveTeammatesFromTeamWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTeammatesFromTeamResponse, error)

RemoveTeammatesFromTeamWithBodyWithResponse request with arbitrary body returning *RemoveTeammatesFromTeamResponse

func (*ClientWithResponses) RemoveTeammatesFromTeamWithResponse

func (c *ClientWithResponses) RemoveTeammatesFromTeamWithResponse(ctx context.Context, teamId string, body RemoveTeammatesFromTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTeammatesFromTeamResponse, error)

func (*ClientWithResponses) RemovesInboxAccessWithBodyWithResponse

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

RemovesInboxAccessWithBodyWithResponse request with arbitrary body returning *RemovesInboxAccessResponse

func (*ClientWithResponses) RemovesInboxAccessWithResponse

func (c *ClientWithResponses) RemovesInboxAccessWithResponse(ctx context.Context, inboxId string, body RemovesInboxAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*RemovesInboxAccessResponse, error)

func (*ClientWithResponses) SearchConversationsWithResponse

func (c *ClientWithResponses) SearchConversationsWithResponse(ctx context.Context, query string, params *SearchConversationsParams, reqEditors ...RequestEditorFn) (*SearchConversationsResponse, error)

SearchConversationsWithResponse request returning *SearchConversationsResponse

func (*ClientWithResponses) TriggerAppEventWithBodyWithResponse

func (c *ClientWithResponses) TriggerAppEventWithBodyWithResponse(ctx context.Context, applicationUid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TriggerAppEventResponse, error)

TriggerAppEventWithBodyWithResponse request with arbitrary body returning *TriggerAppEventResponse

func (*ClientWithResponses) TriggerAppEventWithResponse

func (c *ClientWithResponses) TriggerAppEventWithResponse(ctx context.Context, applicationUid string, body TriggerAppEventJSONRequestBody, reqEditors ...RequestEditorFn) (*TriggerAppEventResponse, error)

func (*ClientWithResponses) UpdateACompanyTeammateGroupWithBodyWithResponse

func (c *ClientWithResponses) UpdateACompanyTeammateGroupWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateACompanyTeammateGroupResponse, error)

UpdateACompanyTeammateGroupWithBodyWithResponse request with arbitrary body returning *UpdateACompanyTeammateGroupResponse

func (*ClientWithResponses) UpdateACompanyTeammateGroupWithResponse

func (c *ClientWithResponses) UpdateACompanyTeammateGroupWithResponse(ctx context.Context, teammateGroupId string, body UpdateACompanyTeammateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateACompanyTeammateGroupResponse, error)

func (*ClientWithResponses) UpdateAContactWithBodyWithResponse

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

UpdateAContactWithBodyWithResponse request with arbitrary body returning *UpdateAContactResponse

func (*ClientWithResponses) UpdateAContactWithResponse

func (c *ClientWithResponses) UpdateAContactWithResponse(ctx context.Context, contactId string, body UpdateAContactJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAContactResponse, error)

func (*ClientWithResponses) UpdateALinkWithBodyWithResponse

func (c *ClientWithResponses) UpdateALinkWithBodyWithResponse(ctx context.Context, linkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateALinkResponse, error)

UpdateALinkWithBodyWithResponse request with arbitrary body returning *UpdateALinkResponse

func (*ClientWithResponses) UpdateALinkWithResponse

func (c *ClientWithResponses) UpdateALinkWithResponse(ctx context.Context, linkId string, body UpdateALinkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateALinkResponse, error)

func (*ClientWithResponses) UpdateATagWithBodyWithResponse

func (c *ClientWithResponses) UpdateATagWithBodyWithResponse(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateATagResponse, error)

UpdateATagWithBodyWithResponse request with arbitrary body returning *UpdateATagResponse

func (*ClientWithResponses) UpdateATagWithResponse

func (c *ClientWithResponses) UpdateATagWithResponse(ctx context.Context, tagId string, body UpdateATagJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateATagResponse, error)

func (*ClientWithResponses) UpdateAccountWithBodyWithResponse

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

UpdateAccountWithBodyWithResponse request with arbitrary body returning *UpdateAccountResponse

func (*ClientWithResponses) UpdateAccountWithResponse

func (c *ClientWithResponses) UpdateAccountWithResponse(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)

func (*ClientWithResponses) UpdateArticleContentInDefaultLocaleWithBodyWithResponse

func (c *ClientWithResponses) UpdateArticleContentInDefaultLocaleWithBodyWithResponse(ctx context.Context, articleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateArticleContentInDefaultLocaleResponse, error)

UpdateArticleContentInDefaultLocaleWithBodyWithResponse request with arbitrary body returning *UpdateArticleContentInDefaultLocaleResponse

func (*ClientWithResponses) UpdateArticleContentInDefaultLocaleWithResponse

func (c *ClientWithResponses) UpdateArticleContentInDefaultLocaleWithResponse(ctx context.Context, articleId string, body UpdateArticleContentInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateArticleContentInDefaultLocaleResponse, error)

func (*ClientWithResponses) UpdateArticleContentInSpecifiedLocaleWithBodyWithResponse

func (c *ClientWithResponses) UpdateArticleContentInSpecifiedLocaleWithBodyWithResponse(ctx context.Context, articleId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateArticleContentInSpecifiedLocaleResponse, error)

UpdateArticleContentInSpecifiedLocaleWithBodyWithResponse request with arbitrary body returning *UpdateArticleContentInSpecifiedLocaleResponse

func (*ClientWithResponses) UpdateArticleContentInSpecifiedLocaleWithResponse

func (c *ClientWithResponses) UpdateArticleContentInSpecifiedLocaleWithResponse(ctx context.Context, articleId string, locale string, body UpdateArticleContentInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateArticleContentInSpecifiedLocaleResponse, error)

func (*ClientWithResponses) UpdateChannelWithBodyWithResponse

func (c *ClientWithResponses) UpdateChannelWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateChannelResponse, error)

UpdateChannelWithBodyWithResponse request with arbitrary body returning *UpdateChannelResponse

func (*ClientWithResponses) UpdateChannelWithResponse

func (c *ClientWithResponses) UpdateChannelWithResponse(ctx context.Context, channelId string, body UpdateChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateChannelResponse, error)

func (*ClientWithResponses) UpdateCommentWithBodyWithResponse

func (c *ClientWithResponses) UpdateCommentWithBodyWithResponse(ctx context.Context, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCommentResponse, error)

UpdateCommentWithBodyWithResponse request with arbitrary body returning *UpdateCommentResponse

func (*ClientWithResponses) UpdateCommentWithResponse

func (c *ClientWithResponses) UpdateCommentWithResponse(ctx context.Context, commentId string, body UpdateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCommentResponse, error)

func (*ClientWithResponses) UpdateConversationAssigneeWithBodyWithResponse

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

UpdateConversationAssigneeWithBodyWithResponse request with arbitrary body returning *UpdateConversationAssigneeResponse

func (*ClientWithResponses) UpdateConversationAssigneeWithResponse

func (c *ClientWithResponses) UpdateConversationAssigneeWithResponse(ctx context.Context, conversationId string, body UpdateConversationAssigneeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConversationAssigneeResponse, error)

func (*ClientWithResponses) UpdateConversationRemindersWithBodyWithResponse

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

UpdateConversationRemindersWithBodyWithResponse request with arbitrary body returning *UpdateConversationRemindersResponse

func (*ClientWithResponses) UpdateConversationRemindersWithResponse

func (c *ClientWithResponses) UpdateConversationRemindersWithResponse(ctx context.Context, conversationId string, body UpdateConversationRemindersJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConversationRemindersResponse, error)

func (*ClientWithResponses) UpdateConversationWithBodyWithResponse

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

UpdateConversationWithBodyWithResponse request with arbitrary body returning *UpdateConversationResponse

func (*ClientWithResponses) UpdateConversationWithResponse

func (c *ClientWithResponses) UpdateConversationWithResponse(ctx context.Context, conversationId string, body UpdateConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConversationResponse, error)

func (*ClientWithResponses) UpdateFolderWithBodyWithResponse

func (c *ClientWithResponses) UpdateFolderWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFolderResponse, error)

UpdateFolderWithBodyWithResponse request with arbitrary body returning *UpdateFolderResponse

func (*ClientWithResponses) UpdateFolderWithResponse

func (c *ClientWithResponses) UpdateFolderWithResponse(ctx context.Context, messageTemplateFolderId string, body UpdateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFolderResponse, error)

func (*ClientWithResponses) UpdateKnowledgeBaseCategoryInDefaultLocaleWithBodyWithResponse

func (c *ClientWithResponses) UpdateKnowledgeBaseCategoryInDefaultLocaleWithBodyWithResponse(ctx context.Context, categoryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseCategoryInDefaultLocaleResponse, error)

UpdateKnowledgeBaseCategoryInDefaultLocaleWithBodyWithResponse request with arbitrary body returning *UpdateKnowledgeBaseCategoryInDefaultLocaleResponse

func (*ClientWithResponses) UpdateKnowledgeBaseCategoryInSpecifiedLocaleWithBodyWithResponse

func (c *ClientWithResponses) UpdateKnowledgeBaseCategoryInSpecifiedLocaleWithBodyWithResponse(ctx context.Context, categoryId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse, error)

UpdateKnowledgeBaseCategoryInSpecifiedLocaleWithBodyWithResponse request with arbitrary body returning *UpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse

func (*ClientWithResponses) UpdateKnowledgeBaseCategoryInSpecifiedLocaleWithResponse

func (c *ClientWithResponses) UpdateKnowledgeBaseCategoryInSpecifiedLocaleWithResponse(ctx context.Context, categoryId string, locale string, body UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse, error)

func (*ClientWithResponses) UpdateKnowledgeBaseInDefaultLocaleWithBodyWithResponse

func (c *ClientWithResponses) UpdateKnowledgeBaseInDefaultLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseInDefaultLocaleResponse, error)

UpdateKnowledgeBaseInDefaultLocaleWithBodyWithResponse request with arbitrary body returning *UpdateKnowledgeBaseInDefaultLocaleResponse

func (*ClientWithResponses) UpdateKnowledgeBaseInDefaultLocaleWithResponse

func (c *ClientWithResponses) UpdateKnowledgeBaseInDefaultLocaleWithResponse(ctx context.Context, knowledgeBaseId string, body UpdateKnowledgeBaseInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseInDefaultLocaleResponse, error)

func (*ClientWithResponses) UpdateKnowledgeBaseInSpecifiedLocaleWithBodyWithResponse

func (c *ClientWithResponses) UpdateKnowledgeBaseInSpecifiedLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseInSpecifiedLocaleResponse, error)

UpdateKnowledgeBaseInSpecifiedLocaleWithBodyWithResponse request with arbitrary body returning *UpdateKnowledgeBaseInSpecifiedLocaleResponse

func (*ClientWithResponses) UpdateKnowledgeBaseInSpecifiedLocaleWithResponse

func (c *ClientWithResponses) UpdateKnowledgeBaseInSpecifiedLocaleWithResponse(ctx context.Context, knowledgeBaseId string, locale string, body UpdateKnowledgeBaseInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseInSpecifiedLocaleResponse, error)

func (*ClientWithResponses) UpdateMessageTemplateWithBodyWithResponse

func (c *ClientWithResponses) UpdateMessageTemplateWithBodyWithResponse(ctx context.Context, messageTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMessageTemplateResponse, error)

UpdateMessageTemplateWithBodyWithResponse request with arbitrary body returning *UpdateMessageTemplateResponse

func (*ClientWithResponses) UpdateMessageTemplateWithResponse

func (c *ClientWithResponses) UpdateMessageTemplateWithResponse(ctx context.Context, messageTemplateId string, body UpdateMessageTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMessageTemplateResponse, error)

func (*ClientWithResponses) UpdateShiftWithBodyWithResponse

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

UpdateShiftWithBodyWithResponse request with arbitrary body returning *UpdateShiftResponse

func (*ClientWithResponses) UpdateShiftWithResponse

func (c *ClientWithResponses) UpdateShiftWithResponse(ctx context.Context, shiftId string, body UpdateShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateShiftResponse, error)

func (*ClientWithResponses) UpdateSignatureWithBodyWithResponse

func (c *ClientWithResponses) UpdateSignatureWithBodyWithResponse(ctx context.Context, signatureId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSignatureResponse, error)

UpdateSignatureWithBodyWithResponse request with arbitrary body returning *UpdateSignatureResponse

func (*ClientWithResponses) UpdateSignatureWithResponse

func (c *ClientWithResponses) UpdateSignatureWithResponse(ctx context.Context, signatureId string, body UpdateSignatureJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSignatureResponse, error)

func (*ClientWithResponses) UpdateTeammateWithBodyWithResponse

func (c *ClientWithResponses) UpdateTeammateWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeammateResponse, error)

UpdateTeammateWithBodyWithResponse request with arbitrary body returning *UpdateTeammateResponse

func (*ClientWithResponses) UpdateTeammateWithResponse

func (c *ClientWithResponses) UpdateTeammateWithResponse(ctx context.Context, teammateId string, body UpdateTeammateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTeammateResponse, error)

func (*ClientWithResponses) ValidateChannelWithResponse

func (c *ClientWithResponses) ValidateChannelWithResponse(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*ValidateChannelResponse, error)

ValidateChannelWithResponse request returning *ValidateChannelResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListAccounts request
	ListAccountsWithResponse(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error)

	// CreateAccount request with any body
	CreateAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccountResponse, error)

	CreateAccountWithResponse(ctx context.Context, body CreateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccountResponse, error)

	// ListAccountCustomFields request
	ListAccountCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAccountCustomFieldsResponse, error)

	// DeleteAnAccount request
	DeleteAnAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteAnAccountResponse, error)

	// FetchAnAccount request
	FetchAnAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*FetchAnAccountResponse, error)

	// UpdateAccount request with any body
	UpdateAccountWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)

	UpdateAccountWithResponse(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)

	// RemoveContactFromAccount request with any body
	RemoveContactFromAccountWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveContactFromAccountResponse, error)

	RemoveContactFromAccountWithResponse(ctx context.Context, accountId string, body RemoveContactFromAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveContactFromAccountResponse, error)

	// ListAccountContacts request
	ListAccountContactsWithResponse(ctx context.Context, accountId string, params *ListAccountContactsParams, reqEditors ...RequestEditorFn) (*ListAccountContactsResponse, error)

	// AddContactToAccount request with any body
	AddContactToAccountWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddContactToAccountResponse, error)

	AddContactToAccountWithResponse(ctx context.Context, accountId string, body AddContactToAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*AddContactToAccountResponse, 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)

	// TriggerAppEvent request with any body
	TriggerAppEventWithBodyWithResponse(ctx context.Context, applicationUid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TriggerAppEventResponse, error)

	TriggerAppEventWithResponse(ctx context.Context, applicationUid string, body TriggerAppEventJSONRequestBody, reqEditors ...RequestEditorFn) (*TriggerAppEventResponse, error)

	// ListChannels request
	ListChannelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListChannelsResponse, error)

	// GetChannel request
	GetChannelWithResponse(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*GetChannelResponse, error)

	// UpdateChannel request with any body
	UpdateChannelWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateChannelResponse, error)

	UpdateChannelWithResponse(ctx context.Context, channelId string, body UpdateChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateChannelResponse, error)

	// CreateDraft request with any body
	CreateDraftWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDraftResponse, error)

	CreateDraftWithResponse(ctx context.Context, channelId string, body CreateDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDraftResponse, error)

	// ReceiveCustomMessages request with any body
	ReceiveCustomMessagesWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReceiveCustomMessagesResponse, error)

	ReceiveCustomMessagesWithResponse(ctx context.Context, channelId string, body ReceiveCustomMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*ReceiveCustomMessagesResponse, error)

	// CreateMessage request with any body
	CreateMessageWithBodyWithResponse(ctx context.Context, channelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMessageResponse, error)

	CreateMessageWithResponse(ctx context.Context, channelId string, body CreateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMessageResponse, error)

	// ValidateChannel request
	ValidateChannelWithResponse(ctx context.Context, channelId string, reqEditors ...RequestEditorFn) (*ValidateChannelResponse, error)

	// GetComment request
	GetCommentWithResponse(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*GetCommentResponse, error)

	// UpdateComment request with any body
	UpdateCommentWithBodyWithResponse(ctx context.Context, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCommentResponse, error)

	UpdateCommentWithResponse(ctx context.Context, commentId string, body UpdateCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCommentResponse, error)

	// DownloadAttachmentForAComment request
	DownloadAttachmentForACommentWithResponse(ctx context.Context, commentId string, attachmentLinkId string, reqEditors ...RequestEditorFn) (*DownloadAttachmentForACommentResponse, error)

	// ListCommentMentions request
	ListCommentMentionsWithResponse(ctx context.Context, commentId string, reqEditors ...RequestEditorFn) (*ListCommentMentionsResponse, error)

	// AddCommentReply request with any body
	AddCommentReplyWithBodyWithResponse(ctx context.Context, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCommentReplyResponse, error)

	AddCommentReplyWithResponse(ctx context.Context, commentId string, body AddCommentReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCommentReplyResponse, error)

	// ListAllCompanyRules request
	ListAllCompanyRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAllCompanyRulesResponse, error)

	// ListCompanyTicketStatuses request
	ListCompanyTicketStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCompanyTicketStatusesResponse, error)

	// GetTicketStatusById request
	GetTicketStatusByIdWithResponse(ctx context.Context, statusId string, reqEditors ...RequestEditorFn) (*GetTicketStatusByIdResponse, error)

	// ListCompanyTags request
	ListCompanyTagsWithResponse(ctx context.Context, params *ListCompanyTagsParams, reqEditors ...RequestEditorFn) (*ListCompanyTagsResponse, error)

	// CreateCompanyTag request with any body
	CreateCompanyTagWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCompanyTagResponse, error)

	CreateCompanyTagWithResponse(ctx context.Context, body CreateCompanyTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCompanyTagResponse, error)

	// ListGroups request
	ListGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListGroupsResponse, error)

	// CreateGroup request with any body
	CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

	CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

	// DeleteGroup request
	DeleteGroupWithResponse(ctx context.Context, contactGroupId string, reqEditors ...RequestEditorFn) (*DeleteGroupResponse, error)

	// RemoveContactsFromGroup request with any body
	RemoveContactsFromGroupWithBodyWithResponse(ctx context.Context, contactGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveContactsFromGroupResponse, error)

	RemoveContactsFromGroupWithResponse(ctx context.Context, contactGroupId string, body RemoveContactsFromGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveContactsFromGroupResponse, error)

	// ListContactsInGroup request
	ListContactsInGroupWithResponse(ctx context.Context, contactGroupId string, params *ListContactsInGroupParams, reqEditors ...RequestEditorFn) (*ListContactsInGroupResponse, error)

	// AddContactsToGroup request with any body
	AddContactsToGroupWithBodyWithResponse(ctx context.Context, contactGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddContactsToGroupResponse, error)

	AddContactsToGroupWithResponse(ctx context.Context, contactGroupId string, body AddContactsToGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddContactsToGroupResponse, error)

	// ListContactLists request
	ListContactListsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContactListsResponse, error)

	// CreateContactList request with any body
	CreateContactListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateContactListResponse, error)

	CreateContactListWithResponse(ctx context.Context, body CreateContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContactListResponse, error)

	// DeleteContactList request
	DeleteContactListWithResponse(ctx context.Context, contactListId string, reqEditors ...RequestEditorFn) (*DeleteContactListResponse, error)

	// RemoveContactsFromContactList request with any body
	RemoveContactsFromContactListWithBodyWithResponse(ctx context.Context, contactListId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveContactsFromContactListResponse, error)

	RemoveContactsFromContactListWithResponse(ctx context.Context, contactListId string, body RemoveContactsFromContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveContactsFromContactListResponse, error)

	// ListContactsInContactList request
	ListContactsInContactListWithResponse(ctx context.Context, contactListId string, params *ListContactsInContactListParams, reqEditors ...RequestEditorFn) (*ListContactsInContactListResponse, error)

	// AddContactsToContactList request with any body
	AddContactsToContactListWithBodyWithResponse(ctx context.Context, contactListId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddContactsToContactListResponse, error)

	AddContactsToContactListWithResponse(ctx context.Context, contactListId string, body AddContactsToContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*AddContactsToContactListResponse, error)

	// ListContacts request
	ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)

	// CreateContact request with any body
	CreateContactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)

	CreateContactWithResponse(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)

	// ListContactCustomFields request
	ListContactCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContactCustomFieldsResponse, error)

	// MergeContacts request with any body
	MergeContactsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MergeContactsResponse, error)

	MergeContactsWithResponse(ctx context.Context, body MergeContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*MergeContactsResponse, error)

	// DeleteAContact request
	DeleteAContactWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*DeleteAContactResponse, error)

	// GetContact request
	GetContactWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactResponse, error)

	// UpdateAContact request with any body
	UpdateAContactWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAContactResponse, error)

	UpdateAContactWithResponse(ctx context.Context, contactId string, body UpdateAContactJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAContactResponse, error)

	// ListContactConversations request
	ListContactConversationsWithResponse(ctx context.Context, contactId string, params *ListContactConversationsParams, reqEditors ...RequestEditorFn) (*ListContactConversationsResponse, error)

	// DeleteContactHandle request with any body
	DeleteContactHandleWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteContactHandleResponse, error)

	DeleteContactHandleWithResponse(ctx context.Context, contactId string, body DeleteContactHandleJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteContactHandleResponse, error)

	// AddContactHandle request with any body
	AddContactHandleWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddContactHandleResponse, error)

	AddContactHandleWithResponse(ctx context.Context, contactId string, body AddContactHandleJSONRequestBody, reqEditors ...RequestEditorFn) (*AddContactHandleResponse, error)

	// ListNotes request
	ListNotesWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*ListNotesResponse, error)

	// AddNote request with any body
	AddNoteWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddNoteResponse, error)

	AddNoteWithResponse(ctx context.Context, contactId string, body AddNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*AddNoteResponse, error)

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

	// CreateConversation request with any body
	CreateConversationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateConversationResponse, error)

	CreateConversationWithResponse(ctx context.Context, body CreateConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateConversationResponse, error)

	// ListConversationCustomFields request
	ListConversationCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListConversationCustomFieldsResponse, 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)

	// UpdateConversation request with any body
	UpdateConversationWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConversationResponse, error)

	UpdateConversationWithResponse(ctx context.Context, conversationId string, body UpdateConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConversationResponse, error)

	// UpdateConversationAssignee request with any body
	UpdateConversationAssigneeWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConversationAssigneeResponse, error)

	UpdateConversationAssigneeWithResponse(ctx context.Context, conversationId string, body UpdateConversationAssigneeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConversationAssigneeResponse, error)

	// ListConversationComments request
	ListConversationCommentsWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*ListConversationCommentsResponse, error)

	// AddComment request with any body
	AddCommentWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCommentResponse, error)

	AddCommentWithResponse(ctx context.Context, conversationId string, body AddCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCommentResponse, error)

	// ListConversationDrafts request
	ListConversationDraftsWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*ListConversationDraftsResponse, error)

	// CreateDraftReply request with any body
	CreateDraftReplyWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDraftReplyResponse, error)

	CreateDraftReplyWithResponse(ctx context.Context, conversationId string, body CreateDraftReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDraftReplyResponse, error)

	// ListConversationEvents request
	ListConversationEventsWithResponse(ctx context.Context, conversationId string, params *ListConversationEventsParams, reqEditors ...RequestEditorFn) (*ListConversationEventsResponse, error)

	// DeleteConversationFollowers request with any body
	DeleteConversationFollowersWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteConversationFollowersResponse, error)

	DeleteConversationFollowersWithResponse(ctx context.Context, conversationId string, body DeleteConversationFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteConversationFollowersResponse, error)

	// ListConversationFollowers request
	ListConversationFollowersWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*ListConversationFollowersResponse, error)

	// AddConversationFollowers request with any body
	AddConversationFollowersWithBodyWithResponse(ctx context.Context, conversationId string, params *AddConversationFollowersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddConversationFollowersResponse, error)

	AddConversationFollowersWithResponse(ctx context.Context, conversationId string, params *AddConversationFollowersParams, body AddConversationFollowersJSONRequestBody, reqEditors ...RequestEditorFn) (*AddConversationFollowersResponse, error)

	// ListConversationInboxes request
	ListConversationInboxesWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*ListConversationInboxesResponse, error)

	// RemoveConversationLinks request with any body
	RemoveConversationLinksWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveConversationLinksResponse, error)

	RemoveConversationLinksWithResponse(ctx context.Context, conversationId string, body RemoveConversationLinksJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveConversationLinksResponse, error)

	// AddConversationLink request with any body
	AddConversationLinkWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddConversationLinkResponse, error)

	AddConversationLinkWithResponse(ctx context.Context, conversationId string, body AddConversationLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*AddConversationLinkResponse, error)

	// ListConversationMessages request
	ListConversationMessagesWithResponse(ctx context.Context, conversationId string, params *ListConversationMessagesParams, reqEditors ...RequestEditorFn) (*ListConversationMessagesResponse, error)

	// CreateMessageReply request with any body
	CreateMessageReplyWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMessageReplyResponse, error)

	CreateMessageReplyWithResponse(ctx context.Context, conversationId string, body CreateMessageReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMessageReplyResponse, error)

	// UpdateConversationReminders request with any body
	UpdateConversationRemindersWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConversationRemindersResponse, error)

	UpdateConversationRemindersWithResponse(ctx context.Context, conversationId string, body UpdateConversationRemindersJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConversationRemindersResponse, error)

	// RemoveConversationTag request with any body
	RemoveConversationTagWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveConversationTagResponse, error)

	RemoveConversationTagWithResponse(ctx context.Context, conversationId string, body RemoveConversationTagJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveConversationTagResponse, error)

	// AddConversationTag request with any body
	AddConversationTagWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddConversationTagResponse, error)

	AddConversationTagWithResponse(ctx context.Context, conversationId string, body AddConversationTagJSONRequestBody, reqEditors ...RequestEditorFn) (*AddConversationTagResponse, error)

	// ListCustomFields request
	ListCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCustomFieldsResponse, error)

	// DownloadAttachment request
	DownloadAttachmentWithResponse(ctx context.Context, attachmentLinkId string, reqEditors ...RequestEditorFn) (*DownloadAttachmentResponse, error)

	// DeleteDraft request with any body
	DeleteDraftWithBodyWithResponse(ctx context.Context, draftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDraftResponse, error)

	DeleteDraftWithResponse(ctx context.Context, draftId string, body DeleteDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDraftResponse, error)

	// EditDraft request with any body
	EditDraftWithBodyWithResponse(ctx context.Context, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditDraftResponse, error)

	EditDraftWithResponse(ctx context.Context, messageId string, body EditDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*EditDraftResponse, error)

	// ListEvents request
	ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error)

	// GetEvent request
	GetEventWithResponse(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*GetEventResponse, error)

	// ListInboxes request
	ListInboxesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInboxesResponse, error)

	// CreateInbox request with any body
	CreateInboxWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInboxResponse, error)

	CreateInboxWithResponse(ctx context.Context, body CreateInboxJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInboxResponse, error)

	// ListInboxCustomFields request
	ListInboxCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInboxCustomFieldsResponse, error)

	// GetInbox request
	GetInboxWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*GetInboxResponse, error)

	// ListInboxChannels request
	ListInboxChannelsWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*ListInboxChannelsResponse, error)

	// CreateAChannel request with any body
	CreateAChannelWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAChannelResponse, error)

	CreateAChannelWithResponse(ctx context.Context, inboxId string, body CreateAChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAChannelResponse, error)

	// ListInboxConversations request
	ListInboxConversationsWithResponse(ctx context.Context, inboxId string, params *ListInboxConversationsParams, reqEditors ...RequestEditorFn) (*ListInboxConversationsResponse, 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)

	// RemovesInboxAccess request with any body
	RemovesInboxAccessWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemovesInboxAccessResponse, error)

	RemovesInboxAccessWithResponse(ctx context.Context, inboxId string, body RemovesInboxAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*RemovesInboxAccessResponse, error)

	// ListInboxAccess request
	ListInboxAccessWithResponse(ctx context.Context, inboxId string, reqEditors ...RequestEditorFn) (*ListInboxAccessResponse, error)

	// AddInboxAccess request with any body
	AddInboxAccessWithBodyWithResponse(ctx context.Context, inboxId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddInboxAccessResponse, error)

	AddInboxAccessWithResponse(ctx context.Context, inboxId string, body AddInboxAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*AddInboxAccessResponse, error)

	// DeleteAnArticle request
	DeleteAnArticleWithResponse(ctx context.Context, articleId string, reqEditors ...RequestEditorFn) (*DeleteAnArticleResponse, error)

	// GetAKnowledgeBaseArticle request
	GetAKnowledgeBaseArticleWithResponse(ctx context.Context, articleId string, reqEditors ...RequestEditorFn) (*GetAKnowledgeBaseArticleResponse, error)

	// GetKnowledgeBaseArticleWithContentInDefaultLocale request
	GetKnowledgeBaseArticleWithContentInDefaultLocaleWithResponse(ctx context.Context, articleId string, reqEditors ...RequestEditorFn) (*GetKnowledgeBaseArticleWithContentInDefaultLocaleResponse, error)

	// UpdateArticleContentInDefaultLocale request with any body
	UpdateArticleContentInDefaultLocaleWithBodyWithResponse(ctx context.Context, articleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateArticleContentInDefaultLocaleResponse, error)

	UpdateArticleContentInDefaultLocaleWithResponse(ctx context.Context, articleId string, body UpdateArticleContentInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateArticleContentInDefaultLocaleResponse, error)

	// DownloadAttachmentFromAnArticle request
	DownloadAttachmentFromAnArticleWithResponse(ctx context.Context, articleId string, attachmentId string, reqEditors ...RequestEditorFn) (*DownloadAttachmentFromAnArticleResponse, error)

	// GetKnowledgeBaseArticleWithContentInSpecifiedLocale request
	GetKnowledgeBaseArticleWithContentInSpecifiedLocaleWithResponse(ctx context.Context, articleId string, locale string, reqEditors ...RequestEditorFn) (*GetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse, error)

	// UpdateArticleContentInSpecifiedLocale request with any body
	UpdateArticleContentInSpecifiedLocaleWithBodyWithResponse(ctx context.Context, articleId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateArticleContentInSpecifiedLocaleResponse, error)

	UpdateArticleContentInSpecifiedLocaleWithResponse(ctx context.Context, articleId string, locale string, body UpdateArticleContentInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateArticleContentInSpecifiedLocaleResponse, error)

	// DeleteAKnowledgeBaseCategory request
	DeleteAKnowledgeBaseCategoryWithResponse(ctx context.Context, categoryId string, reqEditors ...RequestEditorFn) (*DeleteAKnowledgeBaseCategoryResponse, error)

	// GetAKnowledgeBaseCategory request
	GetAKnowledgeBaseCategoryWithResponse(ctx context.Context, categoryId string, reqEditors ...RequestEditorFn) (*GetAKnowledgeBaseCategoryResponse, error)

	// ListArticlesInACategory request
	ListArticlesInACategoryWithResponse(ctx context.Context, categoryId string, params *ListArticlesInACategoryParams, reqEditors ...RequestEditorFn) (*ListArticlesInACategoryResponse, error)

	// GetKnowledgeBaseCategoryContentInDefaultLocale request
	GetKnowledgeBaseCategoryContentInDefaultLocaleWithResponse(ctx context.Context, categoryId string, reqEditors ...RequestEditorFn) (*GetKnowledgeBaseCategoryContentInDefaultLocaleResponse, error)

	// UpdateKnowledgeBaseCategoryInDefaultLocale request with any body
	UpdateKnowledgeBaseCategoryInDefaultLocaleWithBodyWithResponse(ctx context.Context, categoryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseCategoryInDefaultLocaleResponse, error)

	UpdateKnowledgeBaseCategoryInDefaultLocaleWithResponse(ctx context.Context, categoryId string, body UpdateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseCategoryInDefaultLocaleResponse, error)

	// GetKnowledgeBaseCategoryWithContentInSpecifiedLocale request
	GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleWithResponse(ctx context.Context, categoryId string, locale string, reqEditors ...RequestEditorFn) (*GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse, error)

	// UpdateKnowledgeBaseCategoryInSpecifiedLocale request with any body
	UpdateKnowledgeBaseCategoryInSpecifiedLocaleWithBodyWithResponse(ctx context.Context, categoryId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse, error)

	UpdateKnowledgeBaseCategoryInSpecifiedLocaleWithResponse(ctx context.Context, categoryId string, locale string, body UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse, error)

	// ListKnowledgeBases request
	ListKnowledgeBasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListKnowledgeBasesResponse, error)

	// CreateAKnowledgeBase request with any body
	CreateAKnowledgeBaseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAKnowledgeBaseResponse, error)

	CreateAKnowledgeBaseWithResponse(ctx context.Context, body CreateAKnowledgeBaseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAKnowledgeBaseResponse, error)

	// GetAKnowledgeBase request
	GetAKnowledgeBaseWithResponse(ctx context.Context, knowledgeBaseId string, reqEditors ...RequestEditorFn) (*GetAKnowledgeBaseResponse, error)

	// ListArticlesInAKnowledgeBase request
	ListArticlesInAKnowledgeBaseWithResponse(ctx context.Context, knowledgeBaseId string, params *ListArticlesInAKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*ListArticlesInAKnowledgeBaseResponse, error)

	// CreateArticleInAKnowledgeBaseInDefaultLocale request with any body
	CreateArticleInAKnowledgeBaseInDefaultLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateArticleInAKnowledgeBaseInDefaultLocaleResponse, error)

	CreateArticleInAKnowledgeBaseInDefaultLocaleWithResponse(ctx context.Context, knowledgeBaseId string, body CreateArticleInAKnowledgeBaseInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateArticleInAKnowledgeBaseInDefaultLocaleResponse, error)

	// ListCategoriesInAKnowledgeBase request
	ListCategoriesInAKnowledgeBaseWithResponse(ctx context.Context, knowledgeBaseId string, params *ListCategoriesInAKnowledgeBaseParams, reqEditors ...RequestEditorFn) (*ListCategoriesInAKnowledgeBaseResponse, error)

	// CreateKnowledgeBaseCategoryInDefaultLocale request with any body
	CreateKnowledgeBaseCategoryInDefaultLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKnowledgeBaseCategoryInDefaultLocaleResponse, error)

	CreateKnowledgeBaseCategoryInDefaultLocaleWithResponse(ctx context.Context, knowledgeBaseId string, body CreateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKnowledgeBaseCategoryInDefaultLocaleResponse, error)

	// GetAKnowledgeBaseWithContentInDefaultLocale request
	GetAKnowledgeBaseWithContentInDefaultLocaleWithResponse(ctx context.Context, knowledgeBaseId string, reqEditors ...RequestEditorFn) (*GetAKnowledgeBaseWithContentInDefaultLocaleResponse, error)

	// UpdateKnowledgeBaseInDefaultLocale request with any body
	UpdateKnowledgeBaseInDefaultLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseInDefaultLocaleResponse, error)

	UpdateKnowledgeBaseInDefaultLocaleWithResponse(ctx context.Context, knowledgeBaseId string, body UpdateKnowledgeBaseInDefaultLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseInDefaultLocaleResponse, error)

	// CreateArticleInAKnowledgeBaseInSpecifiedLocale request with any body
	CreateArticleInAKnowledgeBaseInSpecifiedLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse, error)

	CreateArticleInAKnowledgeBaseInSpecifiedLocaleWithResponse(ctx context.Context, knowledgeBaseId string, locale string, body CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse, error)

	// CreateKnowledgeBaseCategoryInSpecifiedLocale request with any body
	CreateKnowledgeBaseCategoryInSpecifiedLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKnowledgeBaseCategoryInSpecifiedLocaleResponse, error)

	CreateKnowledgeBaseCategoryInSpecifiedLocaleWithResponse(ctx context.Context, knowledgeBaseId string, locale string, body CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKnowledgeBaseCategoryInSpecifiedLocaleResponse, error)

	// GetAKnowledgeBaseWithContentInSpecifiedLocale request
	GetAKnowledgeBaseWithContentInSpecifiedLocaleWithResponse(ctx context.Context, knowledgeBaseId string, locale string, reqEditors ...RequestEditorFn) (*GetAKnowledgeBaseWithContentInSpecifiedLocaleResponse, error)

	// UpdateKnowledgeBaseInSpecifiedLocale request with any body
	UpdateKnowledgeBaseInSpecifiedLocaleWithBodyWithResponse(ctx context.Context, knowledgeBaseId string, locale string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseInSpecifiedLocaleResponse, error)

	UpdateKnowledgeBaseInSpecifiedLocaleWithResponse(ctx context.Context, knowledgeBaseId string, locale string, body UpdateKnowledgeBaseInSpecifiedLocaleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateKnowledgeBaseInSpecifiedLocaleResponse, error)

	// ListLinks request
	ListLinksWithResponse(ctx context.Context, params *ListLinksParams, reqEditors ...RequestEditorFn) (*ListLinksResponse, error)

	// CreateLink request with any body
	CreateLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLinkResponse, error)

	CreateLinkWithResponse(ctx context.Context, body CreateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLinkResponse, error)

	// ListLinkCustomFields request
	ListLinkCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLinkCustomFieldsResponse, error)

	// GetLink request
	GetLinkWithResponse(ctx context.Context, linkId string, reqEditors ...RequestEditorFn) (*GetLinkResponse, error)

	// UpdateALink request with any body
	UpdateALinkWithBodyWithResponse(ctx context.Context, linkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateALinkResponse, error)

	UpdateALinkWithResponse(ctx context.Context, linkId string, body UpdateALinkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateALinkResponse, error)

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

	// ApiTokenDetails request
	ApiTokenDetailsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ApiTokenDetailsResponse, error)

	// ListFolders request
	ListFoldersWithResponse(ctx context.Context, params *ListFoldersParams, reqEditors ...RequestEditorFn) (*ListFoldersResponse, error)

	// CreateFolder request with any body
	CreateFolderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFolderResponse, error)

	CreateFolderWithResponse(ctx context.Context, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFolderResponse, error)

	// DeleteFolder request
	DeleteFolderWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*DeleteFolderResponse, error)

	// GetFolder request
	GetFolderWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*GetFolderResponse, error)

	// UpdateFolder request with any body
	UpdateFolderWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFolderResponse, error)

	UpdateFolderWithResponse(ctx context.Context, messageTemplateFolderId string, body UpdateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFolderResponse, error)

	// GetChildFolders request
	GetChildFoldersWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*GetChildFoldersResponse, error)

	// CreateChildFolder request with any body
	CreateChildFolderWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChildFolderResponse, error)

	CreateChildFolderWithResponse(ctx context.Context, messageTemplateFolderId string, body CreateChildFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChildFolderResponse, error)

	// GetChildTemplates request
	GetChildTemplatesWithResponse(ctx context.Context, messageTemplateFolderId string, reqEditors ...RequestEditorFn) (*GetChildTemplatesResponse, error)

	// CreateChildTemplate request with any body
	CreateChildTemplateWithBodyWithResponse(ctx context.Context, messageTemplateFolderId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChildTemplateResponse, error)

	CreateChildTemplateWithResponse(ctx context.Context, messageTemplateFolderId string, body CreateChildTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChildTemplateResponse, error)

	// ListMessageTemplates request
	ListMessageTemplatesWithResponse(ctx context.Context, params *ListMessageTemplatesParams, reqEditors ...RequestEditorFn) (*ListMessageTemplatesResponse, error)

	// CreateMessageTemplate request with any body
	CreateMessageTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMessageTemplateResponse, error)

	CreateMessageTemplateWithResponse(ctx context.Context, body CreateMessageTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMessageTemplateResponse, error)

	// DeleteMessageTemplate request
	DeleteMessageTemplateWithResponse(ctx context.Context, messageTemplateId string, reqEditors ...RequestEditorFn) (*DeleteMessageTemplateResponse, error)

	// GetMessageTemplate request
	GetMessageTemplateWithResponse(ctx context.Context, messageTemplateId string, reqEditors ...RequestEditorFn) (*GetMessageTemplateResponse, error)

	// UpdateMessageTemplate request with any body
	UpdateMessageTemplateWithBodyWithResponse(ctx context.Context, messageTemplateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMessageTemplateResponse, error)

	UpdateMessageTemplateWithResponse(ctx context.Context, messageTemplateId string, body UpdateMessageTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMessageTemplateResponse, error)

	// DownloadAttachmentForAMessageTemplate request
	DownloadAttachmentForAMessageTemplateWithResponse(ctx context.Context, messageTemplateId string, attachmentLinkId string, reqEditors ...RequestEditorFn) (*DownloadAttachmentForAMessageTemplateResponse, error)

	// GetMessage request
	GetMessageWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*GetMessageResponse, error)

	// DownloadAttachmentForAMessage request
	DownloadAttachmentForAMessageWithResponse(ctx context.Context, messageId string, attachmentLinkId string, reqEditors ...RequestEditorFn) (*DownloadAttachmentForAMessageResponse, error)

	// GetMessageSeenStatus request
	GetMessageSeenStatusWithResponse(ctx context.Context, messageId string, reqEditors ...RequestEditorFn) (*GetMessageSeenStatusResponse, error)

	// MarkMessageSeen request with any body
	MarkMessageSeenWithBodyWithResponse(ctx context.Context, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkMessageSeenResponse, error)

	MarkMessageSeenWithResponse(ctx context.Context, messageId string, body MarkMessageSeenJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkMessageSeenResponse, error)

	// ListRules request
	ListRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRulesResponse, error)

	// GetRule request
	GetRuleWithResponse(ctx context.Context, ruleId string, reqEditors ...RequestEditorFn) (*GetRuleResponse, error)

	// ListShifts request
	ListShiftsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListShiftsResponse, error)

	// CreateShift request with any body
	CreateShiftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateShiftResponse, error)

	CreateShiftWithResponse(ctx context.Context, body CreateShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateShiftResponse, error)

	// GetShift request
	GetShiftWithResponse(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*GetShiftResponse, error)

	// UpdateShift request with any body
	UpdateShiftWithBodyWithResponse(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateShiftResponse, error)

	UpdateShiftWithResponse(ctx context.Context, shiftId string, body UpdateShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateShiftResponse, error)

	// RemoveTeammatesFromShift request with any body
	RemoveTeammatesFromShiftWithBodyWithResponse(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTeammatesFromShiftResponse, error)

	RemoveTeammatesFromShiftWithResponse(ctx context.Context, shiftId string, body RemoveTeammatesFromShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTeammatesFromShiftResponse, error)

	// ListShiftsTeammates request
	ListShiftsTeammatesWithResponse(ctx context.Context, shiftId string, reqEditors ...RequestEditorFn) (*ListShiftsTeammatesResponse, error)

	// AddTeammatesToShift request with any body
	AddTeammatesToShiftWithBodyWithResponse(ctx context.Context, shiftId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTeammatesToShiftResponse, error)

	AddTeammatesToShiftWithResponse(ctx context.Context, shiftId string, body AddTeammatesToShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTeammatesToShiftResponse, error)

	// DeleteSignature request
	DeleteSignatureWithResponse(ctx context.Context, signatureId string, reqEditors ...RequestEditorFn) (*DeleteSignatureResponse, error)

	// GetSignatures request
	GetSignaturesWithResponse(ctx context.Context, signatureId string, reqEditors ...RequestEditorFn) (*GetSignaturesResponse, error)

	// UpdateSignature request with any body
	UpdateSignatureWithBodyWithResponse(ctx context.Context, signatureId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSignatureResponse, error)

	UpdateSignatureWithResponse(ctx context.Context, signatureId string, body UpdateSignatureJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSignatureResponse, error)

	// ListTags request
	ListTagsWithResponse(ctx context.Context, params *ListTagsParams, reqEditors ...RequestEditorFn) (*ListTagsResponse, error)

	// CreateTag request with any body
	CreateTagWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)

	CreateTagWithResponse(ctx context.Context, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)

	// DeleteTag request
	DeleteTagWithResponse(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*DeleteTagResponse, error)

	// GetTag request
	GetTagWithResponse(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*GetTagResponse, error)

	// UpdateATag request with any body
	UpdateATagWithBodyWithResponse(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateATagResponse, error)

	UpdateATagWithResponse(ctx context.Context, tagId string, body UpdateATagJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateATagResponse, error)

	// ListTagChildren request
	ListTagChildrenWithResponse(ctx context.Context, tagId string, reqEditors ...RequestEditorFn) (*ListTagChildrenResponse, error)

	// CreateChildTag request with any body
	CreateChildTagWithBodyWithResponse(ctx context.Context, tagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChildTagResponse, error)

	CreateChildTagWithResponse(ctx context.Context, tagId string, body CreateChildTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChildTagResponse, error)

	// ListTaggedConversations request
	ListTaggedConversationsWithResponse(ctx context.Context, tagId string, params *ListTaggedConversationsParams, reqEditors ...RequestEditorFn) (*ListTaggedConversationsResponse, error)

	// ListCompanyTeammateGroups request
	ListCompanyTeammateGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCompanyTeammateGroupsResponse, error)

	// CreateCompanyTeammateGroup request with any body
	CreateCompanyTeammateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCompanyTeammateGroupResponse, error)

	CreateCompanyTeammateGroupWithResponse(ctx context.Context, body CreateCompanyTeammateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCompanyTeammateGroupResponse, error)

	// DeleteCompanyTeammateGroup request
	DeleteCompanyTeammateGroupWithResponse(ctx context.Context, teammateGroupId string, reqEditors ...RequestEditorFn) (*DeleteCompanyTeammateGroupResponse, error)

	// GetCompanyTeammateGroup request
	GetCompanyTeammateGroupWithResponse(ctx context.Context, teammateGroupId string, reqEditors ...RequestEditorFn) (*GetCompanyTeammateGroupResponse, error)

	// UpdateACompanyTeammateGroup request with any body
	UpdateACompanyTeammateGroupWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateACompanyTeammateGroupResponse, error)

	UpdateACompanyTeammateGroupWithResponse(ctx context.Context, teammateGroupId string, body UpdateACompanyTeammateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateACompanyTeammateGroupResponse, error)

	// RemoveCompanyTeammateGroupTeamInboxes request with any body
	RemoveCompanyTeammateGroupTeamInboxesWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeamInboxesResponse, error)

	RemoveCompanyTeammateGroupTeamInboxesWithResponse(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeamInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeamInboxesResponse, error)

	// ListCompanyTeammateGroupTeamInboxes request
	ListCompanyTeammateGroupTeamInboxesWithResponse(ctx context.Context, teammateGroupId string, reqEditors ...RequestEditorFn) (*ListCompanyTeammateGroupTeamInboxesResponse, error)

	// AddCompanyTeammateGroupTeamInboxes request with any body
	AddCompanyTeammateGroupTeamInboxesWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeamInboxesResponse, error)

	AddCompanyTeammateGroupTeamInboxesWithResponse(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeamInboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeamInboxesResponse, error)

	// RemoveCompanyTeammateGroupTeammates request with any body
	RemoveCompanyTeammateGroupTeammatesWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeammatesResponse, error)

	RemoveCompanyTeammateGroupTeammatesWithResponse(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeammatesResponse, error)

	// ListCompanyTeammateGroupTeammates request
	ListCompanyTeammateGroupTeammatesWithResponse(ctx context.Context, teammateGroupId string, reqEditors ...RequestEditorFn) (*ListCompanyTeammateGroupTeammatesResponse, error)

	// AddCompanyTeammateGroupTeammates request with any body
	AddCompanyTeammateGroupTeammatesWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeammatesResponse, error)

	AddCompanyTeammateGroupTeammatesWithResponse(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeammatesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeammatesResponse, error)

	// RemoveCompanyTeammateGroupTeams request with any body
	RemoveCompanyTeammateGroupTeamsWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeamsResponse, error)

	RemoveCompanyTeammateGroupTeamsWithResponse(ctx context.Context, teammateGroupId string, body RemoveCompanyTeammateGroupTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveCompanyTeammateGroupTeamsResponse, error)

	// ListCompanyTeammateGroupTeams request
	ListCompanyTeammateGroupTeamsWithResponse(ctx context.Context, teammateGroupId string, reqEditors ...RequestEditorFn) (*ListCompanyTeammateGroupTeamsResponse, error)

	// AddCompanyTeammateGroupTeams request with any body
	AddCompanyTeammateGroupTeamsWithBodyWithResponse(ctx context.Context, teammateGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeamsResponse, error)

	AddCompanyTeammateGroupTeamsWithResponse(ctx context.Context, teammateGroupId string, body AddCompanyTeammateGroupTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCompanyTeammateGroupTeamsResponse, error)

	// ListTeammates request
	ListTeammatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeammatesResponse, error)

	// ListTeammateCustomFields request
	ListTeammateCustomFieldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeammateCustomFieldsResponse, error)

	// GetTeammate request
	GetTeammateWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*GetTeammateResponse, error)

	// UpdateTeammate request with any body
	UpdateTeammateWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeammateResponse, error)

	UpdateTeammateWithResponse(ctx context.Context, teammateId string, body UpdateTeammateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTeammateResponse, error)

	// ListTeammateChannels request
	ListTeammateChannelsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateChannelsResponse, error)

	// ListTeammateGroups request
	ListTeammateGroupsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateGroupsResponse, error)

	// CreateTeammateGroup request with any body
	CreateTeammateGroupWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateGroupResponse, error)

	CreateTeammateGroupWithResponse(ctx context.Context, teammateId string, body CreateTeammateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateGroupResponse, error)

	// ListTeammateContactLists request
	ListTeammateContactListsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateContactListsResponse, error)

	// CreateTeammateContactList request with any body
	CreateTeammateContactListWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateContactListResponse, error)

	CreateTeammateContactListWithResponse(ctx context.Context, teammateId string, body CreateTeammateContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateContactListResponse, error)

	// ListTeammateContacts request
	ListTeammateContactsWithResponse(ctx context.Context, teammateId string, params *ListTeammateContactsParams, reqEditors ...RequestEditorFn) (*ListTeammateContactsResponse, error)

	// CreateTeammateContact request with any body
	CreateTeammateContactWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateContactResponse, error)

	CreateTeammateContactWithResponse(ctx context.Context, teammateId string, body CreateTeammateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateContactResponse, error)

	// ListAssignedConversations request
	ListAssignedConversationsWithResponse(ctx context.Context, teammateId string, params *ListAssignedConversationsParams, reqEditors ...RequestEditorFn) (*ListAssignedConversationsResponse, error)

	// ListTeammateInboxes request
	ListTeammateInboxesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateInboxesResponse, error)

	// ListTeammateFolders request
	ListTeammateFoldersWithResponse(ctx context.Context, teammateId string, params *ListTeammateFoldersParams, reqEditors ...RequestEditorFn) (*ListTeammateFoldersResponse, error)

	// CreateTeammateFolder request with any body
	CreateTeammateFolderWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateFolderResponse, error)

	CreateTeammateFolderWithResponse(ctx context.Context, teammateId string, body CreateTeammateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateFolderResponse, error)

	// ListTeammateMessageTemplates request
	ListTeammateMessageTemplatesWithResponse(ctx context.Context, teammateId string, params *ListTeammateMessageTemplatesParams, reqEditors ...RequestEditorFn) (*ListTeammateMessageTemplatesResponse, error)

	// CreateTeammateMessageTemplate request with any body
	CreateTeammateMessageTemplateWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateMessageTemplateResponse, error)

	CreateTeammateMessageTemplateWithResponse(ctx context.Context, teammateId string, body CreateTeammateMessageTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateMessageTemplateResponse, error)

	// ListTeammateRules request
	ListTeammateRulesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateRulesResponse, error)

	// ListTeammateShifts request
	ListTeammateShiftsWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateShiftsResponse, error)

	// ListTeammateSignatures request
	ListTeammateSignaturesWithResponse(ctx context.Context, teammateId string, reqEditors ...RequestEditorFn) (*ListTeammateSignaturesResponse, error)

	// CreateTeammateSignature request with any body
	CreateTeammateSignatureWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateSignatureResponse, error)

	CreateTeammateSignatureWithResponse(ctx context.Context, teammateId string, body CreateTeammateSignatureJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateSignatureResponse, error)

	// ListTeammateTags request
	ListTeammateTagsWithResponse(ctx context.Context, teammateId string, params *ListTeammateTagsParams, reqEditors ...RequestEditorFn) (*ListTeammateTagsResponse, error)

	// CreateTeammateTag request with any body
	CreateTeammateTagWithBodyWithResponse(ctx context.Context, teammateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeammateTagResponse, error)

	CreateTeammateTagWithResponse(ctx context.Context, teammateId string, body CreateTeammateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeammateTagResponse, error)

	// ListTeams request
	ListTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)

	// GetTeam request
	GetTeamWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)

	// ListTeamChannels request
	ListTeamChannelsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamChannelsResponse, error)

	// ListTeamGroups request
	ListTeamGroupsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamGroupsResponse, error)

	// CreateTeamGroup request with any body
	CreateTeamGroupWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamGroupResponse, error)

	CreateTeamGroupWithResponse(ctx context.Context, teamId string, body CreateTeamGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamGroupResponse, error)

	// ListTeamContactLists request
	ListTeamContactListsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamContactListsResponse, error)

	// CreateTeamContactList request with any body
	CreateTeamContactListWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamContactListResponse, error)

	CreateTeamContactListWithResponse(ctx context.Context, teamId string, body CreateTeamContactListJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamContactListResponse, error)

	// ListTeamContacts request
	ListTeamContactsWithResponse(ctx context.Context, teamId string, params *ListTeamContactsParams, reqEditors ...RequestEditorFn) (*ListTeamContactsResponse, error)

	// CreateTeamContact request with any body
	CreateTeamContactWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamContactResponse, error)

	CreateTeamContactWithResponse(ctx context.Context, teamId string, body CreateTeamContactJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamContactResponse, error)

	// ListTeamInboxes request
	ListTeamInboxesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamInboxesResponse, error)

	// CreateTeamInbox request with any body
	CreateTeamInboxWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamInboxResponse, error)

	CreateTeamInboxWithResponse(ctx context.Context, teamId string, body CreateTeamInboxJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamInboxResponse, error)

	// ListTeamFolders request
	ListTeamFoldersWithResponse(ctx context.Context, teamId string, params *ListTeamFoldersParams, reqEditors ...RequestEditorFn) (*ListTeamFoldersResponse, error)

	// CreateTeamFolder request with any body
	CreateTeamFolderWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamFolderResponse, error)

	CreateTeamFolderWithResponse(ctx context.Context, teamId string, body CreateTeamFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamFolderResponse, error)

	// ListTeamMessageTemplates request
	ListTeamMessageTemplatesWithResponse(ctx context.Context, teamId string, params *ListTeamMessageTemplatesParams, reqEditors ...RequestEditorFn) (*ListTeamMessageTemplatesResponse, error)

	// CreateTeamMessageTemplate request with any body
	CreateTeamMessageTemplateWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamMessageTemplateResponse, error)

	CreateTeamMessageTemplateWithResponse(ctx context.Context, teamId string, body CreateTeamMessageTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamMessageTemplateResponse, error)

	// ListTeamRules request
	ListTeamRulesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamRulesResponse, error)

	// ListTeamShifts request
	ListTeamShiftsWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamShiftsResponse, error)

	// CreateTeamShift request with any body
	CreateTeamShiftWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamShiftResponse, error)

	CreateTeamShiftWithResponse(ctx context.Context, teamId string, body CreateTeamShiftJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamShiftResponse, error)

	// ListTeamSignatures request
	ListTeamSignaturesWithResponse(ctx context.Context, teamId string, reqEditors ...RequestEditorFn) (*ListTeamSignaturesResponse, error)

	// CreateTeamSignature request with any body
	CreateTeamSignatureWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamSignatureResponse, error)

	CreateTeamSignatureWithResponse(ctx context.Context, teamId string, body CreateTeamSignatureJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamSignatureResponse, error)

	// ListTeamTags request
	ListTeamTagsWithResponse(ctx context.Context, teamId string, params *ListTeamTagsParams, reqEditors ...RequestEditorFn) (*ListTeamTagsResponse, error)

	// CreateTeamTag request with any body
	CreateTeamTagWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamTagResponse, error)

	CreateTeamTagWithResponse(ctx context.Context, teamId string, body CreateTeamTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamTagResponse, error)

	// RemoveTeammatesFromTeam request with any body
	RemoveTeammatesFromTeamWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTeammatesFromTeamResponse, error)

	RemoveTeammatesFromTeamWithResponse(ctx context.Context, teamId string, body RemoveTeammatesFromTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTeammatesFromTeamResponse, error)

	// AddTeammatesToTeam request with any body
	AddTeammatesToTeamWithBodyWithResponse(ctx context.Context, teamId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTeammatesToTeamResponse, error)

	AddTeammatesToTeamWithResponse(ctx context.Context, teamId string, body AddTeammatesToTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTeammatesToTeamResponse, 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 {
	ResourceLinks struct {
		Related *struct {
			// Link to the comment that is being replied to.
			CommentRepliedTo *string `json:"comment_replied_to"`

			// Link to comment's conversation
			Conversation *string `json:"conversation,omitempty"`

			// Link to comment mentions
			Mentions *string `json:"mentions,omitempty"`
		} `json:"related,omitempty"`

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

	// List of files attached to the comment
	Attachments []Attachment `json:"attachments"`

	// A teammate is a user in Front.
	Author TeammateResponse `json:"author"`

	// Content of the comment
	Body string `json:"body"`

	// Unique identifier of the comment
	Id string `json:"id"`

	// Whether or not the comment is pinned in its conversation
	IsPinned bool `json:"is_pinned"`

	// Date at which the comment was posted
	PostedAt *float32 `json:"posted_at,omitempty"`
}

CommentResponse defines model for CommentResponse.

type Contact

type Contact struct {
	// Binary data of avatar. Must use `Content-Type: multipart/form-data` if specified. See [example](https://gist.github.com/hdornier/e04d04921032e98271f46ff8a539a4cb) or read more about [Attachments](https://dev.frontapp.com/docs/attachments-1).  Max 25 MB.
	Avatar *string `json:"avatar,omitempty"`

	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields *CustomFieldParameter `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. ⚠️ Deprecated. Use `list_names` instead.
	GroupNames *[]string `json:"group_names,omitempty"`

	// List of all the links of the contact
	Links *[]string `json:"links,omitempty"`

	// List of all the contact list names the contact belongs to. It will automatically create missing groups
	ListNames *[]string `json:"list_names,omitempty"`

	// Contact name
	Name *string `json:"name,omitempty"`
}

Contact defines model for Contact.

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 {
	// The contact IDs to include. Alternatively, you can supply the contact source and handle as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	ContactIds []ResourceID `json:"contact_ids"`
}

ContactIds defines model for ContactIds.

type ContactListResponses

type ContactListResponses struct {
	ResourceLinks *struct {
		Related *struct {
			// Link to contact list contacts
			Contacts *string `json:"contacts,omitempty"`

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

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

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

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

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

ContactListResponses defines model for ContactListResponses.

type ContactNote

type ContactNote ContactNoteResponses

ContactNote defines model for contactNote.

type ContactNoteResponses

type ContactNoteResponses struct {
	ResourceLinks struct {
		Related *struct {
			// Link to the teammate who wrote the note
			Author *string `json:"author,omitempty"`

			// Link to the owner of the note
			Owner *string `json:"owner"`
		} `json:"related,omitempty"`
	} `json:"_links"`

	// A teammate is a user in Front.
	Author TeammateResponse `json:"author"`

	// Content of the note
	Body string `json:"body"`

	// Date at which the note have been created
	CreatedAt *float32 `json:"created_at,omitempty"`
}

ContactNoteResponses defines model for ContactNoteResponses.

type ContactResponse

type ContactResponse struct {
	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:"_links,omitempty"`

	// URL of the contact's avatar
	AvatarUrl *string `json:"avatar_url,omitempty"`

	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields *CustomFieldParameter `json:"custom_fields,omitempty"`

	// Contact description
	Description *string `json:"description,omitempty"`

	// List of the groups the contact belongs to. ⚠️ Deprecated. use `lists` instead.
	Groups *[]ContactListResponses `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"`

	// List of all the links of the contact
	Links *[]string `json:"links,omitempty"`

	// List of the contact lists the contact belongs to.
	Lists *[]ContactListResponses `json:"lists,omitempty"`

	// Contact name
	Name *string `json:"name,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 {
	ResourceLinks struct {
		Related *struct {
			// Link to conversation comments
			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:"_links"`

	// A teammate is a user in Front.
	Assignee TeammateResponse `json:"assignee"`

	// Timestamp at which the conversation was created.
	CreatedAt *float32 `json:"created_at,omitempty"`

	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields CustomFieldParameter `json:"custom_fields"`

	// Unique identifier of the conversation
	Id string `json:"id"`

	// Whether or not the conversation is private
	IsPrivate bool `json:"is_private"`

	// List of the links for this conversation
	Links []LinkResponse `json:"links"`

	// 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"`
	Recipient RecipientResponse `json:"recipient"`

	// List of scheduled (non-expired and non-canceled) reminders for this conversation
	ScheduledReminders []Reminder `json:"scheduled_reminders"`

	// Status of the conversation
	Status ConversationResponseStatus `json:"status"`

	// Status category of the conversation
	StatusCategory *ConversationResponseStatusCategory `json:"status_category,omitempty"`

	// Unique identifier of the conversation status category, only present if ticketing is enabled
	StatusId *string `json:"status_id,omitempty"`

	// Subject of the message for email message
	Subject string `json:"subject"`

	// List of the tags for this conversation
	Tags []TagResponse `json:"tags"`

	// List of ticket ids associated with the conversation
	TicketIds []string `json:"ticket_ids"`

	// Timestamp at which the conversation was last updated.
	UpdatedAt *float32 `json:"updated_at,omitempty"`

	// Timestamp of the oldest unreplied message.
	WaitingSince *float32 `json:"waiting_since,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 ConversationResponseStatusCategory

type ConversationResponseStatusCategory string

Status category of the conversation

const (
	ConversationResponseStatusCategoryOpen ConversationResponseStatusCategory = "open"

	ConversationResponseStatusCategoryResolved ConversationResponseStatusCategory = "resolved"

	ConversationResponseStatusCategoryWaiting ConversationResponseStatusCategory = "waiting"
)

Defines values for ConversationResponseStatusCategory.

type CreateAChannelJSONBody

type CreateAChannelJSONBody CreateChannel

CreateAChannelJSONBody defines parameters for CreateAChannel.

type CreateAChannelJSONRequestBody

type CreateAChannelJSONRequestBody CreateAChannelJSONBody

CreateAChannelJSONRequestBody defines body for CreateAChannel for application/json ContentType.

type CreateAChannelResponse

type CreateAChannelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreateAChannelResponse

func ParseCreateAChannelResponse(rsp *http.Response) (*CreateAChannelResponse, error)

ParseCreateAChannelResponse parses an HTTP response from a CreateAChannelWithResponse call

func (CreateAChannelResponse) Status

func (r CreateAChannelResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAChannelResponse) StatusCode

func (r CreateAChannelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAKnowledgeBaseJSONBody

type CreateAKnowledgeBaseJSONBody KnowledgeBaseCreate

CreateAKnowledgeBaseJSONBody defines parameters for CreateAKnowledgeBase.

type CreateAKnowledgeBaseJSONRequestBody

type CreateAKnowledgeBaseJSONRequestBody CreateAKnowledgeBaseJSONBody

CreateAKnowledgeBaseJSONRequestBody defines body for CreateAKnowledgeBase for application/json ContentType.

type CreateAKnowledgeBaseResponse

type CreateAKnowledgeBaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *KnowledgeBaseResponse
}

func ParseCreateAKnowledgeBaseResponse

func ParseCreateAKnowledgeBaseResponse(rsp *http.Response) (*CreateAKnowledgeBaseResponse, error)

ParseCreateAKnowledgeBaseResponse parses an HTTP response from a CreateAKnowledgeBaseWithResponse call

func (CreateAKnowledgeBaseResponse) Status

Status returns HTTPResponse.Status

func (CreateAKnowledgeBaseResponse) StatusCode

func (r CreateAKnowledgeBaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAccountJSONBody

type CreateAccountJSONBody Account

CreateAccountJSONBody defines parameters for CreateAccount.

type CreateAccountJSONRequestBody

type CreateAccountJSONRequestBody CreateAccountJSONBody

CreateAccountJSONRequestBody defines body for CreateAccount for application/json ContentType.

type CreateAccountResponse

type CreateAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *AccountResponse
}

func ParseCreateAccountResponse

func ParseCreateAccountResponse(rsp *http.Response) (*CreateAccountResponse, error)

ParseCreateAccountResponse parses an HTTP response from a CreateAccountWithResponse call

func (CreateAccountResponse) Status

func (r CreateAccountResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAccountResponse) StatusCode

func (r CreateAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAnalyticsExportJSONBody

type CreateAnalyticsExportJSONBody AnalyticsExportRequest

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      *AnalyticsExportResponse
}

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 AnalyticsReportRequest

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      *AnalyticsReportResponse
}

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 CreateArticleInAKnowledgeBaseInDefaultLocaleJSONBody

type CreateArticleInAKnowledgeBaseInDefaultLocaleJSONBody KnowledgeBaseArticleCreate

CreateArticleInAKnowledgeBaseInDefaultLocaleJSONBody defines parameters for CreateArticleInAKnowledgeBaseInDefaultLocale.

type CreateArticleInAKnowledgeBaseInDefaultLocaleJSONRequestBody

type CreateArticleInAKnowledgeBaseInDefaultLocaleJSONRequestBody CreateArticleInAKnowledgeBaseInDefaultLocaleJSONBody

CreateArticleInAKnowledgeBaseInDefaultLocaleJSONRequestBody defines body for CreateArticleInAKnowledgeBaseInDefaultLocale for application/json ContentType.

type CreateArticleInAKnowledgeBaseInDefaultLocaleResponse

type CreateArticleInAKnowledgeBaseInDefaultLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *KnowledgeBaseArticleResponse
}

func ParseCreateArticleInAKnowledgeBaseInDefaultLocaleResponse

func ParseCreateArticleInAKnowledgeBaseInDefaultLocaleResponse(rsp *http.Response) (*CreateArticleInAKnowledgeBaseInDefaultLocaleResponse, error)

ParseCreateArticleInAKnowledgeBaseInDefaultLocaleResponse parses an HTTP response from a CreateArticleInAKnowledgeBaseInDefaultLocaleWithResponse call

func (CreateArticleInAKnowledgeBaseInDefaultLocaleResponse) Status

Status returns HTTPResponse.Status

func (CreateArticleInAKnowledgeBaseInDefaultLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONBody

type CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONBody KnowledgeBaseArticleCreate

CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONBody defines parameters for CreateArticleInAKnowledgeBaseInSpecifiedLocale.

type CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONRequestBody

type CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONRequestBody CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONBody

CreateArticleInAKnowledgeBaseInSpecifiedLocaleJSONRequestBody defines body for CreateArticleInAKnowledgeBaseInSpecifiedLocale for application/json ContentType.

type CreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse

type CreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *KnowledgeBaseArticleResponse
}

func ParseCreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse

func ParseCreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse(rsp *http.Response) (*CreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse, error)

ParseCreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse parses an HTTP response from a CreateArticleInAKnowledgeBaseInSpecifiedLocaleWithResponse call

func (CreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse) Status

Status returns HTTPResponse.Status

func (CreateArticleInAKnowledgeBaseInSpecifiedLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateChannel

type CreateChannel struct {
	// Name of the channel
	Name *string `json:"name,omitempty"`

	// Sending address of your channel. Required for SMTP and Twilio channels.
	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 auth token for the Twilio account. Only allowed for "twilio" type channels.
		AuthToken *string `json:"auth_token,omitempty"`

		// The SID of the Twilio channel. Only allowed for "twilio" type channels.
		Sid *string `json:"sid,omitempty"`

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

		// The webhook URL outbound messages should be sent to. Only allowed for "custom" type channels.
		WebhookUrl *string `json:"webhook_url,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 CreateChildFolderJSONBody

type CreateChildFolderJSONBody CreateMessageTemplateFolderAsChild

CreateChildFolderJSONBody defines parameters for CreateChildFolder.

type CreateChildFolderJSONRequestBody

type CreateChildFolderJSONRequestBody CreateChildFolderJSONBody

CreateChildFolderJSONRequestBody defines body for CreateChildFolder for application/json ContentType.

type CreateChildFolderResponse

type CreateChildFolderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateFolderResponse
}

func ParseCreateChildFolderResponse

func ParseCreateChildFolderResponse(rsp *http.Response) (*CreateChildFolderResponse, error)

ParseCreateChildFolderResponse parses an HTTP response from a CreateChildFolderWithResponse call

func (CreateChildFolderResponse) Status

func (r CreateChildFolderResponse) Status() string

Status returns HTTPResponse.Status

func (CreateChildFolderResponse) StatusCode

func (r CreateChildFolderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateChildTagJSONBody

type CreateChildTagJSONBody CreateTag

CreateChildTagJSONBody defines parameters for CreateChildTag.

type CreateChildTagJSONRequestBody

type CreateChildTagJSONRequestBody CreateChildTagJSONBody

CreateChildTagJSONRequestBody defines body for CreateChildTag for application/json ContentType.

type CreateChildTagResponse

type CreateChildTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TagResponse
}

func ParseCreateChildTagResponse

func ParseCreateChildTagResponse(rsp *http.Response) (*CreateChildTagResponse, error)

ParseCreateChildTagResponse parses an HTTP response from a CreateChildTagWithResponse call

func (CreateChildTagResponse) Status

func (r CreateChildTagResponse) Status() string

Status returns HTTPResponse.Status

func (CreateChildTagResponse) StatusCode

func (r CreateChildTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateChildTemplateJSONBody

type CreateChildTemplateJSONBody CreateMessageTemplateAsChild

CreateChildTemplateJSONBody defines parameters for CreateChildTemplate.

type CreateChildTemplateJSONRequestBody

type CreateChildTemplateJSONRequestBody CreateChildTemplateJSONBody

CreateChildTemplateJSONRequestBody defines body for CreateChildTemplate for application/json ContentType.

type CreateChildTemplateResponse

type CreateChildTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateResponse
}

func ParseCreateChildTemplateResponse

func ParseCreateChildTemplateResponse(rsp *http.Response) (*CreateChildTemplateResponse, error)

ParseCreateChildTemplateResponse parses an HTTP response from a CreateChildTemplateWithResponse call

func (CreateChildTemplateResponse) Status

Status returns HTTPResponse.Status

func (CreateChildTemplateResponse) StatusCode

func (r CreateChildTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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) or read more about [Attachments](https://dev.frontapp.com/docs/attachments-1).  Max 25 MB.
	Attachments *[]string `json:"attachments,omitempty"`

	// ID of the teammate creating the comment. Alternatively, you can supply the author as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1). If omitted, will post as the API Token or OAuth client of the requester.
	AuthorId *string `json:"author_id,omitempty"`

	// Content of the comment. Can include markdown formatting.
	Body string `json:"body"`

	// Whether or not the comment is pinned in its conversation.
	IsPinned *bool `json:"is_pinned,omitempty"`
}

CreateComment defines model for CreateComment.

type CreateCompanyTagJSONBody

type CreateCompanyTagJSONBody CreateTag

CreateCompanyTagJSONBody defines parameters for CreateCompanyTag.

type CreateCompanyTagJSONRequestBody

type CreateCompanyTagJSONRequestBody CreateCompanyTagJSONBody

CreateCompanyTagJSONRequestBody defines body for CreateCompanyTag for application/json ContentType.

type CreateCompanyTagResponse

type CreateCompanyTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TagResponse
}

func ParseCreateCompanyTagResponse

func ParseCreateCompanyTagResponse(rsp *http.Response) (*CreateCompanyTagResponse, error)

ParseCreateCompanyTagResponse parses an HTTP response from a CreateCompanyTagWithResponse call

func (CreateCompanyTagResponse) Status

func (r CreateCompanyTagResponse) Status() string

Status returns HTTPResponse.Status

func (CreateCompanyTagResponse) StatusCode

func (r CreateCompanyTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCompanyTeammateGroupJSONBody

type CreateCompanyTeammateGroupJSONBody CreateTeammateGroup

CreateCompanyTeammateGroupJSONBody defines parameters for CreateCompanyTeammateGroup.

type CreateCompanyTeammateGroupJSONRequestBody

type CreateCompanyTeammateGroupJSONRequestBody CreateCompanyTeammateGroupJSONBody

CreateCompanyTeammateGroupJSONRequestBody defines body for CreateCompanyTeammateGroup for application/json ContentType.

type CreateCompanyTeammateGroupResponse

type CreateCompanyTeammateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TeammateGroupResponse
}

func ParseCreateCompanyTeammateGroupResponse

func ParseCreateCompanyTeammateGroupResponse(rsp *http.Response) (*CreateCompanyTeammateGroupResponse, error)

ParseCreateCompanyTeammateGroupResponse parses an HTTP response from a CreateCompanyTeammateGroupWithResponse call

func (CreateCompanyTeammateGroupResponse) Status

Status returns HTTPResponse.Status

func (CreateCompanyTeammateGroupResponse) StatusCode

func (r CreateCompanyTeammateGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 CreateContactJSONBody

type CreateContactJSONBody CreateContact

CreateContactJSONBody defines parameters for CreateContact.

type CreateContactJSONRequestBody

type CreateContactJSONRequestBody CreateContactJSONBody

CreateContactJSONRequestBody defines body for CreateContact for application/json ContentType.

type CreateContactList

type CreateContactList struct {
	// Name of the contact list
	Name string `json:"name"`
}

CreateContactList defines model for CreateContactList.

type CreateContactListJSONBody

type CreateContactListJSONBody CreateContactList

CreateContactListJSONBody defines parameters for CreateContactList.

type CreateContactListJSONRequestBody

type CreateContactListJSONRequestBody CreateContactListJSONBody

CreateContactListJSONRequestBody defines body for CreateContactList for application/json ContentType.

type CreateContactListResponse

type CreateContactListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreateContactListResponse

func ParseCreateContactListResponse(rsp *http.Response) (*CreateContactListResponse, error)

ParseCreateContactListResponse parses an HTTP response from a CreateContactListWithResponse call

func (CreateContactListResponse) Status

func (r CreateContactListResponse) Status() string

Status returns HTTPResponse.Status

func (CreateContactListResponse) StatusCode

func (r CreateContactListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 CreateContactResponse

type CreateContactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ContactResponse
}

func ParseCreateContactResponse

func ParseCreateContactResponse(rsp *http.Response) (*CreateContactResponse, error)

ParseCreateContactResponse parses an HTTP response from a CreateContactWithResponse call

func (CreateContactResponse) Status

func (r CreateContactResponse) Status() string

Status returns HTTPResponse.Status

func (CreateContactResponse) StatusCode

func (r CreateContactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateConversation

type CreateConversation struct {
	// Details for the starter comment
	Comment struct {
		// Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://gist.github.com/hdornier/e04d04921032e98271f46ff8a539a4cb) or read more about [Attachments](https://dev.frontapp.com/docs/attachments-1).
		Attachments *[]string `json:"attachments,omitempty"`

		// ID of the teammate creating the comment. If omitted, will post as the API Token or OAuth client of the requester.
		AuthorId *string `json:"author_id,omitempty"`

		// Content of the comment
		Body string `json:"body"`
	} `json:"comment"`

	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields *CustomFieldParameter `json:"custom_fields,omitempty"`

	// Inbox ID for the conversation. Either `inbox_id` OR `teammate_ids` must be provided (not both).
	InboxId *string `json:"inbox_id,omitempty"`

	// Subject of the conversation
	Subject string `json:"subject"`

	// Teammates to add to the conversation. Either `inbox_id` OR `teammate_ids` must be provided (not both).
	TeammateIds *[]string `json:"teammate_ids,omitempty"`

	// Conversation type
	Type CreateConversationType `json:"type"`
}

CreateConversation defines model for CreateConversation.

type CreateConversationJSONBody

type CreateConversationJSONBody CreateConversation

CreateConversationJSONBody defines parameters for CreateConversation.

type CreateConversationJSONRequestBody

type CreateConversationJSONRequestBody CreateConversationJSONBody

CreateConversationJSONRequestBody defines body for CreateConversation for application/json ContentType.

type CreateConversationResponse

type CreateConversationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ConversationResponse
}

func ParseCreateConversationResponse

func ParseCreateConversationResponse(rsp *http.Response) (*CreateConversationResponse, error)

ParseCreateConversationResponse parses an HTTP response from a CreateConversationWithResponse call

func (CreateConversationResponse) Status

Status returns HTTPResponse.Status

func (CreateConversationResponse) StatusCode

func (r CreateConversationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateConversationType

type CreateConversationType string

Conversation type

const (
	CreateConversationTypeDiscussion CreateConversationType = "discussion"
)

Defines values for CreateConversationType.

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) or read more about [Attachments](https://dev.frontapp.com/docs/attachments-1). Max 25 MB.
	Attachments *[]string `json:"attachments,omitempty"`

	// ID of the teammate on behalf of whom the draft will be created. Alternatively, you can supply the author ID as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1). If omitted, will post as the API Token or Application making the request.
	AuthorId *string `json:"author_id,omitempty"`

	// List of the recipient handles who will receive a blind copy of the message once the draft is sent
	Bcc *[]string `json:"bcc,omitempty"`

	// Body of the draft
	Body string `json:"body"`

	// List of recipient handles who will receive a copy of the message once the draft is sent
	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"`

	// Body for the quote that the message is referencing. Only available on email channels.
	QuoteBody *string `json:"quote_body,omitempty"`

	// Whether or not Front should try to resolve a signature for the message. Is ignored if signature_id is included. Default false;
	ShouldAddDefaultSignature *bool `json:"should_add_default_signature,omitempty"`

	// ID of the signature to attach to this draft. If null, no signature is attached.
	SignatureId *string `json:"signature_id,omitempty"`

	// Subject of the draft.
	Subject *string `json:"subject,omitempty"`

	// List of recipient handles who will receive the message once the draft is sent
	To *[]string `json:"to,omitempty"`
}

CreateDraft defines model for CreateDraft.

type CreateDraftJSONBody

type CreateDraftJSONBody CreateDraft

CreateDraftJSONBody defines parameters for CreateDraft.

type CreateDraftJSONRequestBody

type CreateDraftJSONRequestBody CreateDraftJSONBody

CreateDraftJSONRequestBody defines body for CreateDraft for application/json ContentType.

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 CreateDraftReplyJSONBody

type CreateDraftReplyJSONBody ReplyDraft

CreateDraftReplyJSONBody defines parameters for CreateDraftReply.

type CreateDraftReplyJSONRequestBody

type CreateDraftReplyJSONRequestBody CreateDraftReplyJSONBody

CreateDraftReplyJSONRequestBody defines body for CreateDraftReply for application/json ContentType.

type CreateDraftReplyResponse

type CreateDraftReplyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageResponse
}

func ParseCreateDraftReplyResponse

func ParseCreateDraftReplyResponse(rsp *http.Response) (*CreateDraftReplyResponse, error)

ParseCreateDraftReplyResponse parses an HTTP response from a CreateDraftReplyWithResponse call

func (CreateDraftReplyResponse) Status

func (r CreateDraftReplyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDraftReplyResponse) StatusCode

func (r CreateDraftReplyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDraftResponse

type CreateDraftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageResponse
}

func ParseCreateDraftResponse

func ParseCreateDraftResponse(rsp *http.Response) (*CreateDraftResponse, error)

ParseCreateDraftResponse parses an HTTP response from a CreateDraftWithResponse call

func (CreateDraftResponse) Status

func (r CreateDraftResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDraftResponse) StatusCode

func (r CreateDraftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateFolderJSONBody

type CreateFolderJSONBody CreateMessageTemplateFolder

CreateFolderJSONBody defines parameters for CreateFolder.

type CreateFolderJSONRequestBody

type CreateFolderJSONRequestBody CreateFolderJSONBody

CreateFolderJSONRequestBody defines body for CreateFolder for application/json ContentType.

type CreateFolderResponse

type CreateFolderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateFolderResponse
}

func ParseCreateFolderResponse

func ParseCreateFolderResponse(rsp *http.Response) (*CreateFolderResponse, error)

ParseCreateFolderResponse parses an HTTP response from a CreateFolderWithResponse call

func (CreateFolderResponse) Status

func (r CreateFolderResponse) Status() string

Status returns HTTPResponse.Status

func (CreateFolderResponse) StatusCode

func (r CreateFolderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGroupJSONBody

type CreateGroupJSONBody CreateContactList

CreateGroupJSONBody defines parameters for CreateGroup.

type CreateGroupJSONRequestBody

type CreateGroupJSONRequestBody CreateGroupJSONBody

CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.

type CreateGroupResponse

type CreateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreateGroupResponse

func ParseCreateGroupResponse(rsp *http.Response) (*CreateGroupResponse, error)

ParseCreateGroupResponse parses an HTTP response from a CreateGroupWithResponse call

func (CreateGroupResponse) Status

func (r CreateGroupResponse) Status() string

Status returns HTTPResponse.Status

func (CreateGroupResponse) StatusCode

func (r CreateGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInbox

type CreateInbox struct {
	// The name of the inbox
	Name string `json:"name"`

	// An array of teammate IDs that should have access to the inbox. Alternatively, you can supply teammate emails as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	TeammateIds *[]ResourceID `json:"teammate_ids,omitempty"`
}

CreateInbox defines model for CreateInbox.

type CreateInboxJSONBody

type CreateInboxJSONBody CreateInbox

CreateInboxJSONBody defines parameters for CreateInbox.

type CreateInboxJSONRequestBody

type CreateInboxJSONRequestBody CreateInboxJSONBody

CreateInboxJSONRequestBody defines body for CreateInbox for application/json ContentType.

type CreateInboxResponse

type CreateInboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreateInboxResponse

func ParseCreateInboxResponse(rsp *http.Response) (*CreateInboxResponse, error)

ParseCreateInboxResponse parses an HTTP response from a CreateInboxWithResponse call

func (CreateInboxResponse) Status

func (r CreateInboxResponse) Status() string

Status returns HTTPResponse.Status

func (CreateInboxResponse) StatusCode

func (r CreateInboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateKnowledgeBaseCategoryInDefaultLocaleJSONBody

type CreateKnowledgeBaseCategoryInDefaultLocaleJSONBody KnowledgeBaseCategoryCreate

CreateKnowledgeBaseCategoryInDefaultLocaleJSONBody defines parameters for CreateKnowledgeBaseCategoryInDefaultLocale.

type CreateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody

type CreateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody CreateKnowledgeBaseCategoryInDefaultLocaleJSONBody

CreateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody defines body for CreateKnowledgeBaseCategoryInDefaultLocale for application/json ContentType.

type CreateKnowledgeBaseCategoryInDefaultLocaleResponse

type CreateKnowledgeBaseCategoryInDefaultLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *KnowledgeBaseCategoryResponse
}

func ParseCreateKnowledgeBaseCategoryInDefaultLocaleResponse

func ParseCreateKnowledgeBaseCategoryInDefaultLocaleResponse(rsp *http.Response) (*CreateKnowledgeBaseCategoryInDefaultLocaleResponse, error)

ParseCreateKnowledgeBaseCategoryInDefaultLocaleResponse parses an HTTP response from a CreateKnowledgeBaseCategoryInDefaultLocaleWithResponse call

func (CreateKnowledgeBaseCategoryInDefaultLocaleResponse) Status

Status returns HTTPResponse.Status

func (CreateKnowledgeBaseCategoryInDefaultLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONBody

type CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONBody KnowledgeBaseCategoryCreate

CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONBody defines parameters for CreateKnowledgeBaseCategoryInSpecifiedLocale.

type CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody

type CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONBody

CreateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody defines body for CreateKnowledgeBaseCategoryInSpecifiedLocale for application/json ContentType.

type CreateKnowledgeBaseCategoryInSpecifiedLocaleResponse

type CreateKnowledgeBaseCategoryInSpecifiedLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *KnowledgeBaseCategoryResponse
}

func ParseCreateKnowledgeBaseCategoryInSpecifiedLocaleResponse

func ParseCreateKnowledgeBaseCategoryInSpecifiedLocaleResponse(rsp *http.Response) (*CreateKnowledgeBaseCategoryInSpecifiedLocaleResponse, error)

ParseCreateKnowledgeBaseCategoryInSpecifiedLocaleResponse parses an HTTP response from a CreateKnowledgeBaseCategoryInSpecifiedLocaleWithResponse call

func (CreateKnowledgeBaseCategoryInSpecifiedLocaleResponse) Status

Status returns HTTPResponse.Status

func (CreateKnowledgeBaseCategoryInSpecifiedLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateLink struct {
	// Underlying identifying url of the link
	ExternalUrl *string `json:"external_url,omitempty"`

	// Name of the link. If none is specified, the external_url is used as a default
	Name *string `json:"name,omitempty"`

	// The string that application object configurations will match on to update a specific application object. For example, if you've configured an application object to match on ORDER-{Digits}, and you want to specifically update the application objects for ORDER-777 to retrieve the latest information from external systems, send "ORDER-777". Repeat for other specific identifiers, such as "ORDER-435".
	Pattern *string `json:"pattern,omitempty"`
}

A link is used to connect a Front conversation to an external resource.

type CreateLinkJSONBody

type CreateLinkJSONBody CreateLink

CreateLinkJSONBody defines parameters for CreateLink.

type CreateLinkJSONRequestBody

type CreateLinkJSONRequestBody CreateLinkJSONBody

CreateLinkJSONRequestBody defines body for CreateLink for application/json ContentType.

type CreateLinkResponse

type CreateLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *LinkResponse
}

func ParseCreateLinkResponse

func ParseCreateLinkResponse(rsp *http.Response) (*CreateLinkResponse, error)

ParseCreateLinkResponse parses an HTTP response from a CreateLinkWithResponse call

func (CreateLinkResponse) Status

func (r CreateLinkResponse) Status() string

Status returns HTTPResponse.Status

func (CreateLinkResponse) StatusCode

func (r CreateLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMessageJSONBody

type CreateMessageJSONBody OutboundMessage

CreateMessageJSONBody defines parameters for CreateMessage.

type CreateMessageJSONRequestBody

type CreateMessageJSONRequestBody CreateMessageJSONBody

CreateMessageJSONRequestBody defines body for CreateMessage for application/json ContentType.

type CreateMessageReplyJSONBody

type CreateMessageReplyJSONBody OutboundReplyMessage

CreateMessageReplyJSONBody defines parameters for CreateMessageReply.

type CreateMessageReplyJSONRequestBody

type CreateMessageReplyJSONRequestBody CreateMessageReplyJSONBody

CreateMessageReplyJSONRequestBody defines body for CreateMessageReply for application/json ContentType.

type CreateMessageReplyResponse

type CreateMessageReplyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		// Message unique identifier. Use the message UID as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1) to check whether the [message is created successfully](https://dev.frontapp.com/reference/messages#creating-a-new-message).
		MessageUid *string `json:"message_uid,omitempty"`

		// The status of the incoming message. Should return 'accepted' if successful.
		Status *string `json:"status,omitempty"`
	}
}

func ParseCreateMessageReplyResponse

func ParseCreateMessageReplyResponse(rsp *http.Response) (*CreateMessageReplyResponse, error)

ParseCreateMessageReplyResponse parses an HTTP response from a CreateMessageReplyWithResponse call

func (CreateMessageReplyResponse) Status

Status returns HTTPResponse.Status

func (CreateMessageReplyResponse) StatusCode

func (r CreateMessageReplyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMessageResponse

type CreateMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		// Message unique identifier. Use the message UID as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1) to check whether the [message is created successfully](https://dev.frontapp.com/reference/messages#creating-a-new-message).
		MessageUid *string `json:"message_uid,omitempty"`

		// The status of the incoming message. Should return 'accepted' if successful.
		Status *string `json:"status,omitempty"`
	}
}

func ParseCreateMessageResponse

func ParseCreateMessageResponse(rsp *http.Response) (*CreateMessageResponse, error)

ParseCreateMessageResponse parses an HTTP response from a CreateMessageWithResponse call

func (CreateMessageResponse) Status

func (r CreateMessageResponse) Status() string

Status returns HTTPResponse.Status

func (CreateMessageResponse) StatusCode

func (r CreateMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMessageTemplateAsChild

type CreateMessageTemplateAsChild struct {
	// Body of the message template. You can supply HTML with inline CSS to structure and style your template.
	Body string `json:"body"`

	// The specific inboxes this template is available in. If unspecified or null, then it will be available in all inboxes. Array should be non-empty.
	InboxIds *[]string `json:"inbox_ids,omitempty"`

	// Name of the message template
	Name string `json:"name"`

	// Subject of the message template.
	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 CreateMessageTemplateJSONBody

type CreateMessageTemplateJSONBody CreateSharedMessageTemplate

CreateMessageTemplateJSONBody defines parameters for CreateMessageTemplate.

type CreateMessageTemplateJSONRequestBody

type CreateMessageTemplateJSONRequestBody CreateMessageTemplateJSONBody

CreateMessageTemplateJSONRequestBody defines body for CreateMessageTemplate for application/json ContentType.

type CreateMessageTemplateResponse

type CreateMessageTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateResponse
}

func ParseCreateMessageTemplateResponse

func ParseCreateMessageTemplateResponse(rsp *http.Response) (*CreateMessageTemplateResponse, error)

ParseCreateMessageTemplateResponse parses an HTTP response from a CreateMessageTemplateWithResponse call

func (CreateMessageTemplateResponse) Status

Status returns HTTPResponse.Status

func (CreateMessageTemplateResponse) StatusCode

func (r CreateMessageTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePrivateMessageTemplate

type CreatePrivateMessageTemplate struct {
	// Body of the message template. You can supply HTML with inline CSS to structure and style your 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.
	Subject *string `json:"subject,omitempty"`
}

A message template that is used for pre-written responses

type CreatePrivateSignature

type CreatePrivateSignature struct {
	// Body of the signature
	Body string `json:"body"`

	// The specific channels this signature is available in. If omitted or null, the signature will be available in all channels the teammate has access to. Alternatively, you can specify channels using a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	ChannelIds *[]string `json:"channel_ids,omitempty"`

	// If true, the signature will be set as the default signature for the teammate.
	IsDefault *bool `json:"is_default,omitempty"`

	// Name of the signature
	Name string `json:"name"`

	// Sender info of the signature that will appear in the From line of emails sent.
	SenderInfo *string `json:"sender_info,omitempty"`
}

A signature that can be used to sign messages.

type CreateSharedMessageTemplate

type CreateSharedMessageTemplate struct {
	// Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://dev.frontapp.com/docs/attachments-1).  Max 25 MB.
	Attachments *[]string `json:"attachments,omitempty"`

	// Body of the message template. You can supply HTML with inline CSS to structure and style your template.
	Body string `json:"body"`

	// ID of the message template folder to place this message template in
	FolderId *string `json:"folder_id,omitempty"`

	// The specific inboxes this template is available in. If unspecified or null, then it will be available in all inboxes. Array should be non-empty.
	InboxIds *[]string `json:"inbox_ids,omitempty"`

	// Name of the message template
	Name string `json:"name"`

	// Subject of the message template.
	Subject *string `json:"subject,omitempty"`
}

A message template that is used for pre-written responses

type CreateSharedSignature

type CreateSharedSignature struct {
	// Body of the signature
	Body string `json:"body"`

	// The specific channels this signature is available in. If omitted or null, the signature will be available in all channels the team has access to. Alternatively, you can specify channels using a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	ChannelIds *[]string `json:"channel_ids,omitempty"`

	// If true, the signature will be set as the default signature for the team.
	IsDefault *bool `json:"is_default,omitempty"`

	// Whether or not the signature is visible in all individual channels for teammates in the given team.
	IsVisibleForAllTeammateChannels *bool `json:"is_visible_for_all_teammate_channels,omitempty"`

	// Name of the signature
	Name string `json:"name"`

	// Sender info of the signature that will appear in the From line of emails sent.
	SenderInfo *string `json:"sender_info,omitempty"`
}

A signature that can be used to sign messages.

type CreateShift

type CreateShift struct {
	// Color of the shift
	Color CreateShiftColor `json:"color"`

	// Name of the shift
	Name string `json:"name"`

	// List of all the teammate ids who will be part of this shift. Alternatively, you can supply emails as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	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 CreateShiftJSONBody

type CreateShiftJSONBody CreateShift

CreateShiftJSONBody defines parameters for CreateShift.

type CreateShiftJSONRequestBody

type CreateShiftJSONRequestBody CreateShiftJSONBody

CreateShiftJSONRequestBody defines body for CreateShift for application/json ContentType.

type CreateShiftResponse

type CreateShiftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ShiftResponse
}

func ParseCreateShiftResponse

func ParseCreateShiftResponse(rsp *http.Response) (*CreateShiftResponse, error)

ParseCreateShiftResponse parses an HTTP response from a CreateShiftWithResponse call

func (CreateShiftResponse) Status

func (r CreateShiftResponse) Status() string

Status returns HTTPResponse.Status

func (CreateShiftResponse) StatusCode

func (r CreateShiftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTag

type CreateTag struct {
	// Description of the tag
	Description *string `json:"description,omitempty"`

	// 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 CreateTagJSONBody

type CreateTagJSONBody CreateTag

CreateTagJSONBody defines parameters for CreateTag.

type CreateTagJSONRequestBody

type CreateTagJSONRequestBody CreateTagJSONBody

CreateTagJSONRequestBody defines body for CreateTag for application/json ContentType.

type CreateTagResponse

type CreateTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TagResponse
}

func ParseCreateTagResponse

func ParseCreateTagResponse(rsp *http.Response) (*CreateTagResponse, error)

ParseCreateTagResponse parses an HTTP response from a CreateTagWithResponse call

func (CreateTagResponse) Status

func (r CreateTagResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTagResponse) StatusCode

func (r CreateTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamContactJSONBody

type CreateTeamContactJSONBody CreateContact

CreateTeamContactJSONBody defines parameters for CreateTeamContact.

type CreateTeamContactJSONRequestBody

type CreateTeamContactJSONRequestBody CreateTeamContactJSONBody

CreateTeamContactJSONRequestBody defines body for CreateTeamContact for application/json ContentType.

type CreateTeamContactListJSONBody

type CreateTeamContactListJSONBody CreateContactList

CreateTeamContactListJSONBody defines parameters for CreateTeamContactList.

type CreateTeamContactListJSONRequestBody

type CreateTeamContactListJSONRequestBody CreateTeamContactListJSONBody

CreateTeamContactListJSONRequestBody defines body for CreateTeamContactList for application/json ContentType.

type CreateTeamContactListResponse

type CreateTeamContactListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreateTeamContactListResponse

func ParseCreateTeamContactListResponse(rsp *http.Response) (*CreateTeamContactListResponse, error)

ParseCreateTeamContactListResponse parses an HTTP response from a CreateTeamContactListWithResponse call

func (CreateTeamContactListResponse) Status

Status returns HTTPResponse.Status

func (CreateTeamContactListResponse) StatusCode

func (r CreateTeamContactListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamContactResponse

type CreateTeamContactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ContactResponse
}

func ParseCreateTeamContactResponse

func ParseCreateTeamContactResponse(rsp *http.Response) (*CreateTeamContactResponse, error)

ParseCreateTeamContactResponse parses an HTTP response from a CreateTeamContactWithResponse call

func (CreateTeamContactResponse) Status

func (r CreateTeamContactResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamContactResponse) StatusCode

func (r CreateTeamContactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamFolderJSONBody

type CreateTeamFolderJSONBody CreateMessageTemplateFolder

CreateTeamFolderJSONBody defines parameters for CreateTeamFolder.

type CreateTeamFolderJSONRequestBody

type CreateTeamFolderJSONRequestBody CreateTeamFolderJSONBody

CreateTeamFolderJSONRequestBody defines body for CreateTeamFolder for application/json ContentType.

type CreateTeamFolderResponse

type CreateTeamFolderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateFolderResponse
}

func ParseCreateTeamFolderResponse

func ParseCreateTeamFolderResponse(rsp *http.Response) (*CreateTeamFolderResponse, error)

ParseCreateTeamFolderResponse parses an HTTP response from a CreateTeamFolderWithResponse call

func (CreateTeamFolderResponse) Status

func (r CreateTeamFolderResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamFolderResponse) StatusCode

func (r CreateTeamFolderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamGroupJSONBody

type CreateTeamGroupJSONBody CreateContactList

CreateTeamGroupJSONBody defines parameters for CreateTeamGroup.

type CreateTeamGroupJSONRequestBody

type CreateTeamGroupJSONRequestBody CreateTeamGroupJSONBody

CreateTeamGroupJSONRequestBody defines body for CreateTeamGroup for application/json ContentType.

type CreateTeamGroupResponse

type CreateTeamGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreateTeamGroupResponse

func ParseCreateTeamGroupResponse(rsp *http.Response) (*CreateTeamGroupResponse, error)

ParseCreateTeamGroupResponse parses an HTTP response from a CreateTeamGroupWithResponse call

func (CreateTeamGroupResponse) Status

func (r CreateTeamGroupResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamGroupResponse) StatusCode

func (r CreateTeamGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamInboxJSONBody

type CreateTeamInboxJSONBody CreateInbox

CreateTeamInboxJSONBody defines parameters for CreateTeamInbox.

type CreateTeamInboxJSONRequestBody

type CreateTeamInboxJSONRequestBody CreateTeamInboxJSONBody

CreateTeamInboxJSONRequestBody defines body for CreateTeamInbox for application/json ContentType.

type CreateTeamInboxResponse

type CreateTeamInboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreateTeamInboxResponse

func ParseCreateTeamInboxResponse(rsp *http.Response) (*CreateTeamInboxResponse, error)

ParseCreateTeamInboxResponse parses an HTTP response from a CreateTeamInboxWithResponse call

func (CreateTeamInboxResponse) Status

func (r CreateTeamInboxResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamInboxResponse) StatusCode

func (r CreateTeamInboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamMessageTemplateJSONBody

type CreateTeamMessageTemplateJSONBody CreateSharedMessageTemplate

CreateTeamMessageTemplateJSONBody defines parameters for CreateTeamMessageTemplate.

type CreateTeamMessageTemplateJSONRequestBody

type CreateTeamMessageTemplateJSONRequestBody CreateTeamMessageTemplateJSONBody

CreateTeamMessageTemplateJSONRequestBody defines body for CreateTeamMessageTemplate for application/json ContentType.

type CreateTeamMessageTemplateResponse

type CreateTeamMessageTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateResponse
}

func ParseCreateTeamMessageTemplateResponse

func ParseCreateTeamMessageTemplateResponse(rsp *http.Response) (*CreateTeamMessageTemplateResponse, error)

ParseCreateTeamMessageTemplateResponse parses an HTTP response from a CreateTeamMessageTemplateWithResponse call

func (CreateTeamMessageTemplateResponse) Status

Status returns HTTPResponse.Status

func (CreateTeamMessageTemplateResponse) StatusCode

func (r CreateTeamMessageTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamShiftJSONBody

type CreateTeamShiftJSONBody CreateShift

CreateTeamShiftJSONBody defines parameters for CreateTeamShift.

type CreateTeamShiftJSONRequestBody

type CreateTeamShiftJSONRequestBody CreateTeamShiftJSONBody

CreateTeamShiftJSONRequestBody defines body for CreateTeamShift for application/json ContentType.

type CreateTeamShiftResponse

type CreateTeamShiftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ShiftResponse
}

func ParseCreateTeamShiftResponse

func ParseCreateTeamShiftResponse(rsp *http.Response) (*CreateTeamShiftResponse, error)

ParseCreateTeamShiftResponse parses an HTTP response from a CreateTeamShiftWithResponse call

func (CreateTeamShiftResponse) Status

func (r CreateTeamShiftResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamShiftResponse) StatusCode

func (r CreateTeamShiftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamSignatureJSONBody

type CreateTeamSignatureJSONBody CreateSharedSignature

CreateTeamSignatureJSONBody defines parameters for CreateTeamSignature.

type CreateTeamSignatureJSONRequestBody

type CreateTeamSignatureJSONRequestBody CreateTeamSignatureJSONBody

CreateTeamSignatureJSONRequestBody defines body for CreateTeamSignature for application/json ContentType.

type CreateTeamSignatureResponse

type CreateTeamSignatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SignatureResponse
}

func ParseCreateTeamSignatureResponse

func ParseCreateTeamSignatureResponse(rsp *http.Response) (*CreateTeamSignatureResponse, error)

ParseCreateTeamSignatureResponse parses an HTTP response from a CreateTeamSignatureWithResponse call

func (CreateTeamSignatureResponse) Status

Status returns HTTPResponse.Status

func (CreateTeamSignatureResponse) StatusCode

func (r CreateTeamSignatureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamTagJSONBody

type CreateTeamTagJSONBody CreateTag

CreateTeamTagJSONBody defines parameters for CreateTeamTag.

type CreateTeamTagJSONRequestBody

type CreateTeamTagJSONRequestBody CreateTeamTagJSONBody

CreateTeamTagJSONRequestBody defines body for CreateTeamTag for application/json ContentType.

type CreateTeamTagResponse

type CreateTeamTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TagResponse
}

func ParseCreateTeamTagResponse

func ParseCreateTeamTagResponse(rsp *http.Response) (*CreateTeamTagResponse, error)

ParseCreateTeamTagResponse parses an HTTP response from a CreateTeamTagWithResponse call

func (CreateTeamTagResponse) Status

func (r CreateTeamTagResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamTagResponse) StatusCode

func (r CreateTeamTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeammateContactJSONBody

type CreateTeammateContactJSONBody CreateContact

CreateTeammateContactJSONBody defines parameters for CreateTeammateContact.

type CreateTeammateContactJSONRequestBody

type CreateTeammateContactJSONRequestBody CreateTeammateContactJSONBody

CreateTeammateContactJSONRequestBody defines body for CreateTeammateContact for application/json ContentType.

type CreateTeammateContactListJSONBody

type CreateTeammateContactListJSONBody CreateContactList

CreateTeammateContactListJSONBody defines parameters for CreateTeammateContactList.

type CreateTeammateContactListJSONRequestBody

type CreateTeammateContactListJSONRequestBody CreateTeammateContactListJSONBody

CreateTeammateContactListJSONRequestBody defines body for CreateTeammateContactList for application/json ContentType.

type CreateTeammateContactListResponse

type CreateTeammateContactListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreateTeammateContactListResponse

func ParseCreateTeammateContactListResponse(rsp *http.Response) (*CreateTeammateContactListResponse, error)

ParseCreateTeammateContactListResponse parses an HTTP response from a CreateTeammateContactListWithResponse call

func (CreateTeammateContactListResponse) Status

Status returns HTTPResponse.Status

func (CreateTeammateContactListResponse) StatusCode

func (r CreateTeammateContactListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeammateContactResponse

type CreateTeammateContactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ContactResponse
}

func ParseCreateTeammateContactResponse

func ParseCreateTeammateContactResponse(rsp *http.Response) (*CreateTeammateContactResponse, error)

ParseCreateTeammateContactResponse parses an HTTP response from a CreateTeammateContactWithResponse call

func (CreateTeammateContactResponse) Status

Status returns HTTPResponse.Status

func (CreateTeammateContactResponse) StatusCode

func (r CreateTeammateContactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeammateFolderJSONBody

type CreateTeammateFolderJSONBody CreateMessageTemplateFolder

CreateTeammateFolderJSONBody defines parameters for CreateTeammateFolder.

type CreateTeammateFolderJSONRequestBody

type CreateTeammateFolderJSONRequestBody CreateTeammateFolderJSONBody

CreateTeammateFolderJSONRequestBody defines body for CreateTeammateFolder for application/json ContentType.

type CreateTeammateFolderResponse

type CreateTeammateFolderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateFolderResponse
}

func ParseCreateTeammateFolderResponse

func ParseCreateTeammateFolderResponse(rsp *http.Response) (*CreateTeammateFolderResponse, error)

ParseCreateTeammateFolderResponse parses an HTTP response from a CreateTeammateFolderWithResponse call

func (CreateTeammateFolderResponse) Status

Status returns HTTPResponse.Status

func (CreateTeammateFolderResponse) StatusCode

func (r CreateTeammateFolderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeammateGroup

type CreateTeammateGroup struct {
	// Description of the teammate group
	Description *string `json:"description,omitempty"`

	// Name of the teammate group
	Name string `json:"name"`

	// Permissions for the teammate group
	Permissions *struct {
		// Permissions for accessing contact lists. This only applies if shared contacts permissions are enabled.
		Contacts *struct {
			// One of 'all', 'contact_groups', 'contact_lists', or 'none'.
			Access string `json:"access"`

			// List of contact group ids. Can only be specified if access is set to 'contact_groups'. ⚠️ Deprecated. Use access 'contact_lists' and 'contact_list_ids' instead.
			ContactGroupIds *[]string `json:"contact_group_ids,omitempty"`

			// List of contact list ids. Can only be specified if access is set to 'contact_lists'.
			ContactListIds *[]string `json:"contact_list_ids,omitempty"`
		} `json:"contacts,omitempty"`
	} `json:"permissions,omitempty"`
}

CreateTeammateGroup defines model for CreateTeammateGroup.

type CreateTeammateGroupJSONBody

type CreateTeammateGroupJSONBody CreateContactList

CreateTeammateGroupJSONBody defines parameters for CreateTeammateGroup.

type CreateTeammateGroupJSONRequestBody

type CreateTeammateGroupJSONRequestBody CreateTeammateGroupJSONBody

CreateTeammateGroupJSONRequestBody defines body for CreateTeammateGroup for application/json ContentType.

type CreateTeammateGroupResponse

type CreateTeammateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreateTeammateGroupResponse

func ParseCreateTeammateGroupResponse(rsp *http.Response) (*CreateTeammateGroupResponse, error)

ParseCreateTeammateGroupResponse parses an HTTP response from a CreateTeammateGroupWithResponse call

func (CreateTeammateGroupResponse) Status

Status returns HTTPResponse.Status

func (CreateTeammateGroupResponse) StatusCode

func (r CreateTeammateGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeammateMessageTemplateJSONBody

type CreateTeammateMessageTemplateJSONBody CreatePrivateMessageTemplate

CreateTeammateMessageTemplateJSONBody defines parameters for CreateTeammateMessageTemplate.

type CreateTeammateMessageTemplateJSONRequestBody

type CreateTeammateMessageTemplateJSONRequestBody CreateTeammateMessageTemplateJSONBody

CreateTeammateMessageTemplateJSONRequestBody defines body for CreateTeammateMessageTemplate for application/json ContentType.

type CreateTeammateMessageTemplateResponse

type CreateTeammateMessageTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MessageTemplateResponse
}

func ParseCreateTeammateMessageTemplateResponse

func ParseCreateTeammateMessageTemplateResponse(rsp *http.Response) (*CreateTeammateMessageTemplateResponse, error)

ParseCreateTeammateMessageTemplateResponse parses an HTTP response from a CreateTeammateMessageTemplateWithResponse call

func (CreateTeammateMessageTemplateResponse) Status

Status returns HTTPResponse.Status

func (CreateTeammateMessageTemplateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateTeammateSignatureJSONBody

type CreateTeammateSignatureJSONBody CreatePrivateSignature

CreateTeammateSignatureJSONBody defines parameters for CreateTeammateSignature.

type CreateTeammateSignatureJSONRequestBody

type CreateTeammateSignatureJSONRequestBody CreateTeammateSignatureJSONBody

CreateTeammateSignatureJSONRequestBody defines body for CreateTeammateSignature for application/json ContentType.

type CreateTeammateSignatureResponse

type CreateTeammateSignatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SignatureResponse
}

func ParseCreateTeammateSignatureResponse

func ParseCreateTeammateSignatureResponse(rsp *http.Response) (*CreateTeammateSignatureResponse, error)

ParseCreateTeammateSignatureResponse parses an HTTP response from a CreateTeammateSignatureWithResponse call

func (CreateTeammateSignatureResponse) Status

Status returns HTTPResponse.Status

func (CreateTeammateSignatureResponse) StatusCode

func (r CreateTeammateSignatureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeammateTagJSONBody

type CreateTeammateTagJSONBody CreateTag

CreateTeammateTagJSONBody defines parameters for CreateTeammateTag.

type CreateTeammateTagJSONRequestBody

type CreateTeammateTagJSONRequestBody CreateTeammateTagJSONBody

CreateTeammateTagJSONRequestBody defines body for CreateTeammateTag for application/json ContentType.

type CreateTeammateTagResponse

type CreateTeammateTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TagResponse
}

func ParseCreateTeammateTagResponse

func ParseCreateTeammateTagResponse(rsp *http.Response) (*CreateTeammateTagResponse, error)

ParseCreateTeammateTagResponse parses an HTTP response from a CreateTeammateTagWithResponse call

func (CreateTeammateTagResponse) Status

func (r CreateTeammateTagResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeammateTagResponse) StatusCode

func (r CreateTeammateTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomFieldParameter

type CustomFieldParameter map[string]interface{}

An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields

type CustomFieldResponse

type CustomFieldResponse struct {
	ResourceLinks struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Description of the custom field
	Description string `json:"description"`

	// Unique identifier of the custom field
	Id string `json:"id"`

	// Name of the custom field
	Name string `json:"name"`

	// Type of the custom field
	Type CustomFieldResponseType `json:"type"`

	// List of possible values for a custom field of type `enum`.
	Values *[]struct {
		// Human readable label for the value
		Label *string `json:"label,omitempty"`

		// Value of the custom field
		Value *string `json:"value,omitempty"`
	} `json:"values,omitempty"`
}

CustomFieldResponse defines model for CustomFieldResponse.

type CustomFieldResponseType

type CustomFieldResponseType string

Type of the custom field

const (
	CustomFieldResponseTypeBoolean CustomFieldResponseType = "boolean"

	CustomFieldResponseTypeDatetime CustomFieldResponseType = "datetime"

	CustomFieldResponseTypeEnum CustomFieldResponseType = "enum"

	CustomFieldResponseTypeInbox CustomFieldResponseType = "inbox"

	CustomFieldResponseTypeNumber CustomFieldResponseType = "number"

	CustomFieldResponseTypeString CustomFieldResponseType = "string"

	CustomFieldResponseTypeTeammate CustomFieldResponseType = "teammate"
)

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) or read more about [Attachments](https://dev.frontapp.com/docs/attachments-1).  Max 25 MB.
	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. This reference is unique to custom channels. If you supply a reference generated by another endpoint, the message will not thread into the same conversation.
		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. **Important:** When sending a phone number, include a country code preceded by a plus (+) sign. For example, +33 for France. If you do not send a country code or include a plus sign, Front will normalize your phone number to the USA (+1).
		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 DeleteAContactResponse

type DeleteAContactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteAContactResponse

func ParseDeleteAContactResponse(rsp *http.Response) (*DeleteAContactResponse, error)

ParseDeleteAContactResponse parses an HTTP response from a DeleteAContactWithResponse call

func (DeleteAContactResponse) Status

func (r DeleteAContactResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAContactResponse) StatusCode

func (r DeleteAContactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAKnowledgeBaseCategoryResponse

type DeleteAKnowledgeBaseCategoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteAKnowledgeBaseCategoryResponse

func ParseDeleteAKnowledgeBaseCategoryResponse(rsp *http.Response) (*DeleteAKnowledgeBaseCategoryResponse, error)

ParseDeleteAKnowledgeBaseCategoryResponse parses an HTTP response from a DeleteAKnowledgeBaseCategoryWithResponse call

func (DeleteAKnowledgeBaseCategoryResponse) Status

Status returns HTTPResponse.Status

func (DeleteAKnowledgeBaseCategoryResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteAnAccountResponse

type DeleteAnAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteAnAccountResponse

func ParseDeleteAnAccountResponse(rsp *http.Response) (*DeleteAnAccountResponse, error)

ParseDeleteAnAccountResponse parses an HTTP response from a DeleteAnAccountWithResponse call

func (DeleteAnAccountResponse) Status

func (r DeleteAnAccountResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAnAccountResponse) StatusCode

func (r DeleteAnAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAnArticleResponse

type DeleteAnArticleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseArticleSlimResponse
}

func ParseDeleteAnArticleResponse

func ParseDeleteAnArticleResponse(rsp *http.Response) (*DeleteAnArticleResponse, error)

ParseDeleteAnArticleResponse parses an HTTP response from a DeleteAnArticleWithResponse call

func (DeleteAnArticleResponse) Status

func (r DeleteAnArticleResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAnArticleResponse) StatusCode

func (r DeleteAnArticleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCompanyTeammateGroupResponse

type DeleteCompanyTeammateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteCompanyTeammateGroupResponse

func ParseDeleteCompanyTeammateGroupResponse(rsp *http.Response) (*DeleteCompanyTeammateGroupResponse, error)

ParseDeleteCompanyTeammateGroupResponse parses an HTTP response from a DeleteCompanyTeammateGroupWithResponse call

func (DeleteCompanyTeammateGroupResponse) Status

Status returns HTTPResponse.Status

func (DeleteCompanyTeammateGroupResponse) StatusCode

func (r DeleteCompanyTeammateGroupResponse) StatusCode() int

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 DeleteContactHandleJSONBody

type DeleteContactHandleJSONBody DeleteContactHandle

DeleteContactHandleJSONBody defines parameters for DeleteContactHandle.

type DeleteContactHandleJSONRequestBody

type DeleteContactHandleJSONRequestBody DeleteContactHandleJSONBody

DeleteContactHandleJSONRequestBody defines body for DeleteContactHandle for application/json ContentType.

type DeleteContactHandleResponse

type DeleteContactHandleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteContactHandleResponse

func ParseDeleteContactHandleResponse(rsp *http.Response) (*DeleteContactHandleResponse, error)

ParseDeleteContactHandleResponse parses an HTTP response from a DeleteContactHandleWithResponse call

func (DeleteContactHandleResponse) Status

Status returns HTTPResponse.Status

func (DeleteContactHandleResponse) StatusCode

func (r DeleteContactHandleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteContactListResponse

type DeleteContactListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteContactListResponse

func ParseDeleteContactListResponse(rsp *http.Response) (*DeleteContactListResponse, error)

ParseDeleteContactListResponse parses an HTTP response from a DeleteContactListWithResponse call

func (DeleteContactListResponse) Status

func (r DeleteContactListResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteContactListResponse) StatusCode

func (r DeleteContactListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteConversationFollowersJSONBody

type DeleteConversationFollowersJSONBody struct {
	// IDs of the teammate to remove from the followers list. Alternatively, you can supply the teammates as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	TeammateIds []string `json:"teammate_ids"`
}

DeleteConversationFollowersJSONBody defines parameters for DeleteConversationFollowers.

type DeleteConversationFollowersJSONRequestBody

type DeleteConversationFollowersJSONRequestBody DeleteConversationFollowersJSONBody

DeleteConversationFollowersJSONRequestBody defines body for DeleteConversationFollowers for application/json ContentType.

type DeleteConversationFollowersResponse

type DeleteConversationFollowersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteConversationFollowersResponse

func ParseDeleteConversationFollowersResponse(rsp *http.Response) (*DeleteConversationFollowersResponse, error)

ParseDeleteConversationFollowersResponse parses an HTTP response from a DeleteConversationFollowersWithResponse call

func (DeleteConversationFollowersResponse) Status

Status returns HTTPResponse.Status

func (DeleteConversationFollowersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteDraft

type DeleteDraft struct {
	// Version of the draft
	Version string `json:"version"`
}

DeleteDraft defines model for DeleteDraft.

type DeleteDraftJSONBody

type DeleteDraftJSONBody DeleteDraft

DeleteDraftJSONBody defines parameters for DeleteDraft.

type DeleteDraftJSONRequestBody

type DeleteDraftJSONRequestBody DeleteDraftJSONBody

DeleteDraftJSONRequestBody defines body for DeleteDraft for application/json ContentType.

type DeleteDraftResponse

type DeleteDraftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteDraftResponse

func ParseDeleteDraftResponse(rsp *http.Response) (*DeleteDraftResponse, error)

ParseDeleteDraftResponse parses an HTTP response from a DeleteDraftWithResponse call

func (DeleteDraftResponse) Status

func (r DeleteDraftResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteDraftResponse) StatusCode

func (r DeleteDraftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFolderResponse

type DeleteFolderResponse 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 ParseDeleteFolderResponse

func ParseDeleteFolderResponse(rsp *http.Response) (*DeleteFolderResponse, error)

ParseDeleteFolderResponse parses an HTTP response from a DeleteFolderWithResponse call

func (DeleteFolderResponse) Status

func (r DeleteFolderResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteFolderResponse) StatusCode

func (r DeleteFolderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGroupResponse

type DeleteGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteGroupResponse

func ParseDeleteGroupResponse(rsp *http.Response) (*DeleteGroupResponse, error)

ParseDeleteGroupResponse parses an HTTP response from a DeleteGroupWithResponse call

func (DeleteGroupResponse) Status

func (r DeleteGroupResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteGroupResponse) StatusCode

func (r DeleteGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMessageTemplateResponse

type DeleteMessageTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteMessageTemplateResponse

func ParseDeleteMessageTemplateResponse(rsp *http.Response) (*DeleteMessageTemplateResponse, error)

ParseDeleteMessageTemplateResponse parses an HTTP response from a DeleteMessageTemplateWithResponse call

func (DeleteMessageTemplateResponse) Status

Status returns HTTPResponse.Status

func (DeleteMessageTemplateResponse) StatusCode

func (r DeleteMessageTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSignatureResponse

type DeleteSignatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteSignatureResponse

func ParseDeleteSignatureResponse(rsp *http.Response) (*DeleteSignatureResponse, error)

ParseDeleteSignatureResponse parses an HTTP response from a DeleteSignatureWithResponse call

func (DeleteSignatureResponse) Status

func (r DeleteSignatureResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSignatureResponse) StatusCode

func (r DeleteSignatureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTagResponse

type DeleteTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteTagResponse

func ParseDeleteTagResponse(rsp *http.Response) (*DeleteTagResponse, error)

ParseDeleteTagResponse parses an HTTP response from a DeleteTagWithResponse call

func (DeleteTagResponse) Status

func (r DeleteTagResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTagResponse) StatusCode

func (r DeleteTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadAttachmentForACommentResponse

type DownloadAttachmentForACommentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDownloadAttachmentForACommentResponse

func ParseDownloadAttachmentForACommentResponse(rsp *http.Response) (*DownloadAttachmentForACommentResponse, error)

ParseDownloadAttachmentForACommentResponse parses an HTTP response from a DownloadAttachmentForACommentWithResponse call

func (DownloadAttachmentForACommentResponse) Status

Status returns HTTPResponse.Status

func (DownloadAttachmentForACommentResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DownloadAttachmentForAMessageResponse

type DownloadAttachmentForAMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDownloadAttachmentForAMessageResponse

func ParseDownloadAttachmentForAMessageResponse(rsp *http.Response) (*DownloadAttachmentForAMessageResponse, error)

ParseDownloadAttachmentForAMessageResponse parses an HTTP response from a DownloadAttachmentForAMessageWithResponse call

func (DownloadAttachmentForAMessageResponse) Status

Status returns HTTPResponse.Status

func (DownloadAttachmentForAMessageResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DownloadAttachmentForAMessageTemplateResponse

type DownloadAttachmentForAMessageTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDownloadAttachmentForAMessageTemplateResponse

func ParseDownloadAttachmentForAMessageTemplateResponse(rsp *http.Response) (*DownloadAttachmentForAMessageTemplateResponse, error)

ParseDownloadAttachmentForAMessageTemplateResponse parses an HTTP response from a DownloadAttachmentForAMessageTemplateWithResponse call

func (DownloadAttachmentForAMessageTemplateResponse) Status

Status returns HTTPResponse.Status

func (DownloadAttachmentForAMessageTemplateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DownloadAttachmentFromAnArticleResponse

type DownloadAttachmentFromAnArticleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDownloadAttachmentFromAnArticleResponse

func ParseDownloadAttachmentFromAnArticleResponse(rsp *http.Response) (*DownloadAttachmentFromAnArticleResponse, error)

ParseDownloadAttachmentFromAnArticleResponse parses an HTTP response from a DownloadAttachmentFromAnArticleWithResponse call

func (DownloadAttachmentFromAnArticleResponse) Status

Status returns HTTPResponse.Status

func (DownloadAttachmentFromAnArticleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DownloadAttachmentResponse

type DownloadAttachmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDownloadAttachmentResponse

func ParseDownloadAttachmentResponse(rsp *http.Response) (*DownloadAttachmentResponse, error)

ParseDownloadAttachmentResponse parses an HTTP response from a DownloadAttachmentWithResponse call

func (DownloadAttachmentResponse) Status

Status returns HTTPResponse.Status

func (DownloadAttachmentResponse) StatusCode

func (r DownloadAttachmentResponse) 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 EditDraftJSONBody

type EditDraftJSONBody EditDraft

EditDraftJSONBody defines parameters for EditDraft.

type EditDraftJSONRequestBody

type EditDraftJSONRequestBody EditDraftJSONBody

EditDraftJSONRequestBody defines body for EditDraft for application/json ContentType.

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 EditDraftResponse

type EditDraftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageResponse
}

func ParseEditDraftResponse

func ParseEditDraftResponse(rsp *http.Response) (*EditDraftResponse, error)

ParseEditDraftResponse parses an HTTP response from a EditDraftWithResponse call

func (EditDraftResponse) Status

func (r EditDraftResponse) Status() string

Status returns HTTPResponse.Status

func (EditDraftResponse) StatusCode

func (r EditDraftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Event

type Event EventResponse

An event is created every time something interesting is happening in Front.

type EventResponse

type EventResponse struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Conversation *ConversationResponse `json:"conversation,omitempty"`

	// Date at which the event has been emitted
	EmittedAt *float32 `json:"emitted_at,omitempty"`

	// Unique identifier of the event
	Id *string `json:"id,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 {
			// Type of resource
			Type *interface{} `json:"type,omitempty"`
		} `json:"_meta,omitempty"`

		// The resource which received the event
		Data *interface{} `json:"data,omitempty"`
	} `json:"target,omitempty"`

	// Type of event
	Type *EventResponseType `json:"type,omitempty"`
}

An event is created every time something interesting is happening in Front.

type EventResponseType

type EventResponseType string

Type of event

const (
	EventResponseTypeArchive EventResponseType = "archive"

	EventResponseTypeAssign EventResponseType = "assign"

	EventResponseTypeComment EventResponseType = "comment"

	EventResponseTypeConversationsMerged EventResponseType = "conversations_merged"

	EventResponseTypeCustomFieldUpdated EventResponseType = "custom_field_updated"

	EventResponseTypeForward EventResponseType = "forward"

	EventResponseTypeInbound EventResponseType = "inbound"

	EventResponseTypeLinkAdded EventResponseType = "link_added"

	EventResponseTypeLinkRemoved EventResponseType = "link_removed"

	EventResponseTypeMacroTriggered EventResponseType = "macro_triggered"

	EventResponseTypeMention EventResponseType = "mention"

	EventResponseTypeMessageBounceError EventResponseType = "message_bounce_error"

	EventResponseTypeMove EventResponseType = "move"

	EventResponseTypeOutReply EventResponseType = "out_reply"

	EventResponseTypeOutbound EventResponseType = "outbound"

	EventResponseTypeReminder EventResponseType = "reminder"

	EventResponseTypeReopen EventResponseType = "reopen"

	EventResponseTypeRestore EventResponseType = "restore"

	EventResponseTypeSendingError EventResponseType = "sending_error"

	EventResponseTypeTag EventResponseType = "tag"

	EventResponseTypeTicketStatusUpdate EventResponseType = "ticket_status_update"

	EventResponseTypeTopicIdentified EventResponseType = "topic_identified"

	EventResponseTypeTrash EventResponseType = "trash"

	EventResponseTypeUnassign EventResponseType = "unassign"

	EventResponseTypeUntag EventResponseType = "untag"
)

Defines values for EventResponseType.

type FetchAnAccountResponse

type FetchAnAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AccountResponse
}

func ParseFetchAnAccountResponse

func ParseFetchAnAccountResponse(rsp *http.Response) (*FetchAnAccountResponse, error)

ParseFetchAnAccountResponse parses an HTTP response from a FetchAnAccountWithResponse call

func (FetchAnAccountResponse) Status

func (r FetchAnAccountResponse) Status() string

Status returns HTTPResponse.Status

func (FetchAnAccountResponse) StatusCode

func (r FetchAnAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAKnowledgeBaseArticleResponse

type GetAKnowledgeBaseArticleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseArticleSlimResponse
}

func ParseGetAKnowledgeBaseArticleResponse

func ParseGetAKnowledgeBaseArticleResponse(rsp *http.Response) (*GetAKnowledgeBaseArticleResponse, error)

ParseGetAKnowledgeBaseArticleResponse parses an HTTP response from a GetAKnowledgeBaseArticleWithResponse call

func (GetAKnowledgeBaseArticleResponse) Status

Status returns HTTPResponse.Status

func (GetAKnowledgeBaseArticleResponse) StatusCode

func (r GetAKnowledgeBaseArticleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAKnowledgeBaseCategoryResponse

type GetAKnowledgeBaseCategoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseCategorySlimResponse
}

func ParseGetAKnowledgeBaseCategoryResponse

func ParseGetAKnowledgeBaseCategoryResponse(rsp *http.Response) (*GetAKnowledgeBaseCategoryResponse, error)

ParseGetAKnowledgeBaseCategoryResponse parses an HTTP response from a GetAKnowledgeBaseCategoryWithResponse call

func (GetAKnowledgeBaseCategoryResponse) Status

Status returns HTTPResponse.Status

func (GetAKnowledgeBaseCategoryResponse) StatusCode

func (r GetAKnowledgeBaseCategoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAKnowledgeBaseResponse

type GetAKnowledgeBaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseSlimResponse
}

func ParseGetAKnowledgeBaseResponse

func ParseGetAKnowledgeBaseResponse(rsp *http.Response) (*GetAKnowledgeBaseResponse, error)

ParseGetAKnowledgeBaseResponse parses an HTTP response from a GetAKnowledgeBaseWithResponse call

func (GetAKnowledgeBaseResponse) Status

func (r GetAKnowledgeBaseResponse) Status() string

Status returns HTTPResponse.Status

func (GetAKnowledgeBaseResponse) StatusCode

func (r GetAKnowledgeBaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAKnowledgeBaseWithContentInDefaultLocaleResponse

type GetAKnowledgeBaseWithContentInDefaultLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseResponse
}

func ParseGetAKnowledgeBaseWithContentInDefaultLocaleResponse

func ParseGetAKnowledgeBaseWithContentInDefaultLocaleResponse(rsp *http.Response) (*GetAKnowledgeBaseWithContentInDefaultLocaleResponse, error)

ParseGetAKnowledgeBaseWithContentInDefaultLocaleResponse parses an HTTP response from a GetAKnowledgeBaseWithContentInDefaultLocaleWithResponse call

func (GetAKnowledgeBaseWithContentInDefaultLocaleResponse) Status

Status returns HTTPResponse.Status

func (GetAKnowledgeBaseWithContentInDefaultLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAKnowledgeBaseWithContentInSpecifiedLocaleResponse

type GetAKnowledgeBaseWithContentInSpecifiedLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseResponse
}

func ParseGetAKnowledgeBaseWithContentInSpecifiedLocaleResponse

func ParseGetAKnowledgeBaseWithContentInSpecifiedLocaleResponse(rsp *http.Response) (*GetAKnowledgeBaseWithContentInSpecifiedLocaleResponse, error)

ParseGetAKnowledgeBaseWithContentInSpecifiedLocaleResponse parses an HTTP response from a GetAKnowledgeBaseWithContentInSpecifiedLocaleWithResponse call

func (GetAKnowledgeBaseWithContentInSpecifiedLocaleResponse) Status

Status returns HTTPResponse.Status

func (GetAKnowledgeBaseWithContentInSpecifiedLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAnalyticsExportResponse

type GetAnalyticsExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AnalyticsExportResponse
}

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 GetAnalyticsReportResponse

type GetAnalyticsReportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AnalyticsReportResponse
}

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 GetChannelResponse

type GetChannelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ChannelResponse
}

func ParseGetChannelResponse

func ParseGetChannelResponse(rsp *http.Response) (*GetChannelResponse, error)

ParseGetChannelResponse parses an HTTP response from a GetChannelWithResponse call

func (GetChannelResponse) Status

func (r GetChannelResponse) Status() string

Status returns HTTPResponse.Status

func (GetChannelResponse) StatusCode

func (r GetChannelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChildFoldersResponse

type GetChildFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]MessageTemplateFolderResponse `json:"_results,omitempty"`
	}
}

func ParseGetChildFoldersResponse

func ParseGetChildFoldersResponse(rsp *http.Response) (*GetChildFoldersResponse, error)

ParseGetChildFoldersResponse parses an HTTP response from a GetChildFoldersWithResponse call

func (GetChildFoldersResponse) Status

func (r GetChildFoldersResponse) Status() string

Status returns HTTPResponse.Status

func (GetChildFoldersResponse) StatusCode

func (r GetChildFoldersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChildTemplatesResponse

type GetChildTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]MessageTemplateFolderResponse `json:"_results,omitempty"`
	}
}

func ParseGetChildTemplatesResponse

func ParseGetChildTemplatesResponse(rsp *http.Response) (*GetChildTemplatesResponse, error)

ParseGetChildTemplatesResponse parses an HTTP response from a GetChildTemplatesWithResponse call

func (GetChildTemplatesResponse) Status

func (r GetChildTemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetChildTemplatesResponse) StatusCode

func (r GetChildTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCommentResponse

type GetCommentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CommentResponse
}

func ParseGetCommentResponse

func ParseGetCommentResponse(rsp *http.Response) (*GetCommentResponse, error)

ParseGetCommentResponse parses an HTTP response from a GetCommentWithResponse call

func (GetCommentResponse) Status

func (r GetCommentResponse) Status() string

Status returns HTTPResponse.Status

func (GetCommentResponse) StatusCode

func (r GetCommentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCompanyTeammateGroupResponse

type GetCompanyTeammateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeammateGroupResponse
}

func ParseGetCompanyTeammateGroupResponse

func ParseGetCompanyTeammateGroupResponse(rsp *http.Response) (*GetCompanyTeammateGroupResponse, error)

ParseGetCompanyTeammateGroupResponse parses an HTTP response from a GetCompanyTeammateGroupWithResponse call

func (GetCompanyTeammateGroupResponse) Status

Status returns HTTPResponse.Status

func (GetCompanyTeammateGroupResponse) StatusCode

func (r GetCompanyTeammateGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetContactResponse

type GetContactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ContactResponse
}

func ParseGetContactResponse

func ParseGetContactResponse(rsp *http.Response) (*GetContactResponse, error)

ParseGetContactResponse parses an HTTP response from a GetContactWithResponse call

func (GetContactResponse) Status

func (r GetContactResponse) Status() string

Status returns HTTPResponse.Status

func (GetContactResponse) StatusCode

func (r GetContactResponse) 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 GetEventResponse

type GetEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EventResponse
}

func ParseGetEventResponse

func ParseGetEventResponse(rsp *http.Response) (*GetEventResponse, error)

ParseGetEventResponse parses an HTTP response from a GetEventWithResponse call

func (GetEventResponse) Status

func (r GetEventResponse) Status() string

Status returns HTTPResponse.Status

func (GetEventResponse) StatusCode

func (r GetEventResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFolderResponse

type GetFolderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageTemplateFolderResponse
}

func ParseGetFolderResponse

func ParseGetFolderResponse(rsp *http.Response) (*GetFolderResponse, error)

ParseGetFolderResponse parses an HTTP response from a GetFolderWithResponse call

func (GetFolderResponse) Status

func (r GetFolderResponse) Status() string

Status returns HTTPResponse.Status

func (GetFolderResponse) StatusCode

func (r GetFolderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInboxResponse

type GetInboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InboxResponse
}

func ParseGetInboxResponse

func ParseGetInboxResponse(rsp *http.Response) (*GetInboxResponse, error)

ParseGetInboxResponse parses an HTTP response from a GetInboxWithResponse call

func (GetInboxResponse) Status

func (r GetInboxResponse) Status() string

Status returns HTTPResponse.Status

func (GetInboxResponse) StatusCode

func (r GetInboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetKnowledgeBaseArticleWithContentInDefaultLocaleResponse

type GetKnowledgeBaseArticleWithContentInDefaultLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseArticleResponse
}

func ParseGetKnowledgeBaseArticleWithContentInDefaultLocaleResponse

func ParseGetKnowledgeBaseArticleWithContentInDefaultLocaleResponse(rsp *http.Response) (*GetKnowledgeBaseArticleWithContentInDefaultLocaleResponse, error)

ParseGetKnowledgeBaseArticleWithContentInDefaultLocaleResponse parses an HTTP response from a GetKnowledgeBaseArticleWithContentInDefaultLocaleWithResponse call

func (GetKnowledgeBaseArticleWithContentInDefaultLocaleResponse) Status

Status returns HTTPResponse.Status

func (GetKnowledgeBaseArticleWithContentInDefaultLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse

type GetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseArticleResponse
}

func ParseGetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse

func ParseGetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse(rsp *http.Response) (*GetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse, error)

ParseGetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse parses an HTTP response from a GetKnowledgeBaseArticleWithContentInSpecifiedLocaleWithResponse call

func (GetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse) Status

Status returns HTTPResponse.Status

func (GetKnowledgeBaseArticleWithContentInSpecifiedLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetKnowledgeBaseCategoryContentInDefaultLocaleResponse

type GetKnowledgeBaseCategoryContentInDefaultLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseCategoryResponse
}

func ParseGetKnowledgeBaseCategoryContentInDefaultLocaleResponse

func ParseGetKnowledgeBaseCategoryContentInDefaultLocaleResponse(rsp *http.Response) (*GetKnowledgeBaseCategoryContentInDefaultLocaleResponse, error)

ParseGetKnowledgeBaseCategoryContentInDefaultLocaleResponse parses an HTTP response from a GetKnowledgeBaseCategoryContentInDefaultLocaleWithResponse call

func (GetKnowledgeBaseCategoryContentInDefaultLocaleResponse) Status

Status returns HTTPResponse.Status

func (GetKnowledgeBaseCategoryContentInDefaultLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse

type GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseCategoryResponse
}

func ParseGetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse

func ParseGetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse(rsp *http.Response) (*GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse, error)

ParseGetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse parses an HTTP response from a GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleWithResponse call

func (GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse) Status

Status returns HTTPResponse.Status

func (GetKnowledgeBaseCategoryWithContentInSpecifiedLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLinkResponse

type GetLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LinkResponse
}

func ParseGetLinkResponse

func ParseGetLinkResponse(rsp *http.Response) (*GetLinkResponse, error)

ParseGetLinkResponse parses an HTTP response from a GetLinkWithResponse call

func (GetLinkResponse) Status

func (r GetLinkResponse) Status() string

Status returns HTTPResponse.Status

func (GetLinkResponse) StatusCode

func (r GetLinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMessageResponse

type GetMessageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageResponse
}

func ParseGetMessageResponse

func ParseGetMessageResponse(rsp *http.Response) (*GetMessageResponse, error)

ParseGetMessageResponse parses an HTTP response from a GetMessageWithResponse call

func (GetMessageResponse) Status

func (r GetMessageResponse) Status() string

Status returns HTTPResponse.Status

func (GetMessageResponse) StatusCode

func (r GetMessageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMessageSeenStatusResponse

type GetMessageSeenStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]SeenReceiptResponse `json:"_results,omitempty"`
	}
}

func ParseGetMessageSeenStatusResponse

func ParseGetMessageSeenStatusResponse(rsp *http.Response) (*GetMessageSeenStatusResponse, error)

ParseGetMessageSeenStatusResponse parses an HTTP response from a GetMessageSeenStatusWithResponse call

func (GetMessageSeenStatusResponse) Status

Status returns HTTPResponse.Status

func (GetMessageSeenStatusResponse) StatusCode

func (r GetMessageSeenStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMessageTemplateResponse

type GetMessageTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageTemplateResponse
}

func ParseGetMessageTemplateResponse

func ParseGetMessageTemplateResponse(rsp *http.Response) (*GetMessageTemplateResponse, error)

ParseGetMessageTemplateResponse parses an HTTP response from a GetMessageTemplateWithResponse call

func (GetMessageTemplateResponse) Status

Status returns HTTPResponse.Status

func (GetMessageTemplateResponse) StatusCode

func (r GetMessageTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRuleResponse

type GetRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RuleResponse
}

func ParseGetRuleResponse

func ParseGetRuleResponse(rsp *http.Response) (*GetRuleResponse, error)

ParseGetRuleResponse parses an HTTP response from a GetRuleWithResponse call

func (GetRuleResponse) Status

func (r GetRuleResponse) Status() string

Status returns HTTPResponse.Status

func (GetRuleResponse) StatusCode

func (r GetRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetShiftResponse

type GetShiftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ShiftResponse
}

func ParseGetShiftResponse

func ParseGetShiftResponse(rsp *http.Response) (*GetShiftResponse, error)

ParseGetShiftResponse parses an HTTP response from a GetShiftWithResponse call

func (GetShiftResponse) Status

func (r GetShiftResponse) Status() string

Status returns HTTPResponse.Status

func (GetShiftResponse) StatusCode

func (r GetShiftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSignaturesResponse

type GetSignaturesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SignatureResponse
}

func ParseGetSignaturesResponse

func ParseGetSignaturesResponse(rsp *http.Response) (*GetSignaturesResponse, error)

ParseGetSignaturesResponse parses an HTTP response from a GetSignaturesWithResponse call

func (GetSignaturesResponse) Status

func (r GetSignaturesResponse) Status() string

Status returns HTTPResponse.Status

func (GetSignaturesResponse) StatusCode

func (r GetSignaturesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTagResponse

type GetTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TagResponse
}

func ParseGetTagResponse

func ParseGetTagResponse(rsp *http.Response) (*GetTagResponse, error)

ParseGetTagResponse parses an HTTP response from a GetTagWithResponse call

func (GetTagResponse) Status

func (r GetTagResponse) Status() string

Status returns HTTPResponse.Status

func (GetTagResponse) StatusCode

func (r GetTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamResponse

type GetTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeamResponse
}

func ParseGetTeamResponse

func ParseGetTeamResponse(rsp *http.Response) (*GetTeamResponse, error)

ParseGetTeamResponse parses an HTTP response from a GetTeamWithResponse call

func (GetTeamResponse) Status

func (r GetTeamResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeamResponse) StatusCode

func (r GetTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeammateResponse

type GetTeammateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeammateResponse
}

func ParseGetTeammateResponse

func ParseGetTeammateResponse(rsp *http.Response) (*GetTeammateResponse, error)

ParseGetTeammateResponse parses an HTTP response from a GetTeammateWithResponse call

func (GetTeammateResponse) Status

func (r GetTeammateResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeammateResponse) StatusCode

func (r GetTeammateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTicketStatusByIdResponse

type GetTicketStatusByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StatusResponse
}

func ParseGetTicketStatusByIdResponse

func ParseGetTicketStatusByIdResponse(rsp *http.Response) (*GetTicketStatusByIdResponse, error)

ParseGetTicketStatusByIdResponse parses an HTTP response from a GetTicketStatusByIdWithResponse call

func (GetTicketStatusByIdResponse) Status

Status returns HTTPResponse.Status

func (GetTicketStatusByIdResponse) StatusCode

func (r GetTicketStatusByIdResponse) 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 {
	ResourceLinks struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Unique ID of company
	Id string `json:"id"`

	// Name of company
	Name string `json:"name"`
}

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. Use the message UID as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1) to check whether the [message is created successfully](https://dev.frontapp.com/reference/messages#creating-a-new-message).
		MessageUid *string `json:"message_uid,omitempty"`

		// The status of the incoming message. Should return 'accepted' if successful.
		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) or read more about [Attachments](https://dev.frontapp.com/docs/attachments-1).  Max 25 MB.
	Attachments *[]string `json:"attachments,omitempty"`

	// List of the recipient handles who will receive a blind copy of this message
	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"`

	// List of the recipient handles who will receive a copy of this message
	Cc *[]string `json:"cc,omitempty"`

	// If supplied, Front will thread this message into conversation with the given ID. Note that including this parameter nullifies the `thread_ref` parameter _completely_.
	ConversationId *string `json:"conversation_id,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. This reference is unique to importing historical messages. If you supply a reference generated by another endpoint, the message will not thread into the same conversation.
		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. **Important:** When sending a phone number, include a country code preceded by a plus (+) sign. For example, +33 for France. If you do not send a country code or include a plus sign, Front will normalize your phone number to the USA (+1).
		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"`

	// List of the recipient handles who will receive this message
	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 {
	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:"_links,omitempty"`

	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields *CustomFieldParameter `json:"custom_fields,omitempty"`

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

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

	// Whether or not the inbox is available to all members of a team by default
	IsPublic *bool `json:"is_public,omitempty"`

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

InboxResponse defines model for InboxResponse.

type KnowledgeBase

type KnowledgeBase KnowledgeBaseResponse

KnowledgeBase defines model for knowledgeBase.

type KnowledgeBaseArticle

type KnowledgeBaseArticle KnowledgeBaseArticleResponse

KnowledgeBaseArticle defines model for knowledgeBaseArticle.

type KnowledgeBaseArticleCreate

type KnowledgeBaseArticleCreate struct {
	// Teammate ID of the article author
	AuthorId *string `json:"author_id,omitempty"`

	// ID of the category this article belongs to
	CategoryId *string `json:"category_id,omitempty"`

	// HTML content of the article
	Content *string `json:"content,omitempty"`

	// Article status
	Status *KnowledgeBaseArticleCreateStatus `json:"status,omitempty"`

	// Subject of the article
	Subject *string `json:"subject,omitempty"`
}

KnowledgeBaseArticleCreate defines model for KnowledgeBaseArticleCreate.

type KnowledgeBaseArticleCreateStatus

type KnowledgeBaseArticleCreateStatus string

Article status

const (
	KnowledgeBaseArticleCreateStatusDraft KnowledgeBaseArticleCreateStatus = "draft"

	KnowledgeBaseArticleCreateStatusPublished KnowledgeBaseArticleCreateStatus = "published"
)

Defines values for KnowledgeBaseArticleCreateStatus.

type KnowledgeBaseArticlePatch

type KnowledgeBaseArticlePatch struct {
	// Teammate ID of the article author
	AuthorId *string `json:"author_id,omitempty"`

	// HTML content of the article
	Content *string `json:"content,omitempty"`

	// Article status
	Status *KnowledgeBaseArticlePatchStatus `json:"status,omitempty"`

	// Subject of the article
	Subject *string `json:"subject,omitempty"`
}

KnowledgeBaseArticlePatch defines model for KnowledgeBaseArticlePatch.

type KnowledgeBaseArticlePatchStatus

type KnowledgeBaseArticlePatchStatus string

Article status

const (
	KnowledgeBaseArticlePatchStatusDraft KnowledgeBaseArticlePatchStatus = "draft"

	KnowledgeBaseArticlePatchStatusPublished KnowledgeBaseArticlePatchStatus = "published"
)

Defines values for KnowledgeBaseArticlePatchStatus.

type KnowledgeBaseArticleResponse

type KnowledgeBaseArticleResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to the article's category
			Category *string `json:"category,omitempty"`

			// Link to the article's knowledge base
			KnowledgeBase *string `json:"knowledge_base,omitempty"`

			// Link to the article's last editor
			LastEditor *string `json:"last_editor,omitempty"`
		} `json:"related,omitempty"`

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

	// List of files attached to the article
	Attachments []Attachment `json:"attachments"`

	// Article HTML content
	Content string `json:"content"`

	// Timestamp when the article was created
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Unique identifier of the knowledge base article
	Id string `json:"id"`

	// Article keywords
	Keywords []string `json:"keywords"`

	// Timestamp when the article was last edited
	LastEditedAt *float32 `json:"last_edited_at,omitempty"`

	// Locale of the article
	Locale string `json:"locale"`

	// Name of the article
	Name string `json:"name"`

	// URL slug of the article. Construct the full URL using the template of protocol/knowledge base domain/locale/slug, such as https://yourDomain.com/en/articles/5
	Slug string `json:"slug"`

	// Status of the article
	Status string `json:"status"`

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

KnowledgeBaseArticleResponse defines model for KnowledgeBaseArticleResponse.

type KnowledgeBaseArticleSlim

type KnowledgeBaseArticleSlim KnowledgeBaseArticleSlimResponse

KnowledgeBaseArticleSlim defines model for knowledgeBaseArticleSlim.

type KnowledgeBaseArticleSlimResponse

type KnowledgeBaseArticleSlimResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to the article's category
			Category *string `json:"category"`

			// Link to the article's content
			Content *string `json:"content,omitempty"`

			// Link to the article's knowledge base
			KnowledgeBase *string `json:"knowledge_base,omitempty"`
		} `json:"related,omitempty"`

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

	// Timestamp when the article was created
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Unique identifier of the knowledge base article
	Id string `json:"id"`

	// List of the locales the article supports
	Locales []string `json:"locales"`

	// URL slug of the article. Construct the full URL using the template of protocol/knowledge base domain/locale/slug, such as https://yourDomain.com/en/articles/5
	Slug string `json:"slug"`

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

KnowledgeBaseArticleSlimResponse defines model for KnowledgeBaseArticleSlimResponse.

type KnowledgeBaseCategory

type KnowledgeBaseCategory KnowledgeBaseCategoryResponse

KnowledgeBaseCategory defines model for knowledgeBaseCategory.

type KnowledgeBaseCategoryCreate

type KnowledgeBaseCategoryCreate struct {
	// Description of the knowledge base category
	Description *string `json:"description,omitempty"`

	// Name of the knowledge base category
	Name string `json:"name"`

	// ID of the parent category
	ParentCategoryId *string `json:"parent_category_id,omitempty"`
}

KnowledgeBaseCategoryCreate defines model for KnowledgeBaseCategoryCreate.

type KnowledgeBaseCategoryPatch

type KnowledgeBaseCategoryPatch struct {
	// Description of the knowledge base category
	Description *string `json:"description,omitempty"`

	// Name of the knowledge base category
	Name *string `json:"name,omitempty"`
}

KnowledgeBaseCategoryPatch defines model for KnowledgeBaseCategoryPatch.

type KnowledgeBaseCategoryResponse

type KnowledgeBaseCategoryResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to articles in this category
			Articles *string `json:"articles,omitempty"`

			// Link to the category's knowledge base
			KnowledgeBase *string `json:"knowledge_base,omitempty"`

			// Link to the category's parent
			ParentCategory *string `json:"parent_category"`
		} `json:"related,omitempty"`

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

	// Timestamp when the category was created
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Description of the category
	Description *string `json:"description"`

	// Unique identifier of the knowledge base category
	Id string `json:"id"`

	// Is the category hidden
	IsHidden bool `json:"is_hidden"`

	// Locale of this category
	Locale KnowledgeBaseCategoryResponseLocale `json:"locale"`

	// Category name
	Name *string `json:"name"`

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

KnowledgeBaseCategoryResponse defines model for KnowledgeBaseCategoryResponse.

type KnowledgeBaseCategoryResponseLocale

type KnowledgeBaseCategoryResponseLocale string

Locale of this category

const (
	KnowledgeBaseCategoryResponseLocaleEn KnowledgeBaseCategoryResponseLocale = "en"

	KnowledgeBaseCategoryResponseLocaleFr KnowledgeBaseCategoryResponseLocale = "fr"
)

Defines values for KnowledgeBaseCategoryResponseLocale.

type KnowledgeBaseCategorySlim

type KnowledgeBaseCategorySlim KnowledgeBaseCategorySlimResponse

KnowledgeBaseCategorySlim defines model for knowledgeBaseCategorySlim.

type KnowledgeBaseCategorySlimResponse

type KnowledgeBaseCategorySlimResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to articles in this category
			Articles *string `json:"articles,omitempty"`

			// Link to the category's knowledge base
			KnowledgeBase *string `json:"knowledge_base,omitempty"`

			// Link to the category's parent
			ParentCategory *string `json:"parent_category"`
		} `json:"related,omitempty"`

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

	// Timestamp when the category was created
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Unique identifier of the knowledge base category
	Id string `json:"id"`

	// Is the category hidden from navigation and breadcrumbs (topics are accessed as direct links)
	IsHidden bool `json:"is_hidden"`

	// List of the locales the category supports
	Locales []string `json:"locales"`

	// URL slug of the category. Construct the full URL using the template of protocol/knowledge base domain/locale/slug, such as https://yourDomain.com/en/categories/2
	Slug string `json:"slug"`

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

KnowledgeBaseCategorySlimResponse defines model for KnowledgeBaseCategorySlimResponse.

type KnowledgeBaseCreate

type KnowledgeBaseCreate struct {
	// Name of the knowledge base
	Name string `json:"name"`

	// Determines if the knowledge base is publicly available or private only to your company
	Type *KnowledgeBaseCreateType `json:"type,omitempty"`
}

KnowledgeBaseCreate defines model for KnowledgeBaseCreate.

type KnowledgeBaseCreateType

type KnowledgeBaseCreateType string

Determines if the knowledge base is publicly available or private only to your company

const (
	KnowledgeBaseCreateTypeExternal KnowledgeBaseCreateType = "external"

	KnowledgeBaseCreateTypeInternal KnowledgeBaseCreateType = "internal"
)

Defines values for KnowledgeBaseCreateType.

type KnowledgeBasePatch

type KnowledgeBasePatch struct {
	// Name of the knowledge base
	Name *string `json:"name,omitempty"`
}

KnowledgeBasePatch defines model for KnowledgeBasePatch.

type KnowledgeBaseResponse

type KnowledgeBaseResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to articles associated to the knowledge base
			Articles *string `json:"articles,omitempty"`

			// Link to categories associated to the knowledge base
			Categories *string `json:"categories,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Timestamp when the knowledge base was created
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Unique identifier of the knowledge base
	Id string `json:"id"`

	// Locale of this requested KB
	Locale KnowledgeBaseResponseLocale `json:"locale"`

	// Knowledge base name
	Name string `json:"name"`

	// Status of the KB
	Status KnowledgeBaseResponseStatus `json:"status"`

	// Type of the KB
	Type KnowledgeBaseResponseType `json:"type"`

	// Timestamp when the knowledge base was updated
	UpdatedAt *float32 `json:"updated_at,omitempty"`
}

KnowledgeBaseResponse defines model for KnowledgeBaseResponse.

type KnowledgeBaseResponseLocale

type KnowledgeBaseResponseLocale string

Locale of this requested KB

const (
	KnowledgeBaseResponseLocaleEn KnowledgeBaseResponseLocale = "en"

	KnowledgeBaseResponseLocaleFr KnowledgeBaseResponseLocale = "fr"
)

Defines values for KnowledgeBaseResponseLocale.

type KnowledgeBaseResponseStatus

type KnowledgeBaseResponseStatus string

Status of the KB

const (
	KnowledgeBaseResponseStatusPublished KnowledgeBaseResponseStatus = "published"

	KnowledgeBaseResponseStatusUnpublished KnowledgeBaseResponseStatus = "unpublished"
)

Defines values for KnowledgeBaseResponseStatus.

type KnowledgeBaseResponseType

type KnowledgeBaseResponseType string

Type of the KB

const (
	KnowledgeBaseResponseTypeExternal KnowledgeBaseResponseType = "external"

	KnowledgeBaseResponseTypeInternal KnowledgeBaseResponseType = "internal"
)

Defines values for KnowledgeBaseResponseType.

type KnowledgeBaseSlim

type KnowledgeBaseSlim KnowledgeBaseSlimResponse

KnowledgeBaseSlim defines model for knowledgeBaseSlim.

type KnowledgeBaseSlimResponse

type KnowledgeBaseSlimResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to articles associated to the knowledge base
			Articles *string `json:"articles,omitempty"`

			// Link to categories associated to the knowledge base
			Categories *string `json:"categories,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Timestamp when the knowledge base was created
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Unique identifier of the knowledge base
	Id string `json:"id"`

	// List of the KB's possible locales
	Locales []string `json:"locales"`

	// Type of the KB
	Type KnowledgeBaseSlimResponseType `json:"type"`

	// Timestamp when the knowledge base was updated
	UpdatedAt *float32 `json:"updated_at,omitempty"`
}

KnowledgeBaseSlimResponse defines model for KnowledgeBaseSlimResponse.

type KnowledgeBaseSlimResponseType

type KnowledgeBaseSlimResponseType string

Type of the KB

const (
	KnowledgeBaseSlimResponseTypeExternal KnowledgeBaseSlimResponseType = "external"

	KnowledgeBaseSlimResponseTypeInternal KnowledgeBaseSlimResponseType = "internal"
)

Defines values for KnowledgeBaseSlimResponseType.

type Limit

type Limit int

Limit defines model for limit.

type Limiter

type Limiter interface {
	Wait(context.Context) error
}
type Link LinkResponse

A link used to connect a Front conversation to an external resource.

type LinkResponse

type LinkResponse struct {
	ResourceLinks struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields CustomFieldParameter `json:"custom_fields"`

	// Underlying identifying external URL of the link
	ExternalUrl string `json:"external_url"`

	// Unique identifier of the link
	Id string `json:"id"`

	// Display name of the link
	Name string `json:"name"`

	// Type of the link. Typically associated with the underlying link provider (if known)
	Type string `json:"type"`
}

A link used to connect a Front conversation to an external resource.

type ListAccountContactsParams

type ListAccountContactsParams struct {
	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Field used to sort the contacts. Either `created_at` or `updated_at`.
	SortBy *SortByCards `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListAccountContactsParamsSortOrder `json:"sort_order,omitempty"`
}

ListAccountContactsParams defines parameters for ListAccountContacts.

type ListAccountContactsParamsSortOrder

type ListAccountContactsParamsSortOrder string

ListAccountContactsParamsSortOrder defines parameters for ListAccountContacts.

type ListAccountContactsResponse

type ListAccountContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ContactResponse `json:"_results,omitempty"`
	}
}

func ParseListAccountContactsResponse

func ParseListAccountContactsResponse(rsp *http.Response) (*ListAccountContactsResponse, error)

ParseListAccountContactsResponse parses an HTTP response from a ListAccountContactsWithResponse call

func (ListAccountContactsResponse) Status

Status returns HTTPResponse.Status

func (ListAccountContactsResponse) StatusCode

func (r ListAccountContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAccountCustomFieldsResponse

type ListAccountCustomFieldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]CustomFieldResponse `json:"_results,omitempty"`
	}
}

func ParseListAccountCustomFieldsResponse

func ParseListAccountCustomFieldsResponse(rsp *http.Response) (*ListAccountCustomFieldsResponse, error)

ParseListAccountCustomFieldsResponse parses an HTTP response from a ListAccountCustomFieldsWithResponse call

func (ListAccountCustomFieldsResponse) Status

Status returns HTTPResponse.Status

func (ListAccountCustomFieldsResponse) StatusCode

func (r ListAccountCustomFieldsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAccountsParams

type ListAccountsParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the accounts. Either `created_at` or `updated_at`.
	SortBy *SortByAccounts `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListAccountsParamsSortOrder `json:"sort_order,omitempty"`
}

ListAccountsParams defines parameters for ListAccounts.

type ListAccountsParamsSortOrder

type ListAccountsParamsSortOrder string

ListAccountsParamsSortOrder defines parameters for ListAccounts.

type ListAccountsResponse

type ListAccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]AccountResponse `json:"_results,omitempty"`
	}
}

func ParseListAccountsResponse

func ParseListAccountsResponse(rsp *http.Response) (*ListAccountsResponse, error)

ParseListAccountsResponse parses an HTTP response from a ListAccountsWithResponse call

func (ListAccountsResponse) Status

func (r ListAccountsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAccountsResponse) StatusCode

func (r ListAccountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAllCompanyRulesResponse

type ListAllCompanyRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]RuleResponse `json:"_results,omitempty"`
	}
}

func ParseListAllCompanyRulesResponse

func ParseListAllCompanyRulesResponse(rsp *http.Response) (*ListAllCompanyRulesResponse, error)

ParseListAllCompanyRulesResponse parses an HTTP response from a ListAllCompanyRulesWithResponse call

func (ListAllCompanyRulesResponse) Status

Status returns HTTPResponse.Status

func (ListAllCompanyRulesResponse) StatusCode

func (r ListAllCompanyRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListArticlesInACategoryParams

type ListArticlesInACategoryParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`
}

ListArticlesInACategoryParams defines parameters for ListArticlesInACategory.

type ListArticlesInACategoryResponse

type ListArticlesInACategoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]KnowledgeBaseArticleSlimResponse `json:"_results,omitempty"`
	}
}

func ParseListArticlesInACategoryResponse

func ParseListArticlesInACategoryResponse(rsp *http.Response) (*ListArticlesInACategoryResponse, error)

ParseListArticlesInACategoryResponse parses an HTTP response from a ListArticlesInACategoryWithResponse call

func (ListArticlesInACategoryResponse) Status

Status returns HTTPResponse.Status

func (ListArticlesInACategoryResponse) StatusCode

func (r ListArticlesInACategoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListArticlesInAKnowledgeBaseParams

type ListArticlesInAKnowledgeBaseParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`
}

ListArticlesInAKnowledgeBaseParams defines parameters for ListArticlesInAKnowledgeBase.

type ListArticlesInAKnowledgeBaseResponse

type ListArticlesInAKnowledgeBaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]KnowledgeBaseArticleSlimResponse `json:"_results,omitempty"`
	}
}

func ParseListArticlesInAKnowledgeBaseResponse

func ParseListArticlesInAKnowledgeBaseResponse(rsp *http.Response) (*ListArticlesInAKnowledgeBaseResponse, error)

ParseListArticlesInAKnowledgeBaseResponse parses an HTTP response from a ListArticlesInAKnowledgeBaseWithResponse call

func (ListArticlesInAKnowledgeBaseResponse) Status

Status returns HTTPResponse.Status

func (ListArticlesInAKnowledgeBaseResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListAssignedConversationsParams

type ListAssignedConversationsParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `trashed`). If ticketing is enabled, this endpoint accepts either `status_categories` (`open`, `waiting`, `resolved`) or `status_ids` as an alternative.
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`
}

ListAssignedConversationsParams defines parameters for ListAssignedConversations.

type ListAssignedConversationsResponse

type ListAssignedConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ConversationResponse `json:"_results,omitempty"`
	}
}

func ParseListAssignedConversationsResponse

func ParseListAssignedConversationsResponse(rsp *http.Response) (*ListAssignedConversationsResponse, error)

ParseListAssignedConversationsResponse parses an HTTP response from a ListAssignedConversationsWithResponse call

func (ListAssignedConversationsResponse) Status

Status returns HTTPResponse.Status

func (ListAssignedConversationsResponse) StatusCode

func (r ListAssignedConversationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCategoriesInAKnowledgeBaseParams

type ListCategoriesInAKnowledgeBaseParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`
}

ListCategoriesInAKnowledgeBaseParams defines parameters for ListCategoriesInAKnowledgeBase.

type ListCategoriesInAKnowledgeBaseResponse

type ListCategoriesInAKnowledgeBaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]KnowledgeBaseCategorySlimResponse `json:"_results,omitempty"`
	}
}

func ParseListCategoriesInAKnowledgeBaseResponse

func ParseListCategoriesInAKnowledgeBaseResponse(rsp *http.Response) (*ListCategoriesInAKnowledgeBaseResponse, error)

ParseListCategoriesInAKnowledgeBaseResponse parses an HTTP response from a ListCategoriesInAKnowledgeBaseWithResponse call

func (ListCategoriesInAKnowledgeBaseResponse) Status

Status returns HTTPResponse.Status

func (ListCategoriesInAKnowledgeBaseResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListChannelsResponse

type ListChannelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ChannelResponse `json:"_results,omitempty"`
	}
}

func ParseListChannelsResponse

func ParseListChannelsResponse(rsp *http.Response) (*ListChannelsResponse, error)

ParseListChannelsResponse parses an HTTP response from a ListChannelsWithResponse call

func (ListChannelsResponse) Status

func (r ListChannelsResponse) Status() string

Status returns HTTPResponse.Status

func (ListChannelsResponse) StatusCode

func (r ListChannelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCommentMentionsResponse

type ListCommentMentionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TeammateResponse `json:"_results,omitempty"`
	}
}

func ParseListCommentMentionsResponse

func ParseListCommentMentionsResponse(rsp *http.Response) (*ListCommentMentionsResponse, error)

ParseListCommentMentionsResponse parses an HTTP response from a ListCommentMentionsWithResponse call

func (ListCommentMentionsResponse) Status

Status returns HTTPResponse.Status

func (ListCommentMentionsResponse) StatusCode

func (r ListCommentMentionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCompanyTagsParams

type ListCompanyTagsParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the tags. Only supports `id`.
	SortBy *SortByTags `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListCompanyTagsParamsSortOrder `json:"sort_order,omitempty"`
}

ListCompanyTagsParams defines parameters for ListCompanyTags.

type ListCompanyTagsParamsSortOrder

type ListCompanyTagsParamsSortOrder string

ListCompanyTagsParamsSortOrder defines parameters for ListCompanyTags.

type ListCompanyTagsResponse

type ListCompanyTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TagResponse `json:"_results,omitempty"`
	}
}

func ParseListCompanyTagsResponse

func ParseListCompanyTagsResponse(rsp *http.Response) (*ListCompanyTagsResponse, error)

ParseListCompanyTagsResponse parses an HTTP response from a ListCompanyTagsWithResponse call

func (ListCompanyTagsResponse) Status

func (r ListCompanyTagsResponse) Status() string

Status returns HTTPResponse.Status

func (ListCompanyTagsResponse) StatusCode

func (r ListCompanyTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCompanyTeammateGroupTeamInboxesResponse

type ListCompanyTeammateGroupTeamInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]InboxResponse `json:"_results,omitempty"`
	}
}

func ParseListCompanyTeammateGroupTeamInboxesResponse

func ParseListCompanyTeammateGroupTeamInboxesResponse(rsp *http.Response) (*ListCompanyTeammateGroupTeamInboxesResponse, error)

ParseListCompanyTeammateGroupTeamInboxesResponse parses an HTTP response from a ListCompanyTeammateGroupTeamInboxesWithResponse call

func (ListCompanyTeammateGroupTeamInboxesResponse) Status

Status returns HTTPResponse.Status

func (ListCompanyTeammateGroupTeamInboxesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListCompanyTeammateGroupTeammatesResponse

type ListCompanyTeammateGroupTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TeammateResponse `json:"_results,omitempty"`
	}
}

func ParseListCompanyTeammateGroupTeammatesResponse

func ParseListCompanyTeammateGroupTeammatesResponse(rsp *http.Response) (*ListCompanyTeammateGroupTeammatesResponse, error)

ParseListCompanyTeammateGroupTeammatesResponse parses an HTTP response from a ListCompanyTeammateGroupTeammatesWithResponse call

func (ListCompanyTeammateGroupTeammatesResponse) Status

Status returns HTTPResponse.Status

func (ListCompanyTeammateGroupTeammatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListCompanyTeammateGroupTeamsResponse

type ListCompanyTeammateGroupTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TeamPreviewResponse `json:"_results,omitempty"`
	}
}

func ParseListCompanyTeammateGroupTeamsResponse

func ParseListCompanyTeammateGroupTeamsResponse(rsp *http.Response) (*ListCompanyTeammateGroupTeamsResponse, error)

ParseListCompanyTeammateGroupTeamsResponse parses an HTTP response from a ListCompanyTeammateGroupTeamsWithResponse call

func (ListCompanyTeammateGroupTeamsResponse) Status

Status returns HTTPResponse.Status

func (ListCompanyTeammateGroupTeamsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListCompanyTeammateGroupsResponse

type ListCompanyTeammateGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TeammateGroupResponse `json:"_results,omitempty"`
	}
}

func ParseListCompanyTeammateGroupsResponse

func ParseListCompanyTeammateGroupsResponse(rsp *http.Response) (*ListCompanyTeammateGroupsResponse, error)

ParseListCompanyTeammateGroupsResponse parses an HTTP response from a ListCompanyTeammateGroupsWithResponse call

func (ListCompanyTeammateGroupsResponse) Status

Status returns HTTPResponse.Status

func (ListCompanyTeammateGroupsResponse) StatusCode

func (r ListCompanyTeammateGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCompanyTicketStatusesResponse

type ListCompanyTicketStatusesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]StatusResponse `json:"_results,omitempty"`
	}
}

func ParseListCompanyTicketStatusesResponse

func ParseListCompanyTicketStatusesResponse(rsp *http.Response) (*ListCompanyTicketStatusesResponse, error)

ParseListCompanyTicketStatusesResponse parses an HTTP response from a ListCompanyTicketStatusesWithResponse call

func (ListCompanyTicketStatusesResponse) Status

Status returns HTTPResponse.Status

func (ListCompanyTicketStatusesResponse) StatusCode

func (r ListCompanyTicketStatusesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListContactConversationsParams

type ListContactConversationsParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `trashed`). If ticketing is enabled, this endpoint accepts either `status_categories` (`open`, `waiting`, `resolved`) or `status_ids` as an alternative.
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`
}

ListContactConversationsParams defines parameters for ListContactConversations.

type ListContactConversationsResponse

type ListContactConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ConversationResponse `json:"_results,omitempty"`
	}
}

func ParseListContactConversationsResponse

func ParseListContactConversationsResponse(rsp *http.Response) (*ListContactConversationsResponse, error)

ParseListContactConversationsResponse parses an HTTP response from a ListContactConversationsWithResponse call

func (ListContactConversationsResponse) Status

Status returns HTTPResponse.Status

func (ListContactConversationsResponse) StatusCode

func (r ListContactConversationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListContactCustomFieldsResponse

type ListContactCustomFieldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]CustomFieldResponse `json:"_results,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 ListContactListsResponse

type ListContactListsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ContactListResponses `json:"_results,omitempty"`
	}
}

func ParseListContactListsResponse

func ParseListContactListsResponse(rsp *http.Response) (*ListContactListsResponse, error)

ParseListContactListsResponse parses an HTTP response from a ListContactListsWithResponse call

func (ListContactListsResponse) Status

func (r ListContactListsResponse) Status() string

Status returns HTTPResponse.Status

func (ListContactListsResponse) StatusCode

func (r ListContactListsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListContactsInContactListParams

type ListContactsInContactListParams struct {
	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`
}

ListContactsInContactListParams defines parameters for ListContactsInContactList.

type ListContactsInContactListResponse

type ListContactsInContactListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ContactResponse `json:"_results,omitempty"`
	}
}

func ParseListContactsInContactListResponse

func ParseListContactsInContactListResponse(rsp *http.Response) (*ListContactsInContactListResponse, error)

ParseListContactsInContactListResponse parses an HTTP response from a ListContactsInContactListWithResponse call

func (ListContactsInContactListResponse) Status

Status returns HTTPResponse.Status

func (ListContactsInContactListResponse) StatusCode

func (r ListContactsInContactListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListContactsInGroupParams

type ListContactsInGroupParams struct {
	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`
}

ListContactsInGroupParams defines parameters for ListContactsInGroup.

type ListContactsInGroupResponse

type ListContactsInGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ContactResponse `json:"_results,omitempty"`
	}
}

func ParseListContactsInGroupResponse

func ParseListContactsInGroupResponse(rsp *http.Response) (*ListContactsInGroupResponse, error)

ParseListContactsInGroupResponse parses an HTTP response from a ListContactsInGroupWithResponse call

func (ListContactsInGroupResponse) Status

Status returns HTTPResponse.Status

func (ListContactsInGroupResponse) StatusCode

func (r ListContactsInGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListContactsParams

type ListContactsParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) 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](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the contacts. Either `created_at` or `updated_at`.
	SortBy *SortByCards `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListContactsParamsSortOrder `json:"sort_order,omitempty"`
}

ListContactsParams defines parameters for ListContacts.

type ListContactsParamsSortOrder

type ListContactsParamsSortOrder string

ListContactsParamsSortOrder defines parameters for ListContacts.

type ListContactsResponse

type ListContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ContactResponse `json:"_results,omitempty"`
	}
}

func ParseListContactsResponse

func ParseListContactsResponse(rsp *http.Response) (*ListContactsResponse, error)

ParseListContactsResponse parses an HTTP response from a ListContactsWithResponse call

func (ListContactsResponse) Status

func (r ListContactsResponse) Status() string

Status returns HTTPResponse.Status

func (ListContactsResponse) StatusCode

func (r ListContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListConversationCommentsResponse

type ListConversationCommentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]CommentResponse `json:"_results,omitempty"`
	}
}

func ParseListConversationCommentsResponse

func ParseListConversationCommentsResponse(rsp *http.Response) (*ListConversationCommentsResponse, error)

ParseListConversationCommentsResponse parses an HTTP response from a ListConversationCommentsWithResponse call

func (ListConversationCommentsResponse) Status

Status returns HTTPResponse.Status

func (ListConversationCommentsResponse) StatusCode

func (r ListConversationCommentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListConversationCustomFieldsResponse

type ListConversationCustomFieldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]CustomFieldResponse `json:"_results,omitempty"`
	}
}

func ParseListConversationCustomFieldsResponse

func ParseListConversationCustomFieldsResponse(rsp *http.Response) (*ListConversationCustomFieldsResponse, error)

ParseListConversationCustomFieldsResponse parses an HTTP response from a ListConversationCustomFieldsWithResponse call

func (ListConversationCustomFieldsResponse) Status

Status returns HTTPResponse.Status

func (ListConversationCustomFieldsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListConversationDraftsResponse

type ListConversationDraftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]MessageResponse `json:"_results,omitempty"`
	}
}

func ParseListConversationDraftsResponse

func ParseListConversationDraftsResponse(rsp *http.Response) (*ListConversationDraftsResponse, error)

ParseListConversationDraftsResponse parses an HTTP response from a ListConversationDraftsWithResponse call

func (ListConversationDraftsResponse) Status

Status returns HTTPResponse.Status

func (ListConversationDraftsResponse) StatusCode

func (r ListConversationDraftsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListConversationEventsParams

type ListConversationEventsParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`
}

ListConversationEventsParams defines parameters for ListConversationEvents.

type ListConversationEventsResponse

type ListConversationEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]EventResponse `json:"_results,omitempty"`
	}
}

func ParseListConversationEventsResponse

func ParseListConversationEventsResponse(rsp *http.Response) (*ListConversationEventsResponse, error)

ParseListConversationEventsResponse parses an HTTP response from a ListConversationEventsWithResponse call

func (ListConversationEventsResponse) Status

Status returns HTTPResponse.Status

func (ListConversationEventsResponse) StatusCode

func (r ListConversationEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListConversationFollowersResponse

type ListConversationFollowersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TeammateResponse `json:"_results,omitempty"`
	}
}

func ParseListConversationFollowersResponse

func ParseListConversationFollowersResponse(rsp *http.Response) (*ListConversationFollowersResponse, error)

ParseListConversationFollowersResponse parses an HTTP response from a ListConversationFollowersWithResponse call

func (ListConversationFollowersResponse) Status

Status returns HTTPResponse.Status

func (ListConversationFollowersResponse) StatusCode

func (r ListConversationFollowersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListConversationInboxesResponse

type ListConversationInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]InboxResponse `json:"_results,omitempty"`
	}
}

func ParseListConversationInboxesResponse

func ParseListConversationInboxesResponse(rsp *http.Response) (*ListConversationInboxesResponse, error)

ParseListConversationInboxesResponse parses an HTTP response from a ListConversationInboxesWithResponse call

func (ListConversationInboxesResponse) Status

Status returns HTTPResponse.Status

func (ListConversationInboxesResponse) StatusCode

func (r ListConversationInboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListConversationMessagesParams

type ListConversationMessagesParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the messages. Only supports `created_at`.
	SortBy *SortByConversationMessages `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListConversationMessagesParamsSortOrder `json:"sort_order,omitempty"`
}

ListConversationMessagesParams defines parameters for ListConversationMessages.

type ListConversationMessagesParamsSortOrder

type ListConversationMessagesParamsSortOrder string

ListConversationMessagesParamsSortOrder defines parameters for ListConversationMessages.

type ListConversationMessagesResponse

type ListConversationMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]MessageResponse `json:"_results,omitempty"`
	}
}

func ParseListConversationMessagesResponse

func ParseListConversationMessagesResponse(rsp *http.Response) (*ListConversationMessagesResponse, error)

ParseListConversationMessagesResponse parses an HTTP response from a ListConversationMessagesWithResponse call

func (ListConversationMessagesResponse) Status

Status returns HTTPResponse.Status

func (ListConversationMessagesResponse) StatusCode

func (r ListConversationMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListConversationsParams

type ListConversationsParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `trashed`). If ticketing is enabled, this endpoint accepts either `status_categories` (`open`, `waiting`, `resolved`) or `status_ids` as an alternative.
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the conversations. Only supports `date`.
	SortBy *SortByConversations `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListConversationsParamsSortOrder `json:"sort_order,omitempty"`
}

ListConversationsParams defines parameters for ListConversations.

type ListConversationsParamsSortOrder

type ListConversationsParamsSortOrder string

ListConversationsParamsSortOrder defines parameters for ListConversations.

type ListConversationsResponse

type ListConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ConversationResponse `json:"_results,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 {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]CustomFieldResponse `json:"_results,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 ListEventsParams

type ListEventsParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) with optional properties `before`, `after`, `types`, or `inboxes`. `before` and `after` should be a timestamp in seconds with up to 3 decimal places. `types` should be a list of [event types](https://dev.frontapp.com/reference/events). `inboxes` should be a list of inbox IDs.
	Q *ActivityQuery `json:"q,omitempty"`

	// Max number of results per page (max 15)
	Limit *int `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the events. Only supports `created_at`.
	SortBy *SortByActivities `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListEventsParamsSortOrder `json:"sort_order,omitempty"`
}

ListEventsParams defines parameters for ListEvents.

type ListEventsParamsSortOrder

type ListEventsParamsSortOrder string

ListEventsParamsSortOrder defines parameters for ListEvents.

type ListEventsResponse

type ListEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]EventResponse `json:"_results,omitempty"`
	}
}

func ParseListEventsResponse

func ParseListEventsResponse(rsp *http.Response) (*ListEventsResponse, error)

ParseListEventsResponse parses an HTTP response from a ListEventsWithResponse call

func (ListEventsResponse) Status

func (r ListEventsResponse) Status() string

Status returns HTTPResponse.Status

func (ListEventsResponse) StatusCode

func (r ListEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListFoldersParams

type ListFoldersParams struct {
	// Field used to sort the message template folders. Either `created_at` or `updated_at`.
	SortBy *SortByCannedAnswerFolders `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListFoldersParamsSortOrder `json:"sort_order,omitempty"`
}

ListFoldersParams defines parameters for ListFolders.

type ListFoldersParamsSortOrder

type ListFoldersParamsSortOrder string

ListFoldersParamsSortOrder defines parameters for ListFolders.

type ListFoldersResponse

type ListFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]MessageTemplateFolderResponse `json:"_results,omitempty"`
	}
}

func ParseListFoldersResponse

func ParseListFoldersResponse(rsp *http.Response) (*ListFoldersResponse, error)

ParseListFoldersResponse parses an HTTP response from a ListFoldersWithResponse call

func (ListFoldersResponse) Status

func (r ListFoldersResponse) Status() string

Status returns HTTPResponse.Status

func (ListFoldersResponse) StatusCode

func (r ListFoldersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGroupsResponse

type ListGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ContactListResponses `json:"_results,omitempty"`
	}
}

func ParseListGroupsResponse

func ParseListGroupsResponse(rsp *http.Response) (*ListGroupsResponse, error)

ParseListGroupsResponse parses an HTTP response from a ListGroupsWithResponse call

func (ListGroupsResponse) Status

func (r ListGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (ListGroupsResponse) StatusCode

func (r ListGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInboxAccessResponse

type ListInboxAccessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TeammateResponse `json:"_results,omitempty"`
	}
}

func ParseListInboxAccessResponse

func ParseListInboxAccessResponse(rsp *http.Response) (*ListInboxAccessResponse, error)

ParseListInboxAccessResponse parses an HTTP response from a ListInboxAccessWithResponse call

func (ListInboxAccessResponse) Status

func (r ListInboxAccessResponse) Status() string

Status returns HTTPResponse.Status

func (ListInboxAccessResponse) StatusCode

func (r ListInboxAccessResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInboxChannelsResponse

type ListInboxChannelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ChannelResponse `json:"_results,omitempty"`
	}
}

func ParseListInboxChannelsResponse

func ParseListInboxChannelsResponse(rsp *http.Response) (*ListInboxChannelsResponse, error)

ParseListInboxChannelsResponse parses an HTTP response from a ListInboxChannelsWithResponse call

func (ListInboxChannelsResponse) Status

func (r ListInboxChannelsResponse) Status() string

Status returns HTTPResponse.Status

func (ListInboxChannelsResponse) StatusCode

func (r ListInboxChannelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInboxConversationsParams

type ListInboxConversationsParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `trashed`). If ticketing is enabled, this endpoint accepts either `status_categories` (`open`, `waiting`, `resolved`) or `status_ids` as an alternative.
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`
}

ListInboxConversationsParams defines parameters for ListInboxConversations.

type ListInboxConversationsResponse

type ListInboxConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ConversationResponse `json:"_results,omitempty"`
	}
}

func ParseListInboxConversationsResponse

func ParseListInboxConversationsResponse(rsp *http.Response) (*ListInboxConversationsResponse, error)

ParseListInboxConversationsResponse parses an HTTP response from a ListInboxConversationsWithResponse call

func (ListInboxConversationsResponse) Status

Status returns HTTPResponse.Status

func (ListInboxConversationsResponse) StatusCode

func (r ListInboxConversationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInboxCustomFieldsResponse

type ListInboxCustomFieldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]CustomFieldResponse `json:"_results,omitempty"`
	}
}

func ParseListInboxCustomFieldsResponse

func ParseListInboxCustomFieldsResponse(rsp *http.Response) (*ListInboxCustomFieldsResponse, error)

ParseListInboxCustomFieldsResponse parses an HTTP response from a ListInboxCustomFieldsWithResponse call

func (ListInboxCustomFieldsResponse) Status

Status returns HTTPResponse.Status

func (ListInboxCustomFieldsResponse) StatusCode

func (r ListInboxCustomFieldsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInboxesResponse

type ListInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]InboxResponse `json:"_results,omitempty"`
	}
}

func ParseListInboxesResponse

func ParseListInboxesResponse(rsp *http.Response) (*ListInboxesResponse, error)

ParseListInboxesResponse parses an HTTP response from a ListInboxesWithResponse call

func (ListInboxesResponse) Status

func (r ListInboxesResponse) Status() string

Status returns HTTPResponse.Status

func (ListInboxesResponse) StatusCode

func (r ListInboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListKnowledgeBasesResponse

type ListKnowledgeBasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]KnowledgeBaseSlimResponse `json:"_results,omitempty"`
	}
}

func ParseListKnowledgeBasesResponse

func ParseListKnowledgeBasesResponse(rsp *http.Response) (*ListKnowledgeBasesResponse, error)

ParseListKnowledgeBasesResponse parses an HTTP response from a ListKnowledgeBasesWithResponse call

func (ListKnowledgeBasesResponse) Status

Status returns HTTPResponse.Status

func (ListKnowledgeBasesResponse) StatusCode

func (r ListKnowledgeBasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLinkConversationsParams

type ListLinkConversationsParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `trashed`). If ticketing is enabled, this endpoint accepts either `status_categories` (`open`, `waiting`, `resolved`) or `status_ids` as an alternative.
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the conversations. Only supports `date`.
	SortBy *SortByConversations `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListLinkConversationsParamsSortOrder `json:"sort_order,omitempty"`
}

ListLinkConversationsParams defines parameters for ListLinkConversations.

type ListLinkConversationsParamsSortOrder

type ListLinkConversationsParamsSortOrder string

ListLinkConversationsParamsSortOrder defines parameters for ListLinkConversations.

type ListLinkConversationsResponse

type ListLinkConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ConversationResponse `json:"_results,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 ListLinkCustomFieldsResponse

type ListLinkCustomFieldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]CustomFieldResponse `json:"_results,omitempty"`
	}
}

func ParseListLinkCustomFieldsResponse

func ParseListLinkCustomFieldsResponse(rsp *http.Response) (*ListLinkCustomFieldsResponse, error)

ParseListLinkCustomFieldsResponse parses an HTTP response from a ListLinkCustomFieldsWithResponse call

func (ListLinkCustomFieldsResponse) Status

Status returns HTTPResponse.Status

func (ListLinkCustomFieldsResponse) StatusCode

func (r ListLinkCustomFieldsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLinksParams

type ListLinksParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) with a property `types`, whose value should be a list of link types. Links created via the API have type `web` and links created by application objects have type `app_<uid>`, matching the app UID where the object is configured. There are also types `jira`, `asana`, `monday`, `trello`, and `github`, which correspond to the integrations built by Front.
	Q *TopicQuery `json:"q,omitempty"`

	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the links. Only supports `id`.
	SortBy *SortByLinks `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListLinksParamsSortOrder `json:"sort_order,omitempty"`
}

ListLinksParams defines parameters for ListLinks.

type ListLinksParamsSortOrder

type ListLinksParamsSortOrder string

ListLinksParamsSortOrder defines parameters for ListLinks.

type ListLinksResponse

type ListLinksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]LinkResponse `json:"_results,omitempty"`
	}
}

func ParseListLinksResponse

func ParseListLinksResponse(rsp *http.Response) (*ListLinksResponse, error)

ParseListLinksResponse parses an HTTP response from a ListLinksWithResponse call

func (ListLinksResponse) Status

func (r ListLinksResponse) Status() string

Status returns HTTPResponse.Status

func (ListLinksResponse) StatusCode

func (r ListLinksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMessageTemplatesParams

type ListMessageTemplatesParams struct {
	// Field used to sort the message templates. Either `created_at`, `updated_at`, or `sort_order`.
	SortBy *SortByCannedAnswers `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListMessageTemplatesParamsSortOrder `json:"sort_order,omitempty"`
}

ListMessageTemplatesParams defines parameters for ListMessageTemplates.

type ListMessageTemplatesParamsSortOrder

type ListMessageTemplatesParamsSortOrder string

ListMessageTemplatesParamsSortOrder defines parameters for ListMessageTemplates.

type ListMessageTemplatesResponse

type ListMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]MessageTemplateResponse `json:"_results,omitempty"`
	}
}

func ParseListMessageTemplatesResponse

func ParseListMessageTemplatesResponse(rsp *http.Response) (*ListMessageTemplatesResponse, error)

ParseListMessageTemplatesResponse parses an HTTP response from a ListMessageTemplatesWithResponse call

func (ListMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (ListMessageTemplatesResponse) StatusCode

func (r ListMessageTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNotesResponse

type ListNotesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ContactNoteResponses `json:"_results,omitempty"`
	}
}

func ParseListNotesResponse

func ParseListNotesResponse(rsp *http.Response) (*ListNotesResponse, error)

ParseListNotesResponse parses an HTTP response from a ListNotesWithResponse call

func (ListNotesResponse) Status

func (r ListNotesResponse) Status() string

Status returns HTTPResponse.Status

func (ListNotesResponse) StatusCode

func (r ListNotesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOfAccounts

type ListOfAccounts struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]AccountResponse `json:"_results,omitempty"`
}

ListOfAccounts defines model for listOfAccounts.

type ListOfCannedAnswerFolders

type ListOfCannedAnswerFolders struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]MessageTemplateFolderResponse `json:"_results,omitempty"`
}

ListOfCannedAnswerFolders defines model for listOfCannedAnswerFolders.

type ListOfCannedAnswers

type ListOfCannedAnswers struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]MessageTemplateResponse `json:"_results,omitempty"`
}

ListOfCannedAnswers defines model for listOfCannedAnswers.

type ListOfChannels

type ListOfChannels struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]ChannelResponse `json:"_results,omitempty"`
}

ListOfChannels defines model for listOfChannels.

type ListOfComments

type ListOfComments struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]CommentResponse `json:"_results,omitempty"`
}

ListOfComments defines model for listOfComments.

type ListOfContactLists

type ListOfContactLists struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]ContactListResponses `json:"_results,omitempty"`
}

ListOfContactLists defines model for listOfContactLists.

type ListOfContactNotes

type ListOfContactNotes struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]ContactNoteResponses `json:"_results,omitempty"`
}

ListOfContactNotes defines model for listOfContactNotes.

type ListOfContacts

type ListOfContacts struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]ContactResponse `json:"_results,omitempty"`
}

ListOfContacts defines model for listOfContacts.

type ListOfConversationSearchResults

type ListOfConversationSearchResults struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `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 {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]ConversationResponse `json:"_results,omitempty"`
}

ListOfConversations defines model for listOfConversations.

type ListOfCustomFields

type ListOfCustomFields struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]CustomFieldResponse `json:"_results,omitempty"`
}

ListOfCustomFields defines model for listOfCustomFields.

type ListOfEvents

type ListOfEvents struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]EventResponse `json:"_results,omitempty"`
}

ListOfEvents defines model for listOfEvents.

type ListOfInboxes

type ListOfInboxes struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]InboxResponse `json:"_results,omitempty"`
}

ListOfInboxes defines model for listOfInboxes.

type ListOfKnowledgeBaseArticles

type ListOfKnowledgeBaseArticles struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]KnowledgeBaseArticleSlimResponse `json:"_results,omitempty"`
}

ListOfKnowledgeBaseArticles defines model for listOfKnowledgeBaseArticles.

type ListOfKnowledgeBaseCategories

type ListOfKnowledgeBaseCategories struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]KnowledgeBaseCategorySlimResponse `json:"_results,omitempty"`
}

ListOfKnowledgeBaseCategories defines model for listOfKnowledgeBaseCategories.

type ListOfKnowledgeBases

type ListOfKnowledgeBases struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]KnowledgeBaseSlimResponse `json:"_results,omitempty"`
}

ListOfKnowledgeBases defines model for listOfKnowledgeBases.

type ListOfMessages

type ListOfMessages struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]MessageResponse `json:"_results,omitempty"`
}

ListOfMessages defines model for listOfMessages.

type ListOfResourceLinks struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]LinkResponse `json:"_results,omitempty"`
}

ListOfLinks defines model for listOfLinks.

type ListOfRules

type ListOfRules struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]RuleResponse `json:"_results,omitempty"`
}

ListOfRules defines model for listOfRules.

type ListOfSeenReceipts

type ListOfSeenReceipts struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]SeenReceiptResponse `json:"_results,omitempty"`
}

ListOfSeenReceipts defines model for listOfSeenReceipts.

type ListOfShifts

type ListOfShifts struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]ShiftResponse `json:"_results,omitempty"`
}

ListOfShifts defines model for listOfShifts.

type ListOfSignatures

type ListOfSignatures struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Pagination *struct {
		// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
		Next *string `json:"next"`
	} `json:"_pagination,omitempty"`
	Results *[]SignatureResponse `json:"_results,omitempty"`
}

ListOfSignatures defines model for listOfSignatures.

type ListOfStatuses

type ListOfStatuses struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]StatusResponse `json:"_results,omitempty"`
}

ListOfStatuses defines model for listOfStatuses.

type ListOfTags

type ListOfTags struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]TagResponse `json:"_results,omitempty"`
}

ListOfTags defines model for listOfTags.

type ListOfTeammateGroups

type ListOfTeammateGroups struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]TeammateGroupResponse `json:"_results,omitempty"`
}

ListOfTeammateGroups defines model for listOfTeammateGroups.

type ListOfTeammates

type ListOfTeammates struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]TeammateResponse `json:"_results,omitempty"`
}

ListOfTeammates defines model for listOfTeammates.

type ListOfTeams

type ListOfTeams struct {
	ResourceLinks *struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
	Results *[]TeamPreviewResponse `json:"_results,omitempty"`
}

ListOfTeams defines model for listOfTeams.

type ListRulesResponse

type ListRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]RuleResponse `json:"_results,omitempty"`
	}
}

func ParseListRulesResponse

func ParseListRulesResponse(rsp *http.Response) (*ListRulesResponse, error)

ParseListRulesResponse parses an HTTP response from a ListRulesWithResponse call

func (ListRulesResponse) Status

func (r ListRulesResponse) Status() string

Status returns HTTPResponse.Status

func (ListRulesResponse) StatusCode

func (r ListRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListShiftsResponse

type ListShiftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ShiftResponse `json:"_results,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 ListShiftsTeammatesResponse

type ListShiftsTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TeammateResponse `json:"_results,omitempty"`
	}
}

func ParseListShiftsTeammatesResponse

func ParseListShiftsTeammatesResponse(rsp *http.Response) (*ListShiftsTeammatesResponse, error)

ParseListShiftsTeammatesResponse parses an HTTP response from a ListShiftsTeammatesWithResponse call

func (ListShiftsTeammatesResponse) Status

Status returns HTTPResponse.Status

func (ListShiftsTeammatesResponse) StatusCode

func (r ListShiftsTeammatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTagChildrenResponse

type ListTagChildrenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TagResponse `json:"_results,omitempty"`
	}
}

func ParseListTagChildrenResponse

func ParseListTagChildrenResponse(rsp *http.Response) (*ListTagChildrenResponse, error)

ParseListTagChildrenResponse parses an HTTP response from a ListTagChildrenWithResponse call

func (ListTagChildrenResponse) Status

func (r ListTagChildrenResponse) Status() string

Status returns HTTPResponse.Status

func (ListTagChildrenResponse) StatusCode

func (r ListTagChildrenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTaggedConversationsParams

type ListTaggedConversationsParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) with a property `statuses`, whose value should be a list of conversation statuses (`assigned`, `unassigned`, `archived`, or `trashed`). If ticketing is enabled, this endpoint accepts either `status_categories` (`open`, `waiting`, `resolved`) or `status_ids` as an alternative.
	Q *ConversationQuery `json:"q,omitempty"`

	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`
}

ListTaggedConversationsParams defines parameters for ListTaggedConversations.

type ListTaggedConversationsResponse

type ListTaggedConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ConversationResponse `json:"_results,omitempty"`
	}
}

func ParseListTaggedConversationsResponse

func ParseListTaggedConversationsResponse(rsp *http.Response) (*ListTaggedConversationsResponse, error)

ParseListTaggedConversationsResponse parses an HTTP response from a ListTaggedConversationsWithResponse call

func (ListTaggedConversationsResponse) Status

Status returns HTTPResponse.Status

func (ListTaggedConversationsResponse) StatusCode

func (r ListTaggedConversationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTagsParams

type ListTagsParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the tags. Only supports `id`.
	SortBy *SortByTags `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListTagsParamsSortOrder `json:"sort_order,omitempty"`
}

ListTagsParams defines parameters for ListTags.

type ListTagsParamsSortOrder

type ListTagsParamsSortOrder string

ListTagsParamsSortOrder defines parameters for ListTags.

type ListTagsResponse

type ListTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TagResponse `json:"_results,omitempty"`
	}
}

func ParseListTagsResponse

func ParseListTagsResponse(rsp *http.Response) (*ListTagsResponse, error)

ParseListTagsResponse parses an HTTP response from a ListTagsWithResponse call

func (ListTagsResponse) Status

func (r ListTagsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTagsResponse) StatusCode

func (r ListTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamChannelsResponse

type ListTeamChannelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ChannelResponse `json:"_results,omitempty"`
	}
}

func ParseListTeamChannelsResponse

func ParseListTeamChannelsResponse(rsp *http.Response) (*ListTeamChannelsResponse, error)

ParseListTeamChannelsResponse parses an HTTP response from a ListTeamChannelsWithResponse call

func (ListTeamChannelsResponse) Status

func (r ListTeamChannelsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamChannelsResponse) StatusCode

func (r ListTeamChannelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamContactListsResponse

type ListTeamContactListsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ContactListResponses `json:"_results,omitempty"`
	}
}

func ParseListTeamContactListsResponse

func ParseListTeamContactListsResponse(rsp *http.Response) (*ListTeamContactListsResponse, error)

ParseListTeamContactListsResponse parses an HTTP response from a ListTeamContactListsWithResponse call

func (ListTeamContactListsResponse) Status

Status returns HTTPResponse.Status

func (ListTeamContactListsResponse) StatusCode

func (r ListTeamContactListsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamContactsParams

type ListTeamContactsParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) 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](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the contacts. Either `created_at` or `updated_at`.
	SortBy *SortByCards `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListTeamContactsParamsSortOrder `json:"sort_order,omitempty"`
}

ListTeamContactsParams defines parameters for ListTeamContacts.

type ListTeamContactsParamsSortOrder

type ListTeamContactsParamsSortOrder string

ListTeamContactsParamsSortOrder defines parameters for ListTeamContacts.

type ListTeamContactsResponse

type ListTeamContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ContactResponse `json:"_results,omitempty"`
	}
}

func ParseListTeamContactsResponse

func ParseListTeamContactsResponse(rsp *http.Response) (*ListTeamContactsResponse, error)

ParseListTeamContactsResponse parses an HTTP response from a ListTeamContactsWithResponse call

func (ListTeamContactsResponse) Status

func (r ListTeamContactsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamContactsResponse) StatusCode

func (r ListTeamContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamFoldersParams

type ListTeamFoldersParams struct {
	// Field used to sort the message template folders. Either `created_at` or `updated_at`.
	SortBy *SortByCannedAnswerFolders `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListTeamFoldersParamsSortOrder `json:"sort_order,omitempty"`
}

ListTeamFoldersParams defines parameters for ListTeamFolders.

type ListTeamFoldersParamsSortOrder

type ListTeamFoldersParamsSortOrder string

ListTeamFoldersParamsSortOrder defines parameters for ListTeamFolders.

type ListTeamFoldersResponse

type ListTeamFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]MessageTemplateFolderResponse `json:"_results,omitempty"`
	}
}

func ParseListTeamFoldersResponse

func ParseListTeamFoldersResponse(rsp *http.Response) (*ListTeamFoldersResponse, error)

ParseListTeamFoldersResponse parses an HTTP response from a ListTeamFoldersWithResponse call

func (ListTeamFoldersResponse) Status

func (r ListTeamFoldersResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamFoldersResponse) StatusCode

func (r ListTeamFoldersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamGroupsResponse

type ListTeamGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ContactListResponses `json:"_results,omitempty"`
	}
}

func ParseListTeamGroupsResponse

func ParseListTeamGroupsResponse(rsp *http.Response) (*ListTeamGroupsResponse, error)

ParseListTeamGroupsResponse parses an HTTP response from a ListTeamGroupsWithResponse call

func (ListTeamGroupsResponse) Status

func (r ListTeamGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamGroupsResponse) StatusCode

func (r ListTeamGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamInboxesResponse

type ListTeamInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]InboxResponse `json:"_results,omitempty"`
	}
}

func ParseListTeamInboxesResponse

func ParseListTeamInboxesResponse(rsp *http.Response) (*ListTeamInboxesResponse, error)

ParseListTeamInboxesResponse parses an HTTP response from a ListTeamInboxesWithResponse call

func (ListTeamInboxesResponse) Status

func (r ListTeamInboxesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamInboxesResponse) StatusCode

func (r ListTeamInboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamMessageTemplatesParams

type ListTeamMessageTemplatesParams struct {
	// Field used to sort the message templates. Either `created_at`, `updated_at`, or `sort_order`.
	SortBy *SortByCannedAnswers `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListTeamMessageTemplatesParamsSortOrder `json:"sort_order,omitempty"`
}

ListTeamMessageTemplatesParams defines parameters for ListTeamMessageTemplates.

type ListTeamMessageTemplatesParamsSortOrder

type ListTeamMessageTemplatesParamsSortOrder string

ListTeamMessageTemplatesParamsSortOrder defines parameters for ListTeamMessageTemplates.

type ListTeamMessageTemplatesResponse

type ListTeamMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]MessageTemplateResponse `json:"_results,omitempty"`
	}
}

func ParseListTeamMessageTemplatesResponse

func ParseListTeamMessageTemplatesResponse(rsp *http.Response) (*ListTeamMessageTemplatesResponse, error)

ParseListTeamMessageTemplatesResponse parses an HTTP response from a ListTeamMessageTemplatesWithResponse call

func (ListTeamMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (ListTeamMessageTemplatesResponse) StatusCode

func (r ListTeamMessageTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamRulesResponse

type ListTeamRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]RuleResponse `json:"_results,omitempty"`
	}
}

func ParseListTeamRulesResponse

func ParseListTeamRulesResponse(rsp *http.Response) (*ListTeamRulesResponse, error)

ParseListTeamRulesResponse parses an HTTP response from a ListTeamRulesWithResponse call

func (ListTeamRulesResponse) Status

func (r ListTeamRulesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamRulesResponse) StatusCode

func (r ListTeamRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamShiftsResponse

type ListTeamShiftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ShiftResponse `json:"_results,omitempty"`
	}
}

func ParseListTeamShiftsResponse

func ParseListTeamShiftsResponse(rsp *http.Response) (*ListTeamShiftsResponse, error)

ParseListTeamShiftsResponse parses an HTTP response from a ListTeamShiftsWithResponse call

func (ListTeamShiftsResponse) Status

func (r ListTeamShiftsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamShiftsResponse) StatusCode

func (r ListTeamShiftsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamSignaturesResponse

type ListTeamSignaturesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]SignatureResponse `json:"_results,omitempty"`
	}
}

func ParseListTeamSignaturesResponse

func ParseListTeamSignaturesResponse(rsp *http.Response) (*ListTeamSignaturesResponse, error)

ParseListTeamSignaturesResponse parses an HTTP response from a ListTeamSignaturesWithResponse call

func (ListTeamSignaturesResponse) Status

Status returns HTTPResponse.Status

func (ListTeamSignaturesResponse) StatusCode

func (r ListTeamSignaturesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamTagsParams

type ListTeamTagsParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the tags. Only supports `id`.
	SortBy *SortByTags `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListTeamTagsParamsSortOrder `json:"sort_order,omitempty"`
}

ListTeamTagsParams defines parameters for ListTeamTags.

type ListTeamTagsParamsSortOrder

type ListTeamTagsParamsSortOrder string

ListTeamTagsParamsSortOrder defines parameters for ListTeamTags.

type ListTeamTagsResponse

type ListTeamTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TagResponse `json:"_results,omitempty"`
	}
}

func ParseListTeamTagsResponse

func ParseListTeamTagsResponse(rsp *http.Response) (*ListTeamTagsResponse, error)

ParseListTeamTagsResponse parses an HTTP response from a ListTeamTagsWithResponse call

func (ListTeamTagsResponse) Status

func (r ListTeamTagsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamTagsResponse) StatusCode

func (r ListTeamTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateChannelsResponse

type ListTeammateChannelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ChannelResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammateChannelsResponse

func ParseListTeammateChannelsResponse(rsp *http.Response) (*ListTeammateChannelsResponse, error)

ParseListTeammateChannelsResponse parses an HTTP response from a ListTeammateChannelsWithResponse call

func (ListTeammateChannelsResponse) Status

Status returns HTTPResponse.Status

func (ListTeammateChannelsResponse) StatusCode

func (r ListTeammateChannelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateContactListsResponse

type ListTeammateContactListsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ContactListResponses `json:"_results,omitempty"`
	}
}

func ParseListTeammateContactListsResponse

func ParseListTeammateContactListsResponse(rsp *http.Response) (*ListTeammateContactListsResponse, error)

ParseListTeammateContactListsResponse parses an HTTP response from a ListTeammateContactListsWithResponse call

func (ListTeammateContactListsResponse) Status

Status returns HTTPResponse.Status

func (ListTeammateContactListsResponse) StatusCode

func (r ListTeammateContactListsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateContactsParams

type ListTeammateContactsParams struct {
	// [Search query object](https://dev.frontapp.com/docs/query-object-q) 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](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the contacts. Either `created_at` or `updated_at`.
	SortBy *SortByCards `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListTeammateContactsParamsSortOrder `json:"sort_order,omitempty"`
}

ListTeammateContactsParams defines parameters for ListTeammateContacts.

type ListTeammateContactsParamsSortOrder

type ListTeammateContactsParamsSortOrder string

ListTeammateContactsParamsSortOrder defines parameters for ListTeammateContacts.

type ListTeammateContactsResponse

type ListTeammateContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]ContactResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammateContactsResponse

func ParseListTeammateContactsResponse(rsp *http.Response) (*ListTeammateContactsResponse, error)

ParseListTeammateContactsResponse parses an HTTP response from a ListTeammateContactsWithResponse call

func (ListTeammateContactsResponse) Status

Status returns HTTPResponse.Status

func (ListTeammateContactsResponse) StatusCode

func (r ListTeammateContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateCustomFieldsResponse

type ListTeammateCustomFieldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]CustomFieldResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammateCustomFieldsResponse

func ParseListTeammateCustomFieldsResponse(rsp *http.Response) (*ListTeammateCustomFieldsResponse, error)

ParseListTeammateCustomFieldsResponse parses an HTTP response from a ListTeammateCustomFieldsWithResponse call

func (ListTeammateCustomFieldsResponse) Status

Status returns HTTPResponse.Status

func (ListTeammateCustomFieldsResponse) StatusCode

func (r ListTeammateCustomFieldsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateFoldersParams

type ListTeammateFoldersParams struct {
	// Field used to sort the message template folders. Either `created_at` or `updated_at`.
	SortBy *SortByCannedAnswerFolders `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListTeammateFoldersParamsSortOrder `json:"sort_order,omitempty"`
}

ListTeammateFoldersParams defines parameters for ListTeammateFolders.

type ListTeammateFoldersParamsSortOrder

type ListTeammateFoldersParamsSortOrder string

ListTeammateFoldersParamsSortOrder defines parameters for ListTeammateFolders.

type ListTeammateFoldersResponse

type ListTeammateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]MessageTemplateFolderResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammateFoldersResponse

func ParseListTeammateFoldersResponse(rsp *http.Response) (*ListTeammateFoldersResponse, error)

ParseListTeammateFoldersResponse parses an HTTP response from a ListTeammateFoldersWithResponse call

func (ListTeammateFoldersResponse) Status

Status returns HTTPResponse.Status

func (ListTeammateFoldersResponse) StatusCode

func (r ListTeammateFoldersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateGroupsResponse

type ListTeammateGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ContactListResponses `json:"_results,omitempty"`
	}
}

func ParseListTeammateGroupsResponse

func ParseListTeammateGroupsResponse(rsp *http.Response) (*ListTeammateGroupsResponse, error)

ParseListTeammateGroupsResponse parses an HTTP response from a ListTeammateGroupsWithResponse call

func (ListTeammateGroupsResponse) Status

Status returns HTTPResponse.Status

func (ListTeammateGroupsResponse) StatusCode

func (r ListTeammateGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateInboxesResponse

type ListTeammateInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]InboxResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammateInboxesResponse

func ParseListTeammateInboxesResponse(rsp *http.Response) (*ListTeammateInboxesResponse, error)

ParseListTeammateInboxesResponse parses an HTTP response from a ListTeammateInboxesWithResponse call

func (ListTeammateInboxesResponse) Status

Status returns HTTPResponse.Status

func (ListTeammateInboxesResponse) StatusCode

func (r ListTeammateInboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateMessageTemplatesParams

type ListTeammateMessageTemplatesParams struct {
	// Field used to sort the message templates. Either `created_at`, `updated_at`, or `sort_order`.
	SortBy *SortByCannedAnswers `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListTeammateMessageTemplatesParamsSortOrder `json:"sort_order,omitempty"`
}

ListTeammateMessageTemplatesParams defines parameters for ListTeammateMessageTemplates.

type ListTeammateMessageTemplatesParamsSortOrder

type ListTeammateMessageTemplatesParamsSortOrder string

ListTeammateMessageTemplatesParamsSortOrder defines parameters for ListTeammateMessageTemplates.

type ListTeammateMessageTemplatesResponse

type ListTeammateMessageTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]MessageTemplateResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammateMessageTemplatesResponse

func ParseListTeammateMessageTemplatesResponse(rsp *http.Response) (*ListTeammateMessageTemplatesResponse, error)

ParseListTeammateMessageTemplatesResponse parses an HTTP response from a ListTeammateMessageTemplatesWithResponse call

func (ListTeammateMessageTemplatesResponse) Status

Status returns HTTPResponse.Status

func (ListTeammateMessageTemplatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListTeammateRulesResponse

type ListTeammateRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]RuleResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammateRulesResponse

func ParseListTeammateRulesResponse(rsp *http.Response) (*ListTeammateRulesResponse, error)

ParseListTeammateRulesResponse parses an HTTP response from a ListTeammateRulesWithResponse call

func (ListTeammateRulesResponse) Status

func (r ListTeammateRulesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeammateRulesResponse) StatusCode

func (r ListTeammateRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateShiftsResponse

type ListTeammateShiftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]ShiftResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammateShiftsResponse

func ParseListTeammateShiftsResponse(rsp *http.Response) (*ListTeammateShiftsResponse, error)

ParseListTeammateShiftsResponse parses an HTTP response from a ListTeammateShiftsWithResponse call

func (ListTeammateShiftsResponse) Status

Status returns HTTPResponse.Status

func (ListTeammateShiftsResponse) StatusCode

func (r ListTeammateShiftsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateSignaturesResponse

type ListTeammateSignaturesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `json:"_pagination,omitempty"`
		Results *[]SignatureResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammateSignaturesResponse

func ParseListTeammateSignaturesResponse(rsp *http.Response) (*ListTeammateSignaturesResponse, error)

ParseListTeammateSignaturesResponse parses an HTTP response from a ListTeammateSignaturesWithResponse call

func (ListTeammateSignaturesResponse) Status

Status returns HTTPResponse.Status

func (ListTeammateSignaturesResponse) StatusCode

func (r ListTeammateSignaturesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammateTagsParams

type ListTeammateTagsParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`

	// Field used to sort the tags. Only supports `id`.
	SortBy *SortByTags `json:"sort_by,omitempty"`

	// Order by which results should be sorted
	SortOrder *ListTeammateTagsParamsSortOrder `json:"sort_order,omitempty"`
}

ListTeammateTagsParams defines parameters for ListTeammateTags.

type ListTeammateTagsParamsSortOrder

type ListTeammateTagsParamsSortOrder string

ListTeammateTagsParamsSortOrder defines parameters for ListTeammateTags.

type ListTeammateTagsResponse

type ListTeammateTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TagResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammateTagsResponse

func ParseListTeammateTagsResponse(rsp *http.Response) (*ListTeammateTagsResponse, error)

ParseListTeammateTagsResponse parses an HTTP response from a ListTeammateTagsWithResponse call

func (ListTeammateTagsResponse) Status

func (r ListTeammateTagsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeammateTagsResponse) StatusCode

func (r ListTeammateTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeammatesResponse

type ListTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TeammateResponse `json:"_results,omitempty"`
	}
}

func ParseListTeammatesResponse

func ParseListTeammatesResponse(rsp *http.Response) (*ListTeammatesResponse, error)

ParseListTeammatesResponse parses an HTTP response from a ListTeammatesWithResponse call

func (ListTeammatesResponse) Status

func (r ListTeammatesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeammatesResponse) StatusCode

func (r ListTeammatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamsResponse

type ListTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Results *[]TeamPreviewResponse `json:"_results,omitempty"`
	}
}

func ParseListTeamsResponse

func ParseListTeamsResponse(rsp *http.Response) (*ListTeamsResponse, error)

ParseListTeamsResponse parses an HTTP response from a ListTeamsWithResponse call

func (ListTeamsResponse) Status

func (r ListTeamsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamsResponse) StatusCode

func (r ListTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MarkMessageSeenJSONBody

type MarkMessageSeenJSONBody map[string]interface{}

MarkMessageSeenJSONBody defines parameters for MarkMessageSeen.

type MarkMessageSeenJSONRequestBody

type MarkMessageSeenJSONRequestBody MarkMessageSeenJSONBody

MarkMessageSeenJSONRequestBody defines body for MarkMessageSeen for application/json ContentType.

type MarkMessageSeenResponse

type MarkMessageSeenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseMarkMessageSeenResponse

func ParseMarkMessageSeenResponse(rsp *http.Response) (*MarkMessageSeenResponse, error)

ParseMarkMessageSeenResponse parses an HTTP response from a MarkMessageSeenWithResponse call

func (MarkMessageSeenResponse) Status

func (r MarkMessageSeenResponse) Status() string

Status returns HTTPResponse.Status

func (MarkMessageSeenResponse) StatusCode

func (r MarkMessageSeenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MergeContacts

type MergeContacts struct {
	// Array of all the contact IDs of the contacts to be merged.  If a target contact id is provided and that contact id is not in this array, the length of this array must be between 1 and 49.  If no target contact id is provided or it is contained in this array, the length must be between 2 and 50.
	ContactIds []string `json:"contact_ids"`

	// Optional contact ID to merge the other contacts into.
	TargetContactId *string `json:"target_contact_id,omitempty"`
}

MergeContacts defines model for MergeContacts.

type MergeContactsJSONBody

type MergeContactsJSONBody MergeContacts

MergeContactsJSONBody defines parameters for MergeContacts.

type MergeContactsJSONRequestBody

type MergeContactsJSONRequestBody MergeContactsJSONBody

MergeContactsJSONRequestBody defines body for MergeContacts for application/json ContentType.

type MergeContactsResponse

type MergeContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ContactResponse
}

func ParseMergeContactsResponse

func ParseMergeContactsResponse(rsp *http.Response) (*MergeContactsResponse, error)

ParseMergeContactsResponse parses an HTTP response from a MergeContactsWithResponse call

func (MergeContactsResponse) Status

func (r MergeContactsResponse) Status() string

Status returns HTTPResponse.Status

func (MergeContactsResponse) StatusCode

func (r MergeContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Message

type Message MessageResponse

Message defines model for message.

type MessageResponse

type MessageResponse struct {
	ResourceLinks *struct {
		Related *struct {
			// Link to message conversation
			Conversation *string `json:"conversation,omitempty"`

			// Link to message this message replied to
			MessageRepliedTo *string `json:"message_replied_to,omitempty"`

			// Link to message seen information
			MessageSeen *string `json:"message_seen,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links,omitempty"`

	// 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 *float32 `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"`

	// Secondary unique identifier of a message. Generated by Front on message creation. Learn more at about the [message UID](https://dev.frontapp.com/reference/messages#creating-a-new-message).
	MessageUid *string `json:"message_uid,omitempty"`

	// Optional metadata about the message
	Metadata *struct {
		// For `front_chat` messages only. Source URL from the chat widget when sending a message.
		ChatVisitorUrl *string `json:"chat_visitor_url,omitempty"`

		// 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 coming 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"`
	Signature  *SignatureResponse   `json:"signature,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 (
	MessageResponseTypeCall MessageResponseType = "call"

	MessageResponseTypeCustom MessageResponseType = "custom"

	MessageResponseTypeEmail MessageResponseType = "email"

	MessageResponseTypeFacebook MessageResponseType = "facebook"

	MessageResponseTypeFrontChat MessageResponseType = "front_chat"

	MessageResponseTypeGoogleplay MessageResponseType = "googleplay"

	MessageResponseTypeIntercom MessageResponseType = "intercom"

	MessageResponseTypeInternal MessageResponseType = "internal"

	MessageResponseTypePhoneCall MessageResponseType = "phone-call"

	MessageResponseTypeSms MessageResponseType = "sms"

	MessageResponseTypeTweet MessageResponseType = "tweet"

	MessageResponseTypeTweetDm MessageResponseType = "tweet_dm"

	MessageResponseTypeWhatsapp MessageResponseType = "whatsapp"

	MessageResponseTypeYaloWha MessageResponseType = "yalo_wha"
)

Defines values for MessageResponseType.

type MessageTemplateFolderResponse

type MessageTemplateFolderResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to message templates contained within this folder or children folders. Null if the current folder does not have any message templates.
			ChildAnswers *string `json:"child_answers"`

			// Link to child folders. Null if the current folder does not have children.
			ChildFolders *string `json:"child_folders"`

			// Link to resource's owner. Null if the current folder does not have an owner.
			Owner *string `json:"owner"`

			// Link to parent folder. Null if the current folder does not have a parent.
			ParentFolder *string `json:"parent_folder"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Timestamp at which the message template folder was created.
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Unique identifier of the message template folder
	Id string `json:"id"`

	// Name of the message template folder
	Name string `json:"name"`

	// Timestamp at which the message template folder was updated.
	UpdatedAt *float32 `json:"updated_at,omitempty"`
}

MessageTemplateFolderResponse defines model for MessageTemplateFolderResponse.

type MessageTemplateResponse

type MessageTemplateResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to resource's owner
			Owner *string `json:"owner"`

			// Link to the parent folder that contains the message template
			ParentFolder *string `json:"parent_folder"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// List of files attached to the response
	Attachments []Attachment `json:"attachments"`

	// Body of the message template
	Body string `json:"body"`

	// Unique identifier of the message template
	Id string `json:"id"`

	// List of inboxes the template is available in. Null if there are no restrictions.
	InboxIds *[]string `json:"inbox_ids"`

	// Whether or not the template is available in all inboxes.
	IsAvailableForAllInboxes bool `json:"is_available_for_all_inboxes"`

	// Name of the message template
	Name string `json:"name"`

	// Subject of the message template
	Subject *string `json:"subject"`
}

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) or read more about [Attachments](https://dev.frontapp.com/docs/attachments-1). Max 25 MB.
	Attachments *[]string `json:"attachments,omitempty"`

	// ID of the teammate on behalf of whom the answer is sent
	AuthorId *string `json:"author_id,omitempty"`

	// List of the recipient handles who will receive a blind copy of this message
	Bcc *[]string `json:"bcc,omitempty"`

	// Body of the message
	Body string `json:"body"`

	// List of the recipient handles who will receive a copy of this message
	Cc      *[]string `json:"cc,omitempty"`
	Options *struct {
		// Archive the conversation right when sending the message
		Archive *bool `json:"archive,omitempty"`

		// List of tag IDs to add to the conversation
		TagIds *[]string `json:"tag_ids,omitempty"`
	} `json:"options,omitempty"`

	// Name used for the sender info of the message
	SenderName *string `json:"sender_name,omitempty"`

	// Whether or not Front should try to resolve a signature for the message. Only applies to email channels and is ignored if signature_id is included or if author_id is omitted. Default false.
	ShouldAddDefaultSignature *bool `json:"should_add_default_signature,omitempty"`

	// ID of the signature to attach to this draft. Only supported for email channels; using this on other channel types returns a 403 forbidden error. If null, no signature is attached.
	SignatureId *string `json:"signature_id,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"`

	// List of the recipient handles who will receive this message
	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) or read more about [Attachments](https://dev.frontapp.com/docs/attachments-1).  Max 25 MB.
	Attachments *[]string `json:"attachments,omitempty"`

	// ID of the teammate on behalf of whom the answer is sent
	AuthorId *string `json:"author_id,omitempty"`

	// List of the recipient handles who will receive a copy of this message
	Bcc *[]string `json:"bcc,omitempty"`

	// Body of the message
	Body string `json:"body"`

	// List of the recipient handles who will receive a copy of this message
	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"`

		// List of tag IDs to add to the conversation
		TagIds *[]string `json:"tag_ids,omitempty"`
	} `json:"options,omitempty"`

	// Body for the quote that the message is referencing. Only available on email channels.
	QuoteBody *string `json:"quote_body,omitempty"`

	// Name used for the sender info of the message
	SenderName *string `json:"sender_name,omitempty"`

	// Whether or not Front should try to resolve a signature for the message. Only applies to email channels and is ignored if signature_id is included or if author_id is omitted. Default false;
	ShouldAddDefaultSignature *bool `json:"should_add_default_signature,omitempty"`

	// ID of the signature to attach to this draft. Only supported for email channels; using this on other channel types returns a 403 forbidden error. If null, no signature is attached.
	SignatureId *string `json:"signature_id,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"`

	// List of the recipient handles who will receive this message
	To *[]string `json:"to,omitempty"`
}

OutboundReplyMessage defines model for OutboundReplyMessage.

type PageToken

type PageToken string

PageToken defines model for pageToken.

type ReceiveCustomMessagesJSONBody

type ReceiveCustomMessagesJSONBody CustomMessage

ReceiveCustomMessagesJSONBody defines parameters for ReceiveCustomMessages.

type ReceiveCustomMessagesJSONRequestBody

type ReceiveCustomMessagesJSONRequestBody ReceiveCustomMessagesJSONBody

ReceiveCustomMessagesJSONRequestBody defines body for ReceiveCustomMessages for application/json ContentType.

type ReceiveCustomMessagesResponse

type ReceiveCustomMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		// Message unique identifier. Use the message UID as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1) to check whether the [message is created successfully](https://dev.frontapp.com/reference/messages#creating-a-new-message).
		MessageUid *string `json:"message_uid,omitempty"`

		// The status of the incoming message. Should return 'accepted' if successful.
		Status *string `json:"status,omitempty"`
	}
}

func ParseReceiveCustomMessagesResponse

func ParseReceiveCustomMessagesResponse(rsp *http.Response) (*ReceiveCustomMessagesResponse, error)

ParseReceiveCustomMessagesResponse parses an HTTP response from a ReceiveCustomMessagesWithResponse call

func (ReceiveCustomMessagesResponse) Status

Status returns HTTPResponse.Status

func (ReceiveCustomMessagesResponse) StatusCode

func (r ReceiveCustomMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RecipientResponse

type RecipientResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to recipient contact
			Contact *string `json:"contact"`
		} `json:"related,omitempty"`
	} `json:"_links"`

	// Handle of the contact. Can be any string used to uniquely identify the contact
	Handle string `json:"handle"`

	// Name of the recipient.
	Name *string `json:"name"`

	// Role of the recipient
	Role RecipientResponseRole `json:"role"`
}

RecipientResponse defines model for RecipientResponse.

type RecipientResponseRole

type RecipientResponseRole string

Role of the recipient

const (
	RecipientResponseRoleBcc RecipientResponseRole = "bcc"

	RecipientResponseRoleCc RecipientResponseRole = "cc"

	RecipientResponseRoleFrom RecipientResponseRole = "from"

	RecipientResponseRoleReplyTo RecipientResponseRole = "reply-to"

	RecipientResponseRoleTo RecipientResponseRole = "to"
)

Defines values for RecipientResponseRole.

type Reminder

type Reminder struct {
	ResourceLinks struct {
		Related *struct {
			// Link to conversation owner
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`
	} `json:"_links"`

	// Timestamp at which the conversation reminder has been created
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Timestamp that the conversation reminder has been scheduled for
	ScheduledAt *float32 `json:"scheduled_at,omitempty"`

	// Timestamp at which the conversation reminder has been updated
	UpdatedAt *float32 `json:"updated_at,omitempty"`
}

Reminder defines model for Reminder.

type RemoveCompanyTeammateGroupTeamInboxesJSONBody

type RemoveCompanyTeammateGroupTeamInboxesJSONBody InboxIds

RemoveCompanyTeammateGroupTeamInboxesJSONBody defines parameters for RemoveCompanyTeammateGroupTeamInboxes.

type RemoveCompanyTeammateGroupTeamInboxesJSONRequestBody

type RemoveCompanyTeammateGroupTeamInboxesJSONRequestBody RemoveCompanyTeammateGroupTeamInboxesJSONBody

RemoveCompanyTeammateGroupTeamInboxesJSONRequestBody defines body for RemoveCompanyTeammateGroupTeamInboxes for application/json ContentType.

type RemoveCompanyTeammateGroupTeamInboxesResponse

type RemoveCompanyTeammateGroupTeamInboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveCompanyTeammateGroupTeamInboxesResponse

func ParseRemoveCompanyTeammateGroupTeamInboxesResponse(rsp *http.Response) (*RemoveCompanyTeammateGroupTeamInboxesResponse, error)

ParseRemoveCompanyTeammateGroupTeamInboxesResponse parses an HTTP response from a RemoveCompanyTeammateGroupTeamInboxesWithResponse call

func (RemoveCompanyTeammateGroupTeamInboxesResponse) Status

Status returns HTTPResponse.Status

func (RemoveCompanyTeammateGroupTeamInboxesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RemoveCompanyTeammateGroupTeammatesJSONBody

type RemoveCompanyTeammateGroupTeammatesJSONBody TeammateIds

RemoveCompanyTeammateGroupTeammatesJSONBody defines parameters for RemoveCompanyTeammateGroupTeammates.

type RemoveCompanyTeammateGroupTeammatesJSONRequestBody

type RemoveCompanyTeammateGroupTeammatesJSONRequestBody RemoveCompanyTeammateGroupTeammatesJSONBody

RemoveCompanyTeammateGroupTeammatesJSONRequestBody defines body for RemoveCompanyTeammateGroupTeammates for application/json ContentType.

type RemoveCompanyTeammateGroupTeammatesResponse

type RemoveCompanyTeammateGroupTeammatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveCompanyTeammateGroupTeammatesResponse

func ParseRemoveCompanyTeammateGroupTeammatesResponse(rsp *http.Response) (*RemoveCompanyTeammateGroupTeammatesResponse, error)

ParseRemoveCompanyTeammateGroupTeammatesResponse parses an HTTP response from a RemoveCompanyTeammateGroupTeammatesWithResponse call

func (RemoveCompanyTeammateGroupTeammatesResponse) Status

Status returns HTTPResponse.Status

func (RemoveCompanyTeammateGroupTeammatesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RemoveCompanyTeammateGroupTeamsJSONBody

type RemoveCompanyTeammateGroupTeamsJSONBody TeamIds

RemoveCompanyTeammateGroupTeamsJSONBody defines parameters for RemoveCompanyTeammateGroupTeams.

type RemoveCompanyTeammateGroupTeamsJSONRequestBody

type RemoveCompanyTeammateGroupTeamsJSONRequestBody RemoveCompanyTeammateGroupTeamsJSONBody

RemoveCompanyTeammateGroupTeamsJSONRequestBody defines body for RemoveCompanyTeammateGroupTeams for application/json ContentType.

type RemoveCompanyTeammateGroupTeamsResponse

type RemoveCompanyTeammateGroupTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveCompanyTeammateGroupTeamsResponse

func ParseRemoveCompanyTeammateGroupTeamsResponse(rsp *http.Response) (*RemoveCompanyTeammateGroupTeamsResponse, error)

ParseRemoveCompanyTeammateGroupTeamsResponse parses an HTTP response from a RemoveCompanyTeammateGroupTeamsWithResponse call

func (RemoveCompanyTeammateGroupTeamsResponse) Status

Status returns HTTPResponse.Status

func (RemoveCompanyTeammateGroupTeamsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RemoveContactFromAccountJSONBody

type RemoveContactFromAccountJSONBody ContactIds

RemoveContactFromAccountJSONBody defines parameters for RemoveContactFromAccount.

type RemoveContactFromAccountJSONRequestBody

type RemoveContactFromAccountJSONRequestBody RemoveContactFromAccountJSONBody

RemoveContactFromAccountJSONRequestBody defines body for RemoveContactFromAccount for application/json ContentType.

type RemoveContactFromAccountResponse

type RemoveContactFromAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveContactFromAccountResponse

func ParseRemoveContactFromAccountResponse(rsp *http.Response) (*RemoveContactFromAccountResponse, error)

ParseRemoveContactFromAccountResponse parses an HTTP response from a RemoveContactFromAccountWithResponse call

func (RemoveContactFromAccountResponse) Status

Status returns HTTPResponse.Status

func (RemoveContactFromAccountResponse) StatusCode

func (r RemoveContactFromAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveContactsFromContactListJSONBody

type RemoveContactsFromContactListJSONBody RemoveContactsFromList

RemoveContactsFromContactListJSONBody defines parameters for RemoveContactsFromContactList.

type RemoveContactsFromContactListJSONRequestBody

type RemoveContactsFromContactListJSONRequestBody RemoveContactsFromContactListJSONBody

RemoveContactsFromContactListJSONRequestBody defines body for RemoveContactsFromContactList for application/json ContentType.

type RemoveContactsFromContactListResponse

type RemoveContactsFromContactListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveContactsFromContactListResponse

func ParseRemoveContactsFromContactListResponse(rsp *http.Response) (*RemoveContactsFromContactListResponse, error)

ParseRemoveContactsFromContactListResponse parses an HTTP response from a RemoveContactsFromContactListWithResponse call

func (RemoveContactsFromContactListResponse) Status

Status returns HTTPResponse.Status

func (RemoveContactsFromContactListResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RemoveContactsFromGroupJSONBody

type RemoveContactsFromGroupJSONBody RemoveContactsFromList

RemoveContactsFromGroupJSONBody defines parameters for RemoveContactsFromGroup.

type RemoveContactsFromGroupJSONRequestBody

type RemoveContactsFromGroupJSONRequestBody RemoveContactsFromGroupJSONBody

RemoveContactsFromGroupJSONRequestBody defines body for RemoveContactsFromGroup for application/json ContentType.

type RemoveContactsFromGroupResponse

type RemoveContactsFromGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveContactsFromGroupResponse

func ParseRemoveContactsFromGroupResponse(rsp *http.Response) (*RemoveContactsFromGroupResponse, error)

ParseRemoveContactsFromGroupResponse parses an HTTP response from a RemoveContactsFromGroupWithResponse call

func (RemoveContactsFromGroupResponse) Status

Status returns HTTPResponse.Status

func (RemoveContactsFromGroupResponse) StatusCode

func (r RemoveContactsFromGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveContactsFromList

type RemoveContactsFromList struct {
	// List of IDs of the contacts to remove from the requested contact list. Alternatively, you can supply the contact source and handle as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	ContactIds []ResourceID `json:"contact_ids"`
}

RemoveContactsFromList defines model for RemoveContactsFromList.

type RemoveConversationLinksJSONBody

type RemoveConversationLinksJSONBody struct {
	// Link IDs to remove.
	LinkIds []string `json:"link_ids"`
}

RemoveConversationLinksJSONBody defines parameters for RemoveConversationLinks.

type RemoveConversationLinksJSONRequestBody

type RemoveConversationLinksJSONRequestBody RemoveConversationLinksJSONBody

RemoveConversationLinksJSONRequestBody defines body for RemoveConversationLinks for application/json ContentType.

type RemoveConversationLinksResponse

type RemoveConversationLinksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveConversationLinksResponse

func ParseRemoveConversationLinksResponse(rsp *http.Response) (*RemoveConversationLinksResponse, error)

ParseRemoveConversationLinksResponse parses an HTTP response from a RemoveConversationLinksWithResponse call

func (RemoveConversationLinksResponse) Status

Status returns HTTPResponse.Status

func (RemoveConversationLinksResponse) StatusCode

func (r RemoveConversationLinksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveConversationTagJSONBody

type RemoveConversationTagJSONBody TagIds

RemoveConversationTagJSONBody defines parameters for RemoveConversationTag.

type RemoveConversationTagJSONRequestBody

type RemoveConversationTagJSONRequestBody RemoveConversationTagJSONBody

RemoveConversationTagJSONRequestBody defines body for RemoveConversationTag for application/json ContentType.

type RemoveConversationTagResponse

type RemoveConversationTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveConversationTagResponse

func ParseRemoveConversationTagResponse(rsp *http.Response) (*RemoveConversationTagResponse, error)

ParseRemoveConversationTagResponse parses an HTTP response from a RemoveConversationTagWithResponse call

func (RemoveConversationTagResponse) Status

Status returns HTTPResponse.Status

func (RemoveConversationTagResponse) StatusCode

func (r RemoveConversationTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveTeammatesFromShiftJSONBody

type RemoveTeammatesFromShiftJSONBody TeammateIds

RemoveTeammatesFromShiftJSONBody defines parameters for RemoveTeammatesFromShift.

type RemoveTeammatesFromShiftJSONRequestBody

type RemoveTeammatesFromShiftJSONRequestBody RemoveTeammatesFromShiftJSONBody

RemoveTeammatesFromShiftJSONRequestBody defines body for RemoveTeammatesFromShift for application/json ContentType.

type RemoveTeammatesFromShiftResponse

type RemoveTeammatesFromShiftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveTeammatesFromShiftResponse

func ParseRemoveTeammatesFromShiftResponse(rsp *http.Response) (*RemoveTeammatesFromShiftResponse, error)

ParseRemoveTeammatesFromShiftResponse parses an HTTP response from a RemoveTeammatesFromShiftWithResponse call

func (RemoveTeammatesFromShiftResponse) Status

Status returns HTTPResponse.Status

func (RemoveTeammatesFromShiftResponse) StatusCode

func (r RemoveTeammatesFromShiftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveTeammatesFromTeamJSONBody

type RemoveTeammatesFromTeamJSONBody TeammateIds

RemoveTeammatesFromTeamJSONBody defines parameters for RemoveTeammatesFromTeam.

type RemoveTeammatesFromTeamJSONRequestBody

type RemoveTeammatesFromTeamJSONRequestBody RemoveTeammatesFromTeamJSONBody

RemoveTeammatesFromTeamJSONRequestBody defines body for RemoveTeammatesFromTeam for application/json ContentType.

type RemoveTeammatesFromTeamResponse

type RemoveTeammatesFromTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveTeammatesFromTeamResponse

func ParseRemoveTeammatesFromTeamResponse(rsp *http.Response) (*RemoveTeammatesFromTeamResponse, error)

ParseRemoveTeammatesFromTeamResponse parses an HTTP response from a RemoveTeammatesFromTeamWithResponse call

func (RemoveTeammatesFromTeamResponse) Status

Status returns HTTPResponse.Status

func (RemoveTeammatesFromTeamResponse) StatusCode

func (r RemoveTeammatesFromTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemovesInboxAccessJSONBody

type RemovesInboxAccessJSONBody TeammateIds

RemovesInboxAccessJSONBody defines parameters for RemovesInboxAccess.

type RemovesInboxAccessJSONRequestBody

type RemovesInboxAccessJSONRequestBody RemovesInboxAccessJSONBody

RemovesInboxAccessJSONRequestBody defines body for RemovesInboxAccess for application/json ContentType.

type RemovesInboxAccessResponse

type RemovesInboxAccessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemovesInboxAccessResponse

func ParseRemovesInboxAccessResponse(rsp *http.Response) (*RemovesInboxAccessResponse, error)

ParseRemovesInboxAccessResponse parses an HTTP response from a RemovesInboxAccessWithResponse call

func (RemovesInboxAccessResponse) Status

Status returns HTTPResponse.Status

func (RemovesInboxAccessResponse) StatusCode

func (r RemovesInboxAccessResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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. Alternatively, you can supply the channel address as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	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 Rule

type Rule RuleResponse

Rule defines model for rule.

type RuleResponse

type RuleResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to rule owner
			Owner *string `json:"owner"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// List of the rule's actions description
	Actions []string `json:"actions"`

	// Unique identifier of the rule
	Id string `json:"id"`

	// Whether or not the rule is individual
	IsPrivate bool `json:"is_private"`

	// Name of the rule
	Name string `json:"name"`
}

RuleResponse defines model for RuleResponse.

type SearchConversationsParams

type SearchConversationsParams struct {
	// Max number of results per [page](https://dev.frontapp.com/docs/pagination)
	Limit *Limit `json:"limit,omitempty"`

	// Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
	PageToken *PageToken `json:"page_token,omitempty"`
}

SearchConversationsParams defines parameters for SearchConversations.

type SearchConversationsResponse

type SearchConversationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ResourceLinks *struct {
			// Link to resource
			Self *string `json:"self,omitempty"`
		} `json:"_links,omitempty"`
		Pagination *struct {
			// Link to next [page of results](https://dev.frontapp.com/docs/pagination)
			Next *string `json:"next"`
		} `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 SeenReceiptResponse

type SeenReceiptResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to message associated with the seen record
			Message *string `json:"message,omitempty"`
		} `json:"related,omitempty"`

		// Link to self
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Timestamp when message was seen
	FirstSeenAt string        `json:"first_seen_at"`
	SeenBy      ContactHandle `json:"seen_by"`
}

SeenReceiptResponse defines model for SeenReceiptResponse.

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 {
	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:"_links"`

	// Color of the shift
	Color ShiftResponseColor `json:"color"`

	// The timestamp when the shift was created.
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Unique identifier of the shift
	Id string `json:"id"`

	// Name of the shift
	Name  string         `json:"name"`
	Times ShiftIntervals `json:"times"`

	// A timezone name as defined in the IANA tz database
	Timezone string `json:"timezone"`

	// The timestamp when the shift was updated.
	UpdatedAt *float32 `json:"updated_at,omitempty"`
}

ShiftResponse defines model for ShiftResponse.

type ShiftResponseColor

type ShiftResponseColor string

Color of the shift

const (
	ShiftResponseColorBlack ShiftResponseColor = "black"

	ShiftResponseColorBlue ShiftResponseColor = "blue"

	ShiftResponseColorGreen ShiftResponseColor = "green"

	ShiftResponseColorGrey ShiftResponseColor = "grey"

	ShiftResponseColorOrange ShiftResponseColor = "orange"

	ShiftResponseColorPink ShiftResponseColor = "pink"

	ShiftResponseColorPurple ShiftResponseColor = "purple"

	ShiftResponseColorRed ShiftResponseColor = "red"

	ShiftResponseColorTeal ShiftResponseColor = "teal"

	ShiftResponseColorYellow ShiftResponseColor = "yellow"
)

Defines values for ShiftResponseColor.

type Signature

type Signature SignatureResponse

Signature defines model for signature.

type SignatureResponse

type SignatureResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to signature's owner (either a team or teammate)
			Owner *string `json:"owner,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Body of the signature
	Body       string    `json:"body"`
	ChannelIds *[]string `json:"channel_ids"`

	// Unique identifier of the signature
	Id string `json:"id"`

	// Whether the signature is the default signature for the team or teammate.
	IsDefault bool `json:"is_default"`

	// Whether the signature is private to the teammate.
	IsPrivate bool `json:"is_private"`

	// Whether or not the signature is available in teammate channels.
	IsVisibleForAllTeammateChannels bool `json:"is_visible_for_all_teammate_channels"`

	// Name of the signature
	Name *string `json:"name"`

	// Sender info of the signature
	SenderInfo *string `json:"sender_info"`
}

SignatureResponse defines model for SignatureResponse.

type SortByAccounts

type SortByAccounts string

SortByAccounts defines model for sortByAccounts.

type SortByActivities

type SortByActivities string

SortByActivities defines model for sortByActivities.

type SortByCannedAnswerFolders

type SortByCannedAnswerFolders string

SortByCannedAnswerFolders defines model for sortByCannedAnswerFolders.

type SortByCannedAnswers

type SortByCannedAnswers string

SortByCannedAnswers defines model for sortByCannedAnswers.

type SortByCards

type SortByCards string

SortByCards defines model for sortByCards.

type SortByConversationMessages

type SortByConversationMessages string

SortByConversationMessages defines model for sortByConversationMessages.

type SortByConversations

type SortByConversations string

SortByConversations defines model for sortByConversations.

type SortByLinks string

SortByLinks defines model for sortByLinks.

type SortByTags

type SortByTags string

SortByTags defines model for sortByTags.

type SortOrder

type SortOrder string

SortOrder defines model for sortOrder.

const (
	Asc SortOrder = "asc"

	Desc SortOrder = "desc"
)

Defines values for SortOrder.

type Status

type Status StatusResponse

A ticket status of a conversation.

type StatusResponse

type StatusResponse struct {
	ResourceLinks struct {
		// Link to ticket status
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Category of the ticket status.
	Category *StatusResponseCategory `json:"category"`

	// Timestamp of ticket status creation
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Description of the ticket status
	Description *string `json:"description"`

	// Unique identifier of the ticket status
	Id string `json:"id"`

	// The name of the ticket status. Default statuses match the category name. Custom statuses have a unique name.
	Name string `json:"name"`

	// Timestamp of the last ticket status update
	UpdatedAt *float32 `json:"updated_at,omitempty"`
}

A ticket status of a conversation.

type StatusResponseCategory

type StatusResponseCategory string

Category of the ticket status.

const (
	StatusResponseCategoryOpen StatusResponseCategory = "open"

	StatusResponseCategoryResolved StatusResponseCategory = "resolved"

	StatusResponseCategoryWaiting StatusResponseCategory = "waiting"
)

Defines values for StatusResponseCategory.

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 {
	ResourceLinks struct {
		Related *struct {
			// Link to tag children
			Children *string `json:"children"`

			// Link to tag conversations
			Conversations *string `json:"conversations,omitempty"`

			// Link to tag owner
			Owner *string `json:"owner"`

			// Link to parent tag
			ParentTag *string `json:"parent_tag"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Timestamp of tag create creation
	CreatedAt *float32 `json:"created_at,omitempty"`

	// Description of the tag
	Description *string `json:"description"`

	// Highlight color or emoji of the tag. Null if the tag does not have a highlight.
	Highlight *string `json:"highlight"`

	// Unique identifier of the tag
	Id string `json:"id"`

	// Whether or not the tag is individual
	IsPrivate bool `json:"is_private"`

	// Whether the tag is visible in conversation lists.
	IsVisibleInConversationLists bool `json:"is_visible_in_conversation_lists"`

	// Name of the tag
	Name string `json:"name"`

	// Timestamp of the last tag update
	UpdatedAt *float32 `json:"updated_at,omitempty"`
}

A tag is a label that can be used to classify conversations.

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 TeamPreviewResponse

type TeamPreviewResponse struct {
	ResourceLinks struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Unique identifier of the team
	Id string `json:"id"`

	// Name of the team
	Name string `json:"name"`
}

TeamPreviewResponse defines model for TeamPreviewResponse.

type TeamResponse

type TeamResponse struct {
	ResourceLinks struct {
		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Unique identifier of the team
	Id string `json:"id"`

	// List of the inboxes in the team
	Inboxes []InboxResponse `json:"inboxes"`

	// List of the teammates that have access to the team
	Members []TeammateResponse `json:"members"`

	// Name of the team
	Name string `json:"name"`
}

TeamResponse defines model for TeamResponse.

type Teammate

type Teammate TeammateResponse

A teammate is a user in Front.

type TeammateGroup

type TeammateGroup TeammateGroupResponse

A teammate group is a group of teammates in Front.

type TeammateGroupResponse

type TeammateGroupResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to list of inboxes that teammate members can access
			Inboxes *string `json:"inboxes,omitempty"`

			// Link to list of teammate members
			Teammates *string `json:"teammates,omitempty"`

			// Link to list of associated teams
			Teams *string `json:"teams,omitempty"`
		} `json:"related,omitempty"`

		// Link to resource
		Self *string `json:"self,omitempty"`
	} `json:"_links"`

	// Description of the teammate group
	Description *string `json:"description"`

	// Unique identifier of the teammate group
	Id string `json:"id"`

	// Is teammate group managed by SCIM or by Front
	IsManagedByScim bool `json:"is_managed_by_scim"`

	// The name of the teammate group
	Name string `json:"name"`

	// Permissions for the teammate group
	Permissions struct {
		// Permissions for teammate group access to contact lists
		Contacts *struct {
			// Level of access for the teammate group to contact lists. Must be one of 'all', 'contact_lists', or 'none'.
			Access *string `json:"access,omitempty"`

			// List of contact lists the teammate group is allowed to access. May only be specified if 'access' is set to 'contact_lists'.
			ContactListIds *[]string `json:"contact_list_ids,omitempty"`
		} `json:"contacts,omitempty"`
	} `json:"permissions"`
}

A teammate group is a group of teammates in Front.

type TeammateIds

type TeammateIds struct {
	TeammateIds []ResourceID `json:"teammate_ids"`
}

TeammateIds defines model for TeammateIds.

type TeammateResponse

type TeammateResponse struct {
	ResourceLinks struct {
		Related *struct {
			// Link to the source resource of the bot (e.g. rule)
			BotSource *string `json:"botSource,omitempty"`

			// 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:"_links"`

	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields CustomFieldParameter `json:"custom_fields"`

	// Email address of the teammate
	Email string `json:"email"`

	// First name of the teammate
	FirstName string `json:"first_name"`

	// Unique identifier of the teammate
	Id string `json:"id"`

	// Whether or not the teammate is an admin in your company
	IsAdmin bool `json:"is_admin"`

	// Whether or not the teammate is available
	IsAvailable bool `json:"is_available"`

	// Whether or not the teammate account has been blocked
	IsBlocked bool `json:"is_blocked"`

	// Last name of the teammate
	LastName string `json:"last_name"`

	// Type of the teammate, normal teammates are denoted as "user", while visitors are denoted as "visitor".
	// Bot users are denoted by their parent resource type.
	// The following bot types are available:
	//   * rule: acting on behalf of a Rule, author of comments and drafts
	//   * macro: acting on behalf of a Macro, author of comments and drafts
	//   * API: acting on behalf of OAuth clients
	//   * integration: acting on behalf of an Integration
	//   * CSAT: used for authoring CSAT response comments
	Type TeammateResponseType `json:"type"`

	// Username of the teammate (used for "@" mentions)
	Username string `json:"username"`
}

A teammate is a user in Front.

type TeammateResponseType

type TeammateResponseType string

Type of the teammate, normal teammates are denoted as "user", while visitors are denoted as "visitor". Bot users are denoted by their parent resource type. The following bot types are available:

  • rule: acting on behalf of a Rule, author of comments and drafts
  • macro: acting on behalf of a Macro, author of comments and drafts
  • API: acting on behalf of OAuth clients
  • integration: acting on behalf of an Integration
  • CSAT: used for authoring CSAT response comments
const (
	TeammateResponseTypeAPI TeammateResponseType = "API"

	TeammateResponseTypeCSAT TeammateResponseType = "CSAT"

	TeammateResponseTypeIntegration TeammateResponseType = "integration"

	TeammateResponseTypeMacro TeammateResponseType = "macro"

	TeammateResponseTypeRule TeammateResponseType = "rule"

	TeammateResponseTypeUser TeammateResponseType = "user"

	TeammateResponseTypeVisitor TeammateResponseType = "visitor"
)

Defines values for TeammateResponseType.

type TopicQuery

type TopicQuery string

TopicQuery defines model for topicQuery.

type TriggerAppEventJSONBody

type TriggerAppEventJSONBody AppEvent

TriggerAppEventJSONBody defines parameters for TriggerAppEvent.

type TriggerAppEventJSONRequestBody

type TriggerAppEventJSONRequestBody TriggerAppEventJSONBody

TriggerAppEventJSONRequestBody defines body for TriggerAppEvent for application/json ContentType.

type TriggerAppEventResponse

type TriggerAppEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseTriggerAppEventResponse

func ParseTriggerAppEventResponse(rsp *http.Response) (*TriggerAppEventResponse, error)

ParseTriggerAppEventResponse parses an HTTP response from a TriggerAppEventWithResponse call

func (TriggerAppEventResponse) Status

func (r TriggerAppEventResponse) Status() string

Status returns HTTPResponse.Status

func (TriggerAppEventResponse) StatusCode

func (r TriggerAppEventResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateACompanyTeammateGroupJSONBody

type UpdateACompanyTeammateGroupJSONBody UpdateTeammateGroup

UpdateACompanyTeammateGroupJSONBody defines parameters for UpdateACompanyTeammateGroup.

type UpdateACompanyTeammateGroupJSONRequestBody

type UpdateACompanyTeammateGroupJSONRequestBody UpdateACompanyTeammateGroupJSONBody

UpdateACompanyTeammateGroupJSONRequestBody defines body for UpdateACompanyTeammateGroup for application/json ContentType.

type UpdateACompanyTeammateGroupResponse

type UpdateACompanyTeammateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateACompanyTeammateGroupResponse

func ParseUpdateACompanyTeammateGroupResponse(rsp *http.Response) (*UpdateACompanyTeammateGroupResponse, error)

ParseUpdateACompanyTeammateGroupResponse parses an HTTP response from a UpdateACompanyTeammateGroupWithResponse call

func (UpdateACompanyTeammateGroupResponse) Status

Status returns HTTPResponse.Status

func (UpdateACompanyTeammateGroupResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateAContactJSONBody

type UpdateAContactJSONBody Contact

UpdateAContactJSONBody defines parameters for UpdateAContact.

type UpdateAContactJSONRequestBody

type UpdateAContactJSONRequestBody UpdateAContactJSONBody

UpdateAContactJSONRequestBody defines body for UpdateAContact for application/json ContentType.

type UpdateAContactResponse

type UpdateAContactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateAContactResponse

func ParseUpdateAContactResponse(rsp *http.Response) (*UpdateAContactResponse, error)

ParseUpdateAContactResponse parses an HTTP response from a UpdateAContactWithResponse call

func (UpdateAContactResponse) Status

func (r UpdateAContactResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAContactResponse) StatusCode

func (r UpdateAContactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateALinkJSONBody

type UpdateALinkJSONBody UpdateLink

UpdateALinkJSONBody defines parameters for UpdateALink.

type UpdateALinkJSONRequestBody

type UpdateALinkJSONRequestBody UpdateALinkJSONBody

UpdateALinkJSONRequestBody defines body for UpdateALink for application/json ContentType.

type UpdateALinkResponse

type UpdateALinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateALinkResponse

func ParseUpdateALinkResponse(rsp *http.Response) (*UpdateALinkResponse, error)

ParseUpdateALinkResponse parses an HTTP response from a UpdateALinkWithResponse call

func (UpdateALinkResponse) Status

func (r UpdateALinkResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateALinkResponse) StatusCode

func (r UpdateALinkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateATagJSONBody

type UpdateATagJSONBody UpdateTag

UpdateATagJSONBody defines parameters for UpdateATag.

type UpdateATagJSONRequestBody

type UpdateATagJSONRequestBody UpdateATagJSONBody

UpdateATagJSONRequestBody defines body for UpdateATag for application/json ContentType.

type UpdateATagResponse

type UpdateATagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateATagResponse

func ParseUpdateATagResponse(rsp *http.Response) (*UpdateATagResponse, error)

ParseUpdateATagResponse parses an HTTP response from a UpdateATagWithResponse call

func (UpdateATagResponse) Status

func (r UpdateATagResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateATagResponse) StatusCode

func (r UpdateATagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateAccountJSONBody

type UpdateAccountJSONBody AccountPatch

UpdateAccountJSONBody defines parameters for UpdateAccount.

type UpdateAccountJSONRequestBody

type UpdateAccountJSONRequestBody UpdateAccountJSONBody

UpdateAccountJSONRequestBody defines body for UpdateAccount for application/json ContentType.

type UpdateAccountResponse

type UpdateAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AccountResponse
}

func ParseUpdateAccountResponse

func ParseUpdateAccountResponse(rsp *http.Response) (*UpdateAccountResponse, error)

ParseUpdateAccountResponse parses an HTTP response from a UpdateAccountWithResponse call

func (UpdateAccountResponse) Status

func (r UpdateAccountResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAccountResponse) StatusCode

func (r UpdateAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateArticleContentInDefaultLocaleJSONBody

type UpdateArticleContentInDefaultLocaleJSONBody KnowledgeBaseArticlePatch

UpdateArticleContentInDefaultLocaleJSONBody defines parameters for UpdateArticleContentInDefaultLocale.

type UpdateArticleContentInDefaultLocaleJSONRequestBody

type UpdateArticleContentInDefaultLocaleJSONRequestBody UpdateArticleContentInDefaultLocaleJSONBody

UpdateArticleContentInDefaultLocaleJSONRequestBody defines body for UpdateArticleContentInDefaultLocale for application/json ContentType.

type UpdateArticleContentInDefaultLocaleResponse

type UpdateArticleContentInDefaultLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseArticleResponse
}

func ParseUpdateArticleContentInDefaultLocaleResponse

func ParseUpdateArticleContentInDefaultLocaleResponse(rsp *http.Response) (*UpdateArticleContentInDefaultLocaleResponse, error)

ParseUpdateArticleContentInDefaultLocaleResponse parses an HTTP response from a UpdateArticleContentInDefaultLocaleWithResponse call

func (UpdateArticleContentInDefaultLocaleResponse) Status

Status returns HTTPResponse.Status

func (UpdateArticleContentInDefaultLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateArticleContentInSpecifiedLocaleJSONBody

type UpdateArticleContentInSpecifiedLocaleJSONBody KnowledgeBaseArticlePatch

UpdateArticleContentInSpecifiedLocaleJSONBody defines parameters for UpdateArticleContentInSpecifiedLocale.

type UpdateArticleContentInSpecifiedLocaleJSONRequestBody

type UpdateArticleContentInSpecifiedLocaleJSONRequestBody UpdateArticleContentInSpecifiedLocaleJSONBody

UpdateArticleContentInSpecifiedLocaleJSONRequestBody defines body for UpdateArticleContentInSpecifiedLocale for application/json ContentType.

type UpdateArticleContentInSpecifiedLocaleResponse

type UpdateArticleContentInSpecifiedLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseArticleResponse
}

func ParseUpdateArticleContentInSpecifiedLocaleResponse

func ParseUpdateArticleContentInSpecifiedLocaleResponse(rsp *http.Response) (*UpdateArticleContentInSpecifiedLocaleResponse, error)

ParseUpdateArticleContentInSpecifiedLocaleResponse parses an HTTP response from a UpdateArticleContentInSpecifiedLocaleWithResponse call

func (UpdateArticleContentInSpecifiedLocaleResponse) Status

Status returns HTTPResponse.Status

func (UpdateArticleContentInSpecifiedLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateChannel

type UpdateChannel struct {
	// ID of the inbox to move this channel to. Will also move corresponding conversations.
	InboxId *string `json:"inbox_id,omitempty"`

	// 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"`

		// The webhook URL outbound messages should be sent to. Only allowed for "custom" type channels.
		WebhookUrl *string `json:"webhook_url,omitempty"`
	} `json:"settings,omitempty"`
}

UpdateChannel defines model for UpdateChannel.

type UpdateChannelJSONBody

type UpdateChannelJSONBody UpdateChannel

UpdateChannelJSONBody defines parameters for UpdateChannel.

type UpdateChannelJSONRequestBody

type UpdateChannelJSONRequestBody UpdateChannelJSONBody

UpdateChannelJSONRequestBody defines body for UpdateChannel for application/json ContentType.

type UpdateChannelResponse

type UpdateChannelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateChannelResponse

func ParseUpdateChannelResponse(rsp *http.Response) (*UpdateChannelResponse, error)

ParseUpdateChannelResponse parses an HTTP response from a UpdateChannelWithResponse call

func (UpdateChannelResponse) Status

func (r UpdateChannelResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateChannelResponse) StatusCode

func (r UpdateChannelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 UpdateComment

type UpdateComment struct {
	// Content of the comment. Can include markdown formatting. Can only be updated if the comment was created using the same token.
	Body *string `json:"body,omitempty"`

	// Whether or not the comment is pinned in its conversation.
	IsPinned *bool `json:"is_pinned,omitempty"`
}

UpdateComment defines model for UpdateComment.

type UpdateCommentJSONBody

type UpdateCommentJSONBody UpdateComment

UpdateCommentJSONBody defines parameters for UpdateComment.

type UpdateCommentJSONRequestBody

type UpdateCommentJSONRequestBody UpdateCommentJSONBody

UpdateCommentJSONRequestBody defines body for UpdateComment for application/json ContentType.

type UpdateCommentResponse

type UpdateCommentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CommentResponse
}

func ParseUpdateCommentResponse

func ParseUpdateCommentResponse(rsp *http.Response) (*UpdateCommentResponse, error)

ParseUpdateCommentResponse parses an HTTP response from a UpdateCommentWithResponse call

func (UpdateCommentResponse) Status

func (r UpdateCommentResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateCommentResponse) StatusCode

func (r UpdateCommentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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"`

	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields *CustomFieldParameter `json:"custom_fields,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"`

	// Unique identifier of the status to set the conversation to. Only one of status and status_id should be provided. Ticketing must be enabled for the company to use this field.
	StatusId *string `json:"status_id,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 UpdateConversationAssigneeJSONBody

type UpdateConversationAssigneeJSONBody UpdateConversationAssignee

UpdateConversationAssigneeJSONBody defines parameters for UpdateConversationAssignee.

type UpdateConversationAssigneeJSONRequestBody

type UpdateConversationAssigneeJSONRequestBody UpdateConversationAssigneeJSONBody

UpdateConversationAssigneeJSONRequestBody defines body for UpdateConversationAssignee for application/json ContentType.

type UpdateConversationAssigneeResponse

type UpdateConversationAssigneeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateConversationAssigneeResponse

func ParseUpdateConversationAssigneeResponse(rsp *http.Response) (*UpdateConversationAssigneeResponse, error)

ParseUpdateConversationAssigneeResponse parses an HTTP response from a UpdateConversationAssigneeWithResponse call

func (UpdateConversationAssigneeResponse) Status

Status returns HTTPResponse.Status

func (UpdateConversationAssigneeResponse) StatusCode

func (r UpdateConversationAssigneeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateConversationJSONBody

type UpdateConversationJSONBody UpdateConversation

UpdateConversationJSONBody defines parameters for UpdateConversation.

type UpdateConversationJSONRequestBody

type UpdateConversationJSONRequestBody UpdateConversationJSONBody

UpdateConversationJSONRequestBody defines body for UpdateConversation for application/json ContentType.

type UpdateConversationReminders

type UpdateConversationReminders struct {
	// Unix timestamp in seconds to schedule the reminder for. Must be in the future and within 50 years. Set to null to cancel.
	ScheduledAt float32 `json:"scheduled_at"`

	// ID of the waiting status to which the conversation will be set. Ticketing must be enabled for the company to use this field. If no status is supplied and ticket is enabled, the default waiting status will be used.
	StatusId *string `json:"status_id,omitempty"`

	// 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. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	TeammateId string `json:"teammate_id"`
}

UpdateConversationReminders defines model for UpdateConversationReminders.

type UpdateConversationRemindersJSONBody

type UpdateConversationRemindersJSONBody UpdateConversationReminders

UpdateConversationRemindersJSONBody defines parameters for UpdateConversationReminders.

type UpdateConversationRemindersJSONRequestBody

type UpdateConversationRemindersJSONRequestBody UpdateConversationRemindersJSONBody

UpdateConversationRemindersJSONRequestBody defines body for UpdateConversationReminders for application/json ContentType.

type UpdateConversationRemindersResponse

type UpdateConversationRemindersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateConversationRemindersResponse

func ParseUpdateConversationRemindersResponse(rsp *http.Response) (*UpdateConversationRemindersResponse, error)

ParseUpdateConversationRemindersResponse parses an HTTP response from a UpdateConversationRemindersWithResponse call

func (UpdateConversationRemindersResponse) Status

Status returns HTTPResponse.Status

func (UpdateConversationRemindersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateConversationResponse

type UpdateConversationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateConversationResponse

func ParseUpdateConversationResponse(rsp *http.Response) (*UpdateConversationResponse, error)

ParseUpdateConversationResponse parses an HTTP response from a UpdateConversationWithResponse call

func (UpdateConversationResponse) Status

Status returns HTTPResponse.Status

func (UpdateConversationResponse) StatusCode

func (r UpdateConversationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 UpdateFolderJSONBody

type UpdateFolderJSONBody UpdateMessageTemplateFolder

UpdateFolderJSONBody defines parameters for UpdateFolder.

type UpdateFolderJSONRequestBody

type UpdateFolderJSONRequestBody UpdateFolderJSONBody

UpdateFolderJSONRequestBody defines body for UpdateFolder for application/json ContentType.

type UpdateFolderResponse

type UpdateFolderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageTemplateFolderResponse
}

func ParseUpdateFolderResponse

func ParseUpdateFolderResponse(rsp *http.Response) (*UpdateFolderResponse, error)

ParseUpdateFolderResponse parses an HTTP response from a UpdateFolderWithResponse call

func (UpdateFolderResponse) Status

func (r UpdateFolderResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateFolderResponse) StatusCode

func (r UpdateFolderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateKnowledgeBaseCategoryInDefaultLocaleJSONBody

type UpdateKnowledgeBaseCategoryInDefaultLocaleJSONBody KnowledgeBaseCategoryPatch

UpdateKnowledgeBaseCategoryInDefaultLocaleJSONBody defines parameters for UpdateKnowledgeBaseCategoryInDefaultLocale.

type UpdateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody

type UpdateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody UpdateKnowledgeBaseCategoryInDefaultLocaleJSONBody

UpdateKnowledgeBaseCategoryInDefaultLocaleJSONRequestBody defines body for UpdateKnowledgeBaseCategoryInDefaultLocale for application/json ContentType.

type UpdateKnowledgeBaseCategoryInDefaultLocaleResponse

type UpdateKnowledgeBaseCategoryInDefaultLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseCategoryResponse
}

func ParseUpdateKnowledgeBaseCategoryInDefaultLocaleResponse

func ParseUpdateKnowledgeBaseCategoryInDefaultLocaleResponse(rsp *http.Response) (*UpdateKnowledgeBaseCategoryInDefaultLocaleResponse, error)

ParseUpdateKnowledgeBaseCategoryInDefaultLocaleResponse parses an HTTP response from a UpdateKnowledgeBaseCategoryInDefaultLocaleWithResponse call

func (UpdateKnowledgeBaseCategoryInDefaultLocaleResponse) Status

Status returns HTTPResponse.Status

func (UpdateKnowledgeBaseCategoryInDefaultLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONBody

type UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONBody KnowledgeBaseCategoryPatch

UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONBody defines parameters for UpdateKnowledgeBaseCategoryInSpecifiedLocale.

type UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody

type UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONBody

UpdateKnowledgeBaseCategoryInSpecifiedLocaleJSONRequestBody defines body for UpdateKnowledgeBaseCategoryInSpecifiedLocale for application/json ContentType.

type UpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse

type UpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseCategoryResponse
}

func ParseUpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse

func ParseUpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse(rsp *http.Response) (*UpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse, error)

ParseUpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse parses an HTTP response from a UpdateKnowledgeBaseCategoryInSpecifiedLocaleWithResponse call

func (UpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse) Status

Status returns HTTPResponse.Status

func (UpdateKnowledgeBaseCategoryInSpecifiedLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateKnowledgeBaseInDefaultLocaleJSONBody

type UpdateKnowledgeBaseInDefaultLocaleJSONBody KnowledgeBasePatch

UpdateKnowledgeBaseInDefaultLocaleJSONBody defines parameters for UpdateKnowledgeBaseInDefaultLocale.

type UpdateKnowledgeBaseInDefaultLocaleJSONRequestBody

type UpdateKnowledgeBaseInDefaultLocaleJSONRequestBody UpdateKnowledgeBaseInDefaultLocaleJSONBody

UpdateKnowledgeBaseInDefaultLocaleJSONRequestBody defines body for UpdateKnowledgeBaseInDefaultLocale for application/json ContentType.

type UpdateKnowledgeBaseInDefaultLocaleResponse

type UpdateKnowledgeBaseInDefaultLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseResponse
}

func ParseUpdateKnowledgeBaseInDefaultLocaleResponse

func ParseUpdateKnowledgeBaseInDefaultLocaleResponse(rsp *http.Response) (*UpdateKnowledgeBaseInDefaultLocaleResponse, error)

ParseUpdateKnowledgeBaseInDefaultLocaleResponse parses an HTTP response from a UpdateKnowledgeBaseInDefaultLocaleWithResponse call

func (UpdateKnowledgeBaseInDefaultLocaleResponse) Status

Status returns HTTPResponse.Status

func (UpdateKnowledgeBaseInDefaultLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateKnowledgeBaseInSpecifiedLocaleJSONBody

type UpdateKnowledgeBaseInSpecifiedLocaleJSONBody KnowledgeBasePatch

UpdateKnowledgeBaseInSpecifiedLocaleJSONBody defines parameters for UpdateKnowledgeBaseInSpecifiedLocale.

type UpdateKnowledgeBaseInSpecifiedLocaleJSONRequestBody

type UpdateKnowledgeBaseInSpecifiedLocaleJSONRequestBody UpdateKnowledgeBaseInSpecifiedLocaleJSONBody

UpdateKnowledgeBaseInSpecifiedLocaleJSONRequestBody defines body for UpdateKnowledgeBaseInSpecifiedLocale for application/json ContentType.

type UpdateKnowledgeBaseInSpecifiedLocaleResponse

type UpdateKnowledgeBaseInSpecifiedLocaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *KnowledgeBaseResponse
}

func ParseUpdateKnowledgeBaseInSpecifiedLocaleResponse

func ParseUpdateKnowledgeBaseInSpecifiedLocaleResponse(rsp *http.Response) (*UpdateKnowledgeBaseInSpecifiedLocaleResponse, error)

ParseUpdateKnowledgeBaseInSpecifiedLocaleResponse parses an HTTP response from a UpdateKnowledgeBaseInSpecifiedLocaleWithResponse call

func (UpdateKnowledgeBaseInSpecifiedLocaleResponse) Status

Status returns HTTPResponse.Status

func (UpdateKnowledgeBaseInSpecifiedLocaleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateLink struct {
	// Name of the link
	Name *string `json:"name,omitempty"`
}

UpdateLink defines model for UpdateLink.

type UpdateMessageTemplate

type UpdateMessageTemplate struct {
	// Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://dev.frontapp.com/docs/attachments-1). Max 25 MB. Specify an empty array to delete all attachments from a message template. If unspecified, it will retain previous value.
	Attachments *[]string `json:"attachments,omitempty"`

	// Body of the message template. You can supply HTML with inline CSS to structure and style your 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"`

	// The specific inboxes this template is available in. If null, then it will be available in all inboxes. Array should be non-empty. If unspecified, will retain previous value.
	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 UpdateMessageTemplateJSONBody

type UpdateMessageTemplateJSONBody UpdateMessageTemplate

UpdateMessageTemplateJSONBody defines parameters for UpdateMessageTemplate.

type UpdateMessageTemplateJSONRequestBody

type UpdateMessageTemplateJSONRequestBody UpdateMessageTemplateJSONBody

UpdateMessageTemplateJSONRequestBody defines body for UpdateMessageTemplate for application/json ContentType.

type UpdateMessageTemplateResponse

type UpdateMessageTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MessageTemplateResponse
}

func ParseUpdateMessageTemplateResponse

func ParseUpdateMessageTemplateResponse(rsp *http.Response) (*UpdateMessageTemplateResponse, error)

ParseUpdateMessageTemplateResponse parses an HTTP response from a UpdateMessageTemplateWithResponse call

func (UpdateMessageTemplateResponse) Status

Status returns HTTPResponse.Status

func (UpdateMessageTemplateResponse) StatusCode

func (r UpdateMessageTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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. Alternatively, you can supply emails as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	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 UpdateShiftJSONBody

type UpdateShiftJSONBody UpdateShift

UpdateShiftJSONBody defines parameters for UpdateShift.

type UpdateShiftJSONRequestBody

type UpdateShiftJSONRequestBody UpdateShiftJSONBody

UpdateShiftJSONRequestBody defines body for UpdateShift for application/json ContentType.

type UpdateShiftResponse

type UpdateShiftResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateShiftResponse

func ParseUpdateShiftResponse(rsp *http.Response) (*UpdateShiftResponse, error)

ParseUpdateShiftResponse parses an HTTP response from a UpdateShiftWithResponse call

func (UpdateShiftResponse) Status

func (r UpdateShiftResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateShiftResponse) StatusCode

func (r UpdateShiftResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSignature

type UpdateSignature struct {
	// Body of the signature
	Body *string `json:"body,omitempty"`

	// The specific shared channels this signature if available in. If null, then it will be available in all channels. If unspecified, will retain previous value. Alternatively, you can specify channels using a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
	ChannelIds *[]string `json:"channel_ids,omitempty"`

	// If true, the signature will be set as the default signature for the team or teammate.
	IsDefault *bool `json:"is_default,omitempty"`

	// Whether or not the signature is visible in all individual channels for teammates in the given team. Can only be set for shared signatures.
	IsVisibleForAllTeammateChannels *bool `json:"is_visible_for_all_teammate_channels,omitempty"`

	// Name of the signature
	Name *string `json:"name,omitempty"`

	// Sender info of the signature that will appear in the From line of emails sent.
	SenderInfo *string `json:"sender_info,omitempty"`
}

A signature that can be used to sign messages.

type UpdateSignatureJSONBody

type UpdateSignatureJSONBody UpdateSignature

UpdateSignatureJSONBody defines parameters for UpdateSignature.

type UpdateSignatureJSONRequestBody

type UpdateSignatureJSONRequestBody UpdateSignatureJSONBody

UpdateSignatureJSONRequestBody defines body for UpdateSignature for application/json ContentType.

type UpdateSignatureResponse

type UpdateSignatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SignatureResponse
}

func ParseUpdateSignatureResponse

func ParseUpdateSignatureResponse(rsp *http.Response) (*UpdateSignatureResponse, error)

ParseUpdateSignatureResponse parses an HTTP response from a UpdateSignatureWithResponse call

func (UpdateSignatureResponse) Status

func (r UpdateSignatureResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSignatureResponse) StatusCode

func (r UpdateSignatureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTag

type UpdateTag struct {
	// Description of the tag
	Description *string `json:"description,omitempty"`

	// 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 {
	// An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields
	CustomFields *CustomFieldParameter `json:"custom_fields,omitempty"`

	// 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.

type UpdateTeammateGroup

type UpdateTeammateGroup struct {
	// Description of the teammate group
	Description *string `json:"description,omitempty"`

	// Name of the teammate group
	Name *string `json:"name,omitempty"`

	// Permissions for the teammate group
	Permissions *struct {
		// Permissions for accessing contact lists. This only applies if shared contacts permissions are enabled.
		Contacts *struct {
			// One of 'all', 'contact_groups', 'contact_lists', or 'none'.
			Access string `json:"access"`

			// List of contact group ids. Can only be specified if access is set to 'contact_groups'. ⚠️ Deprecated. Use access 'contact_lists' and 'contact_list_ids' instead.
			ContactGroupIds *[]string `json:"contact_group_ids,omitempty"`

			// List of contact list ids. Can only be specified if access is set to 'contact_lists'.
			ContactListIds *[]string `json:"contact_list_ids,omitempty"`
		} `json:"contacts,omitempty"`
	} `json:"permissions,omitempty"`
}

UpdateTeammateGroup defines model for UpdateTeammateGroup.

type UpdateTeammateJSONBody

type UpdateTeammateJSONBody UpdateTeammate

UpdateTeammateJSONBody defines parameters for UpdateTeammate.

type UpdateTeammateJSONRequestBody

type UpdateTeammateJSONRequestBody UpdateTeammateJSONBody

UpdateTeammateJSONRequestBody defines body for UpdateTeammate for application/json ContentType.

type UpdateTeammateResponse

type UpdateTeammateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateTeammateResponse

func ParseUpdateTeammateResponse(rsp *http.Response) (*UpdateTeammateResponse, error)

ParseUpdateTeammateResponse parses an HTTP response from a UpdateTeammateWithResponse call

func (UpdateTeammateResponse) Status

func (r UpdateTeammateResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTeammateResponse) StatusCode

func (r UpdateTeammateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ValidateChannelResponse

type ValidateChannelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *struct {
		Status *string `json:"status,omitempty"`
	}
}

func ParseValidateChannelResponse

func ParseValidateChannelResponse(rsp *http.Response) (*ValidateChannelResponse, error)

ParseValidateChannelResponse parses an HTTP response from a ValidateChannelWithResponse call

func (ValidateChannelResponse) Status

func (r ValidateChannelResponse) Status() string

Status returns HTTPResponse.Status

func (ValidateChannelResponse) StatusCode

func (r ValidateChannelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL