intercom-client 6.2.0 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +5 -0
- package/README.md +22 -21
- package/api/errors/BadRequestError.d.ts +2 -1
- package/api/errors/BadRequestError.js +2 -1
- package/api/errors/ForbiddenError.d.ts +2 -1
- package/api/errors/ForbiddenError.js +2 -1
- package/api/errors/NotFoundError.d.ts +2 -1
- package/api/errors/NotFoundError.js +2 -1
- package/api/errors/UnauthorizedError.d.ts +2 -1
- package/api/errors/UnauthorizedError.js +2 -1
- package/api/errors/UnprocessableEntityError.d.ts +2 -1
- package/api/errors/UnprocessableEntityError.js +2 -1
- package/api/resources/admins/client/Client.d.ts +10 -5
- package/api/resources/admins/client/Client.js +46 -16
- package/api/resources/aiContentSource/types/ContentSource.d.ts +1 -14
- package/api/resources/aiContentSource/types/ContentSource.js +0 -11
- package/api/resources/articles/client/Client.d.ts +10 -5
- package/api/resources/articles/client/Client.js +61 -26
- package/api/resources/companies/client/Client.d.ts +18 -9
- package/api/resources/companies/client/Client.js +115 -51
- package/api/resources/companies/types/CompaniesRetrieveResponse.d.ts +13 -0
- package/api/resources/companies/types/Company.d.ts +0 -2
- package/api/resources/companies/types/index.d.ts +1 -0
- package/api/resources/companies/types/index.js +1 -0
- package/api/resources/contacts/client/Client.d.ts +24 -12
- package/api/resources/contacts/client/Client.js +148 -58
- package/api/resources/conversations/client/Client.d.ts +20 -10
- package/api/resources/conversations/client/Client.js +136 -60
- package/api/resources/dataAttributes/client/Client.d.ts +6 -3
- package/api/resources/dataAttributes/client/Client.js +32 -14
- package/api/resources/dataExport/client/Client.d.ts +8 -4
- package/api/resources/dataExport/client/Client.js +32 -8
- package/api/resources/events/client/Client.d.ts +6 -3
- package/api/resources/events/client/Client.js +28 -10
- package/api/resources/helpCenters/client/Client.d.ts +2 -1
- package/api/resources/helpCenters/client/Client.js +21 -10
- package/api/resources/helpCenters/resources/collections/client/Client.d.ts +8 -4
- package/api/resources/helpCenters/resources/collections/client/Client.js +51 -22
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/messages/client/Client.d.ts +2 -1
- package/api/resources/messages/client/Client.js +12 -6
- package/api/resources/news/resources/feeds/client/Client.d.ts +6 -3
- package/api/resources/news/resources/feeds/client/Client.js +27 -9
- package/api/resources/news/resources/items/client/Client.d.ts +10 -5
- package/api/resources/news/resources/items/client/Client.js +48 -18
- package/api/resources/notes/client/Client.d.ts +4 -2
- package/api/resources/notes/client/Client.js +30 -13
- package/api/resources/phoneCallRedirects/client/Client.d.ts +2 -1
- package/api/resources/phoneCallRedirects/client/Client.js +11 -5
- package/api/resources/segments/client/Client.d.ts +4 -2
- package/api/resources/segments/client/Client.js +20 -8
- package/api/resources/subscriptionTypes/client/Client.d.ts +2 -1
- package/api/resources/subscriptionTypes/client/Client.js +9 -3
- package/api/resources/tags/client/Client.d.ts +20 -10
- package/api/resources/tags/client/Client.js +101 -41
- package/api/resources/teams/client/Client.d.ts +4 -2
- package/api/resources/teams/client/Client.js +19 -7
- package/api/resources/ticketTypes/client/Client.d.ts +8 -4
- package/api/resources/ticketTypes/client/Client.js +36 -12
- package/api/resources/ticketTypes/resources/attributes/client/Client.d.ts +4 -2
- package/api/resources/ticketTypes/resources/attributes/client/Client.js +18 -6
- package/api/resources/tickets/client/Client.d.ts +8 -4
- package/api/resources/tickets/client/Client.js +49 -20
- package/api/resources/tickets/client/requests/index.d.ts +0 -1
- package/api/resources/unstable/client/Client.d.ts +104 -0
- package/api/resources/unstable/client/Client.js +152 -0
- package/api/resources/unstable/client/index.d.ts +1 -0
- package/api/resources/unstable/client/index.js +2 -0
- package/api/resources/unstable/errors/BadRequestError.d.ts +8 -0
- package/api/resources/unstable/errors/BadRequestError.js +52 -0
- package/api/resources/unstable/errors/ForbiddenError.d.ts +9 -0
- package/api/resources/unstable/errors/ForbiddenError.js +52 -0
- package/api/resources/unstable/errors/InternalServerError.d.ts +9 -0
- package/api/resources/unstable/errors/InternalServerError.js +52 -0
- package/api/resources/unstable/errors/NotFoundError.d.ts +8 -0
- package/api/resources/unstable/errors/NotFoundError.js +52 -0
- package/api/resources/unstable/errors/TooManyRequestsError.d.ts +9 -0
- package/api/resources/unstable/errors/TooManyRequestsError.js +52 -0
- package/api/resources/unstable/errors/UnauthorizedError.d.ts +9 -0
- package/api/resources/unstable/errors/UnauthorizedError.js +52 -0
- package/api/resources/unstable/errors/UnprocessableEntityError.d.ts +8 -0
- package/api/resources/unstable/errors/UnprocessableEntityError.js +52 -0
- package/api/resources/unstable/errors/index.d.ts +7 -0
- package/api/resources/unstable/errors/index.js +23 -0
- package/api/resources/unstable/index.d.ts +4 -0
- package/api/resources/unstable/index.js +20 -0
- package/api/resources/unstable/resources/admins/client/Client.d.ts +123 -0
- package/api/resources/unstable/resources/admins/client/Client.js +418 -0
- package/api/resources/unstable/resources/admins/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/admins/client/index.js +17 -0
- package/api/resources/unstable/resources/admins/client/requests/ListActivityLogsRequest.d.ts +20 -0
- package/api/resources/unstable/resources/admins/client/requests/RetrieveAdminRequest.d.ts +15 -0
- package/api/resources/unstable/resources/admins/client/requests/RetrieveAdminRequest.js +5 -0
- package/api/resources/unstable/resources/admins/client/requests/SetAwayAdminRequest.d.ts +38 -0
- package/api/resources/unstable/resources/admins/client/requests/SetAwayAdminRequest.js +5 -0
- package/api/resources/unstable/resources/admins/client/requests/index.d.ts +3 -0
- package/api/resources/unstable/resources/admins/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/admins/index.d.ts +2 -0
- package/api/resources/unstable/resources/admins/index.js +18 -0
- package/api/resources/unstable/resources/admins/types/Admin.d.ts +32 -0
- package/api/resources/unstable/resources/admins/types/Admin.js +5 -0
- package/api/resources/unstable/resources/admins/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/admins/types/index.js +17 -0
- package/api/resources/unstable/resources/aiAgent/index.d.ts +1 -0
- package/api/resources/unstable/resources/aiAgent/index.js +17 -0
- package/api/resources/unstable/resources/aiAgent/types/AiAgent.d.ts +35 -0
- package/api/resources/unstable/resources/aiAgent/types/AiAgent.js +16 -0
- package/api/resources/unstable/resources/aiAgent/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/aiAgent/types/index.js +17 -0
- package/api/resources/unstable/resources/aiContent/client/Client.d.ts +202 -0
- package/api/resources/unstable/resources/aiContent/client/Client.js +735 -0
- package/api/resources/unstable/resources/aiContent/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/aiContent/client/index.js +17 -0
- package/api/resources/unstable/resources/aiContent/client/requests/CreateContentImportSourceRequest.d.ts +25 -0
- package/api/resources/unstable/resources/aiContent/client/requests/CreateContentImportSourceRequest.js +13 -0
- package/api/resources/unstable/resources/aiContent/client/requests/CreateExternalPageRequest.d.ts +29 -0
- package/api/resources/unstable/resources/aiContent/client/requests/CreateExternalPageRequest.js +5 -0
- package/api/resources/unstable/resources/aiContent/client/requests/DeleteContentImportSourceRequest.d.ts +15 -0
- package/api/resources/unstable/resources/aiContent/client/requests/DeleteContentImportSourceRequest.js +5 -0
- package/api/resources/unstable/resources/aiContent/client/requests/DeleteExternalPageRequest.d.ts +15 -0
- package/api/resources/unstable/resources/aiContent/client/requests/DeleteExternalPageRequest.js +5 -0
- package/api/resources/unstable/resources/aiContent/client/requests/GetContentImportSourceRequest.d.ts +15 -0
- package/api/resources/unstable/resources/aiContent/client/requests/GetContentImportSourceRequest.js +5 -0
- package/api/resources/unstable/resources/aiContent/client/requests/GetExternalPageRequest.d.ts +15 -0
- package/api/resources/unstable/resources/aiContent/client/requests/GetExternalPageRequest.js +5 -0
- package/api/resources/unstable/resources/aiContent/client/requests/UpdateContentImportSourceRequest.d.ts +42 -0
- package/api/resources/unstable/resources/aiContent/client/requests/UpdateContentImportSourceRequest.js +18 -0
- package/api/resources/unstable/resources/aiContent/client/requests/UpdateExternalPageRequest.d.ts +32 -0
- package/api/resources/unstable/resources/aiContent/client/requests/UpdateExternalPageRequest.js +5 -0
- package/api/resources/unstable/resources/aiContent/client/requests/index.d.ts +8 -0
- package/api/resources/unstable/resources/aiContent/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/aiContent/index.d.ts +2 -0
- package/api/resources/unstable/resources/aiContent/index.js +18 -0
- package/api/resources/unstable/resources/aiContent/types/ContentImportSource.d.ts +43 -0
- package/api/resources/unstable/resources/aiContent/types/ContentImportSource.js +18 -0
- package/api/resources/unstable/resources/aiContent/types/ContentImportSourcesList.d.ts +16 -0
- package/api/resources/unstable/resources/aiContent/types/ContentImportSourcesList.js +5 -0
- package/api/resources/unstable/resources/aiContent/types/ExternalPage.d.ts +36 -0
- package/api/resources/unstable/resources/aiContent/types/ExternalPage.js +5 -0
- package/api/resources/unstable/resources/aiContent/types/ExternalPagesList.d.ts +16 -0
- package/api/resources/unstable/resources/aiContent/types/ExternalPagesList.js +5 -0
- package/api/resources/unstable/resources/aiContent/types/index.d.ts +4 -0
- package/api/resources/unstable/resources/aiContent/types/index.js +20 -0
- package/api/resources/unstable/resources/aiContentSource/index.d.ts +1 -0
- package/api/resources/unstable/resources/aiContentSource/index.js +17 -0
- package/api/resources/unstable/resources/aiContentSource/types/ContentSource.d.ts +29 -0
- package/api/resources/unstable/resources/aiContentSource/types/ContentSource.js +16 -0
- package/api/resources/unstable/resources/aiContentSource/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/aiContentSource/types/index.js +17 -0
- package/api/resources/unstable/resources/articles/client/Client.d.ts +117 -0
- package/api/resources/unstable/resources/articles/client/Client.js +417 -0
- package/api/resources/unstable/resources/articles/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/articles/client/index.js +17 -0
- package/api/resources/unstable/resources/articles/client/requests/DeleteArticleRequest.d.ts +15 -0
- package/api/resources/unstable/resources/articles/client/requests/DeleteArticleRequest.js +5 -0
- package/api/resources/unstable/resources/articles/client/requests/RetrieveArticleRequest.d.ts +15 -0
- package/api/resources/unstable/resources/articles/client/requests/RetrieveArticleRequest.js +5 -0
- package/api/resources/unstable/resources/articles/client/requests/SearchArticlesRequest.d.ts +28 -0
- package/api/resources/unstable/resources/articles/client/requests/SearchArticlesRequest.js +5 -0
- package/api/resources/unstable/resources/articles/client/requests/index.d.ts +3 -0
- package/api/resources/unstable/resources/articles/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/articles/index.d.ts +2 -0
- package/api/resources/unstable/resources/articles/index.js +18 -0
- package/api/resources/unstable/resources/articles/types/Article.d.ts +10 -0
- package/api/resources/unstable/resources/articles/types/Article.js +5 -0
- package/api/resources/unstable/resources/articles/types/ArticleListItem.d.ts +50 -0
- package/api/resources/unstable/resources/articles/types/ArticleListItem.js +13 -0
- package/api/resources/unstable/resources/articles/types/ArticleSearchHighlights.d.ts +60 -0
- package/api/resources/unstable/resources/articles/types/ArticleSearchHighlights.js +29 -0
- package/api/resources/unstable/resources/articles/types/ArticleSearchResponse.d.ts +27 -0
- package/api/resources/unstable/resources/articles/types/ArticleSearchResponse.js +5 -0
- package/api/resources/unstable/resources/articles/types/index.d.ts +4 -0
- package/api/resources/unstable/resources/articles/types/index.js +20 -0
- package/api/resources/unstable/resources/awayStatusReasons/client/Client.d.ts +49 -0
- package/api/resources/unstable/resources/awayStatusReasons/client/Client.js +135 -0
- package/api/resources/unstable/resources/awayStatusReasons/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/awayStatusReasons/client/index.js +2 -0
- package/api/resources/unstable/resources/awayStatusReasons/index.d.ts +1 -0
- package/api/resources/unstable/resources/awayStatusReasons/index.js +17 -0
- package/api/resources/unstable/resources/companies/client/Client.d.ts +271 -0
- package/api/resources/unstable/resources/companies/client/Client.js +908 -0
- package/api/resources/unstable/resources/companies/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/companies/client/index.js +17 -0
- package/api/resources/unstable/resources/companies/client/requests/AttachContactToACompanyRequest.d.ts +30 -0
- package/api/resources/unstable/resources/companies/client/requests/AttachContactToACompanyRequest.js +5 -0
- package/api/resources/unstable/resources/companies/client/requests/DeleteCompanyRequest.d.ts +15 -0
- package/api/resources/unstable/resources/companies/client/requests/DeleteCompanyRequest.js +5 -0
- package/api/resources/unstable/resources/companies/client/requests/DetachContactFromACompanyRequest.d.ts +20 -0
- package/api/resources/unstable/resources/companies/client/requests/DetachContactFromACompanyRequest.js +5 -0
- package/api/resources/unstable/resources/companies/client/requests/ListAllCompaniesRequest.d.ts +23 -0
- package/api/resources/unstable/resources/companies/client/requests/ListAllCompaniesRequest.js +5 -0
- package/api/resources/unstable/resources/companies/client/requests/ListAttachedContactsRequest.d.ts +15 -0
- package/api/resources/unstable/resources/companies/client/requests/ListAttachedContactsRequest.js +5 -0
- package/api/resources/unstable/resources/companies/client/requests/ListAttachedSegmentsForCompaniesRequest.d.ts +15 -0
- package/api/resources/unstable/resources/companies/client/requests/ListAttachedSegmentsForCompaniesRequest.js +5 -0
- package/api/resources/unstable/resources/companies/client/requests/RetrieveACompanyByIdRequest.d.ts +15 -0
- package/api/resources/unstable/resources/companies/client/requests/RetrieveACompanyByIdRequest.js +5 -0
- package/api/resources/unstable/resources/companies/client/requests/RetrieveCompanyRequest.d.ts +38 -0
- package/api/resources/unstable/resources/companies/client/requests/RetrieveCompanyRequest.js +5 -0
- package/api/resources/unstable/resources/companies/client/requests/ScrollOverAllCompaniesRequest.d.ts +13 -0
- package/api/resources/unstable/resources/companies/client/requests/ScrollOverAllCompaniesRequest.js +5 -0
- package/api/resources/unstable/resources/companies/client/requests/UpdateCompanyRequest.d.ts +15 -0
- package/api/resources/unstable/resources/companies/client/requests/UpdateCompanyRequest.js +5 -0
- package/api/resources/unstable/resources/companies/client/requests/index.d.ts +10 -0
- package/api/resources/unstable/resources/companies/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/companies/index.d.ts +2 -0
- package/api/resources/unstable/resources/companies/index.js +18 -0
- package/api/resources/unstable/resources/companies/types/Company.d.ts +72 -0
- package/api/resources/unstable/resources/companies/types/Company.js +5 -0
- package/api/resources/unstable/resources/companies/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/companies/types/index.js +17 -0
- package/api/resources/unstable/resources/contacts/client/Client.d.ts +395 -0
- package/api/resources/unstable/resources/contacts/client/Client.js +1165 -0
- package/api/resources/unstable/resources/contacts/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/contacts/client/index.js +17 -0
- package/api/resources/unstable/resources/contacts/client/requests/ArchiveContactRequest.d.ts +15 -0
- package/api/resources/unstable/resources/contacts/client/requests/ArchiveContactRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/BlockContactRequest.d.ts +15 -0
- package/api/resources/unstable/resources/contacts/client/requests/BlockContactRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/DeleteContactRequest.d.ts +15 -0
- package/api/resources/unstable/resources/contacts/client/requests/DeleteContactRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/ListCompaniesForAContactRequest.d.ts +15 -0
- package/api/resources/unstable/resources/contacts/client/requests/ListCompaniesForAContactRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/ListSegmentsForAContactRequest.d.ts +15 -0
- package/api/resources/unstable/resources/contacts/client/requests/ListSegmentsForAContactRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/ListSubscriptionsForAContactRequest.d.ts +15 -0
- package/api/resources/unstable/resources/contacts/client/requests/ListSubscriptionsForAContactRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/ListTagsForAContactRequest.d.ts +15 -0
- package/api/resources/unstable/resources/contacts/client/requests/ListTagsForAContactRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/MergeContactsRequest.d.ts +16 -0
- package/api/resources/unstable/resources/contacts/client/requests/MergeContactsRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/ShowContactByExternalIdRequest.d.ts +15 -0
- package/api/resources/unstable/resources/contacts/client/requests/ShowContactByExternalIdRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/ShowContactRequest.d.ts +15 -0
- package/api/resources/unstable/resources/contacts/client/requests/ShowContactRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/UnarchiveContactRequest.d.ts +15 -0
- package/api/resources/unstable/resources/contacts/client/requests/UnarchiveContactRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/UpdateContactRequest.d.ts +49 -0
- package/api/resources/unstable/resources/contacts/client/requests/UpdateContactRequest.js +5 -0
- package/api/resources/unstable/resources/contacts/client/requests/index.d.ts +12 -0
- package/api/resources/unstable/resources/contacts/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/contacts/index.d.ts +2 -0
- package/api/resources/unstable/resources/contacts/index.js +18 -0
- package/api/resources/unstable/resources/contacts/types/Contact.d.ts +103 -0
- package/api/resources/unstable/resources/contacts/types/Contact.js +5 -0
- package/api/resources/unstable/resources/contacts/types/CreateContactResponse.d.ts +8 -0
- package/api/resources/unstable/resources/contacts/types/CreateContactResponse.js +5 -0
- package/api/resources/unstable/resources/contacts/types/MergeContactResponse.d.ts +8 -0
- package/api/resources/unstable/resources/contacts/types/MergeContactResponse.js +5 -0
- package/api/resources/unstable/resources/contacts/types/ShowContactByExternalIdResponse.d.ts +8 -0
- package/api/resources/unstable/resources/contacts/types/ShowContactByExternalIdResponse.js +5 -0
- package/api/resources/unstable/resources/contacts/types/ShowContactResponse.d.ts +8 -0
- package/api/resources/unstable/resources/contacts/types/ShowContactResponse.js +5 -0
- package/api/resources/unstable/resources/contacts/types/UpdateContactResponse.d.ts +8 -0
- package/api/resources/unstable/resources/contacts/types/UpdateContactResponse.js +5 -0
- package/api/resources/unstable/resources/contacts/types/index.d.ts +6 -0
- package/api/resources/unstable/resources/contacts/types/index.js +22 -0
- package/api/resources/unstable/resources/conversations/client/Client.d.ts +545 -0
- package/api/resources/unstable/resources/conversations/client/Client.js +1218 -0
- package/api/resources/unstable/resources/conversations/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/conversations/client/index.js +17 -0
- package/api/resources/unstable/resources/conversations/client/requests/AttachContactToConversationRequest.d.ts +44 -0
- package/api/resources/unstable/resources/conversations/client/requests/AttachContactToConversationRequest.js +5 -0
- package/api/resources/unstable/resources/conversations/client/requests/ConvertConversationToTicketRequest.d.ts +26 -0
- package/api/resources/unstable/resources/conversations/client/requests/ConvertConversationToTicketRequest.js +5 -0
- package/api/resources/unstable/resources/conversations/client/requests/CreateConversationRequest.d.ts +48 -0
- package/api/resources/unstable/resources/conversations/client/requests/CreateConversationRequest.js +17 -0
- package/api/resources/unstable/resources/conversations/client/requests/DeleteConversationRequest.d.ts +15 -0
- package/api/resources/unstable/resources/conversations/client/requests/DeleteConversationRequest.js +5 -0
- package/api/resources/unstable/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +44 -0
- package/api/resources/unstable/resources/conversations/client/requests/DetachContactFromConversationRequest.js +5 -0
- package/api/resources/unstable/resources/conversations/client/requests/ListConversationsRequest.d.ts +17 -0
- package/api/resources/unstable/resources/conversations/client/requests/ListConversationsRequest.js +5 -0
- package/api/resources/unstable/resources/conversations/client/requests/ManageConversationRequest.d.ts +62 -0
- package/api/resources/unstable/resources/conversations/client/requests/ManageConversationRequest.js +5 -0
- package/api/resources/unstable/resources/conversations/client/requests/ReplyConversationRequest.d.ts +77 -0
- package/api/resources/unstable/resources/conversations/client/requests/ReplyConversationRequest.js +5 -0
- package/api/resources/unstable/resources/conversations/client/requests/RetrieveConversationRequest.d.ts +20 -0
- package/api/resources/unstable/resources/conversations/client/requests/RetrieveConversationRequest.js +5 -0
- package/api/resources/unstable/resources/conversations/client/requests/UpdateConversationRequest.d.ts +53 -0
- package/api/resources/unstable/resources/conversations/client/requests/UpdateConversationRequest.js +5 -0
- package/api/resources/unstable/resources/conversations/client/requests/index.d.ts +10 -0
- package/api/resources/unstable/resources/conversations/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/conversations/index.d.ts +2 -0
- package/api/resources/unstable/resources/conversations/index.js +18 -0
- package/api/resources/unstable/resources/conversations/types/Conversation.d.ts +68 -0
- package/api/resources/unstable/resources/conversations/types/Conversation.js +18 -0
- package/api/resources/unstable/resources/conversations/types/ManageConversationRequestBody.d.ts +19 -0
- package/api/resources/unstable/resources/conversations/types/ManageConversationRequestBody.js +5 -0
- package/api/resources/unstable/resources/conversations/types/index.d.ts +2 -0
- package/api/resources/unstable/resources/conversations/types/index.js +18 -0
- package/api/resources/unstable/resources/customChannelEvents/client/Client.d.ts +144 -0
- package/api/resources/unstable/resources/customChannelEvents/client/Client.js +408 -0
- package/api/resources/unstable/resources/customChannelEvents/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/customChannelEvents/client/index.js +17 -0
- package/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyAttributeCollectedRequest.d.ts +24 -0
- package/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyAttributeCollectedRequest.js +5 -0
- package/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyNewMessageRequest.d.ts +22 -0
- package/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyNewMessageRequest.js +5 -0
- package/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyQuickReplySelectedRequest.d.ts +22 -0
- package/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyQuickReplySelectedRequest.js +5 -0
- package/api/resources/unstable/resources/customChannelEvents/client/requests/index.d.ts +3 -0
- package/api/resources/unstable/resources/customChannelEvents/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/customChannelEvents/index.d.ts +1 -0
- package/api/resources/unstable/resources/customChannelEvents/index.js +17 -0
- package/api/resources/unstable/resources/customObjectInstances/client/Client.d.ts +131 -0
- package/api/resources/unstable/resources/customObjectInstances/client/Client.js +449 -0
- package/api/resources/unstable/resources/customObjectInstances/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/customObjectInstances/client/index.js +17 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/CreateOrUpdateCustomObjectInstanceRequest.d.ts +30 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/CreateOrUpdateCustomObjectInstanceRequest.js +5 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/DeleteCustomObjectInstancesByExternalIdRequest.d.ts +20 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/DeleteCustomObjectInstancesByExternalIdRequest.js +5 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/DeleteCustomObjectInstancesByIdRequest.d.ts +17 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/DeleteCustomObjectInstancesByIdRequest.js +5 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/GetCustomObjectInstancesByExternalIdRequest.d.ts +17 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/GetCustomObjectInstancesByExternalIdRequest.js +5 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/GetCustomObjectInstancesByIdRequest.d.ts +20 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/GetCustomObjectInstancesByIdRequest.js +5 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/index.d.ts +5 -0
- package/api/resources/unstable/resources/customObjectInstances/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/customObjectInstances/index.d.ts +2 -0
- package/api/resources/unstable/resources/customObjectInstances/index.js +18 -0
- package/api/resources/unstable/resources/customObjectInstances/types/CustomObjectInstance.d.ts +24 -0
- package/api/resources/unstable/resources/customObjectInstances/types/CustomObjectInstance.js +5 -0
- package/api/resources/unstable/resources/customObjectInstances/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/customObjectInstances/types/index.js +17 -0
- package/api/resources/unstable/resources/dataAttributes/client/Client.d.ts +146 -0
- package/api/resources/unstable/resources/dataAttributes/client/Client.js +355 -0
- package/api/resources/unstable/resources/dataAttributes/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/dataAttributes/client/index.js +17 -0
- package/api/resources/unstable/resources/dataAttributes/client/requests/CreateDataAttributeRequest.d.ts +84 -0
- package/api/resources/unstable/resources/dataAttributes/client/requests/CreateDataAttributeRequest.js +21 -0
- package/api/resources/unstable/resources/dataAttributes/client/requests/LisDataAttributesRequest.d.ts +18 -0
- package/api/resources/unstable/resources/dataAttributes/client/requests/LisDataAttributesRequest.js +5 -0
- package/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +49 -0
- package/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.js +5 -0
- package/api/resources/unstable/resources/dataAttributes/client/requests/index.d.ts +3 -0
- package/api/resources/unstable/resources/dataAttributes/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/dataAttributes/index.d.ts +2 -0
- package/api/resources/unstable/resources/dataAttributes/index.js +18 -0
- package/api/resources/unstable/resources/dataAttributes/types/DataAttribute.d.ts +63 -0
- package/api/resources/unstable/resources/dataAttributes/types/DataAttribute.js +20 -0
- package/api/resources/unstable/resources/dataAttributes/types/LisDataAttributesRequestModel.d.ts +9 -0
- package/api/resources/unstable/resources/dataAttributes/types/LisDataAttributesRequestModel.js +11 -0
- package/api/resources/unstable/resources/dataAttributes/types/index.d.ts +2 -0
- package/api/resources/unstable/resources/dataAttributes/types/index.js +18 -0
- package/api/resources/unstable/resources/dataEvents/client/Client.d.ts +136 -0
- package/api/resources/unstable/resources/dataEvents/client/Client.js +325 -0
- package/api/resources/unstable/resources/dataEvents/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/dataEvents/client/index.js +17 -0
- package/api/resources/unstable/resources/dataEvents/client/requests/CreateDataEventSummariesRequest.d.ts +28 -0
- package/api/resources/unstable/resources/dataEvents/client/requests/CreateDataEventSummariesRequest.js +5 -0
- package/api/resources/unstable/resources/dataEvents/client/requests/LisDataEventsRequest.d.ts +24 -0
- package/api/resources/unstable/resources/dataEvents/client/requests/LisDataEventsRequest.js +5 -0
- package/api/resources/unstable/resources/dataEvents/client/requests/index.d.ts +2 -0
- package/api/resources/unstable/resources/dataEvents/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/dataEvents/index.d.ts +2 -0
- package/api/resources/unstable/resources/dataEvents/index.js +18 -0
- package/api/resources/unstable/resources/dataEvents/types/DataEvent.d.ts +24 -0
- package/api/resources/unstable/resources/dataEvents/types/DataEvent.js +5 -0
- package/api/resources/unstable/resources/dataEvents/types/LisDataEventsRequestFilter.d.ts +10 -0
- package/api/resources/unstable/resources/dataEvents/types/LisDataEventsRequestFilter.js +5 -0
- package/api/resources/unstable/resources/dataEvents/types/index.d.ts +2 -0
- package/api/resources/unstable/resources/dataEvents/types/index.js +18 -0
- package/api/resources/unstable/resources/dataExport/client/Client.d.ts +114 -0
- package/api/resources/unstable/resources/dataExport/client/Client.js +321 -0
- package/api/resources/unstable/resources/dataExport/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/dataExport/client/index.js +17 -0
- package/api/resources/unstable/resources/dataExport/client/requests/CancelDataExportRequest.d.ts +15 -0
- package/api/resources/unstable/resources/dataExport/client/requests/CancelDataExportRequest.js +5 -0
- package/api/resources/unstable/resources/dataExport/client/requests/CreateDataExportsRequest.d.ts +16 -0
- package/api/resources/unstable/resources/dataExport/client/requests/CreateDataExportsRequest.js +5 -0
- package/api/resources/unstable/resources/dataExport/client/requests/DownloadDataExportRequest.d.ts +15 -0
- package/api/resources/unstable/resources/dataExport/client/requests/DownloadDataExportRequest.js +5 -0
- package/api/resources/unstable/resources/dataExport/client/requests/GetDataExportRequest.d.ts +15 -0
- package/api/resources/unstable/resources/dataExport/client/requests/GetDataExportRequest.js +5 -0
- package/api/resources/unstable/resources/dataExport/client/requests/index.d.ts +4 -0
- package/api/resources/unstable/resources/dataExport/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/dataExport/index.d.ts +2 -0
- package/api/resources/unstable/resources/dataExport/index.js +18 -0
- package/api/resources/unstable/resources/dataExport/types/DataExport.d.ts +30 -0
- package/api/resources/unstable/resources/dataExport/types/DataExport.js +17 -0
- package/api/resources/unstable/resources/dataExport/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/dataExport/types/index.js +17 -0
- package/api/resources/unstable/resources/export/client/Client.d.ts +60 -0
- package/api/resources/unstable/resources/export/client/Client.js +198 -0
- package/api/resources/unstable/resources/export/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/export/client/index.js +17 -0
- package/api/resources/unstable/resources/export/client/requests/PostExportReportingDataEnqueueRequest.d.ts +18 -0
- package/api/resources/unstable/resources/export/client/requests/PostExportReportingDataEnqueueRequest.js +5 -0
- package/api/resources/unstable/resources/export/client/requests/index.d.ts +1 -0
- package/api/resources/unstable/resources/export/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/export/index.d.ts +2 -0
- package/api/resources/unstable/resources/export/index.js +18 -0
- package/api/resources/unstable/resources/export/types/GetExportReportingDataGetDatasetsResponse.d.ts +28 -0
- package/api/resources/unstable/resources/export/types/GetExportReportingDataGetDatasetsResponse.js +5 -0
- package/api/resources/unstable/resources/export/types/PostExportReportingDataEnqueueResponse.d.ts +9 -0
- package/api/resources/unstable/resources/export/types/PostExportReportingDataEnqueueResponse.js +5 -0
- package/api/resources/unstable/resources/export/types/index.d.ts +2 -0
- package/api/resources/unstable/resources/export/types/index.js +18 -0
- package/api/resources/unstable/resources/helpCenter/client/Client.d.ts +150 -0
- package/api/resources/unstable/resources/helpCenter/client/Client.js +542 -0
- package/api/resources/unstable/resources/helpCenter/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/helpCenter/client/index.js +17 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/CreateCollectionRequest.d.ts +27 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/CreateCollectionRequest.js +5 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/DeleteCollectionRequest.d.ts +15 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/DeleteCollectionRequest.js +5 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/RetrieveCollectionRequest.d.ts +15 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/RetrieveCollectionRequest.js +5 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/RetrieveHelpCenterRequest.d.ts +15 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/RetrieveHelpCenterRequest.js +5 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/UpdateCollectionRequest.d.ts +30 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/UpdateCollectionRequest.js +5 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/index.d.ts +5 -0
- package/api/resources/unstable/resources/helpCenter/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/helpCenter/index.d.ts +2 -0
- package/api/resources/unstable/resources/helpCenter/index.js +18 -0
- package/api/resources/unstable/resources/helpCenter/types/Collection.d.ts +34 -0
- package/api/resources/unstable/resources/helpCenter/types/Collection.js +5 -0
- package/api/resources/unstable/resources/helpCenter/types/HelpCenter.d.ts +22 -0
- package/api/resources/unstable/resources/helpCenter/types/HelpCenter.js +5 -0
- package/api/resources/unstable/resources/helpCenter/types/HelpCenterList.d.ts +13 -0
- package/api/resources/unstable/resources/helpCenter/types/HelpCenterList.js +5 -0
- package/api/resources/unstable/resources/helpCenter/types/index.d.ts +3 -0
- package/api/resources/unstable/resources/helpCenter/types/index.js +19 -0
- package/api/resources/unstable/resources/index.d.ts +78 -0
- package/api/resources/unstable/resources/index.js +117 -0
- package/api/resources/unstable/resources/jobs/client/Client.d.ts +53 -0
- package/api/resources/unstable/resources/jobs/client/Client.js +142 -0
- package/api/resources/unstable/resources/jobs/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/jobs/client/index.js +17 -0
- package/api/resources/unstable/resources/jobs/client/requests/JobsStatusRequest.d.ts +15 -0
- package/api/resources/unstable/resources/jobs/client/requests/JobsStatusRequest.js +5 -0
- package/api/resources/unstable/resources/jobs/client/requests/index.d.ts +1 -0
- package/api/resources/unstable/resources/jobs/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/jobs/index.d.ts +2 -0
- package/api/resources/unstable/resources/jobs/index.js +18 -0
- package/api/resources/unstable/resources/jobs/types/Jobs.d.ts +33 -0
- package/api/resources/unstable/resources/jobs/types/Jobs.js +14 -0
- package/api/resources/unstable/resources/jobs/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/jobs/types/index.js +17 -0
- package/api/resources/unstable/resources/messages/client/Client.d.ts +212 -0
- package/api/resources/unstable/resources/messages/client/Client.js +370 -0
- package/api/resources/unstable/resources/messages/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/messages/client/index.js +17 -0
- package/api/resources/unstable/resources/messages/client/requests/GetWhatsAppMessageStatusRequest.d.ts +23 -0
- package/api/resources/unstable/resources/messages/client/requests/GetWhatsAppMessageStatusRequest.js +5 -0
- package/api/resources/unstable/resources/messages/client/requests/index.d.ts +1 -0
- package/api/resources/unstable/resources/messages/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/messages/index.d.ts +2 -0
- package/api/resources/unstable/resources/messages/index.js +18 -0
- package/api/resources/unstable/resources/messages/types/Message.d.ts +35 -0
- package/api/resources/unstable/resources/messages/types/Message.js +16 -0
- package/api/resources/unstable/resources/messages/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/messages/types/index.js +17 -0
- package/api/resources/unstable/resources/news/client/Client.d.ts +179 -0
- package/api/resources/unstable/resources/news/client/Client.js +600 -0
- package/api/resources/unstable/resources/news/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/news/client/index.js +17 -0
- package/api/resources/unstable/resources/news/client/requests/DeleteNewsItemRequest.d.ts +15 -0
- package/api/resources/unstable/resources/news/client/requests/DeleteNewsItemRequest.js +5 -0
- package/api/resources/unstable/resources/news/client/requests/ListLiveNewsfeedItemsRequest.d.ts +15 -0
- package/api/resources/unstable/resources/news/client/requests/ListLiveNewsfeedItemsRequest.js +5 -0
- package/api/resources/unstable/resources/news/client/requests/RetrieveNewsItemRequest.d.ts +15 -0
- package/api/resources/unstable/resources/news/client/requests/RetrieveNewsItemRequest.js +5 -0
- package/api/resources/unstable/resources/news/client/requests/RetrieveNewsfeedRequest.d.ts +15 -0
- package/api/resources/unstable/resources/news/client/requests/RetrieveNewsfeedRequest.js +5 -0
- package/api/resources/unstable/resources/news/client/requests/UpdateNewsItemRequest.d.ts +34 -0
- package/api/resources/unstable/resources/news/client/requests/UpdateNewsItemRequest.js +5 -0
- package/api/resources/unstable/resources/news/client/requests/index.d.ts +5 -0
- package/api/resources/unstable/resources/news/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/news/index.d.ts +2 -0
- package/api/resources/unstable/resources/news/index.js +18 -0
- package/api/resources/unstable/resources/news/types/NewsItem.d.ts +45 -0
- package/api/resources/unstable/resources/news/types/NewsItem.js +13 -0
- package/api/resources/unstable/resources/news/types/Newsfeed.d.ts +18 -0
- package/api/resources/unstable/resources/news/types/Newsfeed.js +5 -0
- package/api/resources/unstable/resources/news/types/NewsfeedAssignment.d.ts +12 -0
- package/api/resources/unstable/resources/news/types/NewsfeedAssignment.js +5 -0
- package/api/resources/unstable/resources/news/types/index.d.ts +3 -0
- package/api/resources/unstable/resources/news/types/index.js +19 -0
- package/api/resources/unstable/resources/notes/client/Client.d.ts +102 -0
- package/api/resources/unstable/resources/notes/client/Client.js +297 -0
- package/api/resources/unstable/resources/notes/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/notes/client/index.js +17 -0
- package/api/resources/unstable/resources/notes/client/requests/CreateNoteRequest.d.ts +40 -0
- package/api/resources/unstable/resources/notes/client/requests/CreateNoteRequest.js +5 -0
- package/api/resources/unstable/resources/notes/client/requests/ListNotesRequest.d.ts +15 -0
- package/api/resources/unstable/resources/notes/client/requests/ListNotesRequest.js +5 -0
- package/api/resources/unstable/resources/notes/client/requests/RetrieveNoteRequest.d.ts +15 -0
- package/api/resources/unstable/resources/notes/client/requests/RetrieveNoteRequest.js +5 -0
- package/api/resources/unstable/resources/notes/client/requests/index.d.ts +3 -0
- package/api/resources/unstable/resources/notes/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/notes/index.d.ts +2 -0
- package/api/resources/unstable/resources/notes/index.js +18 -0
- package/api/resources/unstable/resources/notes/types/Note.d.ts +32 -0
- package/api/resources/unstable/resources/notes/types/Note.js +5 -0
- package/api/resources/unstable/resources/notes/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/notes/types/index.js +17 -0
- package/api/resources/unstable/resources/segments/client/Client.d.ts +66 -0
- package/api/resources/unstable/resources/segments/client/Client.js +207 -0
- package/api/resources/unstable/resources/segments/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/segments/client/index.js +17 -0
- package/api/resources/unstable/resources/segments/client/requests/ListSegmentsRequest.d.ts +13 -0
- package/api/resources/unstable/resources/segments/client/requests/ListSegmentsRequest.js +5 -0
- package/api/resources/unstable/resources/segments/client/requests/RetrieveSegmentRequest.d.ts +15 -0
- package/api/resources/unstable/resources/segments/client/requests/RetrieveSegmentRequest.js +5 -0
- package/api/resources/unstable/resources/segments/client/requests/index.d.ts +2 -0
- package/api/resources/unstable/resources/segments/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/segments/index.d.ts +2 -0
- package/api/resources/unstable/resources/segments/index.js +18 -0
- package/api/resources/unstable/resources/segments/types/Segment.d.ts +32 -0
- package/api/resources/unstable/resources/segments/types/Segment.js +13 -0
- package/api/resources/unstable/resources/segments/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/segments/types/index.js +17 -0
- package/api/resources/unstable/resources/subscriptionTypes/client/Client.d.ts +97 -0
- package/api/resources/unstable/resources/subscriptionTypes/client/Client.js +296 -0
- package/api/resources/unstable/resources/subscriptionTypes/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/subscriptionTypes/client/index.js +17 -0
- package/api/resources/unstable/resources/subscriptionTypes/client/requests/AttachSubscriptionTypeToContactRequest.d.ts +35 -0
- package/api/resources/unstable/resources/subscriptionTypes/client/requests/AttachSubscriptionTypeToContactRequest.js +5 -0
- package/api/resources/unstable/resources/subscriptionTypes/client/requests/DetachSubscriptionTypeToContactRequest.d.ts +20 -0
- package/api/resources/unstable/resources/subscriptionTypes/client/requests/DetachSubscriptionTypeToContactRequest.js +5 -0
- package/api/resources/unstable/resources/subscriptionTypes/client/requests/index.d.ts +2 -0
- package/api/resources/unstable/resources/subscriptionTypes/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/subscriptionTypes/index.d.ts +2 -0
- package/api/resources/unstable/resources/subscriptionTypes/index.js +18 -0
- package/api/resources/unstable/resources/subscriptionTypes/types/SubscriptionType.d.ts +49 -0
- package/api/resources/unstable/resources/subscriptionTypes/types/SubscriptionType.js +25 -0
- package/api/resources/unstable/resources/subscriptionTypes/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/subscriptionTypes/types/index.js +17 -0
- package/api/resources/unstable/resources/switch/client/Client.d.ts +57 -0
- package/api/resources/unstable/resources/switch/client/Client.js +151 -0
- package/api/resources/unstable/resources/switch/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/switch/client/index.js +2 -0
- package/api/resources/unstable/resources/switch/index.d.ts +1 -0
- package/api/resources/unstable/resources/switch/index.js +17 -0
- package/api/resources/unstable/resources/tags/client/Client.d.ts +245 -0
- package/api/resources/unstable/resources/tags/client/Client.js +792 -0
- package/api/resources/unstable/resources/tags/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/tags/client/index.js +17 -0
- package/api/resources/unstable/resources/tags/client/requests/AttachTagToContactRequest.d.ts +30 -0
- package/api/resources/unstable/resources/tags/client/requests/AttachTagToContactRequest.js +5 -0
- package/api/resources/unstable/resources/tags/client/requests/AttachTagToConversationRequest.d.ts +28 -0
- package/api/resources/unstable/resources/tags/client/requests/AttachTagToConversationRequest.js +5 -0
- package/api/resources/unstable/resources/tags/client/requests/AttachTagToTicketRequest.d.ts +28 -0
- package/api/resources/unstable/resources/tags/client/requests/AttachTagToTicketRequest.js +5 -0
- package/api/resources/unstable/resources/tags/client/requests/DeleteTagRequest.d.ts +15 -0
- package/api/resources/unstable/resources/tags/client/requests/DeleteTagRequest.js +5 -0
- package/api/resources/unstable/resources/tags/client/requests/DetachTagFromContactRequest.d.ts +20 -0
- package/api/resources/unstable/resources/tags/client/requests/DetachTagFromContactRequest.js +5 -0
- package/api/resources/unstable/resources/tags/client/requests/DetachTagFromConversationRequest.d.ts +37 -0
- package/api/resources/unstable/resources/tags/client/requests/DetachTagFromConversationRequest.js +5 -0
- package/api/resources/unstable/resources/tags/client/requests/DetachTagFromTicketRequest.d.ts +37 -0
- package/api/resources/unstable/resources/tags/client/requests/DetachTagFromTicketRequest.js +5 -0
- package/api/resources/unstable/resources/tags/client/requests/FindTagRequest.d.ts +15 -0
- package/api/resources/unstable/resources/tags/client/requests/FindTagRequest.js +5 -0
- package/api/resources/unstable/resources/tags/client/requests/index.d.ts +8 -0
- package/api/resources/unstable/resources/tags/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/tags/index.d.ts +2 -0
- package/api/resources/unstable/resources/tags/index.js +18 -0
- package/api/resources/unstable/resources/tags/types/CreateTagRequestBody.d.ts +5 -0
- package/api/resources/unstable/resources/tags/types/CreateTagRequestBody.js +5 -0
- package/api/resources/unstable/resources/tags/types/Tag.d.ts +18 -0
- package/api/resources/unstable/resources/tags/types/Tag.js +5 -0
- package/api/resources/unstable/resources/tags/types/TagBasic.d.ts +14 -0
- package/api/resources/unstable/resources/tags/types/TagBasic.js +5 -0
- package/api/resources/unstable/resources/tags/types/index.d.ts +3 -0
- package/api/resources/unstable/resources/tags/types/index.js +19 -0
- package/api/resources/unstable/resources/teams/client/Client.d.ts +65 -0
- package/api/resources/unstable/resources/teams/client/Client.js +200 -0
- package/api/resources/unstable/resources/teams/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/teams/client/index.js +17 -0
- package/api/resources/unstable/resources/teams/client/requests/RetrieveTeamRequest.d.ts +15 -0
- package/api/resources/unstable/resources/teams/client/requests/RetrieveTeamRequest.js +5 -0
- package/api/resources/unstable/resources/teams/client/requests/index.d.ts +1 -0
- package/api/resources/unstable/resources/teams/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/teams/index.d.ts +2 -0
- package/api/resources/unstable/resources/teams/index.js +18 -0
- package/api/resources/unstable/resources/teams/types/Team.d.ts +18 -0
- package/api/resources/unstable/resources/teams/types/Team.js +5 -0
- package/api/resources/unstable/resources/teams/types/index.d.ts +1 -0
- package/api/resources/unstable/resources/teams/types/index.js +17 -0
- package/api/resources/unstable/resources/ticketStates/client/Client.d.ts +49 -0
- package/api/resources/unstable/resources/ticketStates/client/Client.js +135 -0
- package/api/resources/unstable/resources/ticketStates/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/ticketStates/client/index.js +2 -0
- package/api/resources/unstable/resources/ticketStates/index.d.ts +1 -0
- package/api/resources/unstable/resources/ticketStates/index.js +17 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/client/Client.d.ts +73 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/client/Client.js +226 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/client/index.js +17 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.d.ts +54 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.js +18 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.d.ts +41 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.js +5 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.d.ts +2 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/index.d.ts +1 -0
- package/api/resources/unstable/resources/ticketTypeAttributes/index.js +17 -0
- package/api/resources/unstable/resources/ticketTypes/client/Client.d.ts +83 -0
- package/api/resources/unstable/resources/ticketTypes/client/Client.js +269 -0
- package/api/resources/unstable/resources/ticketTypes/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/ticketTypes/client/index.js +17 -0
- package/api/resources/unstable/resources/ticketTypes/client/requests/GetTicketTypeRequest.d.ts +15 -0
- package/api/resources/unstable/resources/ticketTypes/client/requests/GetTicketTypeRequest.js +5 -0
- package/api/resources/unstable/resources/ticketTypes/client/requests/index.d.ts +1 -0
- package/api/resources/unstable/resources/ticketTypes/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/ticketTypes/index.d.ts +1 -0
- package/api/resources/unstable/resources/ticketTypes/index.js +17 -0
- package/api/resources/unstable/resources/tickets/client/Client.d.ts +277 -0
- package/api/resources/unstable/resources/tickets/client/Client.js +622 -0
- package/api/resources/unstable/resources/tickets/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/tickets/client/index.js +17 -0
- package/api/resources/unstable/resources/tickets/client/requests/DeleteTicketRequest.d.ts +15 -0
- package/api/resources/unstable/resources/tickets/client/requests/DeleteTicketRequest.js +5 -0
- package/api/resources/unstable/resources/tickets/client/requests/EnqueueCreateTicketRequest.d.ts +17 -0
- package/api/resources/unstable/resources/tickets/client/requests/EnqueueCreateTicketRequest.js +5 -0
- package/api/resources/unstable/resources/tickets/client/requests/GetTicketRequest.d.ts +15 -0
- package/api/resources/unstable/resources/tickets/client/requests/GetTicketRequest.js +5 -0
- package/api/resources/unstable/resources/tickets/client/requests/ReplyTicketRequest.d.ts +59 -0
- package/api/resources/unstable/resources/tickets/client/requests/ReplyTicketRequest.js +5 -0
- package/api/resources/unstable/resources/tickets/client/requests/UpdateTicketRequest.d.ts +70 -0
- package/api/resources/unstable/resources/tickets/client/requests/UpdateTicketRequest.js +5 -0
- package/api/resources/unstable/resources/tickets/client/requests/index.d.ts +5 -0
- package/api/resources/unstable/resources/tickets/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/tickets/index.d.ts +2 -0
- package/api/resources/unstable/resources/tickets/index.js +18 -0
- package/api/resources/unstable/resources/tickets/types/DeleteTicketResponse.d.ts +14 -0
- package/api/resources/unstable/resources/tickets/types/DeleteTicketResponse.js +5 -0
- package/api/resources/unstable/resources/tickets/types/ReplyTicketRequestBody.d.ts +5 -0
- package/api/resources/unstable/resources/tickets/types/ReplyTicketRequestBody.js +5 -0
- package/api/resources/unstable/resources/tickets/types/Ticket.d.ts +48 -0
- package/api/resources/unstable/resources/tickets/types/Ticket.js +14 -0
- package/api/resources/unstable/resources/tickets/types/TicketContacts.d.ts +13 -0
- package/api/resources/unstable/resources/tickets/types/TicketContacts.js +5 -0
- package/api/resources/unstable/resources/tickets/types/TicketPart.d.ts +107 -0
- package/api/resources/unstable/resources/tickets/types/TicketPart.js +21 -0
- package/api/resources/unstable/resources/tickets/types/TicketState.d.ts +30 -0
- package/api/resources/unstable/resources/tickets/types/TicketState.js +15 -0
- package/api/resources/unstable/resources/tickets/types/TicketStateDetailed.d.ts +44 -0
- package/api/resources/unstable/resources/tickets/types/TicketStateDetailed.js +15 -0
- package/api/resources/unstable/resources/tickets/types/TicketType.d.ts +52 -0
- package/api/resources/unstable/resources/tickets/types/TicketType.js +14 -0
- package/api/resources/unstable/resources/tickets/types/index.d.ts +8 -0
- package/api/resources/unstable/resources/tickets/types/index.js +24 -0
- package/api/resources/unstable/resources/visitors/client/Client.d.ts +105 -0
- package/api/resources/unstable/resources/visitors/client/Client.js +299 -0
- package/api/resources/unstable/resources/visitors/client/index.d.ts +1 -0
- package/api/resources/unstable/resources/visitors/client/index.js +17 -0
- package/api/resources/unstable/resources/visitors/client/requests/ConvertVisitorRequest.d.ts +21 -0
- package/api/resources/unstable/resources/visitors/client/requests/ConvertVisitorRequest.js +5 -0
- package/api/resources/unstable/resources/visitors/client/requests/RetrieveVisitorWithUserIdRequest.d.ts +15 -0
- package/api/resources/unstable/resources/visitors/client/requests/RetrieveVisitorWithUserIdRequest.js +5 -0
- package/api/resources/unstable/resources/visitors/client/requests/index.d.ts +2 -0
- package/api/resources/unstable/resources/visitors/client/requests/index.js +2 -0
- package/api/resources/unstable/resources/visitors/index.d.ts +1 -0
- package/api/resources/unstable/resources/visitors/index.js +17 -0
- package/api/resources/unstable/types/ActivityLog.d.ts +104 -0
- package/api/resources/unstable/types/ActivityLog.js +78 -0
- package/api/resources/unstable/types/ActivityLogList.d.ts +14 -0
- package/api/resources/unstable/types/ActivityLogList.js +5 -0
- package/api/resources/unstable/types/ActivityLogMetadata.d.ts +26 -0
- package/api/resources/unstable/types/ActivityLogMetadata.js +5 -0
- package/api/resources/unstable/types/AddressableList.d.ts +14 -0
- package/api/resources/unstable/types/AddressableList.js +5 -0
- package/api/resources/unstable/types/AdminList.d.ts +13 -0
- package/api/resources/unstable/types/AdminList.js +5 -0
- package/api/resources/unstable/types/AdminPriorityLevel.d.ts +12 -0
- package/api/resources/unstable/types/AdminPriorityLevel.js +5 -0
- package/api/resources/unstable/types/AdminReplyConversationRequest.d.ts +31 -0
- package/api/resources/unstable/types/AdminReplyConversationRequest.js +14 -0
- package/api/resources/unstable/types/AdminReplyTicketRequest.d.ts +37 -0
- package/api/resources/unstable/types/AdminReplyTicketRequest.js +14 -0
- package/api/resources/unstable/types/AdminWithApp.d.ts +44 -0
- package/api/resources/unstable/types/AdminWithApp.js +5 -0
- package/api/resources/unstable/types/App.d.ts +22 -0
- package/api/resources/unstable/types/App.js +5 -0
- package/api/resources/unstable/types/ArticleContent.d.ts +36 -0
- package/api/resources/unstable/types/ArticleContent.js +13 -0
- package/api/resources/unstable/types/ArticleList.d.ts +16 -0
- package/api/resources/unstable/types/ArticleList.js +5 -0
- package/api/resources/unstable/types/ArticleStatistics.d.ts +22 -0
- package/api/resources/unstable/types/ArticleStatistics.js +5 -0
- package/api/resources/unstable/types/ArticleTranslatedContent.d.ts +85 -0
- package/api/resources/unstable/types/ArticleTranslatedContent.js +5 -0
- package/api/resources/unstable/types/AssignConversationRequest.d.ts +22 -0
- package/api/resources/unstable/types/AssignConversationRequest.js +13 -0
- package/api/resources/unstable/types/AwayStatusReason.d.ts +20 -0
- package/api/resources/unstable/types/AwayStatusReason.js +5 -0
- package/api/resources/unstable/types/CloseConversationRequest.d.ts +13 -0
- package/api/resources/unstable/types/CloseConversationRequest.js +5 -0
- package/api/resources/unstable/types/CollectionList.d.ts +16 -0
- package/api/resources/unstable/types/CollectionList.js +5 -0
- package/api/resources/unstable/types/CompanyAttachedContacts.d.ts +16 -0
- package/api/resources/unstable/types/CompanyAttachedContacts.js +5 -0
- package/api/resources/unstable/types/CompanyAttachedSegments.d.ts +13 -0
- package/api/resources/unstable/types/CompanyAttachedSegments.js +5 -0
- package/api/resources/unstable/types/CompanyData.d.ts +14 -0
- package/api/resources/unstable/types/CompanyData.js +5 -0
- package/api/resources/unstable/types/CompanyList.d.ts +16 -0
- package/api/resources/unstable/types/CompanyList.js +5 -0
- package/api/resources/unstable/types/CompanyScroll.d.ts +17 -0
- package/api/resources/unstable/types/CompanyScroll.js +5 -0
- package/api/resources/unstable/types/ContactArchived.d.ts +11 -0
- package/api/resources/unstable/types/ContactArchived.js +5 -0
- package/api/resources/unstable/types/ContactAttachedCompanies.d.ts +16 -0
- package/api/resources/unstable/types/ContactAttachedCompanies.js +5 -0
- package/api/resources/unstable/types/ContactBlocked.d.ts +11 -0
- package/api/resources/unstable/types/ContactBlocked.js +5 -0
- package/api/resources/unstable/types/ContactCompanies.d.ts +17 -0
- package/api/resources/unstable/types/ContactCompanies.js +5 -0
- package/api/resources/unstable/types/ContactDeleted.d.ts +11 -0
- package/api/resources/unstable/types/ContactDeleted.js +5 -0
- package/api/resources/unstable/types/ContactList.d.ts +16 -0
- package/api/resources/unstable/types/ContactList.js +5 -0
- package/api/resources/unstable/types/ContactLocation.d.ts +16 -0
- package/api/resources/unstable/types/ContactLocation.js +5 -0
- package/api/resources/unstable/types/ContactNotes.d.ts +17 -0
- package/api/resources/unstable/types/ContactNotes.js +5 -0
- package/api/resources/unstable/types/ContactReference.d.ts +14 -0
- package/api/resources/unstable/types/ContactReference.js +5 -0
- package/api/resources/unstable/types/ContactReplyBaseRequest.d.ts +26 -0
- package/api/resources/unstable/types/ContactReplyBaseRequest.js +5 -0
- package/api/resources/unstable/types/ContactReplyConversationRequest.d.ts +5 -0
- package/api/resources/unstable/types/ContactReplyConversationRequest.js +5 -0
- package/api/resources/unstable/types/ContactReplyEmailRequest.d.ts +13 -0
- package/api/resources/unstable/types/ContactReplyEmailRequest.js +5 -0
- package/api/resources/unstable/types/ContactReplyIntercomUserIdRequest.d.ts +13 -0
- package/api/resources/unstable/types/ContactReplyIntercomUserIdRequest.js +5 -0
- package/api/resources/unstable/types/ContactReplyTicketEmailRequest.d.ts +11 -0
- package/api/resources/unstable/types/ContactReplyTicketEmailRequest.js +5 -0
- package/api/resources/unstable/types/ContactReplyTicketIntercomUserIdRequest.d.ts +11 -0
- package/api/resources/unstable/types/ContactReplyTicketIntercomUserIdRequest.js +5 -0
- package/api/resources/unstable/types/ContactReplyTicketRequest.d.ts +5 -0
- package/api/resources/unstable/types/ContactReplyTicketRequest.js +5 -0
- package/api/resources/unstable/types/ContactReplyTicketUserIdRequest.d.ts +11 -0
- package/api/resources/unstable/types/ContactReplyTicketUserIdRequest.js +5 -0
- package/api/resources/unstable/types/ContactReplyUserIdRequest.d.ts +13 -0
- package/api/resources/unstable/types/ContactReplyUserIdRequest.js +5 -0
- package/api/resources/unstable/types/ContactSegments.d.ts +13 -0
- package/api/resources/unstable/types/ContactSegments.js +5 -0
- package/api/resources/unstable/types/ContactSocialProfiles.d.ts +11 -0
- package/api/resources/unstable/types/ContactSocialProfiles.js +5 -0
- package/api/resources/unstable/types/ContactSubscriptionTypes.d.ts +17 -0
- package/api/resources/unstable/types/ContactSubscriptionTypes.js +5 -0
- package/api/resources/unstable/types/ContactTags.d.ts +17 -0
- package/api/resources/unstable/types/ContactTags.js +5 -0
- package/api/resources/unstable/types/ContactUnarchived.d.ts +11 -0
- package/api/resources/unstable/types/ContactUnarchived.js +5 -0
- package/api/resources/unstable/types/ContentSourcesList.d.ts +11 -0
- package/api/resources/unstable/types/ContentSourcesList.js +5 -0
- package/api/resources/unstable/types/ConversationAttachmentFiles.d.ts +14 -0
- package/api/resources/unstable/types/ConversationAttachmentFiles.js +5 -0
- package/api/resources/unstable/types/ConversationAttributeUpdatedByAdmin.d.ts +20 -0
- package/api/resources/unstable/types/ConversationAttributeUpdatedByAdmin.js +5 -0
- package/api/resources/unstable/types/ConversationAttributeUpdatedByWorkflow.d.ts +25 -0
- package/api/resources/unstable/types/ConversationAttributeUpdatedByWorkflow.js +5 -0
- package/api/resources/unstable/types/ConversationContacts.d.ts +13 -0
- package/api/resources/unstable/types/ConversationContacts.js +5 -0
- package/api/resources/unstable/types/ConversationDeleted.d.ts +14 -0
- package/api/resources/unstable/types/ConversationDeleted.js +5 -0
- package/api/resources/unstable/types/ConversationFirstContactReply.d.ts +14 -0
- package/api/resources/unstable/types/ConversationFirstContactReply.js +5 -0
- package/api/resources/unstable/types/ConversationList.d.ts +16 -0
- package/api/resources/unstable/types/ConversationList.js +5 -0
- package/api/resources/unstable/types/ConversationPart.d.ts +52 -0
- package/api/resources/unstable/types/ConversationPart.js +14 -0
- package/api/resources/unstable/types/ConversationPartAuthor.d.ts +20 -0
- package/api/resources/unstable/types/ConversationPartAuthor.js +5 -0
- package/api/resources/unstable/types/ConversationPartMetadata.d.ts +22 -0
- package/api/resources/unstable/types/ConversationPartMetadata.js +5 -0
- package/api/resources/unstable/types/ConversationParts.d.ts +15 -0
- package/api/resources/unstable/types/ConversationParts.js +5 -0
- package/api/resources/unstable/types/ConversationRating.d.ts +17 -0
- package/api/resources/unstable/types/ConversationRating.js +5 -0
- package/api/resources/unstable/types/ConversationResponseTime.d.ts +14 -0
- package/api/resources/unstable/types/ConversationResponseTime.js +5 -0
- package/api/resources/unstable/types/ConversationSource.d.ts +44 -0
- package/api/resources/unstable/types/ConversationSource.js +21 -0
- package/api/resources/unstable/types/ConversationStatistics.d.ts +53 -0
- package/api/resources/unstable/types/ConversationStatistics.js +5 -0
- package/api/resources/unstable/types/ConversationTeammates.d.ts +13 -0
- package/api/resources/unstable/types/ConversationTeammates.js +5 -0
- package/api/resources/unstable/types/CreateOrUpdateTagRequest.d.ts +12 -0
- package/api/resources/unstable/types/CreateOrUpdateTagRequest.js +5 -0
- package/api/resources/unstable/types/CreateTicketReplyWithCommentRequest.d.ts +5 -0
- package/api/resources/unstable/types/CreateTicketReplyWithCommentRequest.js +5 -0
- package/api/resources/unstable/types/CreateTicketRequestBody.d.ts +43 -0
- package/api/resources/unstable/types/CreateTicketRequestBody.js +5 -0
- package/api/resources/unstable/types/CursorPages.d.ts +19 -0
- package/api/resources/unstable/types/CursorPages.js +5 -0
- package/api/resources/unstable/types/CustomActionFinished.d.ts +27 -0
- package/api/resources/unstable/types/CustomActionFinished.js +16 -0
- package/api/resources/unstable/types/CustomActionStarted.d.ts +15 -0
- package/api/resources/unstable/types/CustomActionStarted.js +5 -0
- package/api/resources/unstable/types/CustomAttributes.d.ts +11 -0
- package/api/resources/unstable/types/CustomAttributes.js +5 -0
- package/api/resources/unstable/types/CustomChannelAttribute.d.ts +9 -0
- package/api/resources/unstable/types/CustomChannelAttribute.js +5 -0
- package/api/resources/unstable/types/CustomChannelBaseEvent.d.ts +11 -0
- package/api/resources/unstable/types/CustomChannelBaseEvent.js +5 -0
- package/api/resources/unstable/types/CustomChannelContact.d.ts +23 -0
- package/api/resources/unstable/types/CustomChannelContact.js +13 -0
- package/api/resources/unstable/types/CustomChannelNotificationResponse.d.ts +13 -0
- package/api/resources/unstable/types/CustomChannelNotificationResponse.js +5 -0
- package/api/resources/unstable/types/CustomObjectInstanceDeleted.d.ts +14 -0
- package/api/resources/unstable/types/CustomObjectInstanceDeleted.js +5 -0
- package/api/resources/unstable/types/CustomObjectInstanceList.d.ts +12 -0
- package/api/resources/unstable/types/CustomObjectInstanceList.js +5 -0
- package/api/resources/unstable/types/CustomerRequest.d.ts +10 -0
- package/api/resources/unstable/types/CustomerRequest.js +5 -0
- package/api/resources/unstable/types/DataAttributeList.d.ts +13 -0
- package/api/resources/unstable/types/DataAttributeList.js +5 -0
- package/api/resources/unstable/types/DataEventList.d.ts +24 -0
- package/api/resources/unstable/types/DataEventList.js +5 -0
- package/api/resources/unstable/types/DataEventSummary.d.ts +19 -0
- package/api/resources/unstable/types/DataEventSummary.js +5 -0
- package/api/resources/unstable/types/DataEventSummaryItem.d.ts +18 -0
- package/api/resources/unstable/types/DataEventSummaryItem.js +5 -0
- package/api/resources/unstable/types/DataExportCsv.d.ts +60 -0
- package/api/resources/unstable/types/DataExportCsv.js +5 -0
- package/api/resources/unstable/types/Datetime.d.ts +10 -0
- package/api/resources/unstable/types/Datetime.js +5 -0
- package/api/resources/unstable/types/DeletedArticleObject.d.ts +14 -0
- package/api/resources/unstable/types/DeletedArticleObject.js +5 -0
- package/api/resources/unstable/types/DeletedCollectionObject.d.ts +14 -0
- package/api/resources/unstable/types/DeletedCollectionObject.js +5 -0
- package/api/resources/unstable/types/DeletedCompanyObject.d.ts +14 -0
- package/api/resources/unstable/types/DeletedCompanyObject.js +5 -0
- package/api/resources/unstable/types/DeletedObject.d.ts +14 -0
- package/api/resources/unstable/types/DeletedObject.js +5 -0
- package/api/resources/unstable/types/EmailAddressHeader.d.ts +14 -0
- package/api/resources/unstable/types/EmailAddressHeader.js +5 -0
- package/api/resources/unstable/types/EmailMessageMetadata.d.ts +13 -0
- package/api/resources/unstable/types/EmailMessageMetadata.js +5 -0
- package/api/resources/unstable/types/Error_.d.ts +27 -0
- package/api/resources/unstable/types/Error_.js +5 -0
- package/api/resources/unstable/types/EventDetails.d.ts +5 -0
- package/api/resources/unstable/types/EventDetails.js +5 -0
- package/api/resources/unstable/types/FileAttribute.d.ts +21 -0
- package/api/resources/unstable/types/FileAttribute.js +5 -0
- package/api/resources/unstable/types/GroupContent.d.ts +14 -0
- package/api/resources/unstable/types/GroupContent.js +5 -0
- package/api/resources/unstable/types/GroupTranslatedContent.d.ts +85 -0
- package/api/resources/unstable/types/GroupTranslatedContent.js +5 -0
- package/api/resources/unstable/types/IntercomVersion.d.ts +27 -0
- package/api/resources/unstable/types/IntercomVersion.js +26 -0
- package/api/resources/unstable/types/IntercomVersionUnstable.d.ts +7 -0
- package/api/resources/unstable/types/IntercomVersionUnstable.js +5 -0
- package/api/resources/unstable/types/LinkedObject.d.ts +24 -0
- package/api/resources/unstable/types/LinkedObject.js +13 -0
- package/api/resources/unstable/types/LinkedObjectList.d.ts +17 -0
- package/api/resources/unstable/types/LinkedObjectList.js +5 -0
- package/api/resources/unstable/types/MultipleFilterSearchRequest.d.ts +29 -0
- package/api/resources/unstable/types/MultipleFilterSearchRequest.js +13 -0
- package/api/resources/unstable/types/NewsItemRequest.d.ts +35 -0
- package/api/resources/unstable/types/NewsItemRequest.js +13 -0
- package/api/resources/unstable/types/NotFoundErrorBody.d.ts +22 -0
- package/api/resources/unstable/types/NotFoundErrorBody.js +5 -0
- package/api/resources/unstable/types/NoteList.d.ts +16 -0
- package/api/resources/unstable/types/NoteList.js +5 -0
- package/api/resources/unstable/types/OpenConversationRequest.d.ts +10 -0
- package/api/resources/unstable/types/OpenConversationRequest.js +5 -0
- package/api/resources/unstable/types/OperatorWorkflowEvent.d.ts +22 -0
- package/api/resources/unstable/types/OperatorWorkflowEvent.js +5 -0
- package/api/resources/unstable/types/PagesLink.d.ts +16 -0
- package/api/resources/unstable/types/PagesLink.js +5 -0
- package/api/resources/unstable/types/PaginatedResponse.d.ts +26 -0
- package/api/resources/unstable/types/PaginatedResponse.js +13 -0
- package/api/resources/unstable/types/PaginatedResponseDataItem.d.ts +13 -0
- package/api/resources/unstable/types/PaginatedResponseDataItem.js +5 -0
- package/api/resources/unstable/types/PartAttachment.d.ts +22 -0
- package/api/resources/unstable/types/PartAttachment.js +5 -0
- package/api/resources/unstable/types/PhoneSwitch.d.ts +12 -0
- package/api/resources/unstable/types/PhoneSwitch.js +5 -0
- package/api/resources/unstable/types/QuickReplyOption.d.ts +9 -0
- package/api/resources/unstable/types/QuickReplyOption.js +5 -0
- package/api/resources/unstable/types/Recipient.d.ts +22 -0
- package/api/resources/unstable/types/Recipient.js +13 -0
- package/api/resources/unstable/types/RedactConversationRequest.d.ts +27 -0
- package/api/resources/unstable/types/RedactConversationRequest.js +5 -0
- package/api/resources/unstable/types/Reference.d.ts +12 -0
- package/api/resources/unstable/types/Reference.js +5 -0
- package/api/resources/unstable/types/ReplyConversationRequestBody.d.ts +5 -0
- package/api/resources/unstable/types/ReplyConversationRequestBody.js +5 -0
- package/api/resources/unstable/types/SearchRequest.d.ts +14 -0
- package/api/resources/unstable/types/SearchRequest.js +5 -0
- package/api/resources/unstable/types/SegmentList.d.ts +15 -0
- package/api/resources/unstable/types/SegmentList.js +5 -0
- package/api/resources/unstable/types/SingleFilterSearchRequest.d.ts +32 -0
- package/api/resources/unstable/types/SingleFilterSearchRequest.js +17 -0
- package/api/resources/unstable/types/SlaApplied.d.ts +35 -0
- package/api/resources/unstable/types/SlaApplied.js +15 -0
- package/api/resources/unstable/types/SnoozeConversationRequest.d.ts +12 -0
- package/api/resources/unstable/types/SnoozeConversationRequest.js +5 -0
- package/api/resources/unstable/types/SocialProfile.d.ts +14 -0
- package/api/resources/unstable/types/SocialProfile.js +5 -0
- package/api/resources/unstable/types/StartingAfterPaging.d.ts +9 -0
- package/api/resources/unstable/types/StartingAfterPaging.js +5 -0
- package/api/resources/unstable/types/SubscriptionTypeList.d.ts +13 -0
- package/api/resources/unstable/types/SubscriptionTypeList.js +5 -0
- package/api/resources/unstable/types/TagCompanyRequest.d.ts +23 -0
- package/api/resources/unstable/types/TagCompanyRequest.js +5 -0
- package/api/resources/unstable/types/TagList.d.ts +13 -0
- package/api/resources/unstable/types/TagList.js +5 -0
- package/api/resources/unstable/types/TagMultipleUsersRequest.d.ts +20 -0
- package/api/resources/unstable/types/TagMultipleUsersRequest.js +5 -0
- package/api/resources/unstable/types/Tags.d.ts +13 -0
- package/api/resources/unstable/types/Tags.js +5 -0
- package/api/resources/unstable/types/TeamList.d.ts +13 -0
- package/api/resources/unstable/types/TeamList.js +5 -0
- package/api/resources/unstable/types/TeamPriorityLevel.d.ts +12 -0
- package/api/resources/unstable/types/TeamPriorityLevel.js +5 -0
- package/api/resources/unstable/types/TicketCustomAttributes.d.ts +11 -0
- package/api/resources/unstable/types/TicketCustomAttributes.js +5 -0
- package/api/resources/unstable/types/TicketList.d.ts +16 -0
- package/api/resources/unstable/types/TicketList.js +5 -0
- package/api/resources/unstable/types/TicketPartAuthor.d.ts +28 -0
- package/api/resources/unstable/types/TicketPartAuthor.js +15 -0
- package/api/resources/unstable/types/TicketParts.d.ts +15 -0
- package/api/resources/unstable/types/TicketParts.js +5 -0
- package/api/resources/unstable/types/TicketReply.d.ts +37 -0
- package/api/resources/unstable/types/TicketReply.js +14 -0
- package/api/resources/unstable/types/TicketRequestCustomAttributes.d.ts +10 -0
- package/api/resources/unstable/types/TicketRequestCustomAttributes.js +5 -0
- package/api/resources/unstable/types/TicketStateList.d.ts +13 -0
- package/api/resources/unstable/types/TicketStateList.js +5 -0
- package/api/resources/unstable/types/TicketTypeAttribute.d.ts +42 -0
- package/api/resources/unstable/types/TicketTypeAttribute.js +5 -0
- package/api/resources/unstable/types/TicketTypeAttributeList.d.ts +13 -0
- package/api/resources/unstable/types/TicketTypeAttributeList.js +5 -0
- package/api/resources/unstable/types/TicketTypeList.d.ts +13 -0
- package/api/resources/unstable/types/TicketTypeList.js +5 -0
- package/api/resources/unstable/types/Translation.d.ts +14 -0
- package/api/resources/unstable/types/Translation.js +5 -0
- package/api/resources/unstable/types/UntagCompanyRequest.d.ts +25 -0
- package/api/resources/unstable/types/UntagCompanyRequest.js +5 -0
- package/api/resources/unstable/types/UpdateArticleRequestBody.d.ts +34 -0
- package/api/resources/unstable/types/UpdateArticleRequestBody.js +13 -0
- package/api/resources/unstable/types/UpdateTicketTypeRequestBody.d.ts +32 -0
- package/api/resources/unstable/types/UpdateTicketTypeRequestBody.js +14 -0
- package/api/resources/unstable/types/Visitor.d.ts +128 -0
- package/api/resources/unstable/types/Visitor.js +5 -0
- package/api/resources/unstable/types/VisitorDeletedObject.d.ts +14 -0
- package/api/resources/unstable/types/VisitorDeletedObject.js +5 -0
- package/api/resources/unstable/types/WhatsappMessageStatusList.d.ts +65 -0
- package/api/resources/unstable/types/WhatsappMessageStatusList.js +21 -0
- package/api/resources/unstable/types/index.d.ts +145 -0
- package/api/resources/unstable/types/index.js +161 -0
- package/api/resources/visitors/client/Client.d.ts +6 -3
- package/api/resources/visitors/client/Client.js +29 -11
- package/api/types/CompanyList.d.ts +0 -2
- package/api/types/CreateContactRequestTwo.d.ts +4 -0
- package/api/types/CreateContactRequestTwo.js +5 -0
- package/api/types/CreateDataEventRequestTwo.d.ts +4 -0
- package/api/types/CreateDataEventRequestTwo.js +5 -0
- package/api/types/CreateMessageRequestTwo.d.ts +4 -0
- package/api/types/CreateMessageRequestTwo.js +5 -0
- package/api/{resources/tickets/client/requests → types}/CreateTicketRequest.d.ts +2 -12
- package/api/types/CreateTicketRequest.js +5 -0
- package/api/types/Metadata.d.ts +5 -0
- package/api/types/Metadata.js +5 -0
- package/api/types/TicketCustomAttributes.d.ts +1 -5
- package/api/types/TicketRequestCustomAttributes.d.ts +1 -4
- package/api/types/UpdateVisitorRequestOne.d.ts +4 -0
- package/api/types/UpdateVisitorRequestOne.js +5 -0
- package/api/types/index.d.ts +6 -0
- package/api/types/index.js +6 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/Fetcher.js +7 -0
- package/core/fetcher/Headers.d.ts +2 -0
- package/core/fetcher/Headers.js +84 -0
- package/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/core/fetcher/HttpResponsePromise.js +103 -0
- package/core/fetcher/RawResponse.d.ts +29 -0
- package/core/fetcher/RawResponse.js +44 -0
- package/core/fetcher/index.d.ts +3 -0
- package/core/fetcher/index.js +7 -1
- package/core/index.d.ts +1 -1
- package/core/index.js +1 -1
- package/core/pagination/Page.d.ts +5 -2
- package/core/pagination/Page.js +5 -2
- package/core/pagination/Pageable.d.ts +2 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +5 -0
- package/dist/api/errors/BadRequestError.d.ts +2 -1
- package/dist/api/errors/BadRequestError.js +2 -1
- package/dist/api/errors/ForbiddenError.d.ts +2 -1
- package/dist/api/errors/ForbiddenError.js +2 -1
- package/dist/api/errors/NotFoundError.d.ts +2 -1
- package/dist/api/errors/NotFoundError.js +2 -1
- package/dist/api/errors/UnauthorizedError.d.ts +2 -1
- package/dist/api/errors/UnauthorizedError.js +2 -1
- package/dist/api/errors/UnprocessableEntityError.d.ts +2 -1
- package/dist/api/errors/UnprocessableEntityError.js +2 -1
- package/dist/api/resources/admins/client/Client.d.ts +10 -5
- package/dist/api/resources/admins/client/Client.js +46 -16
- package/dist/api/resources/aiContentSource/types/ContentSource.d.ts +1 -14
- package/dist/api/resources/aiContentSource/types/ContentSource.js +0 -11
- package/dist/api/resources/articles/client/Client.d.ts +10 -5
- package/dist/api/resources/articles/client/Client.js +61 -26
- package/dist/api/resources/companies/client/Client.d.ts +18 -9
- package/dist/api/resources/companies/client/Client.js +115 -51
- package/dist/api/resources/companies/types/CompaniesRetrieveResponse.d.ts +13 -0
- package/dist/api/resources/companies/types/CompaniesRetrieveResponse.js +5 -0
- package/dist/api/resources/companies/types/Company.d.ts +0 -2
- package/dist/api/resources/companies/types/index.d.ts +1 -0
- package/dist/api/resources/companies/types/index.js +1 -0
- package/dist/api/resources/contacts/client/Client.d.ts +24 -12
- package/dist/api/resources/contacts/client/Client.js +148 -58
- package/dist/api/resources/conversations/client/Client.d.ts +20 -10
- package/dist/api/resources/conversations/client/Client.js +136 -60
- package/dist/api/resources/dataAttributes/client/Client.d.ts +6 -3
- package/dist/api/resources/dataAttributes/client/Client.js +32 -14
- package/dist/api/resources/dataExport/client/Client.d.ts +8 -4
- package/dist/api/resources/dataExport/client/Client.js +32 -8
- package/dist/api/resources/events/client/Client.d.ts +6 -3
- package/dist/api/resources/events/client/Client.js +28 -10
- package/dist/api/resources/helpCenters/client/Client.d.ts +2 -1
- package/dist/api/resources/helpCenters/client/Client.js +21 -10
- package/dist/api/resources/helpCenters/resources/collections/client/Client.d.ts +8 -4
- package/dist/api/resources/helpCenters/resources/collections/client/Client.js +51 -22
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/messages/client/Client.d.ts +2 -1
- package/dist/api/resources/messages/client/Client.js +12 -6
- package/dist/api/resources/news/resources/feeds/client/Client.d.ts +6 -3
- package/dist/api/resources/news/resources/feeds/client/Client.js +27 -9
- package/dist/api/resources/news/resources/items/client/Client.d.ts +10 -5
- package/dist/api/resources/news/resources/items/client/Client.js +48 -18
- package/dist/api/resources/notes/client/Client.d.ts +4 -2
- package/dist/api/resources/notes/client/Client.js +30 -13
- package/dist/api/resources/phoneCallRedirects/client/Client.d.ts +2 -1
- package/dist/api/resources/phoneCallRedirects/client/Client.js +11 -5
- package/dist/api/resources/segments/client/Client.d.ts +4 -2
- package/dist/api/resources/segments/client/Client.js +20 -8
- package/dist/api/resources/subscriptionTypes/client/Client.d.ts +2 -1
- package/dist/api/resources/subscriptionTypes/client/Client.js +9 -3
- package/dist/api/resources/tags/client/Client.d.ts +20 -10
- package/dist/api/resources/tags/client/Client.js +101 -41
- package/dist/api/resources/teams/client/Client.d.ts +4 -2
- package/dist/api/resources/teams/client/Client.js +19 -7
- package/dist/api/resources/ticketTypes/client/Client.d.ts +8 -4
- package/dist/api/resources/ticketTypes/client/Client.js +36 -12
- package/dist/api/resources/ticketTypes/resources/attributes/client/Client.d.ts +4 -2
- package/dist/api/resources/ticketTypes/resources/attributes/client/Client.js +18 -6
- package/dist/api/resources/tickets/client/Client.d.ts +8 -4
- package/dist/api/resources/tickets/client/Client.js +49 -20
- package/dist/api/resources/tickets/client/requests/index.d.ts +0 -1
- package/dist/api/resources/unstable/client/Client.d.ts +104 -0
- package/dist/api/resources/unstable/client/Client.js +152 -0
- package/dist/api/resources/unstable/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/client/index.js +2 -0
- package/dist/api/resources/unstable/errors/BadRequestError.d.ts +8 -0
- package/dist/api/resources/unstable/errors/BadRequestError.js +52 -0
- package/dist/api/resources/unstable/errors/ForbiddenError.d.ts +9 -0
- package/dist/api/resources/unstable/errors/ForbiddenError.js +52 -0
- package/dist/api/resources/unstable/errors/InternalServerError.d.ts +9 -0
- package/dist/api/resources/unstable/errors/InternalServerError.js +52 -0
- package/dist/api/resources/unstable/errors/NotFoundError.d.ts +8 -0
- package/dist/api/resources/unstable/errors/NotFoundError.js +52 -0
- package/dist/api/resources/unstable/errors/TooManyRequestsError.d.ts +9 -0
- package/dist/api/resources/unstable/errors/TooManyRequestsError.js +52 -0
- package/dist/api/resources/unstable/errors/UnauthorizedError.d.ts +9 -0
- package/dist/api/resources/unstable/errors/UnauthorizedError.js +52 -0
- package/dist/api/resources/unstable/errors/UnprocessableEntityError.d.ts +8 -0
- package/dist/api/resources/unstable/errors/UnprocessableEntityError.js +52 -0
- package/dist/api/resources/unstable/errors/index.d.ts +7 -0
- package/dist/api/resources/unstable/errors/index.js +23 -0
- package/dist/api/resources/unstable/index.d.ts +4 -0
- package/dist/api/resources/unstable/index.js +20 -0
- package/dist/api/resources/unstable/resources/admins/client/Client.d.ts +123 -0
- package/dist/api/resources/unstable/resources/admins/client/Client.js +418 -0
- package/dist/api/resources/unstable/resources/admins/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/admins/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/admins/client/requests/ListActivityLogsRequest.d.ts +20 -0
- package/dist/api/resources/unstable/resources/admins/client/requests/ListActivityLogsRequest.js +5 -0
- package/dist/api/resources/unstable/resources/admins/client/requests/RetrieveAdminRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/admins/client/requests/RetrieveAdminRequest.js +5 -0
- package/dist/api/resources/unstable/resources/admins/client/requests/SetAwayAdminRequest.d.ts +38 -0
- package/dist/api/resources/unstable/resources/admins/client/requests/SetAwayAdminRequest.js +5 -0
- package/dist/api/resources/unstable/resources/admins/client/requests/index.d.ts +3 -0
- package/dist/api/resources/unstable/resources/admins/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/admins/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/admins/index.js +18 -0
- package/dist/api/resources/unstable/resources/admins/types/Admin.d.ts +32 -0
- package/dist/api/resources/unstable/resources/admins/types/Admin.js +5 -0
- package/dist/api/resources/unstable/resources/admins/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/admins/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/aiAgent/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/aiAgent/index.js +17 -0
- package/dist/api/resources/unstable/resources/aiAgent/types/AiAgent.d.ts +35 -0
- package/dist/api/resources/unstable/resources/aiAgent/types/AiAgent.js +16 -0
- package/dist/api/resources/unstable/resources/aiAgent/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/aiAgent/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/aiContent/client/Client.d.ts +202 -0
- package/dist/api/resources/unstable/resources/aiContent/client/Client.js +735 -0
- package/dist/api/resources/unstable/resources/aiContent/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/aiContent/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/CreateContentImportSourceRequest.d.ts +25 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/CreateContentImportSourceRequest.js +13 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/CreateExternalPageRequest.d.ts +29 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/CreateExternalPageRequest.js +5 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/DeleteContentImportSourceRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/DeleteContentImportSourceRequest.js +5 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/DeleteExternalPageRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/DeleteExternalPageRequest.js +5 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/GetContentImportSourceRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/GetContentImportSourceRequest.js +5 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/GetExternalPageRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/GetExternalPageRequest.js +5 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/UpdateContentImportSourceRequest.d.ts +42 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/UpdateContentImportSourceRequest.js +18 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/UpdateExternalPageRequest.d.ts +32 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/UpdateExternalPageRequest.js +5 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/index.d.ts +8 -0
- package/dist/api/resources/unstable/resources/aiContent/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/aiContent/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/aiContent/index.js +18 -0
- package/dist/api/resources/unstable/resources/aiContent/types/ContentImportSource.d.ts +43 -0
- package/dist/api/resources/unstable/resources/aiContent/types/ContentImportSource.js +18 -0
- package/dist/api/resources/unstable/resources/aiContent/types/ContentImportSourcesList.d.ts +16 -0
- package/dist/api/resources/unstable/resources/aiContent/types/ContentImportSourcesList.js +5 -0
- package/dist/api/resources/unstable/resources/aiContent/types/ExternalPage.d.ts +36 -0
- package/dist/api/resources/unstable/resources/aiContent/types/ExternalPage.js +5 -0
- package/dist/api/resources/unstable/resources/aiContent/types/ExternalPagesList.d.ts +16 -0
- package/dist/api/resources/unstable/resources/aiContent/types/ExternalPagesList.js +5 -0
- package/dist/api/resources/unstable/resources/aiContent/types/index.d.ts +4 -0
- package/dist/api/resources/unstable/resources/aiContent/types/index.js +20 -0
- package/dist/api/resources/unstable/resources/aiContentSource/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/aiContentSource/index.js +17 -0
- package/dist/api/resources/unstable/resources/aiContentSource/types/ContentSource.d.ts +29 -0
- package/dist/api/resources/unstable/resources/aiContentSource/types/ContentSource.js +16 -0
- package/dist/api/resources/unstable/resources/aiContentSource/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/aiContentSource/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/articles/client/Client.d.ts +117 -0
- package/dist/api/resources/unstable/resources/articles/client/Client.js +417 -0
- package/dist/api/resources/unstable/resources/articles/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/articles/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/articles/client/requests/DeleteArticleRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/articles/client/requests/DeleteArticleRequest.js +5 -0
- package/dist/api/resources/unstable/resources/articles/client/requests/RetrieveArticleRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/articles/client/requests/RetrieveArticleRequest.js +5 -0
- package/dist/api/resources/unstable/resources/articles/client/requests/SearchArticlesRequest.d.ts +28 -0
- package/dist/api/resources/unstable/resources/articles/client/requests/SearchArticlesRequest.js +5 -0
- package/dist/api/resources/unstable/resources/articles/client/requests/index.d.ts +3 -0
- package/dist/api/resources/unstable/resources/articles/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/articles/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/articles/index.js +18 -0
- package/dist/api/resources/unstable/resources/articles/types/Article.d.ts +10 -0
- package/dist/api/resources/unstable/resources/articles/types/Article.js +5 -0
- package/dist/api/resources/unstable/resources/articles/types/ArticleListItem.d.ts +50 -0
- package/dist/api/resources/unstable/resources/articles/types/ArticleListItem.js +13 -0
- package/dist/api/resources/unstable/resources/articles/types/ArticleSearchHighlights.d.ts +60 -0
- package/dist/api/resources/unstable/resources/articles/types/ArticleSearchHighlights.js +29 -0
- package/dist/api/resources/unstable/resources/articles/types/ArticleSearchResponse.d.ts +27 -0
- package/dist/api/resources/unstable/resources/articles/types/ArticleSearchResponse.js +5 -0
- package/dist/api/resources/unstable/resources/articles/types/index.d.ts +4 -0
- package/dist/api/resources/unstable/resources/articles/types/index.js +20 -0
- package/dist/api/resources/unstable/resources/awayStatusReasons/client/Client.d.ts +49 -0
- package/dist/api/resources/unstable/resources/awayStatusReasons/client/Client.js +135 -0
- package/dist/api/resources/unstable/resources/awayStatusReasons/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/awayStatusReasons/client/index.js +2 -0
- package/dist/api/resources/unstable/resources/awayStatusReasons/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/awayStatusReasons/index.js +17 -0
- package/dist/api/resources/unstable/resources/companies/client/Client.d.ts +271 -0
- package/dist/api/resources/unstable/resources/companies/client/Client.js +908 -0
- package/dist/api/resources/unstable/resources/companies/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/companies/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/AttachContactToACompanyRequest.d.ts +30 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/AttachContactToACompanyRequest.js +5 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/DeleteCompanyRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/DeleteCompanyRequest.js +5 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/DetachContactFromACompanyRequest.d.ts +20 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/DetachContactFromACompanyRequest.js +5 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/ListAllCompaniesRequest.d.ts +23 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/ListAllCompaniesRequest.js +5 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/ListAttachedContactsRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/ListAttachedContactsRequest.js +5 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/ListAttachedSegmentsForCompaniesRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/ListAttachedSegmentsForCompaniesRequest.js +5 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/RetrieveACompanyByIdRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/RetrieveACompanyByIdRequest.js +5 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/RetrieveCompanyRequest.d.ts +38 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/RetrieveCompanyRequest.js +5 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/ScrollOverAllCompaniesRequest.d.ts +13 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/ScrollOverAllCompaniesRequest.js +5 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/UpdateCompanyRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/UpdateCompanyRequest.js +5 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/index.d.ts +10 -0
- package/dist/api/resources/unstable/resources/companies/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/companies/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/companies/index.js +18 -0
- package/dist/api/resources/unstable/resources/companies/types/Company.d.ts +72 -0
- package/dist/api/resources/unstable/resources/companies/types/Company.js +5 -0
- package/dist/api/resources/unstable/resources/companies/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/companies/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/contacts/client/Client.d.ts +395 -0
- package/dist/api/resources/unstable/resources/contacts/client/Client.js +1165 -0
- package/dist/api/resources/unstable/resources/contacts/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/contacts/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ArchiveContactRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ArchiveContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/BlockContactRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/BlockContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/DeleteContactRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/DeleteContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ListCompaniesForAContactRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ListCompaniesForAContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ListSegmentsForAContactRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ListSegmentsForAContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ListSubscriptionsForAContactRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ListSubscriptionsForAContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ListTagsForAContactRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ListTagsForAContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/MergeContactsRequest.d.ts +16 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/MergeContactsRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ShowContactByExternalIdRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ShowContactByExternalIdRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ShowContactRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/ShowContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/UnarchiveContactRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/UnarchiveContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/UpdateContactRequest.d.ts +49 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/UpdateContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/index.d.ts +12 -0
- package/dist/api/resources/unstable/resources/contacts/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/contacts/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/contacts/index.js +18 -0
- package/dist/api/resources/unstable/resources/contacts/types/Contact.d.ts +103 -0
- package/dist/api/resources/unstable/resources/contacts/types/Contact.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/types/CreateContactResponse.d.ts +8 -0
- package/dist/api/resources/unstable/resources/contacts/types/CreateContactResponse.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/types/MergeContactResponse.d.ts +8 -0
- package/dist/api/resources/unstable/resources/contacts/types/MergeContactResponse.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/types/ShowContactByExternalIdResponse.d.ts +8 -0
- package/dist/api/resources/unstable/resources/contacts/types/ShowContactByExternalIdResponse.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/types/ShowContactResponse.d.ts +8 -0
- package/dist/api/resources/unstable/resources/contacts/types/ShowContactResponse.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/types/UpdateContactResponse.d.ts +8 -0
- package/dist/api/resources/unstable/resources/contacts/types/UpdateContactResponse.js +5 -0
- package/dist/api/resources/unstable/resources/contacts/types/index.d.ts +6 -0
- package/dist/api/resources/unstable/resources/contacts/types/index.js +22 -0
- package/dist/api/resources/unstable/resources/conversations/client/Client.d.ts +545 -0
- package/dist/api/resources/unstable/resources/conversations/client/Client.js +1218 -0
- package/dist/api/resources/unstable/resources/conversations/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/conversations/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/AttachContactToConversationRequest.d.ts +44 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/AttachContactToConversationRequest.js +5 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/ConvertConversationToTicketRequest.d.ts +26 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/ConvertConversationToTicketRequest.js +5 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/CreateConversationRequest.d.ts +48 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/CreateConversationRequest.js +17 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/DeleteConversationRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/DeleteConversationRequest.js +5 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +44 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/DetachContactFromConversationRequest.js +5 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/ListConversationsRequest.d.ts +17 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/ListConversationsRequest.js +5 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/ManageConversationRequest.d.ts +62 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/ManageConversationRequest.js +5 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/ReplyConversationRequest.d.ts +77 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/ReplyConversationRequest.js +5 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/RetrieveConversationRequest.d.ts +20 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/RetrieveConversationRequest.js +5 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/UpdateConversationRequest.d.ts +53 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/UpdateConversationRequest.js +5 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/index.d.ts +10 -0
- package/dist/api/resources/unstable/resources/conversations/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/conversations/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/conversations/index.js +18 -0
- package/dist/api/resources/unstable/resources/conversations/types/Conversation.d.ts +68 -0
- package/dist/api/resources/unstable/resources/conversations/types/Conversation.js +18 -0
- package/dist/api/resources/unstable/resources/conversations/types/ManageConversationRequestBody.d.ts +19 -0
- package/dist/api/resources/unstable/resources/conversations/types/ManageConversationRequestBody.js +5 -0
- package/dist/api/resources/unstable/resources/conversations/types/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/conversations/types/index.js +18 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/Client.d.ts +144 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/Client.js +408 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyAttributeCollectedRequest.d.ts +24 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyAttributeCollectedRequest.js +5 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyNewMessageRequest.d.ts +22 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyNewMessageRequest.js +5 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyQuickReplySelectedRequest.d.ts +22 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/requests/NotifyQuickReplySelectedRequest.js +5 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/requests/index.d.ts +3 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/customChannelEvents/index.js +17 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/Client.d.ts +131 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/Client.js +449 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/CreateOrUpdateCustomObjectInstanceRequest.d.ts +30 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/CreateOrUpdateCustomObjectInstanceRequest.js +5 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/DeleteCustomObjectInstancesByExternalIdRequest.d.ts +20 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/DeleteCustomObjectInstancesByExternalIdRequest.js +5 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/DeleteCustomObjectInstancesByIdRequest.d.ts +17 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/DeleteCustomObjectInstancesByIdRequest.js +5 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/GetCustomObjectInstancesByExternalIdRequest.d.ts +17 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/GetCustomObjectInstancesByExternalIdRequest.js +5 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/GetCustomObjectInstancesByIdRequest.d.ts +20 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/GetCustomObjectInstancesByIdRequest.js +5 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/index.d.ts +5 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/index.js +18 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/types/CustomObjectInstance.d.ts +24 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/types/CustomObjectInstance.js +5 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/customObjectInstances/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/Client.d.ts +146 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/Client.js +355 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/requests/CreateDataAttributeRequest.d.ts +84 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/requests/CreateDataAttributeRequest.js +21 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/requests/LisDataAttributesRequest.d.ts +18 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/requests/LisDataAttributesRequest.js +5 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +49 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.js +5 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/requests/index.d.ts +3 -0
- package/dist/api/resources/unstable/resources/dataAttributes/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/dataAttributes/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/dataAttributes/index.js +18 -0
- package/dist/api/resources/unstable/resources/dataAttributes/types/DataAttribute.d.ts +63 -0
- package/dist/api/resources/unstable/resources/dataAttributes/types/DataAttribute.js +20 -0
- package/dist/api/resources/unstable/resources/dataAttributes/types/LisDataAttributesRequestModel.d.ts +9 -0
- package/dist/api/resources/unstable/resources/dataAttributes/types/LisDataAttributesRequestModel.js +11 -0
- package/dist/api/resources/unstable/resources/dataAttributes/types/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/dataAttributes/types/index.js +18 -0
- package/dist/api/resources/unstable/resources/dataEvents/client/Client.d.ts +136 -0
- package/dist/api/resources/unstable/resources/dataEvents/client/Client.js +325 -0
- package/dist/api/resources/unstable/resources/dataEvents/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/dataEvents/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/dataEvents/client/requests/CreateDataEventSummariesRequest.d.ts +28 -0
- package/dist/api/resources/unstable/resources/dataEvents/client/requests/CreateDataEventSummariesRequest.js +5 -0
- package/dist/api/resources/unstable/resources/dataEvents/client/requests/LisDataEventsRequest.d.ts +24 -0
- package/dist/api/resources/unstable/resources/dataEvents/client/requests/LisDataEventsRequest.js +5 -0
- package/dist/api/resources/unstable/resources/dataEvents/client/requests/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/dataEvents/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/dataEvents/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/dataEvents/index.js +18 -0
- package/dist/api/resources/unstable/resources/dataEvents/types/DataEvent.d.ts +24 -0
- package/dist/api/resources/unstable/resources/dataEvents/types/DataEvent.js +5 -0
- package/dist/api/resources/unstable/resources/dataEvents/types/LisDataEventsRequestFilter.d.ts +10 -0
- package/dist/api/resources/unstable/resources/dataEvents/types/LisDataEventsRequestFilter.js +5 -0
- package/dist/api/resources/unstable/resources/dataEvents/types/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/dataEvents/types/index.js +18 -0
- package/dist/api/resources/unstable/resources/dataExport/client/Client.d.ts +114 -0
- package/dist/api/resources/unstable/resources/dataExport/client/Client.js +321 -0
- package/dist/api/resources/unstable/resources/dataExport/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/dataExport/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/dataExport/client/requests/CancelDataExportRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/dataExport/client/requests/CancelDataExportRequest.js +5 -0
- package/dist/api/resources/unstable/resources/dataExport/client/requests/CreateDataExportsRequest.d.ts +16 -0
- package/dist/api/resources/unstable/resources/dataExport/client/requests/CreateDataExportsRequest.js +5 -0
- package/dist/api/resources/unstable/resources/dataExport/client/requests/DownloadDataExportRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/dataExport/client/requests/DownloadDataExportRequest.js +5 -0
- package/dist/api/resources/unstable/resources/dataExport/client/requests/GetDataExportRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/dataExport/client/requests/GetDataExportRequest.js +5 -0
- package/dist/api/resources/unstable/resources/dataExport/client/requests/index.d.ts +4 -0
- package/dist/api/resources/unstable/resources/dataExport/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/dataExport/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/dataExport/index.js +18 -0
- package/dist/api/resources/unstable/resources/dataExport/types/DataExport.d.ts +30 -0
- package/dist/api/resources/unstable/resources/dataExport/types/DataExport.js +17 -0
- package/dist/api/resources/unstable/resources/dataExport/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/dataExport/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/export/client/Client.d.ts +60 -0
- package/dist/api/resources/unstable/resources/export/client/Client.js +198 -0
- package/dist/api/resources/unstable/resources/export/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/export/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/export/client/requests/PostExportReportingDataEnqueueRequest.d.ts +18 -0
- package/dist/api/resources/unstable/resources/export/client/requests/PostExportReportingDataEnqueueRequest.js +5 -0
- package/dist/api/resources/unstable/resources/export/client/requests/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/export/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/export/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/export/index.js +18 -0
- package/dist/api/resources/unstable/resources/export/types/GetExportReportingDataGetDatasetsResponse.d.ts +28 -0
- package/dist/api/resources/unstable/resources/export/types/GetExportReportingDataGetDatasetsResponse.js +5 -0
- package/dist/api/resources/unstable/resources/export/types/PostExportReportingDataEnqueueResponse.d.ts +9 -0
- package/dist/api/resources/unstable/resources/export/types/PostExportReportingDataEnqueueResponse.js +5 -0
- package/dist/api/resources/unstable/resources/export/types/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/export/types/index.js +18 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/Client.d.ts +150 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/Client.js +542 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/CreateCollectionRequest.d.ts +27 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/CreateCollectionRequest.js +5 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/DeleteCollectionRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/DeleteCollectionRequest.js +5 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/RetrieveCollectionRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/RetrieveCollectionRequest.js +5 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/RetrieveHelpCenterRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/RetrieveHelpCenterRequest.js +5 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/UpdateCollectionRequest.d.ts +30 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/UpdateCollectionRequest.js +5 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/index.d.ts +5 -0
- package/dist/api/resources/unstable/resources/helpCenter/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/helpCenter/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/helpCenter/index.js +18 -0
- package/dist/api/resources/unstable/resources/helpCenter/types/Collection.d.ts +34 -0
- package/dist/api/resources/unstable/resources/helpCenter/types/Collection.js +5 -0
- package/dist/api/resources/unstable/resources/helpCenter/types/HelpCenter.d.ts +22 -0
- package/dist/api/resources/unstable/resources/helpCenter/types/HelpCenter.js +5 -0
- package/dist/api/resources/unstable/resources/helpCenter/types/HelpCenterList.d.ts +13 -0
- package/dist/api/resources/unstable/resources/helpCenter/types/HelpCenterList.js +5 -0
- package/dist/api/resources/unstable/resources/helpCenter/types/index.d.ts +3 -0
- package/dist/api/resources/unstable/resources/helpCenter/types/index.js +19 -0
- package/dist/api/resources/unstable/resources/index.d.ts +78 -0
- package/dist/api/resources/unstable/resources/index.js +117 -0
- package/dist/api/resources/unstable/resources/jobs/client/Client.d.ts +53 -0
- package/dist/api/resources/unstable/resources/jobs/client/Client.js +142 -0
- package/dist/api/resources/unstable/resources/jobs/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/jobs/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/jobs/client/requests/JobsStatusRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/jobs/client/requests/JobsStatusRequest.js +5 -0
- package/dist/api/resources/unstable/resources/jobs/client/requests/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/jobs/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/jobs/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/jobs/index.js +18 -0
- package/dist/api/resources/unstable/resources/jobs/types/Jobs.d.ts +33 -0
- package/dist/api/resources/unstable/resources/jobs/types/Jobs.js +14 -0
- package/dist/api/resources/unstable/resources/jobs/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/jobs/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/messages/client/Client.d.ts +212 -0
- package/dist/api/resources/unstable/resources/messages/client/Client.js +370 -0
- package/dist/api/resources/unstable/resources/messages/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/messages/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/messages/client/requests/GetWhatsAppMessageStatusRequest.d.ts +23 -0
- package/dist/api/resources/unstable/resources/messages/client/requests/GetWhatsAppMessageStatusRequest.js +5 -0
- package/dist/api/resources/unstable/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/messages/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/messages/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/messages/index.js +18 -0
- package/dist/api/resources/unstable/resources/messages/types/Message.d.ts +35 -0
- package/dist/api/resources/unstable/resources/messages/types/Message.js +16 -0
- package/dist/api/resources/unstable/resources/messages/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/messages/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/news/client/Client.d.ts +179 -0
- package/dist/api/resources/unstable/resources/news/client/Client.js +600 -0
- package/dist/api/resources/unstable/resources/news/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/news/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/news/client/requests/DeleteNewsItemRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/news/client/requests/DeleteNewsItemRequest.js +5 -0
- package/dist/api/resources/unstable/resources/news/client/requests/ListLiveNewsfeedItemsRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/news/client/requests/ListLiveNewsfeedItemsRequest.js +5 -0
- package/dist/api/resources/unstable/resources/news/client/requests/RetrieveNewsItemRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/news/client/requests/RetrieveNewsItemRequest.js +5 -0
- package/dist/api/resources/unstable/resources/news/client/requests/RetrieveNewsfeedRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/news/client/requests/RetrieveNewsfeedRequest.js +5 -0
- package/dist/api/resources/unstable/resources/news/client/requests/UpdateNewsItemRequest.d.ts +34 -0
- package/dist/api/resources/unstable/resources/news/client/requests/UpdateNewsItemRequest.js +5 -0
- package/dist/api/resources/unstable/resources/news/client/requests/index.d.ts +5 -0
- package/dist/api/resources/unstable/resources/news/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/news/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/news/index.js +18 -0
- package/dist/api/resources/unstable/resources/news/types/NewsItem.d.ts +45 -0
- package/dist/api/resources/unstable/resources/news/types/NewsItem.js +13 -0
- package/dist/api/resources/unstable/resources/news/types/Newsfeed.d.ts +18 -0
- package/dist/api/resources/unstable/resources/news/types/Newsfeed.js +5 -0
- package/dist/api/resources/unstable/resources/news/types/NewsfeedAssignment.d.ts +12 -0
- package/dist/api/resources/unstable/resources/news/types/NewsfeedAssignment.js +5 -0
- package/dist/api/resources/unstable/resources/news/types/index.d.ts +3 -0
- package/dist/api/resources/unstable/resources/news/types/index.js +19 -0
- package/dist/api/resources/unstable/resources/notes/client/Client.d.ts +102 -0
- package/dist/api/resources/unstable/resources/notes/client/Client.js +297 -0
- package/dist/api/resources/unstable/resources/notes/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/notes/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/notes/client/requests/CreateNoteRequest.d.ts +40 -0
- package/dist/api/resources/unstable/resources/notes/client/requests/CreateNoteRequest.js +5 -0
- package/dist/api/resources/unstable/resources/notes/client/requests/ListNotesRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/notes/client/requests/ListNotesRequest.js +5 -0
- package/dist/api/resources/unstable/resources/notes/client/requests/RetrieveNoteRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/notes/client/requests/RetrieveNoteRequest.js +5 -0
- package/dist/api/resources/unstable/resources/notes/client/requests/index.d.ts +3 -0
- package/dist/api/resources/unstable/resources/notes/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/notes/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/notes/index.js +18 -0
- package/dist/api/resources/unstable/resources/notes/types/Note.d.ts +32 -0
- package/dist/api/resources/unstable/resources/notes/types/Note.js +5 -0
- package/dist/api/resources/unstable/resources/notes/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/notes/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/segments/client/Client.d.ts +66 -0
- package/dist/api/resources/unstable/resources/segments/client/Client.js +207 -0
- package/dist/api/resources/unstable/resources/segments/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/segments/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/segments/client/requests/ListSegmentsRequest.d.ts +13 -0
- package/dist/api/resources/unstable/resources/segments/client/requests/ListSegmentsRequest.js +5 -0
- package/dist/api/resources/unstable/resources/segments/client/requests/RetrieveSegmentRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/segments/client/requests/RetrieveSegmentRequest.js +5 -0
- package/dist/api/resources/unstable/resources/segments/client/requests/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/segments/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/segments/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/segments/index.js +18 -0
- package/dist/api/resources/unstable/resources/segments/types/Segment.d.ts +32 -0
- package/dist/api/resources/unstable/resources/segments/types/Segment.js +13 -0
- package/dist/api/resources/unstable/resources/segments/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/segments/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/client/Client.d.ts +97 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/client/Client.js +296 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/client/requests/AttachSubscriptionTypeToContactRequest.d.ts +35 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/client/requests/AttachSubscriptionTypeToContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/client/requests/DetachSubscriptionTypeToContactRequest.d.ts +20 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/client/requests/DetachSubscriptionTypeToContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/client/requests/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/index.js +18 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/types/SubscriptionType.d.ts +49 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/types/SubscriptionType.js +25 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/subscriptionTypes/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/switch/client/Client.d.ts +57 -0
- package/dist/api/resources/unstable/resources/switch/client/Client.js +151 -0
- package/dist/api/resources/unstable/resources/switch/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/switch/client/index.js +2 -0
- package/dist/api/resources/unstable/resources/switch/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/switch/index.js +17 -0
- package/dist/api/resources/unstable/resources/tags/client/Client.d.ts +245 -0
- package/dist/api/resources/unstable/resources/tags/client/Client.js +792 -0
- package/dist/api/resources/unstable/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/tags/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/AttachTagToContactRequest.d.ts +30 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/AttachTagToContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/AttachTagToConversationRequest.d.ts +28 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/AttachTagToConversationRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/AttachTagToTicketRequest.d.ts +28 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/AttachTagToTicketRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/DeleteTagRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/DeleteTagRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/DetachTagFromContactRequest.d.ts +20 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/DetachTagFromContactRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/DetachTagFromConversationRequest.d.ts +37 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/DetachTagFromConversationRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/DetachTagFromTicketRequest.d.ts +37 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/DetachTagFromTicketRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/FindTagRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/FindTagRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/index.d.ts +8 -0
- package/dist/api/resources/unstable/resources/tags/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/tags/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/tags/index.js +18 -0
- package/dist/api/resources/unstable/resources/tags/types/CreateTagRequestBody.d.ts +5 -0
- package/dist/api/resources/unstable/resources/tags/types/CreateTagRequestBody.js +5 -0
- package/dist/api/resources/unstable/resources/tags/types/Tag.d.ts +18 -0
- package/dist/api/resources/unstable/resources/tags/types/Tag.js +5 -0
- package/dist/api/resources/unstable/resources/tags/types/TagBasic.d.ts +14 -0
- package/dist/api/resources/unstable/resources/tags/types/TagBasic.js +5 -0
- package/dist/api/resources/unstable/resources/tags/types/index.d.ts +3 -0
- package/dist/api/resources/unstable/resources/tags/types/index.js +19 -0
- package/dist/api/resources/unstable/resources/teams/client/Client.d.ts +65 -0
- package/dist/api/resources/unstable/resources/teams/client/Client.js +200 -0
- package/dist/api/resources/unstable/resources/teams/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/teams/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/teams/client/requests/RetrieveTeamRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/teams/client/requests/RetrieveTeamRequest.js +5 -0
- package/dist/api/resources/unstable/resources/teams/client/requests/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/teams/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/teams/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/teams/index.js +18 -0
- package/dist/api/resources/unstable/resources/teams/types/Team.d.ts +18 -0
- package/dist/api/resources/unstable/resources/teams/types/Team.js +5 -0
- package/dist/api/resources/unstable/resources/teams/types/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/teams/types/index.js +17 -0
- package/dist/api/resources/unstable/resources/ticketStates/client/Client.d.ts +49 -0
- package/dist/api/resources/unstable/resources/ticketStates/client/Client.js +135 -0
- package/dist/api/resources/unstable/resources/ticketStates/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/ticketStates/client/index.js +2 -0
- package/dist/api/resources/unstable/resources/ticketStates/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/ticketStates/index.js +17 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/client/Client.d.ts +73 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/client/Client.js +226 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.d.ts +54 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.js +18 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.d.ts +41 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.js +5 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/ticketTypeAttributes/index.js +17 -0
- package/dist/api/resources/unstable/resources/ticketTypes/client/Client.d.ts +83 -0
- package/dist/api/resources/unstable/resources/ticketTypes/client/Client.js +269 -0
- package/dist/api/resources/unstable/resources/ticketTypes/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/ticketTypes/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/ticketTypes/client/requests/GetTicketTypeRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/ticketTypes/client/requests/GetTicketTypeRequest.js +5 -0
- package/dist/api/resources/unstable/resources/ticketTypes/client/requests/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/ticketTypes/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/ticketTypes/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/ticketTypes/index.js +17 -0
- package/dist/api/resources/unstable/resources/tickets/client/Client.d.ts +277 -0
- package/dist/api/resources/unstable/resources/tickets/client/Client.js +622 -0
- package/dist/api/resources/unstable/resources/tickets/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/tickets/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/DeleteTicketRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/DeleteTicketRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/EnqueueCreateTicketRequest.d.ts +17 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/EnqueueCreateTicketRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/GetTicketRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/GetTicketRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/ReplyTicketRequest.d.ts +59 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/ReplyTicketRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/UpdateTicketRequest.d.ts +70 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/UpdateTicketRequest.js +5 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/index.d.ts +5 -0
- package/dist/api/resources/unstable/resources/tickets/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/tickets/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/tickets/index.js +18 -0
- package/dist/api/resources/unstable/resources/tickets/types/DeleteTicketResponse.d.ts +14 -0
- package/dist/api/resources/unstable/resources/tickets/types/DeleteTicketResponse.js +5 -0
- package/dist/api/resources/unstable/resources/tickets/types/ReplyTicketRequestBody.d.ts +5 -0
- package/dist/api/resources/unstable/resources/tickets/types/ReplyTicketRequestBody.js +5 -0
- package/dist/api/resources/unstable/resources/tickets/types/Ticket.d.ts +48 -0
- package/dist/api/resources/unstable/resources/tickets/types/Ticket.js +14 -0
- package/dist/api/resources/unstable/resources/tickets/types/TicketContacts.d.ts +13 -0
- package/dist/api/resources/unstable/resources/tickets/types/TicketContacts.js +5 -0
- package/dist/api/resources/unstable/resources/tickets/types/TicketPart.d.ts +107 -0
- package/dist/api/resources/unstable/resources/tickets/types/TicketPart.js +21 -0
- package/dist/api/resources/unstable/resources/tickets/types/TicketState.d.ts +30 -0
- package/dist/api/resources/unstable/resources/tickets/types/TicketState.js +15 -0
- package/dist/api/resources/unstable/resources/tickets/types/TicketStateDetailed.d.ts +44 -0
- package/dist/api/resources/unstable/resources/tickets/types/TicketStateDetailed.js +15 -0
- package/dist/api/resources/unstable/resources/tickets/types/TicketType.d.ts +52 -0
- package/dist/api/resources/unstable/resources/tickets/types/TicketType.js +14 -0
- package/dist/api/resources/unstable/resources/tickets/types/index.d.ts +8 -0
- package/dist/api/resources/unstable/resources/tickets/types/index.js +24 -0
- package/dist/api/resources/unstable/resources/visitors/client/Client.d.ts +105 -0
- package/dist/api/resources/unstable/resources/visitors/client/Client.js +299 -0
- package/dist/api/resources/unstable/resources/visitors/client/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/visitors/client/index.js +17 -0
- package/dist/api/resources/unstable/resources/visitors/client/requests/ConvertVisitorRequest.d.ts +21 -0
- package/dist/api/resources/unstable/resources/visitors/client/requests/ConvertVisitorRequest.js +5 -0
- package/dist/api/resources/unstable/resources/visitors/client/requests/RetrieveVisitorWithUserIdRequest.d.ts +15 -0
- package/dist/api/resources/unstable/resources/visitors/client/requests/RetrieveVisitorWithUserIdRequest.js +5 -0
- package/dist/api/resources/unstable/resources/visitors/client/requests/index.d.ts +2 -0
- package/dist/api/resources/unstable/resources/visitors/client/requests/index.js +2 -0
- package/dist/api/resources/unstable/resources/visitors/index.d.ts +1 -0
- package/dist/api/resources/unstable/resources/visitors/index.js +17 -0
- package/dist/api/resources/unstable/types/ActivityLog.d.ts +104 -0
- package/dist/api/resources/unstable/types/ActivityLog.js +78 -0
- package/dist/api/resources/unstable/types/ActivityLogList.d.ts +14 -0
- package/dist/api/resources/unstable/types/ActivityLogList.js +5 -0
- package/dist/api/resources/unstable/types/ActivityLogMetadata.d.ts +26 -0
- package/dist/api/resources/unstable/types/ActivityLogMetadata.js +5 -0
- package/dist/api/resources/unstable/types/AddressableList.d.ts +14 -0
- package/dist/api/resources/unstable/types/AddressableList.js +5 -0
- package/dist/api/resources/unstable/types/AdminList.d.ts +13 -0
- package/dist/api/resources/unstable/types/AdminList.js +5 -0
- package/dist/api/resources/unstable/types/AdminPriorityLevel.d.ts +12 -0
- package/dist/api/resources/unstable/types/AdminPriorityLevel.js +5 -0
- package/dist/api/resources/unstable/types/AdminReplyConversationRequest.d.ts +31 -0
- package/dist/api/resources/unstable/types/AdminReplyConversationRequest.js +14 -0
- package/dist/api/resources/unstable/types/AdminReplyTicketRequest.d.ts +37 -0
- package/dist/api/resources/unstable/types/AdminReplyTicketRequest.js +14 -0
- package/dist/api/resources/unstable/types/AdminWithApp.d.ts +44 -0
- package/dist/api/resources/unstable/types/AdminWithApp.js +5 -0
- package/dist/api/resources/unstable/types/App.d.ts +22 -0
- package/dist/api/resources/unstable/types/App.js +5 -0
- package/dist/api/resources/unstable/types/ArticleContent.d.ts +36 -0
- package/dist/api/resources/unstable/types/ArticleContent.js +13 -0
- package/dist/api/resources/unstable/types/ArticleList.d.ts +16 -0
- package/dist/api/resources/unstable/types/ArticleList.js +5 -0
- package/dist/api/resources/unstable/types/ArticleStatistics.d.ts +22 -0
- package/dist/api/resources/unstable/types/ArticleStatistics.js +5 -0
- package/dist/api/resources/unstable/types/ArticleTranslatedContent.d.ts +85 -0
- package/dist/api/resources/unstable/types/ArticleTranslatedContent.js +5 -0
- package/dist/api/resources/unstable/types/AssignConversationRequest.d.ts +22 -0
- package/dist/api/resources/unstable/types/AssignConversationRequest.js +13 -0
- package/dist/api/resources/unstable/types/AwayStatusReason.d.ts +20 -0
- package/dist/api/resources/unstable/types/AwayStatusReason.js +5 -0
- package/dist/api/resources/unstable/types/CloseConversationRequest.d.ts +13 -0
- package/dist/api/resources/unstable/types/CloseConversationRequest.js +5 -0
- package/dist/api/resources/unstable/types/CollectionList.d.ts +16 -0
- package/dist/api/resources/unstable/types/CollectionList.js +5 -0
- package/dist/api/resources/unstable/types/CompanyAttachedContacts.d.ts +16 -0
- package/dist/api/resources/unstable/types/CompanyAttachedContacts.js +5 -0
- package/dist/api/resources/unstable/types/CompanyAttachedSegments.d.ts +13 -0
- package/dist/api/resources/unstable/types/CompanyAttachedSegments.js +5 -0
- package/dist/api/resources/unstable/types/CompanyData.d.ts +14 -0
- package/dist/api/resources/unstable/types/CompanyData.js +5 -0
- package/dist/api/resources/unstable/types/CompanyList.d.ts +16 -0
- package/dist/api/resources/unstable/types/CompanyList.js +5 -0
- package/dist/api/resources/unstable/types/CompanyScroll.d.ts +17 -0
- package/dist/api/resources/unstable/types/CompanyScroll.js +5 -0
- package/dist/api/resources/unstable/types/ContactArchived.d.ts +11 -0
- package/dist/api/resources/unstable/types/ContactArchived.js +5 -0
- package/dist/api/resources/unstable/types/ContactAttachedCompanies.d.ts +16 -0
- package/dist/api/resources/unstable/types/ContactAttachedCompanies.js +5 -0
- package/dist/api/resources/unstable/types/ContactBlocked.d.ts +11 -0
- package/dist/api/resources/unstable/types/ContactBlocked.js +5 -0
- package/dist/api/resources/unstable/types/ContactCompanies.d.ts +17 -0
- package/dist/api/resources/unstable/types/ContactCompanies.js +5 -0
- package/dist/api/resources/unstable/types/ContactDeleted.d.ts +11 -0
- package/dist/api/resources/unstable/types/ContactDeleted.js +5 -0
- package/dist/api/resources/unstable/types/ContactList.d.ts +16 -0
- package/dist/api/resources/unstable/types/ContactList.js +5 -0
- package/dist/api/resources/unstable/types/ContactLocation.d.ts +16 -0
- package/dist/api/resources/unstable/types/ContactLocation.js +5 -0
- package/dist/api/resources/unstable/types/ContactNotes.d.ts +17 -0
- package/dist/api/resources/unstable/types/ContactNotes.js +5 -0
- package/dist/api/resources/unstable/types/ContactReference.d.ts +14 -0
- package/dist/api/resources/unstable/types/ContactReference.js +5 -0
- package/dist/api/resources/unstable/types/ContactReplyBaseRequest.d.ts +26 -0
- package/dist/api/resources/unstable/types/ContactReplyBaseRequest.js +5 -0
- package/dist/api/resources/unstable/types/ContactReplyConversationRequest.d.ts +5 -0
- package/dist/api/resources/unstable/types/ContactReplyConversationRequest.js +5 -0
- package/dist/api/resources/unstable/types/ContactReplyEmailRequest.d.ts +13 -0
- package/dist/api/resources/unstable/types/ContactReplyEmailRequest.js +5 -0
- package/dist/api/resources/unstable/types/ContactReplyIntercomUserIdRequest.d.ts +13 -0
- package/dist/api/resources/unstable/types/ContactReplyIntercomUserIdRequest.js +5 -0
- package/dist/api/resources/unstable/types/ContactReplyTicketEmailRequest.d.ts +11 -0
- package/dist/api/resources/unstable/types/ContactReplyTicketEmailRequest.js +5 -0
- package/dist/api/resources/unstable/types/ContactReplyTicketIntercomUserIdRequest.d.ts +11 -0
- package/dist/api/resources/unstable/types/ContactReplyTicketIntercomUserIdRequest.js +5 -0
- package/dist/api/resources/unstable/types/ContactReplyTicketRequest.d.ts +5 -0
- package/dist/api/resources/unstable/types/ContactReplyTicketRequest.js +5 -0
- package/dist/api/resources/unstable/types/ContactReplyTicketUserIdRequest.d.ts +11 -0
- package/dist/api/resources/unstable/types/ContactReplyTicketUserIdRequest.js +5 -0
- package/dist/api/resources/unstable/types/ContactReplyUserIdRequest.d.ts +13 -0
- package/dist/api/resources/unstable/types/ContactReplyUserIdRequest.js +5 -0
- package/dist/api/resources/unstable/types/ContactSegments.d.ts +13 -0
- package/dist/api/resources/unstable/types/ContactSegments.js +5 -0
- package/dist/api/resources/unstable/types/ContactSocialProfiles.d.ts +11 -0
- package/dist/api/resources/unstable/types/ContactSocialProfiles.js +5 -0
- package/dist/api/resources/unstable/types/ContactSubscriptionTypes.d.ts +17 -0
- package/dist/api/resources/unstable/types/ContactSubscriptionTypes.js +5 -0
- package/dist/api/resources/unstable/types/ContactTags.d.ts +17 -0
- package/dist/api/resources/unstable/types/ContactTags.js +5 -0
- package/dist/api/resources/unstable/types/ContactUnarchived.d.ts +11 -0
- package/dist/api/resources/unstable/types/ContactUnarchived.js +5 -0
- package/dist/api/resources/unstable/types/ContentSourcesList.d.ts +11 -0
- package/dist/api/resources/unstable/types/ContentSourcesList.js +5 -0
- package/dist/api/resources/unstable/types/ConversationAttachmentFiles.d.ts +14 -0
- package/dist/api/resources/unstable/types/ConversationAttachmentFiles.js +5 -0
- package/dist/api/resources/unstable/types/ConversationAttributeUpdatedByAdmin.d.ts +20 -0
- package/dist/api/resources/unstable/types/ConversationAttributeUpdatedByAdmin.js +5 -0
- package/dist/api/resources/unstable/types/ConversationAttributeUpdatedByWorkflow.d.ts +25 -0
- package/dist/api/resources/unstable/types/ConversationAttributeUpdatedByWorkflow.js +5 -0
- package/dist/api/resources/unstable/types/ConversationContacts.d.ts +13 -0
- package/dist/api/resources/unstable/types/ConversationContacts.js +5 -0
- package/dist/api/resources/unstable/types/ConversationDeleted.d.ts +14 -0
- package/dist/api/resources/unstable/types/ConversationDeleted.js +5 -0
- package/dist/api/resources/unstable/types/ConversationFirstContactReply.d.ts +14 -0
- package/dist/api/resources/unstable/types/ConversationFirstContactReply.js +5 -0
- package/dist/api/resources/unstable/types/ConversationList.d.ts +16 -0
- package/dist/api/resources/unstable/types/ConversationList.js +5 -0
- package/dist/api/resources/unstable/types/ConversationPart.d.ts +52 -0
- package/dist/api/resources/unstable/types/ConversationPart.js +14 -0
- package/dist/api/resources/unstable/types/ConversationPartAuthor.d.ts +20 -0
- package/dist/api/resources/unstable/types/ConversationPartAuthor.js +5 -0
- package/dist/api/resources/unstable/types/ConversationPartMetadata.d.ts +22 -0
- package/dist/api/resources/unstable/types/ConversationPartMetadata.js +5 -0
- package/dist/api/resources/unstable/types/ConversationParts.d.ts +15 -0
- package/dist/api/resources/unstable/types/ConversationParts.js +5 -0
- package/dist/api/resources/unstable/types/ConversationRating.d.ts +17 -0
- package/dist/api/resources/unstable/types/ConversationRating.js +5 -0
- package/dist/api/resources/unstable/types/ConversationResponseTime.d.ts +14 -0
- package/dist/api/resources/unstable/types/ConversationResponseTime.js +5 -0
- package/dist/api/resources/unstable/types/ConversationSource.d.ts +44 -0
- package/dist/api/resources/unstable/types/ConversationSource.js +21 -0
- package/dist/api/resources/unstable/types/ConversationStatistics.d.ts +53 -0
- package/dist/api/resources/unstable/types/ConversationStatistics.js +5 -0
- package/dist/api/resources/unstable/types/ConversationTeammates.d.ts +13 -0
- package/dist/api/resources/unstable/types/ConversationTeammates.js +5 -0
- package/dist/api/resources/unstable/types/CreateOrUpdateTagRequest.d.ts +12 -0
- package/dist/api/resources/unstable/types/CreateOrUpdateTagRequest.js +5 -0
- package/dist/api/resources/unstable/types/CreateTicketReplyWithCommentRequest.d.ts +5 -0
- package/dist/api/resources/unstable/types/CreateTicketReplyWithCommentRequest.js +5 -0
- package/dist/api/resources/unstable/types/CreateTicketRequestBody.d.ts +43 -0
- package/dist/api/resources/unstable/types/CreateTicketRequestBody.js +5 -0
- package/dist/api/resources/unstable/types/CursorPages.d.ts +19 -0
- package/dist/api/resources/unstable/types/CursorPages.js +5 -0
- package/dist/api/resources/unstable/types/CustomActionFinished.d.ts +27 -0
- package/dist/api/resources/unstable/types/CustomActionFinished.js +16 -0
- package/dist/api/resources/unstable/types/CustomActionStarted.d.ts +15 -0
- package/dist/api/resources/unstable/types/CustomActionStarted.js +5 -0
- package/dist/api/resources/unstable/types/CustomAttributes.d.ts +11 -0
- package/dist/api/resources/unstable/types/CustomAttributes.js +5 -0
- package/dist/api/resources/unstable/types/CustomChannelAttribute.d.ts +9 -0
- package/dist/api/resources/unstable/types/CustomChannelAttribute.js +5 -0
- package/dist/api/resources/unstable/types/CustomChannelBaseEvent.d.ts +11 -0
- package/dist/api/resources/unstable/types/CustomChannelBaseEvent.js +5 -0
- package/dist/api/resources/unstable/types/CustomChannelContact.d.ts +23 -0
- package/dist/api/resources/unstable/types/CustomChannelContact.js +13 -0
- package/dist/api/resources/unstable/types/CustomChannelNotificationResponse.d.ts +13 -0
- package/dist/api/resources/unstable/types/CustomChannelNotificationResponse.js +5 -0
- package/dist/api/resources/unstable/types/CustomObjectInstanceDeleted.d.ts +14 -0
- package/dist/api/resources/unstable/types/CustomObjectInstanceDeleted.js +5 -0
- package/dist/api/resources/unstable/types/CustomObjectInstanceList.d.ts +12 -0
- package/dist/api/resources/unstable/types/CustomObjectInstanceList.js +5 -0
- package/dist/api/resources/unstable/types/CustomerRequest.d.ts +10 -0
- package/dist/api/resources/unstable/types/CustomerRequest.js +5 -0
- package/dist/api/resources/unstable/types/DataAttributeList.d.ts +13 -0
- package/dist/api/resources/unstable/types/DataAttributeList.js +5 -0
- package/dist/api/resources/unstable/types/DataEventList.d.ts +24 -0
- package/dist/api/resources/unstable/types/DataEventList.js +5 -0
- package/dist/api/resources/unstable/types/DataEventSummary.d.ts +19 -0
- package/dist/api/resources/unstable/types/DataEventSummary.js +5 -0
- package/dist/api/resources/unstable/types/DataEventSummaryItem.d.ts +18 -0
- package/dist/api/resources/unstable/types/DataEventSummaryItem.js +5 -0
- package/dist/api/resources/unstable/types/DataExportCsv.d.ts +60 -0
- package/dist/api/resources/unstable/types/DataExportCsv.js +5 -0
- package/dist/api/resources/unstable/types/Datetime.d.ts +10 -0
- package/dist/api/resources/unstable/types/Datetime.js +5 -0
- package/dist/api/resources/unstable/types/DeletedArticleObject.d.ts +14 -0
- package/dist/api/resources/unstable/types/DeletedArticleObject.js +5 -0
- package/dist/api/resources/unstable/types/DeletedCollectionObject.d.ts +14 -0
- package/dist/api/resources/unstable/types/DeletedCollectionObject.js +5 -0
- package/dist/api/resources/unstable/types/DeletedCompanyObject.d.ts +14 -0
- package/dist/api/resources/unstable/types/DeletedCompanyObject.js +5 -0
- package/dist/api/resources/unstable/types/DeletedObject.d.ts +14 -0
- package/dist/api/resources/unstable/types/DeletedObject.js +5 -0
- package/dist/api/resources/unstable/types/EmailAddressHeader.d.ts +14 -0
- package/dist/api/resources/unstable/types/EmailAddressHeader.js +5 -0
- package/dist/api/resources/unstable/types/EmailMessageMetadata.d.ts +13 -0
- package/dist/api/resources/unstable/types/EmailMessageMetadata.js +5 -0
- package/dist/api/resources/unstable/types/Error_.d.ts +27 -0
- package/dist/api/resources/unstable/types/Error_.js +5 -0
- package/dist/api/resources/unstable/types/EventDetails.d.ts +5 -0
- package/dist/api/resources/unstable/types/EventDetails.js +5 -0
- package/dist/api/resources/unstable/types/FileAttribute.d.ts +21 -0
- package/dist/api/resources/unstable/types/FileAttribute.js +5 -0
- package/dist/api/resources/unstable/types/GroupContent.d.ts +14 -0
- package/dist/api/resources/unstable/types/GroupContent.js +5 -0
- package/dist/api/resources/unstable/types/GroupTranslatedContent.d.ts +85 -0
- package/dist/api/resources/unstable/types/GroupTranslatedContent.js +5 -0
- package/dist/api/resources/unstable/types/IntercomVersion.d.ts +27 -0
- package/dist/api/resources/unstable/types/IntercomVersion.js +26 -0
- package/dist/api/resources/unstable/types/IntercomVersionUnstable.d.ts +7 -0
- package/dist/api/resources/unstable/types/IntercomVersionUnstable.js +5 -0
- package/dist/api/resources/unstable/types/LinkedObject.d.ts +24 -0
- package/dist/api/resources/unstable/types/LinkedObject.js +13 -0
- package/dist/api/resources/unstable/types/LinkedObjectList.d.ts +17 -0
- package/dist/api/resources/unstable/types/LinkedObjectList.js +5 -0
- package/dist/api/resources/unstable/types/MultipleFilterSearchRequest.d.ts +29 -0
- package/dist/api/resources/unstable/types/MultipleFilterSearchRequest.js +13 -0
- package/dist/api/resources/unstable/types/NewsItemRequest.d.ts +35 -0
- package/dist/api/resources/unstable/types/NewsItemRequest.js +13 -0
- package/dist/api/resources/unstable/types/NotFoundErrorBody.d.ts +22 -0
- package/dist/api/resources/unstable/types/NotFoundErrorBody.js +5 -0
- package/dist/api/resources/unstable/types/NoteList.d.ts +16 -0
- package/dist/api/resources/unstable/types/NoteList.js +5 -0
- package/dist/api/resources/unstable/types/OpenConversationRequest.d.ts +10 -0
- package/dist/api/resources/unstable/types/OpenConversationRequest.js +5 -0
- package/dist/api/resources/unstable/types/OperatorWorkflowEvent.d.ts +22 -0
- package/dist/api/resources/unstable/types/OperatorWorkflowEvent.js +5 -0
- package/dist/api/resources/unstable/types/PagesLink.d.ts +16 -0
- package/dist/api/resources/unstable/types/PagesLink.js +5 -0
- package/dist/api/resources/unstable/types/PaginatedResponse.d.ts +26 -0
- package/dist/api/resources/unstable/types/PaginatedResponse.js +13 -0
- package/dist/api/resources/unstable/types/PaginatedResponseDataItem.d.ts +13 -0
- package/dist/api/resources/unstable/types/PaginatedResponseDataItem.js +5 -0
- package/dist/api/resources/unstable/types/PartAttachment.d.ts +22 -0
- package/dist/api/resources/unstable/types/PartAttachment.js +5 -0
- package/dist/api/resources/unstable/types/PhoneSwitch.d.ts +12 -0
- package/dist/api/resources/unstable/types/PhoneSwitch.js +5 -0
- package/dist/api/resources/unstable/types/QuickReplyOption.d.ts +9 -0
- package/dist/api/resources/unstable/types/QuickReplyOption.js +5 -0
- package/dist/api/resources/unstable/types/Recipient.d.ts +22 -0
- package/dist/api/resources/unstable/types/Recipient.js +13 -0
- package/dist/api/resources/unstable/types/RedactConversationRequest.d.ts +27 -0
- package/dist/api/resources/unstable/types/RedactConversationRequest.js +5 -0
- package/dist/api/resources/unstable/types/Reference.d.ts +12 -0
- package/dist/api/resources/unstable/types/Reference.js +5 -0
- package/dist/api/resources/unstable/types/ReplyConversationRequestBody.d.ts +5 -0
- package/dist/api/resources/unstable/types/ReplyConversationRequestBody.js +5 -0
- package/dist/api/resources/unstable/types/SearchRequest.d.ts +14 -0
- package/dist/api/resources/unstable/types/SearchRequest.js +5 -0
- package/dist/api/resources/unstable/types/SegmentList.d.ts +15 -0
- package/dist/api/resources/unstable/types/SegmentList.js +5 -0
- package/dist/api/resources/unstable/types/SingleFilterSearchRequest.d.ts +32 -0
- package/dist/api/resources/unstable/types/SingleFilterSearchRequest.js +17 -0
- package/dist/api/resources/unstable/types/SlaApplied.d.ts +35 -0
- package/dist/api/resources/unstable/types/SlaApplied.js +15 -0
- package/dist/api/resources/unstable/types/SnoozeConversationRequest.d.ts +12 -0
- package/dist/api/resources/unstable/types/SnoozeConversationRequest.js +5 -0
- package/dist/api/resources/unstable/types/SocialProfile.d.ts +14 -0
- package/dist/api/resources/unstable/types/SocialProfile.js +5 -0
- package/dist/api/resources/unstable/types/StartingAfterPaging.d.ts +9 -0
- package/dist/api/resources/unstable/types/StartingAfterPaging.js +5 -0
- package/dist/api/resources/unstable/types/SubscriptionTypeList.d.ts +13 -0
- package/dist/api/resources/unstable/types/SubscriptionTypeList.js +5 -0
- package/dist/api/resources/unstable/types/TagCompanyRequest.d.ts +23 -0
- package/dist/api/resources/unstable/types/TagCompanyRequest.js +5 -0
- package/dist/api/resources/unstable/types/TagList.d.ts +13 -0
- package/dist/api/resources/unstable/types/TagList.js +5 -0
- package/dist/api/resources/unstable/types/TagMultipleUsersRequest.d.ts +20 -0
- package/dist/api/resources/unstable/types/TagMultipleUsersRequest.js +5 -0
- package/dist/api/resources/unstable/types/Tags.d.ts +13 -0
- package/dist/api/resources/unstable/types/Tags.js +5 -0
- package/dist/api/resources/unstable/types/TeamList.d.ts +13 -0
- package/dist/api/resources/unstable/types/TeamList.js +5 -0
- package/dist/api/resources/unstable/types/TeamPriorityLevel.d.ts +12 -0
- package/dist/api/resources/unstable/types/TeamPriorityLevel.js +5 -0
- package/dist/api/resources/unstable/types/TicketCustomAttributes.d.ts +11 -0
- package/dist/api/resources/unstable/types/TicketCustomAttributes.js +5 -0
- package/dist/api/resources/unstable/types/TicketList.d.ts +16 -0
- package/dist/api/resources/unstable/types/TicketList.js +5 -0
- package/dist/api/resources/unstable/types/TicketPartAuthor.d.ts +28 -0
- package/dist/api/resources/unstable/types/TicketPartAuthor.js +15 -0
- package/dist/api/resources/unstable/types/TicketParts.d.ts +15 -0
- package/dist/api/resources/unstable/types/TicketParts.js +5 -0
- package/dist/api/resources/unstable/types/TicketReply.d.ts +37 -0
- package/dist/api/resources/unstable/types/TicketReply.js +14 -0
- package/dist/api/resources/unstable/types/TicketRequestCustomAttributes.d.ts +10 -0
- package/dist/api/resources/unstable/types/TicketRequestCustomAttributes.js +5 -0
- package/dist/api/resources/unstable/types/TicketStateList.d.ts +13 -0
- package/dist/api/resources/unstable/types/TicketStateList.js +5 -0
- package/dist/api/resources/unstable/types/TicketTypeAttribute.d.ts +42 -0
- package/dist/api/resources/unstable/types/TicketTypeAttribute.js +5 -0
- package/dist/api/resources/unstable/types/TicketTypeAttributeList.d.ts +13 -0
- package/dist/api/resources/unstable/types/TicketTypeAttributeList.js +5 -0
- package/dist/api/resources/unstable/types/TicketTypeList.d.ts +13 -0
- package/dist/api/resources/unstable/types/TicketTypeList.js +5 -0
- package/dist/api/resources/unstable/types/Translation.d.ts +14 -0
- package/dist/api/resources/unstable/types/Translation.js +5 -0
- package/dist/api/resources/unstable/types/UntagCompanyRequest.d.ts +25 -0
- package/dist/api/resources/unstable/types/UntagCompanyRequest.js +5 -0
- package/dist/api/resources/unstable/types/UpdateArticleRequestBody.d.ts +34 -0
- package/dist/api/resources/unstable/types/UpdateArticleRequestBody.js +13 -0
- package/dist/api/resources/unstable/types/UpdateTicketTypeRequestBody.d.ts +32 -0
- package/dist/api/resources/unstable/types/UpdateTicketTypeRequestBody.js +14 -0
- package/dist/api/resources/unstable/types/Visitor.d.ts +128 -0
- package/dist/api/resources/unstable/types/Visitor.js +5 -0
- package/dist/api/resources/unstable/types/VisitorDeletedObject.d.ts +14 -0
- package/dist/api/resources/unstable/types/VisitorDeletedObject.js +5 -0
- package/dist/api/resources/unstable/types/WhatsappMessageStatusList.d.ts +65 -0
- package/dist/api/resources/unstable/types/WhatsappMessageStatusList.js +21 -0
- package/dist/api/resources/unstable/types/index.d.ts +145 -0
- package/dist/api/resources/unstable/types/index.js +161 -0
- package/dist/api/resources/visitors/client/Client.d.ts +6 -3
- package/dist/api/resources/visitors/client/Client.js +29 -11
- package/dist/api/types/CompanyList.d.ts +0 -2
- package/dist/api/types/CreateContactRequestTwo.d.ts +4 -0
- package/dist/api/types/CreateContactRequestTwo.js +5 -0
- package/dist/api/types/CreateDataEventRequestTwo.d.ts +4 -0
- package/dist/api/types/CreateDataEventRequestTwo.js +5 -0
- package/dist/api/types/CreateMessageRequestTwo.d.ts +4 -0
- package/dist/api/types/CreateMessageRequestTwo.js +5 -0
- package/dist/api/{resources/tickets/client/requests → types}/CreateTicketRequest.d.ts +2 -12
- package/dist/api/types/CreateTicketRequest.js +5 -0
- package/dist/api/types/Metadata.d.ts +5 -0
- package/dist/api/types/Metadata.js +5 -0
- package/dist/api/types/TicketCustomAttributes.d.ts +1 -5
- package/dist/api/types/TicketRequestCustomAttributes.d.ts +1 -4
- package/dist/api/types/UpdateVisitorRequestOne.d.ts +4 -0
- package/dist/api/types/UpdateVisitorRequestOne.js +5 -0
- package/dist/api/types/index.d.ts +6 -0
- package/dist/api/types/index.js +6 -0
- package/dist/core/fetcher/APIResponse.d.ts +10 -0
- package/dist/core/fetcher/Fetcher.js +7 -0
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +84 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +44 -0
- package/dist/core/fetcher/index.d.ts +3 -0
- package/dist/core/fetcher/index.js +7 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/pagination/Page.d.ts +5 -2
- package/dist/core/pagination/Page.js +5 -2
- package/dist/core/pagination/Pageable.d.ts +2 -0
- package/dist/errors/IntercomError.d.ts +4 -1
- package/dist/errors/IntercomError.js +4 -7
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/errors/IntercomError.d.ts +4 -1
- package/errors/IntercomError.js +4 -7
- package/package.json +2 -1
- package/reference.md +9263 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/{tickets/client/requests/CreateTicketRequest.js → companies/types/CompaniesRetrieveResponse.js} +0 -0
- /package/{dist/api/resources/tickets/client/requests/CreateTicketRequest.js → api/resources/unstable/resources/admins/client/requests/ListActivityLogsRequest.js} +0 -0
|
@@ -88,7 +88,7 @@ class Contacts {
|
|
|
88
88
|
*/
|
|
89
89
|
listAttachedCompanies(request, requestOptions) {
|
|
90
90
|
return __awaiter(this, void 0, void 0, function* () {
|
|
91
|
-
const list = (request) => __awaiter(this, void 0, void 0, function* () {
|
|
91
|
+
const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
|
|
92
92
|
var _a, _b, _c, _d, _e, _f;
|
|
93
93
|
const { contact_id: contactId, page, per_page: perPage } = request;
|
|
94
94
|
const _queryParams = {};
|
|
@@ -101,7 +101,7 @@ class Contacts {
|
|
|
101
101
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
102
102
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/companies`),
|
|
103
103
|
method: "GET",
|
|
104
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
104
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
107
107
|
requestType: "json",
|
|
@@ -110,18 +110,22 @@ class Contacts {
|
|
|
110
110
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
111
111
|
});
|
|
112
112
|
if (_response.ok) {
|
|
113
|
-
return
|
|
113
|
+
return {
|
|
114
|
+
data: _response.body,
|
|
115
|
+
rawResponse: _response.rawResponse,
|
|
116
|
+
};
|
|
114
117
|
}
|
|
115
118
|
if (_response.error.reason === "status-code") {
|
|
116
119
|
switch (_response.error.statusCode) {
|
|
117
120
|
case 401:
|
|
118
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
121
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
119
122
|
case 404:
|
|
120
|
-
throw new Intercom.NotFoundError(_response.error.body);
|
|
123
|
+
throw new Intercom.NotFoundError(_response.error.body, _response.rawResponse);
|
|
121
124
|
default:
|
|
122
125
|
throw new errors.IntercomError({
|
|
123
126
|
statusCode: _response.error.statusCode,
|
|
124
127
|
body: _response.error.body,
|
|
128
|
+
rawResponse: _response.rawResponse,
|
|
125
129
|
});
|
|
126
130
|
}
|
|
127
131
|
}
|
|
@@ -130,18 +134,22 @@ class Contacts {
|
|
|
130
134
|
throw new errors.IntercomError({
|
|
131
135
|
statusCode: _response.error.statusCode,
|
|
132
136
|
body: _response.error.rawBody,
|
|
137
|
+
rawResponse: _response.rawResponse,
|
|
133
138
|
});
|
|
134
139
|
case "timeout":
|
|
135
140
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling GET /contacts/{contact_id}/companies.");
|
|
136
141
|
case "unknown":
|
|
137
142
|
throw new errors.IntercomError({
|
|
138
143
|
message: _response.error.errorMessage,
|
|
144
|
+
rawResponse: _response.rawResponse,
|
|
139
145
|
});
|
|
140
146
|
}
|
|
141
|
-
});
|
|
147
|
+
}));
|
|
142
148
|
let _offset = (request === null || request === void 0 ? void 0 : request.page) != null ? request === null || request === void 0 ? void 0 : request.page : 1;
|
|
149
|
+
const dataWithRawResponse = yield list(request).withRawResponse();
|
|
143
150
|
return new core.Pageable({
|
|
144
|
-
response:
|
|
151
|
+
response: dataWithRawResponse.data,
|
|
152
|
+
rawResponse: dataWithRawResponse.rawResponse,
|
|
145
153
|
hasNextPage: (response) => { var _a; return ((_a = response === null || response === void 0 ? void 0 : response.companies) !== null && _a !== void 0 ? _a : []).length > 0; },
|
|
146
154
|
getItems: (response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.companies) !== null && _a !== void 0 ? _a : []; },
|
|
147
155
|
loadPage: (_response) => {
|
|
@@ -166,13 +174,16 @@ class Contacts {
|
|
|
166
174
|
* })
|
|
167
175
|
*/
|
|
168
176
|
listAttachedSegments(request, requestOptions) {
|
|
177
|
+
return core.HttpResponsePromise.fromPromise(this.__listAttachedSegments(request, requestOptions));
|
|
178
|
+
}
|
|
179
|
+
__listAttachedSegments(request, requestOptions) {
|
|
169
180
|
return __awaiter(this, void 0, void 0, function* () {
|
|
170
181
|
var _a, _b, _c, _d, _e, _f;
|
|
171
182
|
const { contact_id: contactId } = request;
|
|
172
183
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
173
184
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/segments`),
|
|
174
185
|
method: "GET",
|
|
175
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
186
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
176
187
|
contentType: "application/json",
|
|
177
188
|
requestType: "json",
|
|
178
189
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 20000,
|
|
@@ -180,18 +191,19 @@ class Contacts {
|
|
|
180
191
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
181
192
|
});
|
|
182
193
|
if (_response.ok) {
|
|
183
|
-
return _response.body;
|
|
194
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
184
195
|
}
|
|
185
196
|
if (_response.error.reason === "status-code") {
|
|
186
197
|
switch (_response.error.statusCode) {
|
|
187
198
|
case 401:
|
|
188
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
199
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
189
200
|
case 404:
|
|
190
|
-
throw new Intercom.NotFoundError(_response.error.body);
|
|
201
|
+
throw new Intercom.NotFoundError(_response.error.body, _response.rawResponse);
|
|
191
202
|
default:
|
|
192
203
|
throw new errors.IntercomError({
|
|
193
204
|
statusCode: _response.error.statusCode,
|
|
194
205
|
body: _response.error.body,
|
|
206
|
+
rawResponse: _response.rawResponse,
|
|
195
207
|
});
|
|
196
208
|
}
|
|
197
209
|
}
|
|
@@ -200,12 +212,14 @@ class Contacts {
|
|
|
200
212
|
throw new errors.IntercomError({
|
|
201
213
|
statusCode: _response.error.statusCode,
|
|
202
214
|
body: _response.error.rawBody,
|
|
215
|
+
rawResponse: _response.rawResponse,
|
|
203
216
|
});
|
|
204
217
|
case "timeout":
|
|
205
218
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling GET /contacts/{contact_id}/segments.");
|
|
206
219
|
case "unknown":
|
|
207
220
|
throw new errors.IntercomError({
|
|
208
221
|
message: _response.error.errorMessage,
|
|
222
|
+
rawResponse: _response.rawResponse,
|
|
209
223
|
});
|
|
210
224
|
}
|
|
211
225
|
});
|
|
@@ -231,13 +245,16 @@ class Contacts {
|
|
|
231
245
|
* })
|
|
232
246
|
*/
|
|
233
247
|
listAttachedSubscriptions(request, requestOptions) {
|
|
248
|
+
return core.HttpResponsePromise.fromPromise(this.__listAttachedSubscriptions(request, requestOptions));
|
|
249
|
+
}
|
|
250
|
+
__listAttachedSubscriptions(request, requestOptions) {
|
|
234
251
|
return __awaiter(this, void 0, void 0, function* () {
|
|
235
252
|
var _a, _b, _c, _d, _e, _f;
|
|
236
253
|
const { contact_id: contactId } = request;
|
|
237
254
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
238
255
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/subscriptions`),
|
|
239
256
|
method: "GET",
|
|
240
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
257
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
241
258
|
contentType: "application/json",
|
|
242
259
|
requestType: "json",
|
|
243
260
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 20000,
|
|
@@ -245,18 +262,19 @@ class Contacts {
|
|
|
245
262
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
246
263
|
});
|
|
247
264
|
if (_response.ok) {
|
|
248
|
-
return _response.body;
|
|
265
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
249
266
|
}
|
|
250
267
|
if (_response.error.reason === "status-code") {
|
|
251
268
|
switch (_response.error.statusCode) {
|
|
252
269
|
case 401:
|
|
253
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
270
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
254
271
|
case 404:
|
|
255
|
-
throw new Intercom.NotFoundError(_response.error.body);
|
|
272
|
+
throw new Intercom.NotFoundError(_response.error.body, _response.rawResponse);
|
|
256
273
|
default:
|
|
257
274
|
throw new errors.IntercomError({
|
|
258
275
|
statusCode: _response.error.statusCode,
|
|
259
276
|
body: _response.error.body,
|
|
277
|
+
rawResponse: _response.rawResponse,
|
|
260
278
|
});
|
|
261
279
|
}
|
|
262
280
|
}
|
|
@@ -265,12 +283,14 @@ class Contacts {
|
|
|
265
283
|
throw new errors.IntercomError({
|
|
266
284
|
statusCode: _response.error.statusCode,
|
|
267
285
|
body: _response.error.rawBody,
|
|
286
|
+
rawResponse: _response.rawResponse,
|
|
268
287
|
});
|
|
269
288
|
case "timeout":
|
|
270
289
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling GET /contacts/{contact_id}/subscriptions.");
|
|
271
290
|
case "unknown":
|
|
272
291
|
throw new errors.IntercomError({
|
|
273
292
|
message: _response.error.errorMessage,
|
|
293
|
+
rawResponse: _response.rawResponse,
|
|
274
294
|
});
|
|
275
295
|
}
|
|
276
296
|
});
|
|
@@ -305,13 +325,16 @@ class Contacts {
|
|
|
305
325
|
* })
|
|
306
326
|
*/
|
|
307
327
|
attachSubscription(request, requestOptions) {
|
|
328
|
+
return core.HttpResponsePromise.fromPromise(this.__attachSubscription(request, requestOptions));
|
|
329
|
+
}
|
|
330
|
+
__attachSubscription(request, requestOptions) {
|
|
308
331
|
return __awaiter(this, void 0, void 0, function* () {
|
|
309
332
|
var _a, _b, _c, _d, _e, _f;
|
|
310
333
|
const { contact_id: contactId } = request, _body = __rest(request, ["contact_id"]);
|
|
311
334
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
312
335
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/subscriptions`),
|
|
313
336
|
method: "POST",
|
|
314
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
337
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
315
338
|
contentType: "application/json",
|
|
316
339
|
requestType: "json",
|
|
317
340
|
body: _body,
|
|
@@ -320,18 +343,19 @@ class Contacts {
|
|
|
320
343
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
321
344
|
});
|
|
322
345
|
if (_response.ok) {
|
|
323
|
-
return _response.body;
|
|
346
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
324
347
|
}
|
|
325
348
|
if (_response.error.reason === "status-code") {
|
|
326
349
|
switch (_response.error.statusCode) {
|
|
327
350
|
case 401:
|
|
328
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
351
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
329
352
|
case 404:
|
|
330
|
-
throw new Intercom.NotFoundError(_response.error.body);
|
|
353
|
+
throw new Intercom.NotFoundError(_response.error.body, _response.rawResponse);
|
|
331
354
|
default:
|
|
332
355
|
throw new errors.IntercomError({
|
|
333
356
|
statusCode: _response.error.statusCode,
|
|
334
357
|
body: _response.error.body,
|
|
358
|
+
rawResponse: _response.rawResponse,
|
|
335
359
|
});
|
|
336
360
|
}
|
|
337
361
|
}
|
|
@@ -340,12 +364,14 @@ class Contacts {
|
|
|
340
364
|
throw new errors.IntercomError({
|
|
341
365
|
statusCode: _response.error.statusCode,
|
|
342
366
|
body: _response.error.rawBody,
|
|
367
|
+
rawResponse: _response.rawResponse,
|
|
343
368
|
});
|
|
344
369
|
case "timeout":
|
|
345
370
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling POST /contacts/{contact_id}/subscriptions.");
|
|
346
371
|
case "unknown":
|
|
347
372
|
throw new errors.IntercomError({
|
|
348
373
|
message: _response.error.errorMessage,
|
|
374
|
+
rawResponse: _response.rawResponse,
|
|
349
375
|
});
|
|
350
376
|
}
|
|
351
377
|
});
|
|
@@ -366,13 +392,16 @@ class Contacts {
|
|
|
366
392
|
* })
|
|
367
393
|
*/
|
|
368
394
|
detachSubscription(request, requestOptions) {
|
|
395
|
+
return core.HttpResponsePromise.fromPromise(this.__detachSubscription(request, requestOptions));
|
|
396
|
+
}
|
|
397
|
+
__detachSubscription(request, requestOptions) {
|
|
369
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
370
399
|
var _a, _b, _c, _d, _e, _f;
|
|
371
400
|
const { contact_id: contactId, subscription_id: subscriptionId } = request;
|
|
372
401
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
373
402
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/subscriptions/${encodeURIComponent(subscriptionId)}`),
|
|
374
403
|
method: "DELETE",
|
|
375
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
404
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
376
405
|
contentType: "application/json",
|
|
377
406
|
requestType: "json",
|
|
378
407
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 20000,
|
|
@@ -380,18 +409,19 @@ class Contacts {
|
|
|
380
409
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
381
410
|
});
|
|
382
411
|
if (_response.ok) {
|
|
383
|
-
return _response.body;
|
|
412
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
384
413
|
}
|
|
385
414
|
if (_response.error.reason === "status-code") {
|
|
386
415
|
switch (_response.error.statusCode) {
|
|
387
416
|
case 401:
|
|
388
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
417
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
389
418
|
case 404:
|
|
390
|
-
throw new Intercom.NotFoundError(_response.error.body);
|
|
419
|
+
throw new Intercom.NotFoundError(_response.error.body, _response.rawResponse);
|
|
391
420
|
default:
|
|
392
421
|
throw new errors.IntercomError({
|
|
393
422
|
statusCode: _response.error.statusCode,
|
|
394
423
|
body: _response.error.body,
|
|
424
|
+
rawResponse: _response.rawResponse,
|
|
395
425
|
});
|
|
396
426
|
}
|
|
397
427
|
}
|
|
@@ -400,12 +430,14 @@ class Contacts {
|
|
|
400
430
|
throw new errors.IntercomError({
|
|
401
431
|
statusCode: _response.error.statusCode,
|
|
402
432
|
body: _response.error.rawBody,
|
|
433
|
+
rawResponse: _response.rawResponse,
|
|
403
434
|
});
|
|
404
435
|
case "timeout":
|
|
405
436
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling DELETE /contacts/{contact_id}/subscriptions/{subscription_id}.");
|
|
406
437
|
case "unknown":
|
|
407
438
|
throw new errors.IntercomError({
|
|
408
439
|
message: _response.error.errorMessage,
|
|
440
|
+
rawResponse: _response.rawResponse,
|
|
409
441
|
});
|
|
410
442
|
}
|
|
411
443
|
});
|
|
@@ -425,13 +457,16 @@ class Contacts {
|
|
|
425
457
|
* })
|
|
426
458
|
*/
|
|
427
459
|
listAttachedTags(request, requestOptions) {
|
|
460
|
+
return core.HttpResponsePromise.fromPromise(this.__listAttachedTags(request, requestOptions));
|
|
461
|
+
}
|
|
462
|
+
__listAttachedTags(request, requestOptions) {
|
|
428
463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
429
464
|
var _a, _b, _c, _d, _e, _f;
|
|
430
465
|
const { contact_id: contactId } = request;
|
|
431
466
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
432
467
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/tags`),
|
|
433
468
|
method: "GET",
|
|
434
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
469
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
435
470
|
contentType: "application/json",
|
|
436
471
|
requestType: "json",
|
|
437
472
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 20000,
|
|
@@ -439,18 +474,19 @@ class Contacts {
|
|
|
439
474
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
440
475
|
});
|
|
441
476
|
if (_response.ok) {
|
|
442
|
-
return _response.body;
|
|
477
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
443
478
|
}
|
|
444
479
|
if (_response.error.reason === "status-code") {
|
|
445
480
|
switch (_response.error.statusCode) {
|
|
446
481
|
case 401:
|
|
447
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
482
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
448
483
|
case 404:
|
|
449
|
-
throw new Intercom.NotFoundError(_response.error.body);
|
|
484
|
+
throw new Intercom.NotFoundError(_response.error.body, _response.rawResponse);
|
|
450
485
|
default:
|
|
451
486
|
throw new errors.IntercomError({
|
|
452
487
|
statusCode: _response.error.statusCode,
|
|
453
488
|
body: _response.error.body,
|
|
489
|
+
rawResponse: _response.rawResponse,
|
|
454
490
|
});
|
|
455
491
|
}
|
|
456
492
|
}
|
|
@@ -459,12 +495,14 @@ class Contacts {
|
|
|
459
495
|
throw new errors.IntercomError({
|
|
460
496
|
statusCode: _response.error.statusCode,
|
|
461
497
|
body: _response.error.rawBody,
|
|
498
|
+
rawResponse: _response.rawResponse,
|
|
462
499
|
});
|
|
463
500
|
case "timeout":
|
|
464
501
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling GET /contacts/{contact_id}/tags.");
|
|
465
502
|
case "unknown":
|
|
466
503
|
throw new errors.IntercomError({
|
|
467
504
|
message: _response.error.errorMessage,
|
|
505
|
+
rawResponse: _response.rawResponse,
|
|
468
506
|
});
|
|
469
507
|
}
|
|
470
508
|
});
|
|
@@ -483,13 +521,16 @@ class Contacts {
|
|
|
483
521
|
* })
|
|
484
522
|
*/
|
|
485
523
|
find(request, requestOptions) {
|
|
524
|
+
return core.HttpResponsePromise.fromPromise(this.__find(request, requestOptions));
|
|
525
|
+
}
|
|
526
|
+
__find(request, requestOptions) {
|
|
486
527
|
return __awaiter(this, void 0, void 0, function* () {
|
|
487
528
|
var _a, _b, _c, _d, _e, _f;
|
|
488
529
|
const { contact_id: contactId } = request;
|
|
489
530
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
490
531
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}`),
|
|
491
532
|
method: "GET",
|
|
492
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
533
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
493
534
|
contentType: "application/json",
|
|
494
535
|
requestType: "json",
|
|
495
536
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 20000,
|
|
@@ -497,16 +538,17 @@ class Contacts {
|
|
|
497
538
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
498
539
|
});
|
|
499
540
|
if (_response.ok) {
|
|
500
|
-
return _response.body;
|
|
541
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
501
542
|
}
|
|
502
543
|
if (_response.error.reason === "status-code") {
|
|
503
544
|
switch (_response.error.statusCode) {
|
|
504
545
|
case 401:
|
|
505
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
546
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
506
547
|
default:
|
|
507
548
|
throw new errors.IntercomError({
|
|
508
549
|
statusCode: _response.error.statusCode,
|
|
509
550
|
body: _response.error.body,
|
|
551
|
+
rawResponse: _response.rawResponse,
|
|
510
552
|
});
|
|
511
553
|
}
|
|
512
554
|
}
|
|
@@ -515,12 +557,14 @@ class Contacts {
|
|
|
515
557
|
throw new errors.IntercomError({
|
|
516
558
|
statusCode: _response.error.statusCode,
|
|
517
559
|
body: _response.error.rawBody,
|
|
560
|
+
rawResponse: _response.rawResponse,
|
|
518
561
|
});
|
|
519
562
|
case "timeout":
|
|
520
563
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling GET /contacts/{contact_id}.");
|
|
521
564
|
case "unknown":
|
|
522
565
|
throw new errors.IntercomError({
|
|
523
566
|
message: _response.error.errorMessage,
|
|
567
|
+
rawResponse: _response.rawResponse,
|
|
524
568
|
});
|
|
525
569
|
}
|
|
526
570
|
});
|
|
@@ -541,13 +585,16 @@ class Contacts {
|
|
|
541
585
|
* })
|
|
542
586
|
*/
|
|
543
587
|
update(request, requestOptions) {
|
|
588
|
+
return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
|
|
589
|
+
}
|
|
590
|
+
__update(request, requestOptions) {
|
|
544
591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
545
592
|
var _a, _b, _c, _d, _e, _f;
|
|
546
593
|
const { contact_id: contactId } = request, _body = __rest(request, ["contact_id"]);
|
|
547
594
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
548
595
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}`),
|
|
549
596
|
method: "PUT",
|
|
550
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
597
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
551
598
|
contentType: "application/json",
|
|
552
599
|
requestType: "json",
|
|
553
600
|
body: _body,
|
|
@@ -556,16 +603,17 @@ class Contacts {
|
|
|
556
603
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
557
604
|
});
|
|
558
605
|
if (_response.ok) {
|
|
559
|
-
return _response.body;
|
|
606
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
560
607
|
}
|
|
561
608
|
if (_response.error.reason === "status-code") {
|
|
562
609
|
switch (_response.error.statusCode) {
|
|
563
610
|
case 401:
|
|
564
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
611
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
565
612
|
default:
|
|
566
613
|
throw new errors.IntercomError({
|
|
567
614
|
statusCode: _response.error.statusCode,
|
|
568
615
|
body: _response.error.body,
|
|
616
|
+
rawResponse: _response.rawResponse,
|
|
569
617
|
});
|
|
570
618
|
}
|
|
571
619
|
}
|
|
@@ -574,12 +622,14 @@ class Contacts {
|
|
|
574
622
|
throw new errors.IntercomError({
|
|
575
623
|
statusCode: _response.error.statusCode,
|
|
576
624
|
body: _response.error.rawBody,
|
|
625
|
+
rawResponse: _response.rawResponse,
|
|
577
626
|
});
|
|
578
627
|
case "timeout":
|
|
579
628
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling PUT /contacts/{contact_id}.");
|
|
580
629
|
case "unknown":
|
|
581
630
|
throw new errors.IntercomError({
|
|
582
631
|
message: _response.error.errorMessage,
|
|
632
|
+
rawResponse: _response.rawResponse,
|
|
583
633
|
});
|
|
584
634
|
}
|
|
585
635
|
});
|
|
@@ -598,13 +648,16 @@ class Contacts {
|
|
|
598
648
|
* })
|
|
599
649
|
*/
|
|
600
650
|
delete(request, requestOptions) {
|
|
651
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
|
|
652
|
+
}
|
|
653
|
+
__delete(request, requestOptions) {
|
|
601
654
|
return __awaiter(this, void 0, void 0, function* () {
|
|
602
655
|
var _a, _b, _c, _d, _e, _f;
|
|
603
656
|
const { contact_id: contactId } = request;
|
|
604
657
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
605
658
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}`),
|
|
606
659
|
method: "DELETE",
|
|
607
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
660
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
608
661
|
contentType: "application/json",
|
|
609
662
|
requestType: "json",
|
|
610
663
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 20000,
|
|
@@ -612,16 +665,17 @@ class Contacts {
|
|
|
612
665
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
613
666
|
});
|
|
614
667
|
if (_response.ok) {
|
|
615
|
-
return _response.body;
|
|
668
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
616
669
|
}
|
|
617
670
|
if (_response.error.reason === "status-code") {
|
|
618
671
|
switch (_response.error.statusCode) {
|
|
619
672
|
case 401:
|
|
620
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
673
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
621
674
|
default:
|
|
622
675
|
throw new errors.IntercomError({
|
|
623
676
|
statusCode: _response.error.statusCode,
|
|
624
677
|
body: _response.error.body,
|
|
678
|
+
rawResponse: _response.rawResponse,
|
|
625
679
|
});
|
|
626
680
|
}
|
|
627
681
|
}
|
|
@@ -630,12 +684,14 @@ class Contacts {
|
|
|
630
684
|
throw new errors.IntercomError({
|
|
631
685
|
statusCode: _response.error.statusCode,
|
|
632
686
|
body: _response.error.rawBody,
|
|
687
|
+
rawResponse: _response.rawResponse,
|
|
633
688
|
});
|
|
634
689
|
case "timeout":
|
|
635
690
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling DELETE /contacts/{contact_id}.");
|
|
636
691
|
case "unknown":
|
|
637
692
|
throw new errors.IntercomError({
|
|
638
693
|
message: _response.error.errorMessage,
|
|
694
|
+
rawResponse: _response.rawResponse,
|
|
639
695
|
});
|
|
640
696
|
}
|
|
641
697
|
});
|
|
@@ -655,12 +711,15 @@ class Contacts {
|
|
|
655
711
|
* })
|
|
656
712
|
*/
|
|
657
713
|
mergeLeadInUser(request, requestOptions) {
|
|
714
|
+
return core.HttpResponsePromise.fromPromise(this.__mergeLeadInUser(request, requestOptions));
|
|
715
|
+
}
|
|
716
|
+
__mergeLeadInUser(request, requestOptions) {
|
|
658
717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
659
718
|
var _a, _b, _c, _d, _e, _f;
|
|
660
719
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
661
720
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, "contacts/merge"),
|
|
662
721
|
method: "POST",
|
|
663
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
722
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
664
723
|
contentType: "application/json",
|
|
665
724
|
requestType: "json",
|
|
666
725
|
body: request,
|
|
@@ -669,16 +728,17 @@ class Contacts {
|
|
|
669
728
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
670
729
|
});
|
|
671
730
|
if (_response.ok) {
|
|
672
|
-
return _response.body;
|
|
731
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
673
732
|
}
|
|
674
733
|
if (_response.error.reason === "status-code") {
|
|
675
734
|
switch (_response.error.statusCode) {
|
|
676
735
|
case 401:
|
|
677
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
736
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
678
737
|
default:
|
|
679
738
|
throw new errors.IntercomError({
|
|
680
739
|
statusCode: _response.error.statusCode,
|
|
681
740
|
body: _response.error.body,
|
|
741
|
+
rawResponse: _response.rawResponse,
|
|
682
742
|
});
|
|
683
743
|
}
|
|
684
744
|
}
|
|
@@ -687,12 +747,14 @@ class Contacts {
|
|
|
687
747
|
throw new errors.IntercomError({
|
|
688
748
|
statusCode: _response.error.statusCode,
|
|
689
749
|
body: _response.error.rawBody,
|
|
750
|
+
rawResponse: _response.rawResponse,
|
|
690
751
|
});
|
|
691
752
|
case "timeout":
|
|
692
753
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling POST /contacts/merge.");
|
|
693
754
|
case "unknown":
|
|
694
755
|
throw new errors.IntercomError({
|
|
695
756
|
message: _response.error.errorMessage,
|
|
757
|
+
rawResponse: _response.rawResponse,
|
|
696
758
|
});
|
|
697
759
|
}
|
|
698
760
|
});
|
|
@@ -820,12 +882,12 @@ class Contacts {
|
|
|
820
882
|
*/
|
|
821
883
|
search(request, requestOptions) {
|
|
822
884
|
return __awaiter(this, void 0, void 0, function* () {
|
|
823
|
-
const list = (request) => __awaiter(this, void 0, void 0, function* () {
|
|
885
|
+
const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
|
|
824
886
|
var _a, _b, _c, _d, _e, _f;
|
|
825
887
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
826
888
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, "contacts/search"),
|
|
827
889
|
method: "POST",
|
|
828
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
890
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
829
891
|
contentType: "application/json",
|
|
830
892
|
requestType: "json",
|
|
831
893
|
body: request,
|
|
@@ -834,16 +896,17 @@ class Contacts {
|
|
|
834
896
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
835
897
|
});
|
|
836
898
|
if (_response.ok) {
|
|
837
|
-
return _response.body;
|
|
899
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
838
900
|
}
|
|
839
901
|
if (_response.error.reason === "status-code") {
|
|
840
902
|
switch (_response.error.statusCode) {
|
|
841
903
|
case 401:
|
|
842
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
904
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
843
905
|
default:
|
|
844
906
|
throw new errors.IntercomError({
|
|
845
907
|
statusCode: _response.error.statusCode,
|
|
846
908
|
body: _response.error.body,
|
|
909
|
+
rawResponse: _response.rawResponse,
|
|
847
910
|
});
|
|
848
911
|
}
|
|
849
912
|
}
|
|
@@ -852,17 +915,21 @@ class Contacts {
|
|
|
852
915
|
throw new errors.IntercomError({
|
|
853
916
|
statusCode: _response.error.statusCode,
|
|
854
917
|
body: _response.error.rawBody,
|
|
918
|
+
rawResponse: _response.rawResponse,
|
|
855
919
|
});
|
|
856
920
|
case "timeout":
|
|
857
921
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling POST /contacts/search.");
|
|
858
922
|
case "unknown":
|
|
859
923
|
throw new errors.IntercomError({
|
|
860
924
|
message: _response.error.errorMessage,
|
|
925
|
+
rawResponse: _response.rawResponse,
|
|
861
926
|
});
|
|
862
927
|
}
|
|
863
|
-
});
|
|
928
|
+
}));
|
|
929
|
+
const dataWithRawResponse = yield list(request).withRawResponse();
|
|
864
930
|
return new core.Pageable({
|
|
865
|
-
response:
|
|
931
|
+
response: dataWithRawResponse.data,
|
|
932
|
+
rawResponse: dataWithRawResponse.rawResponse,
|
|
866
933
|
hasNextPage: (response) => { var _a, _b; return ((_b = (_a = response === null || response === void 0 ? void 0 : response.pages) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.starting_after) != null; },
|
|
867
934
|
getItems: (response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.data) !== null && _a !== void 0 ? _a : []; },
|
|
868
935
|
loadPage: (response) => {
|
|
@@ -889,7 +956,7 @@ class Contacts {
|
|
|
889
956
|
*/
|
|
890
957
|
list() {
|
|
891
958
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
892
|
-
const list = (request) => __awaiter(this, void 0, void 0, function* () {
|
|
959
|
+
const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
|
|
893
960
|
var _a, _b, _c, _d, _e, _f;
|
|
894
961
|
const { page, per_page: perPage, starting_after: startingAfter } = request;
|
|
895
962
|
const _queryParams = {};
|
|
@@ -905,7 +972,7 @@ class Contacts {
|
|
|
905
972
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
906
973
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, "contacts"),
|
|
907
974
|
method: "GET",
|
|
908
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
975
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
909
976
|
contentType: "application/json",
|
|
910
977
|
queryParameters: _queryParams,
|
|
911
978
|
requestType: "json",
|
|
@@ -914,16 +981,17 @@ class Contacts {
|
|
|
914
981
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
915
982
|
});
|
|
916
983
|
if (_response.ok) {
|
|
917
|
-
return _response.body;
|
|
984
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
918
985
|
}
|
|
919
986
|
if (_response.error.reason === "status-code") {
|
|
920
987
|
switch (_response.error.statusCode) {
|
|
921
988
|
case 401:
|
|
922
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
989
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
923
990
|
default:
|
|
924
991
|
throw new errors.IntercomError({
|
|
925
992
|
statusCode: _response.error.statusCode,
|
|
926
993
|
body: _response.error.body,
|
|
994
|
+
rawResponse: _response.rawResponse,
|
|
927
995
|
});
|
|
928
996
|
}
|
|
929
997
|
}
|
|
@@ -932,17 +1000,21 @@ class Contacts {
|
|
|
932
1000
|
throw new errors.IntercomError({
|
|
933
1001
|
statusCode: _response.error.statusCode,
|
|
934
1002
|
body: _response.error.rawBody,
|
|
1003
|
+
rawResponse: _response.rawResponse,
|
|
935
1004
|
});
|
|
936
1005
|
case "timeout":
|
|
937
1006
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling GET /contacts.");
|
|
938
1007
|
case "unknown":
|
|
939
1008
|
throw new errors.IntercomError({
|
|
940
1009
|
message: _response.error.errorMessage,
|
|
1010
|
+
rawResponse: _response.rawResponse,
|
|
941
1011
|
});
|
|
942
1012
|
}
|
|
943
|
-
});
|
|
1013
|
+
}));
|
|
1014
|
+
const dataWithRawResponse = yield list(request).withRawResponse();
|
|
944
1015
|
return new core.Pageable({
|
|
945
|
-
response:
|
|
1016
|
+
response: dataWithRawResponse.data,
|
|
1017
|
+
rawResponse: dataWithRawResponse.rawResponse,
|
|
946
1018
|
hasNextPage: (response) => { var _a, _b; return ((_b = (_a = response === null || response === void 0 ? void 0 : response.pages) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.starting_after) != null; },
|
|
947
1019
|
getItems: (response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.data) !== null && _a !== void 0 ? _a : []; },
|
|
948
1020
|
loadPage: (response) => {
|
|
@@ -966,12 +1038,15 @@ class Contacts {
|
|
|
966
1038
|
* })
|
|
967
1039
|
*/
|
|
968
1040
|
create(request, requestOptions) {
|
|
1041
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
1042
|
+
}
|
|
1043
|
+
__create(request, requestOptions) {
|
|
969
1044
|
return __awaiter(this, void 0, void 0, function* () {
|
|
970
1045
|
var _a, _b, _c, _d, _e, _f;
|
|
971
1046
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
972
1047
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, "contacts"),
|
|
973
1048
|
method: "POST",
|
|
974
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
1049
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
975
1050
|
contentType: "application/json",
|
|
976
1051
|
requestType: "json",
|
|
977
1052
|
body: request,
|
|
@@ -980,16 +1055,17 @@ class Contacts {
|
|
|
980
1055
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
981
1056
|
});
|
|
982
1057
|
if (_response.ok) {
|
|
983
|
-
return _response.body;
|
|
1058
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
984
1059
|
}
|
|
985
1060
|
if (_response.error.reason === "status-code") {
|
|
986
1061
|
switch (_response.error.statusCode) {
|
|
987
1062
|
case 401:
|
|
988
|
-
throw new Intercom.UnauthorizedError(_response.error.body);
|
|
1063
|
+
throw new Intercom.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
989
1064
|
default:
|
|
990
1065
|
throw new errors.IntercomError({
|
|
991
1066
|
statusCode: _response.error.statusCode,
|
|
992
1067
|
body: _response.error.body,
|
|
1068
|
+
rawResponse: _response.rawResponse,
|
|
993
1069
|
});
|
|
994
1070
|
}
|
|
995
1071
|
}
|
|
@@ -998,12 +1074,14 @@ class Contacts {
|
|
|
998
1074
|
throw new errors.IntercomError({
|
|
999
1075
|
statusCode: _response.error.statusCode,
|
|
1000
1076
|
body: _response.error.rawBody,
|
|
1077
|
+
rawResponse: _response.rawResponse,
|
|
1001
1078
|
});
|
|
1002
1079
|
case "timeout":
|
|
1003
1080
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling POST /contacts.");
|
|
1004
1081
|
case "unknown":
|
|
1005
1082
|
throw new errors.IntercomError({
|
|
1006
1083
|
message: _response.error.errorMessage,
|
|
1084
|
+
rawResponse: _response.rawResponse,
|
|
1007
1085
|
});
|
|
1008
1086
|
}
|
|
1009
1087
|
});
|
|
@@ -1020,13 +1098,16 @@ class Contacts {
|
|
|
1020
1098
|
* })
|
|
1021
1099
|
*/
|
|
1022
1100
|
archive(request, requestOptions) {
|
|
1101
|
+
return core.HttpResponsePromise.fromPromise(this.__archive(request, requestOptions));
|
|
1102
|
+
}
|
|
1103
|
+
__archive(request, requestOptions) {
|
|
1023
1104
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1024
1105
|
var _a, _b, _c, _d, _e, _f;
|
|
1025
1106
|
const { contact_id: contactId } = request;
|
|
1026
1107
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1027
1108
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/archive`),
|
|
1028
1109
|
method: "POST",
|
|
1029
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
1110
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1030
1111
|
contentType: "application/json",
|
|
1031
1112
|
requestType: "json",
|
|
1032
1113
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 20000,
|
|
@@ -1034,12 +1115,13 @@ class Contacts {
|
|
|
1034
1115
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1035
1116
|
});
|
|
1036
1117
|
if (_response.ok) {
|
|
1037
|
-
return _response.body;
|
|
1118
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1038
1119
|
}
|
|
1039
1120
|
if (_response.error.reason === "status-code") {
|
|
1040
1121
|
throw new errors.IntercomError({
|
|
1041
1122
|
statusCode: _response.error.statusCode,
|
|
1042
1123
|
body: _response.error.body,
|
|
1124
|
+
rawResponse: _response.rawResponse,
|
|
1043
1125
|
});
|
|
1044
1126
|
}
|
|
1045
1127
|
switch (_response.error.reason) {
|
|
@@ -1047,12 +1129,14 @@ class Contacts {
|
|
|
1047
1129
|
throw new errors.IntercomError({
|
|
1048
1130
|
statusCode: _response.error.statusCode,
|
|
1049
1131
|
body: _response.error.rawBody,
|
|
1132
|
+
rawResponse: _response.rawResponse,
|
|
1050
1133
|
});
|
|
1051
1134
|
case "timeout":
|
|
1052
1135
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling POST /contacts/{contact_id}/archive.");
|
|
1053
1136
|
case "unknown":
|
|
1054
1137
|
throw new errors.IntercomError({
|
|
1055
1138
|
message: _response.error.errorMessage,
|
|
1139
|
+
rawResponse: _response.rawResponse,
|
|
1056
1140
|
});
|
|
1057
1141
|
}
|
|
1058
1142
|
});
|
|
@@ -1069,13 +1153,16 @@ class Contacts {
|
|
|
1069
1153
|
* })
|
|
1070
1154
|
*/
|
|
1071
1155
|
unarchive(request, requestOptions) {
|
|
1156
|
+
return core.HttpResponsePromise.fromPromise(this.__unarchive(request, requestOptions));
|
|
1157
|
+
}
|
|
1158
|
+
__unarchive(request, requestOptions) {
|
|
1072
1159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1073
1160
|
var _a, _b, _c, _d, _e, _f;
|
|
1074
1161
|
const { contact_id: contactId } = request;
|
|
1075
1162
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1076
1163
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/unarchive`),
|
|
1077
1164
|
method: "POST",
|
|
1078
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.
|
|
1165
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "intercom-client", "X-Fern-SDK-Version": "6.4.0", "User-Agent": "intercom-client/6.4.0", "Intercom-Version": (_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "2.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1079
1166
|
contentType: "application/json",
|
|
1080
1167
|
requestType: "json",
|
|
1081
1168
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 20000,
|
|
@@ -1083,12 +1170,13 @@ class Contacts {
|
|
|
1083
1170
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1084
1171
|
});
|
|
1085
1172
|
if (_response.ok) {
|
|
1086
|
-
return _response.body;
|
|
1173
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1087
1174
|
}
|
|
1088
1175
|
if (_response.error.reason === "status-code") {
|
|
1089
1176
|
throw new errors.IntercomError({
|
|
1090
1177
|
statusCode: _response.error.statusCode,
|
|
1091
1178
|
body: _response.error.body,
|
|
1179
|
+
rawResponse: _response.rawResponse,
|
|
1092
1180
|
});
|
|
1093
1181
|
}
|
|
1094
1182
|
switch (_response.error.reason) {
|
|
@@ -1096,12 +1184,14 @@ class Contacts {
|
|
|
1096
1184
|
throw new errors.IntercomError({
|
|
1097
1185
|
statusCode: _response.error.statusCode,
|
|
1098
1186
|
body: _response.error.rawBody,
|
|
1187
|
+
rawResponse: _response.rawResponse,
|
|
1099
1188
|
});
|
|
1100
1189
|
case "timeout":
|
|
1101
1190
|
throw new errors.IntercomTimeoutError("Timeout exceeded when calling POST /contacts/{contact_id}/unarchive.");
|
|
1102
1191
|
case "unknown":
|
|
1103
1192
|
throw new errors.IntercomError({
|
|
1104
1193
|
message: _response.error.errorMessage,
|
|
1194
|
+
rawResponse: _response.rawResponse,
|
|
1105
1195
|
});
|
|
1106
1196
|
}
|
|
1107
1197
|
});
|