intercom-client 7.0.3 → 7.1.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/README.md +83 -22
- package/dist/cjs/BaseClient.d.ts +23 -8
- package/dist/cjs/BaseClient.js +43 -4
- package/dist/cjs/Client.d.ts +13 -2
- package/dist/cjs/Client.js +67 -0
- package/dist/cjs/api/errors/BadRequestError.js +5 -1
- package/dist/cjs/api/errors/ForbiddenError.d.ts +1 -0
- package/dist/cjs/api/errors/ForbiddenError.js +5 -1
- package/dist/cjs/api/errors/NotFoundError.js +5 -1
- package/dist/cjs/api/errors/TooManyRequestsError.d.ts +1 -0
- package/dist/cjs/api/errors/TooManyRequestsError.js +5 -1
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +1 -0
- package/dist/cjs/api/errors/UnauthorizedError.js +5 -1
- package/dist/cjs/api/errors/UnprocessableEntityError.js +5 -1
- package/dist/cjs/api/index.d.ts +1 -0
- package/dist/cjs/api/index.js +1 -0
- package/dist/cjs/api/resources/admins/client/Client.d.ts +12 -2
- package/dist/cjs/api/resources/admins/client/Client.js +28 -13
- package/dist/cjs/api/resources/admins/client/requests/ConfigureAwayAdminRequest.d.ts +0 -7
- package/dist/cjs/api/resources/admins/exports.d.ts +2 -0
- package/dist/cjs/api/resources/admins/exports.js +21 -0
- package/dist/cjs/api/resources/admins/types/Admin.d.ts +5 -5
- package/dist/cjs/api/resources/aiAgent/exports.d.ts +1 -0
- package/dist/cjs/api/resources/aiAgent/exports.js +18 -0
- package/dist/cjs/api/resources/aiAgent/types/AiAgent.d.ts +9 -9
- package/dist/cjs/api/resources/aiContent/client/Client.d.ts +21 -2
- package/dist/cjs/api/resources/aiContent/client/Client.js +41 -20
- package/dist/cjs/api/resources/aiContent/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/aiContent/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/aiContent/exports.d.ts +2 -0
- package/dist/cjs/api/resources/aiContent/exports.js +21 -0
- package/dist/cjs/api/resources/aiContent/types/ContentImportSourcesList.d.ts +4 -4
- package/dist/cjs/api/resources/aiContent/types/ExternalPage.d.ts +2 -2
- package/dist/cjs/api/resources/aiContent/types/ExternalPagesList.d.ts +4 -4
- package/dist/cjs/api/resources/aiContentSource/exports.d.ts +1 -0
- package/dist/cjs/api/resources/aiContentSource/exports.js +18 -0
- package/dist/cjs/api/resources/aiContentSource/types/ContentSource.d.ts +4 -4
- package/dist/cjs/api/resources/articles/client/Client.d.ts +13 -2
- package/dist/cjs/api/resources/articles/client/Client.js +49 -33
- package/dist/cjs/api/resources/articles/client/requests/UpdateArticleRequest.d.ts +0 -7
- package/dist/cjs/api/resources/articles/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/articles/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/articles/exports.d.ts +2 -0
- package/dist/cjs/api/resources/articles/exports.js +21 -0
- package/dist/cjs/api/resources/articles/types/Article.d.ts +1 -1
- package/dist/cjs/api/resources/articles/types/ArticleListItem.d.ts +9 -9
- package/dist/cjs/api/resources/articles/types/ArticleSearchHighlights.d.ts +7 -7
- package/dist/cjs/api/resources/articles/types/ArticleSearchResponse.d.ts +6 -6
- package/dist/cjs/api/resources/awayStatusReasons/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/awayStatusReasons/client/Client.js +3 -1
- package/dist/cjs/api/resources/awayStatusReasons/exports.d.ts +2 -0
- package/dist/cjs/api/resources/awayStatusReasons/exports.js +21 -0
- package/dist/cjs/api/resources/calls/client/Client.d.ts +11 -2
- package/dist/cjs/api/resources/calls/client/Client.js +28 -16
- package/dist/cjs/api/resources/calls/exports.d.ts +2 -0
- package/dist/cjs/api/resources/calls/exports.js +21 -0
- package/dist/cjs/api/resources/calls/types/Call.d.ts +19 -19
- package/dist/cjs/api/resources/calls/types/ListCallsWithTranscriptsResponse.d.ts +4 -4
- package/dist/cjs/api/resources/companies/client/Client.d.ts +23 -2
- package/dist/cjs/api/resources/companies/client/Client.js +79 -56
- package/dist/cjs/api/resources/companies/client/requests/ScrollCompaniesRequest.d.ts +0 -1
- package/dist/cjs/api/resources/companies/exports.d.ts +2 -0
- package/dist/cjs/api/resources/companies/exports.js +21 -0
- package/dist/cjs/api/resources/companies/types/Company.d.ts +17 -17
- package/dist/cjs/api/resources/contacts/client/Client.d.ts +38 -2
- package/dist/cjs/api/resources/contacts/client/Client.js +97 -54
- package/dist/cjs/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.d.ts +0 -7
- package/dist/cjs/api/resources/contacts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/contacts/exports.js +21 -0
- package/dist/cjs/api/resources/contacts/types/Contact.d.ts +36 -36
- package/dist/cjs/api/resources/contacts/types/ContactsCreateResponse.d.ts +1 -1
- package/dist/cjs/api/resources/contacts/types/ContactsFindResponse.d.ts +1 -1
- package/dist/cjs/api/resources/contacts/types/ContactsMergeLeadInUserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/contacts/types/ContactsUpdateResponse.d.ts +1 -1
- package/dist/cjs/api/resources/contacts/types/ShowContactByExternalIdResponse.d.ts +1 -1
- package/dist/cjs/api/resources/conversations/client/Client.d.ts +28 -2
- package/dist/cjs/api/resources/conversations/client/Client.js +82 -49
- package/dist/cjs/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +0 -21
- package/dist/cjs/api/resources/conversations/client/requests/ManageConversationPartsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/conversations/client/requests/ReplyToConversationRequest.d.ts +0 -33
- package/dist/cjs/api/resources/conversations/client/requests/UpdateConversationRequest.d.ts +0 -12
- package/dist/cjs/api/resources/conversations/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/conversations/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/conversations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/conversations/exports.js +21 -0
- package/dist/cjs/api/resources/conversations/types/Conversation.d.ts +17 -17
- package/dist/cjs/api/resources/customChannelEvents/client/Client.d.ts +9 -2
- package/dist/cjs/api/resources/customChannelEvents/client/Client.js +17 -8
- package/dist/cjs/api/resources/customChannelEvents/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customChannelEvents/exports.js +21 -0
- package/dist/cjs/api/resources/customObjectInstances/client/Client.d.ts +11 -2
- package/dist/cjs/api/resources/customObjectInstances/client/Client.js +36 -15
- package/dist/cjs/api/resources/customObjectInstances/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customObjectInstances/exports.js +21 -0
- package/dist/cjs/api/resources/customObjectInstances/types/CustomObjectInstance.d.ts +8 -8
- package/dist/cjs/api/resources/dataAttributes/client/Client.d.ts +7 -2
- package/dist/cjs/api/resources/dataAttributes/client/Client.js +21 -13
- package/dist/cjs/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +0 -12
- package/dist/cjs/api/resources/dataAttributes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/dataAttributes/exports.js +21 -0
- package/dist/cjs/api/resources/dataAttributes/types/DataAttribute.d.ts +12 -12
- package/dist/cjs/api/resources/dataEvents/exports.d.ts +1 -0
- package/dist/cjs/api/resources/dataEvents/exports.js +18 -0
- package/dist/cjs/api/resources/dataEvents/types/DataEvent.d.ts +5 -5
- package/dist/cjs/api/resources/dataExport/client/Client.d.ts +17 -2
- package/dist/cjs/api/resources/dataExport/client/Client.js +44 -17
- package/dist/cjs/api/resources/dataExport/client/requests/ExportReportingDataRequest.d.ts +0 -7
- package/dist/cjs/api/resources/dataExport/exports.d.ts +2 -0
- package/dist/cjs/api/resources/dataExport/exports.js +21 -0
- package/dist/cjs/api/resources/dataExport/types/DataExport.d.ts +4 -4
- package/dist/cjs/api/resources/dataExport/types/DataExportExportReportingDataResponse.d.ts +4 -4
- package/dist/cjs/api/resources/events/client/Client.d.ts +7 -2
- package/dist/cjs/api/resources/events/client/Client.js +24 -22
- package/dist/cjs/api/resources/events/client/requests/ListEventSummariesRequest.d.ts +4 -4
- package/dist/cjs/api/resources/events/exports.d.ts +2 -0
- package/dist/cjs/api/resources/events/exports.js +21 -0
- package/dist/cjs/api/resources/export/client/Client.d.ts +6 -2
- package/dist/cjs/api/resources/export/client/Client.js +9 -3
- package/dist/cjs/api/resources/export/exports.d.ts +2 -0
- package/dist/cjs/api/resources/export/exports.js +21 -0
- package/dist/cjs/api/resources/export/types/GetExportReportingDataGetDatasetsResponse.d.ts +9 -9
- package/dist/cjs/api/resources/export/types/PostExportReportingDataEnqueueResponse.d.ts +4 -4
- package/dist/cjs/api/resources/helpCenter/exports.d.ts +1 -0
- package/dist/cjs/api/resources/helpCenter/exports.js +18 -0
- package/dist/cjs/api/resources/helpCenter/types/Collection.d.ts +8 -8
- package/dist/cjs/api/resources/helpCenter/types/HelpCenter.d.ts +9 -9
- package/dist/cjs/api/resources/helpCenter/types/HelpCenterList.d.ts +2 -2
- package/dist/cjs/api/resources/helpCenters/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/helpCenters/client/Client.js +22 -12
- package/dist/cjs/api/resources/helpCenters/exports.d.ts +3 -0
- package/dist/cjs/api/resources/helpCenters/exports.js +22 -0
- package/dist/cjs/api/resources/helpCenters/resources/collections/client/Client.d.ts +11 -2
- package/dist/cjs/api/resources/helpCenters/resources/collections/client/Client.js +36 -19
- package/dist/cjs/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.d.ts +0 -6
- package/dist/cjs/api/resources/helpCenters/resources/collections/exports.d.ts +2 -0
- package/dist/cjs/api/resources/helpCenters/resources/collections/exports.js +21 -0
- package/dist/cjs/api/resources/internalArticles/client/Client.d.ts +13 -2
- package/dist/cjs/api/resources/internalArticles/client/Client.js +31 -15
- package/dist/cjs/api/resources/internalArticles/client/requests/UpdateInternalArticleRequestBody.d.ts +0 -7
- package/dist/cjs/api/resources/internalArticles/exports.d.ts +2 -0
- package/dist/cjs/api/resources/internalArticles/exports.js +21 -0
- package/dist/cjs/api/resources/internalArticles/types/InternalArticleListItem.d.ts +9 -9
- package/dist/cjs/api/resources/internalArticles/types/InternalArticleSearchResponse.d.ts +5 -5
- package/dist/cjs/api/resources/ipAllowlist/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/ipAllowlist/client/Client.js +8 -3
- package/dist/cjs/api/resources/ipAllowlist/exports.d.ts +2 -0
- package/dist/cjs/api/resources/ipAllowlist/exports.js +21 -0
- package/dist/cjs/api/resources/jobs/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/jobs/client/Client.js +4 -2
- package/dist/cjs/api/resources/jobs/exports.d.ts +2 -0
- package/dist/cjs/api/resources/jobs/exports.js +21 -0
- package/dist/cjs/api/resources/jobs/types/Jobs.d.ts +6 -6
- package/dist/cjs/api/resources/messages/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/messages/client/Client.js +5 -2
- package/dist/cjs/api/resources/messages/exports.d.ts +2 -0
- package/dist/cjs/api/resources/messages/exports.js +21 -0
- package/dist/cjs/api/resources/messages/types/Message.d.ts +1 -1
- package/dist/cjs/api/resources/news/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/news/exports.d.ts +3 -0
- package/dist/cjs/api/resources/news/exports.js +22 -0
- package/dist/cjs/api/resources/news/resources/feeds/client/Client.d.ts +7 -2
- package/dist/cjs/api/resources/news/resources/feeds/client/Client.js +11 -5
- package/dist/cjs/api/resources/news/resources/feeds/exports.d.ts +2 -0
- package/dist/cjs/api/resources/news/resources/feeds/exports.js +21 -0
- package/dist/cjs/api/resources/news/resources/items/client/Client.d.ts +11 -2
- package/dist/cjs/api/resources/news/resources/items/client/Client.js +21 -10
- package/dist/cjs/api/resources/news/resources/items/exports.d.ts +2 -0
- package/dist/cjs/api/resources/news/resources/items/exports.js +21 -0
- package/dist/cjs/api/resources/news/types/NewsItem.d.ts +14 -14
- package/dist/cjs/api/resources/news/types/Newsfeed.d.ts +5 -5
- package/dist/cjs/api/resources/news/types/NewsfeedAssignment.d.ts +2 -2
- package/dist/cjs/api/resources/notes/client/Client.d.ts +7 -2
- package/dist/cjs/api/resources/notes/client/Client.js +29 -16
- package/dist/cjs/api/resources/notes/client/requests/CreateContactNoteRequest.d.ts +0 -14
- package/dist/cjs/api/resources/notes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/notes/exports.js +21 -0
- package/dist/cjs/api/resources/notes/types/Note.d.ts +4 -4
- package/dist/cjs/api/resources/phoneCallRedirects/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/phoneCallRedirects/client/Client.js +5 -2
- package/dist/cjs/api/resources/phoneCallRedirects/exports.d.ts +2 -0
- package/dist/cjs/api/resources/phoneCallRedirects/exports.js +21 -0
- package/dist/cjs/api/resources/segments/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/segments/client/Client.js +14 -7
- package/dist/cjs/api/resources/segments/exports.d.ts +2 -0
- package/dist/cjs/api/resources/segments/exports.js +21 -0
- package/dist/cjs/api/resources/segments/types/Segment.d.ts +7 -7
- package/dist/cjs/api/resources/subscriptionTypes/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/subscriptionTypes/client/Client.js +3 -1
- package/dist/cjs/api/resources/subscriptionTypes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptionTypes/exports.js +21 -0
- package/dist/cjs/api/resources/subscriptionTypes/types/SubscriptionType.d.ts +7 -7
- package/dist/cjs/api/resources/tags/client/Client.d.ts +21 -2
- package/dist/cjs/api/resources/tags/client/Client.js +45 -24
- package/dist/cjs/api/resources/tags/client/requests/TagContactRequest.d.ts +0 -6
- package/dist/cjs/api/resources/tags/client/requests/TagConversationRequest.d.ts +0 -7
- package/dist/cjs/api/resources/tags/client/requests/TagTicketRequest.d.ts +0 -7
- package/dist/cjs/api/resources/tags/client/requests/UntagConversationRequest.d.ts +0 -14
- package/dist/cjs/api/resources/tags/client/requests/UntagTicketRequest.d.ts +0 -14
- package/dist/cjs/api/resources/tags/exports.d.ts +2 -0
- package/dist/cjs/api/resources/tags/exports.js +21 -0
- package/dist/cjs/api/resources/tags/types/Tag.d.ts +2 -2
- package/dist/cjs/api/resources/tags/types/TagBasic.d.ts +3 -3
- package/dist/cjs/api/resources/teams/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/teams/client/Client.js +7 -3
- package/dist/cjs/api/resources/teams/exports.d.ts +2 -0
- package/dist/cjs/api/resources/teams/exports.js +21 -0
- package/dist/cjs/api/resources/teams/types/Team.d.ts +7 -7
- package/dist/cjs/api/resources/ticketStates/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/ticketStates/client/Client.js +3 -1
- package/dist/cjs/api/resources/ticketStates/exports.d.ts +2 -0
- package/dist/cjs/api/resources/ticketStates/exports.js +21 -0
- package/dist/cjs/api/resources/ticketTypes/client/Client.d.ts +9 -2
- package/dist/cjs/api/resources/ticketTypes/client/Client.js +17 -8
- package/dist/cjs/api/resources/ticketTypes/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/ticketTypes/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/ticketTypes/exports.d.ts +3 -0
- package/dist/cjs/api/resources/ticketTypes/exports.js +22 -0
- package/dist/cjs/api/resources/ticketTypes/resources/attributes/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/ticketTypes/resources/attributes/client/Client.js +11 -6
- package/dist/cjs/api/resources/ticketTypes/resources/attributes/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/ticketTypes/resources/attributes/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/ticketTypes/resources/attributes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/ticketTypes/resources/attributes/exports.js +21 -0
- package/dist/cjs/api/resources/tickets/client/Client.d.ts +16 -2
- package/dist/cjs/api/resources/tickets/client/Client.js +32 -16
- package/dist/cjs/api/resources/tickets/client/requests/ReplyToTicketRequest.d.ts +0 -22
- package/dist/cjs/api/resources/tickets/client/requests/UpdateTicketRequest.d.ts +0 -12
- package/dist/cjs/api/resources/tickets/exports.d.ts +2 -0
- package/dist/cjs/api/resources/tickets/exports.js +21 -0
- package/dist/cjs/api/resources/tickets/types/DeleteTicketResponse.d.ts +3 -3
- package/dist/cjs/api/resources/tickets/types/Ticket.d.ts +11 -11
- package/dist/cjs/api/resources/tickets/types/TicketContacts.d.ts +2 -2
- package/dist/cjs/api/resources/tickets/types/TicketPart.d.ts +15 -15
- package/dist/cjs/api/resources/tickets/types/TicketState.d.ts +5 -5
- package/dist/cjs/api/resources/tickets/types/TicketStateDetailed.d.ts +9 -9
- package/dist/cjs/api/resources/tickets/types/TicketType.d.ts +14 -14
- package/dist/cjs/api/resources/unstable/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/unstable/errors/BadRequestError.js +5 -1
- package/dist/cjs/api/resources/unstable/errors/ConflictError.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/errors/ConflictError.js +5 -1
- package/dist/cjs/api/resources/unstable/errors/ForbiddenError.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/errors/ForbiddenError.js +5 -1
- package/dist/cjs/api/resources/unstable/errors/InternalServerError.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/errors/InternalServerError.js +5 -1
- package/dist/cjs/api/resources/unstable/errors/NotFoundError.js +5 -1
- package/dist/cjs/api/resources/unstable/errors/TooManyRequestsError.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/errors/TooManyRequestsError.js +5 -1
- package/dist/cjs/api/resources/unstable/errors/UnauthorizedError.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/errors/UnauthorizedError.js +5 -1
- package/dist/cjs/api/resources/unstable/errors/UnprocessableEntityError.js +5 -1
- package/dist/cjs/api/resources/unstable/exports.d.ts +3 -0
- package/dist/cjs/api/resources/unstable/exports.js +22 -0
- package/dist/cjs/api/resources/unstable/resources/admins/client/Client.d.ts +12 -2
- package/dist/cjs/api/resources/unstable/resources/admins/client/Client.js +28 -13
- package/dist/cjs/api/resources/unstable/resources/admins/client/requests/SetAwayAdminRequest.d.ts +0 -7
- package/dist/cjs/api/resources/unstable/resources/admins/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/admins/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/admins/types/Admin.d.ts +12 -12
- package/dist/cjs/api/resources/unstable/resources/aiAgent/exports.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/resources/aiAgent/exports.js +18 -0
- package/dist/cjs/api/resources/unstable/resources/aiAgent/types/AiAgent.d.ts +9 -9
- package/dist/cjs/api/resources/unstable/resources/aiContent/client/Client.d.ts +21 -2
- package/dist/cjs/api/resources/unstable/resources/aiContent/client/Client.js +41 -20
- package/dist/cjs/api/resources/unstable/resources/aiContent/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/resources/aiContent/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/unstable/resources/aiContent/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/aiContent/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/aiContent/types/ContentImportSourcesList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/resources/aiContent/types/ExternalPage.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/resources/aiContent/types/ExternalPagesList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/resources/aiContentSource/exports.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/resources/aiContentSource/exports.js +18 -0
- package/dist/cjs/api/resources/unstable/resources/aiContentSource/types/ContentSource.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/resources/articles/client/Client.d.ts +11 -2
- package/dist/cjs/api/resources/unstable/resources/articles/client/Client.js +29 -21
- package/dist/cjs/api/resources/unstable/resources/articles/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/articles/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/articles/types/Article.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/resources/articles/types/ArticleListItem.d.ts +16 -16
- package/dist/cjs/api/resources/unstable/resources/articles/types/ArticleSearchHighlights.d.ts +7 -7
- package/dist/cjs/api/resources/unstable/resources/articles/types/ArticleSearchResponse.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/resources/awayStatusReasons/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/unstable/resources/awayStatusReasons/client/Client.js +3 -1
- package/dist/cjs/api/resources/unstable/resources/awayStatusReasons/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/awayStatusReasons/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/brands/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/unstable/resources/brands/client/Client.js +7 -3
- package/dist/cjs/api/resources/unstable/resources/brands/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/brands/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/brands/types/Brand.d.ts +8 -8
- package/dist/cjs/api/resources/unstable/resources/brands/types/BrandList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/resources/calls/client/Client.d.ts +19 -2
- package/dist/cjs/api/resources/unstable/resources/calls/client/Client.js +44 -24
- package/dist/cjs/api/resources/unstable/resources/calls/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/calls/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/calls/types/Call.d.ts +19 -19
- package/dist/cjs/api/resources/unstable/resources/calls/types/ListCallsWithTranscriptsResponse.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/resources/companies/client/Client.d.ts +23 -2
- package/dist/cjs/api/resources/unstable/resources/companies/client/Client.js +71 -53
- package/dist/cjs/api/resources/unstable/resources/companies/client/requests/ScrollOverAllCompaniesRequest.d.ts +0 -1
- package/dist/cjs/api/resources/unstable/resources/companies/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/companies/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/companies/types/Company.d.ts +29 -29
- package/dist/cjs/api/resources/unstable/resources/contacts/client/Client.d.ts +36 -4
- package/dist/cjs/api/resources/unstable/resources/contacts/client/Client.js +65 -31
- package/dist/cjs/api/resources/unstable/resources/contacts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/contacts/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/contacts/types/Contact.d.ts +48 -48
- package/dist/cjs/api/resources/unstable/resources/contacts/types/CreateContactResponse.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/resources/contacts/types/MergeContactResponse.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/resources/contacts/types/ShowContactByExternalIdResponse.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/resources/contacts/types/ShowContactResponse.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/resources/contacts/types/UpdateContactResponse.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/resources/conversations/client/Client.d.ts +30 -4
- package/dist/cjs/api/resources/unstable/resources/conversations/client/Client.js +83 -50
- package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +0 -21
- package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/ManageConversationRequest.d.ts +0 -10
- package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/{ReplyConversationRequest.d.ts → ReplyConversationBody.d.ts} +1 -1
- package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/UpdateConversationRequest.d.ts +0 -12
- package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/unstable/resources/conversations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/conversations/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/conversations/types/Conversation.d.ts +28 -28
- package/dist/cjs/api/resources/unstable/resources/customChannelEvents/client/Client.d.ts +9 -2
- package/dist/cjs/api/resources/unstable/resources/customChannelEvents/client/Client.js +17 -8
- package/dist/cjs/api/resources/unstable/resources/customChannelEvents/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/customChannelEvents/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/customObjectInstances/client/Client.d.ts +11 -2
- package/dist/cjs/api/resources/unstable/resources/customObjectInstances/client/Client.js +36 -15
- package/dist/cjs/api/resources/unstable/resources/customObjectInstances/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/customObjectInstances/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/customObjectInstances/types/CustomObjectInstance.d.ts +8 -8
- package/dist/cjs/api/resources/unstable/resources/dataAttributes/client/Client.d.ts +9 -4
- package/dist/cjs/api/resources/unstable/resources/dataAttributes/client/Client.js +22 -14
- package/dist/{esm/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.mts → cjs/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeBody.d.ts} +1 -1
- package/dist/cjs/api/resources/unstable/resources/dataAttributes/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/resources/dataAttributes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/dataAttributes/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/dataAttributes/types/DataAttribute.d.ts +17 -17
- package/dist/cjs/api/resources/unstable/resources/dataEvents/client/Client.d.ts +9 -4
- package/dist/cjs/api/resources/unstable/resources/dataEvents/client/Client.js +26 -12
- package/dist/cjs/api/resources/unstable/resources/dataEvents/client/requests/CreateDataEventSummariesRequest.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/resources/dataEvents/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/dataEvents/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/dataEvents/types/DataEvent.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/resources/dataExport/client/Client.d.ts +13 -2
- package/dist/cjs/api/resources/unstable/resources/dataExport/client/Client.js +21 -8
- package/dist/cjs/api/resources/unstable/resources/dataExport/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/dataExport/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/dataExport/types/DataExport.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/resources/emails/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/unstable/resources/emails/client/Client.js +7 -3
- package/dist/cjs/api/resources/unstable/resources/emails/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/emails/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/emails/types/EmailList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/resources/emails/types/EmailSetting.d.ts +10 -10
- package/dist/cjs/api/resources/unstable/resources/export/client/Client.d.ts +6 -2
- package/dist/cjs/api/resources/unstable/resources/export/client/Client.js +9 -3
- package/dist/cjs/api/resources/unstable/resources/export/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/export/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/export/types/GetExportReportingDataGetDatasetsResponse.d.ts +9 -9
- package/dist/cjs/api/resources/unstable/resources/export/types/PostExportReportingDataEnqueueResponse.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/resources/helpCenter/client/Client.d.ts +15 -2
- package/dist/cjs/api/resources/unstable/resources/helpCenter/client/Client.js +28 -13
- package/dist/cjs/api/resources/unstable/resources/helpCenter/client/requests/UpdateCollectionRequest.d.ts +0 -6
- package/dist/cjs/api/resources/unstable/resources/helpCenter/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/helpCenter/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/helpCenter/types/Collection.d.ts +13 -13
- package/dist/cjs/api/resources/unstable/resources/helpCenter/types/HelpCenter.d.ts +9 -9
- package/dist/cjs/api/resources/unstable/resources/helpCenter/types/HelpCenterList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/resources/internalArticles/client/Client.d.ts +13 -2
- package/dist/cjs/api/resources/unstable/resources/internalArticles/client/Client.js +31 -15
- package/dist/cjs/api/resources/unstable/resources/internalArticles/client/requests/UpdateInternalArticleRequestBody.d.ts +0 -7
- package/dist/cjs/api/resources/unstable/resources/internalArticles/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/internalArticles/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/internalArticles/types/InternalArticleListItem.d.ts +9 -9
- package/dist/cjs/api/resources/unstable/resources/internalArticles/types/InternalArticleSearchResponse.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/resources/jobs/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/unstable/resources/jobs/client/Client.js +4 -2
- package/dist/cjs/api/resources/unstable/resources/jobs/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/jobs/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/jobs/types/Jobs.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/resources/macros/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/unstable/resources/macros/client/Client.js +16 -13
- package/dist/cjs/api/resources/unstable/resources/macros/client/requests/GetMacroRequest.d.ts +0 -15
- package/dist/cjs/api/resources/unstable/resources/macros/client/requests/ListMacrosRequest.d.ts +0 -35
- package/dist/cjs/api/resources/unstable/resources/macros/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/macros/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/macros/types/Macro.d.ts +10 -10
- package/dist/cjs/api/resources/unstable/resources/macros/types/MacroList.d.ts +7 -7
- package/dist/cjs/api/resources/unstable/resources/messages/client/Client.d.ts +7 -4
- package/dist/cjs/api/resources/unstable/resources/messages/client/Client.js +18 -12
- package/dist/cjs/api/resources/unstable/resources/messages/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/messages/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/messages/types/Message.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/resources/news/client/Client.d.ts +17 -2
- package/dist/cjs/api/resources/unstable/resources/news/client/Client.js +32 -15
- package/dist/cjs/api/resources/unstable/resources/news/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/news/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/news/types/NewsItem.d.ts +14 -14
- package/dist/cjs/api/resources/unstable/resources/news/types/Newsfeed.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/resources/news/types/NewsfeedAssignment.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/resources/notes/client/Client.d.ts +9 -2
- package/dist/cjs/api/resources/unstable/resources/notes/client/Client.js +18 -9
- package/dist/cjs/api/resources/unstable/resources/notes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/notes/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/notes/types/CompanyNote.d.ts +8 -8
- package/dist/cjs/api/resources/unstable/resources/notes/types/Note.d.ts +8 -8
- package/dist/cjs/api/resources/unstable/resources/segments/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/unstable/resources/segments/client/Client.js +14 -7
- package/dist/cjs/api/resources/unstable/resources/segments/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/segments/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/segments/types/Segment.d.ts +7 -7
- package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/client/Client.d.ts +7 -2
- package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/client/Client.js +13 -6
- package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/client/requests/AttachSubscriptionTypeToContactRequest.d.ts +0 -7
- package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/types/SubscriptionType.d.ts +7 -7
- package/dist/cjs/api/resources/unstable/resources/switch/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/unstable/resources/switch/client/Client.js +5 -2
- package/dist/cjs/api/resources/unstable/resources/switch/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/switch/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/tags/client/Client.d.ts +21 -2
- package/dist/cjs/api/resources/unstable/resources/tags/client/Client.js +45 -24
- package/dist/cjs/api/resources/unstable/resources/tags/client/requests/AttachTagToContactRequest.d.ts +0 -6
- package/dist/cjs/api/resources/unstable/resources/tags/client/requests/AttachTagToConversationRequest.d.ts +0 -7
- package/dist/cjs/api/resources/unstable/resources/tags/client/requests/AttachTagToTicketRequest.d.ts +0 -7
- package/dist/cjs/api/resources/unstable/resources/tags/client/requests/DetachTagFromConversationRequest.d.ts +0 -14
- package/dist/cjs/api/resources/unstable/resources/tags/client/requests/DetachTagFromTicketRequest.d.ts +0 -14
- package/dist/cjs/api/resources/unstable/resources/tags/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/tags/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/tags/types/Tag.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/resources/tags/types/TagBasic.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/resources/teams/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/unstable/resources/teams/client/Client.js +7 -3
- package/dist/cjs/api/resources/unstable/resources/teams/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/teams/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/teams/types/Team.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/resources/ticketStates/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/unstable/resources/ticketStates/client/Client.js +3 -1
- package/dist/cjs/api/resources/unstable/resources/ticketStates/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/ticketStates/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/client/Client.js +11 -6
- package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/ticketTypes/client/Client.d.ts +7 -2
- package/dist/cjs/api/resources/unstable/resources/ticketTypes/client/Client.js +12 -5
- package/dist/cjs/api/resources/unstable/resources/ticketTypes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/ticketTypes/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/tickets/client/Client.d.ts +14 -2
- package/dist/cjs/api/resources/unstable/resources/tickets/client/Client.js +28 -14
- package/dist/cjs/api/resources/unstable/resources/tickets/client/requests/UpdateTicketRequest.d.ts +0 -12
- package/dist/cjs/api/resources/unstable/resources/tickets/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/tickets/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/tickets/types/DeleteTicketResponse.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/resources/tickets/types/Ticket.d.ts +17 -17
- package/dist/cjs/api/resources/unstable/resources/tickets/types/TicketContacts.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/resources/tickets/types/TicketPart.d.ts +15 -15
- package/dist/cjs/api/resources/unstable/resources/tickets/types/TicketState.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/resources/tickets/types/TicketStateDetailed.d.ts +9 -9
- package/dist/cjs/api/resources/unstable/resources/tickets/types/TicketType.d.ts +14 -14
- package/dist/cjs/api/resources/unstable/resources/visitors/client/Client.d.ts +9 -4
- package/dist/cjs/api/resources/unstable/resources/visitors/client/Client.js +20 -8
- package/dist/cjs/api/resources/unstable/resources/visitors/client/requests/ConvertVisitorRequest.d.ts +14 -2
- package/dist/cjs/api/resources/unstable/resources/visitors/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/visitors/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/unstable/resources/workflows/client/Client.js +4 -2
- package/dist/cjs/api/resources/unstable/resources/workflows/exports.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/resources/workflows/exports.js +21 -0
- package/dist/cjs/api/resources/unstable/types/ActivityLog.d.ts +10 -10
- package/dist/cjs/api/resources/unstable/types/ActivityLogList.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/ActivityLogMetadata.d.ts +11 -11
- package/dist/cjs/api/resources/unstable/types/AddressableList.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/AdminList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/AdminPriorityLevel.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/AdminReplyConversationRequest.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/AdminReplyTicketRequest.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/AdminWithApp.d.ts +14 -14
- package/dist/cjs/api/resources/unstable/types/AiCallResponse.d.ts +10 -10
- package/dist/cjs/api/resources/unstable/types/App.d.ts +7 -8
- package/dist/cjs/api/resources/unstable/types/ArticleContent.d.ts +9 -9
- package/dist/cjs/api/resources/unstable/types/ArticleList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/ArticleStatistics.d.ts +7 -7
- package/dist/cjs/api/resources/unstable/types/ArticleTranslatedContent.d.ts +38 -38
- package/dist/cjs/api/resources/unstable/types/AssignConversationRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/AwayStatusReason.d.ts +8 -8
- package/dist/cjs/api/resources/unstable/types/CallList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/CloseConversationRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/CollectionList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/CompanyAttachedContacts.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/CompanyAttachedSegments.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/CompanyData.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/CompanyList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/CompanyScroll.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/ContactArchived.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/ContactAttachedCompanies.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/ContactBlocked.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/ContactCompanies.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/ContactDeleted.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/ContactList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/ContactLocation.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/ContactNotes.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/ContactReference.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/ContactReplyBaseRequest.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/ContactReplyEmailRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/ContactReplyIntercomUserIdRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/ContactReplyUserIdRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/ContactSegments.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/ContactSocialProfiles.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/ContactSubscriptionTypes.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/ContactTags.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/ContactUnarchived.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/ContentSourcesList.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/ConversationAttachmentFiles.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/ConversationAttributeUpdatedByAdmin.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/ConversationAttributeUpdatedByUser.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/ConversationAttributeUpdatedByWorkflow.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/types/ConversationContacts.d.ts +2 -3
- package/dist/cjs/api/resources/unstable/types/ConversationDeleted.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/ConversationFirstContactReply.d.ts +3 -6
- package/dist/cjs/api/resources/unstable/types/ConversationList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/ConversationPart.d.ts +18 -18
- package/dist/cjs/api/resources/unstable/types/ConversationPartAuthor.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/types/ConversationPartMetadata.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/ConversationParts.d.ts +3 -5
- package/dist/cjs/api/resources/unstable/types/ConversationRating.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/types/ConversationResponseTime.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/ConversationSlaAppliedByRule.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/types/ConversationSlaAppliedByWorkflow.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/types/ConversationSlaPaused.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/ConversationSlaRemoved.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/ConversationSlaTargetMissed.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/types/ConversationSlaUnpaused.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/ConversationSource.d.ts +9 -9
- package/dist/cjs/api/resources/unstable/types/ConversationStatistics.d.ts +23 -24
- package/dist/cjs/api/resources/unstable/types/ConversationTagsUpdated.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/ConversationTeammates.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/CreateArticleRequest.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/types/CreateContactRequest.d.ts +4 -0
- package/dist/cjs/api/resources/unstable/types/CreateDataAttributeRequest.d.ts +0 -3
- package/dist/cjs/api/resources/unstable/types/CreateDataEventRequest.d.ts +1 -0
- package/dist/cjs/api/resources/unstable/types/CreateInternalArticleRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/CreateMessageRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/CreateOrUpdateCompanyRequest.d.ts +9 -9
- package/dist/cjs/api/resources/unstable/types/CreateOrUpdateTagRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/CreatePhoneSwitchRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/CreateTicketRequestBody.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/types/CreateTicketTypeRequest.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/CursorPages.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/CustomActionFinished.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/CustomActionStarted.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/CustomChannelContact.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/CustomObjectInstanceDeleted.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/CustomObjectInstanceList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/DataAttributeList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/DataEventList.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/DataEventSummary.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/DataEventSummaryItem.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/DataExportCsv.d.ts +26 -26
- package/dist/cjs/api/resources/unstable/types/DeletedArticleObject.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/DeletedCollectionObject.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/DeletedCompanyObject.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/DeletedInternalArticleObject.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/DeletedObject.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/EmailAddressHeader.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/EmailMessageMetadata.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/Error_.d.ts +3 -4
- package/dist/cjs/api/resources/unstable/types/FileAttribute.d.ts +7 -7
- package/dist/cjs/api/resources/unstable/types/GroupContent.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/GroupTranslatedContent.d.ts +38 -38
- package/dist/cjs/api/resources/unstable/types/HandlingEvent.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/HandlingEventList.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/InternalArticleList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/LinkedObject.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/LinkedObjectList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/Metadata.d.ts +2 -0
- package/dist/cjs/api/resources/unstable/types/MultipleFilterSearchRequest.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/NewsItemRequest.d.ts +6 -6
- package/dist/cjs/api/resources/unstable/types/NotFoundErrorBody.d.ts +2 -3
- package/dist/cjs/api/resources/unstable/types/NoteList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/OperatorWorkflowEvent.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/PagesLink.d.ts +5 -5
- package/dist/cjs/api/resources/unstable/types/PaginatedResponse.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/PartAttachment.d.ts +7 -7
- package/dist/cjs/api/resources/unstable/types/PhoneSwitch.d.ts +2 -3
- package/dist/cjs/api/resources/unstable/types/PriorityChanged.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/Reference.d.ts +2 -4
- package/dist/cjs/api/resources/unstable/types/RegisterFinVoiceCallRequest.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/SearchRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/SegmentList.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/SingleFilterSearchRequest.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/SlaApplied.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/Snoozed.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/SocialProfile.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/StartingAfterPaging.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/SubscriptionTypeList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/TagCompanyRequest.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/TagList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/TagMultipleUsersRequest.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/Tags.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/TeamList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/TeamPriorityLevel.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/TeammateReference.d.ts +1 -1
- package/dist/cjs/api/resources/unstable/types/TicketList.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/TicketPartAuthor.d.ts +4 -4
- package/dist/cjs/api/resources/unstable/types/TicketParts.d.ts +3 -5
- package/dist/cjs/api/resources/unstable/types/TicketReply.d.ts +9 -9
- package/dist/cjs/api/resources/unstable/types/TicketStateList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/TicketTypeAttribute.d.ts +17 -17
- package/dist/cjs/api/resources/unstable/types/TicketTypeAttributeList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/TicketTypeList.d.ts +2 -2
- package/dist/cjs/api/resources/unstable/types/Translation.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/UntagCompanyRequest.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/UpdateDataAttributeRequestBody.d.ts +0 -3
- package/dist/cjs/api/resources/unstable/types/UpdateVisitorRequest.d.ts +4 -0
- package/dist/cjs/api/resources/unstable/types/UpdateVisitorRequest.js +3 -0
- package/dist/cjs/api/resources/unstable/types/Visitor.d.ts +54 -56
- package/dist/cjs/api/resources/unstable/types/VisitorDeletedObject.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/WhatsappMessageStatusList.d.ts +3 -3
- package/dist/cjs/api/resources/unstable/types/WorkflowExport.d.ts +17 -17
- package/dist/cjs/api/resources/unstable/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/unstable/types/index.js +4 -0
- package/dist/cjs/api/resources/visitors/client/Client.d.ts +7 -2
- package/dist/cjs/api/resources/visitors/client/Client.js +19 -7
- package/dist/cjs/api/resources/visitors/exports.d.ts +2 -0
- package/dist/cjs/api/resources/visitors/exports.js +21 -0
- package/dist/cjs/api/types/ActivityLog.d.ts +10 -10
- package/dist/cjs/api/types/ActivityLogList.d.ts +3 -3
- package/dist/cjs/api/types/ActivityLogMetadata.d.ts +20 -20
- package/dist/cjs/api/types/AddressableList.d.ts +3 -3
- package/dist/cjs/api/types/AdminList.d.ts +2 -2
- package/dist/cjs/api/types/AdminPriorityLevel.d.ts +2 -2
- package/dist/cjs/api/types/AdminReplyConversationRequest.d.ts +5 -5
- package/dist/cjs/api/types/AdminReplyTicketRequest.d.ts +4 -4
- package/dist/cjs/api/types/AdminWithApp.d.ts +14 -14
- package/dist/cjs/api/types/App.d.ts +7 -8
- package/dist/cjs/api/types/ArticleContent.d.ts +9 -9
- package/dist/cjs/api/types/ArticleList.d.ts +4 -4
- package/dist/cjs/api/types/ArticleStatistics.d.ts +1 -1
- package/dist/cjs/api/types/ArticleTranslatedContent.d.ts +38 -38
- package/dist/cjs/api/types/AssignConversationRequest.d.ts +1 -1
- package/dist/cjs/api/types/AwayStatusReason.d.ts +8 -8
- package/dist/cjs/api/types/CallList.d.ts +4 -4
- package/dist/cjs/api/types/CloseConversationRequest.d.ts +1 -1
- package/dist/cjs/api/types/CollectionList.d.ts +4 -4
- package/dist/cjs/api/types/CompanyAttachedContacts.d.ts +4 -4
- package/dist/cjs/api/types/CompanyAttachedSegments.d.ts +2 -2
- package/dist/cjs/api/types/CompanyData.d.ts +3 -3
- package/dist/cjs/api/types/CompanyList.d.ts +4 -4
- package/dist/cjs/api/types/CompanyScroll.d.ts +5 -5
- package/dist/cjs/api/types/ContactArchived.d.ts +1 -1
- package/dist/cjs/api/types/ContactAttachedCompanies.d.ts +4 -4
- package/dist/cjs/api/types/ContactBlocked.d.ts +1 -1
- package/dist/cjs/api/types/ContactCompanies.d.ts +4 -4
- package/dist/cjs/api/types/ContactDeleted.d.ts +1 -1
- package/dist/cjs/api/types/ContactList.d.ts +4 -4
- package/dist/cjs/api/types/ContactLocation.d.ts +4 -4
- package/dist/cjs/api/types/ContactNotes.d.ts +4 -4
- package/dist/cjs/api/types/ContactReference.d.ts +3 -3
- package/dist/cjs/api/types/ContactReplyBaseRequest.d.ts +3 -3
- package/dist/cjs/api/types/ContactReplyEmailRequest.d.ts +1 -1
- package/dist/cjs/api/types/ContactReplyIntercomUserIdRequest.d.ts +1 -1
- package/dist/cjs/api/types/ContactReplyUserIdRequest.d.ts +1 -1
- package/dist/cjs/api/types/ContactSegments.d.ts +2 -2
- package/dist/cjs/api/types/ContactSocialProfiles.d.ts +1 -1
- package/dist/cjs/api/types/ContactSubscriptionTypes.d.ts +4 -4
- package/dist/cjs/api/types/ContactTags.d.ts +4 -4
- package/dist/cjs/api/types/ContactUnarchived.d.ts +1 -1
- package/dist/cjs/api/types/ContentSourcesList.d.ts +3 -3
- package/dist/cjs/api/types/ConversationAttachmentFiles.d.ts +3 -3
- package/dist/cjs/api/types/ConversationAttributeUpdatedByAdmin.d.ts +4 -4
- package/dist/cjs/api/types/ConversationAttributeUpdatedByWorkflow.d.ts +6 -6
- package/dist/cjs/api/types/ConversationContacts.d.ts +2 -3
- package/dist/cjs/api/types/ConversationDeleted.d.ts +3 -3
- package/dist/cjs/api/types/ConversationFirstContactReply.d.ts +3 -6
- package/dist/cjs/api/types/ConversationList.d.ts +4 -4
- package/dist/cjs/api/types/ConversationPart.d.ts +18 -18
- package/dist/cjs/api/types/ConversationPartAuthor.d.ts +6 -6
- package/dist/cjs/api/types/ConversationPartMetadata.d.ts +3 -3
- package/dist/cjs/api/types/ConversationParts.d.ts +3 -5
- package/dist/cjs/api/types/ConversationRating.d.ts +6 -6
- package/dist/cjs/api/types/ConversationResponseTime.d.ts +3 -3
- package/dist/cjs/api/types/ConversationSource.d.ts +9 -9
- package/dist/cjs/api/types/ConversationStatistics.d.ts +23 -24
- package/dist/cjs/api/types/CreateArticleRequest.d.ts +6 -6
- package/dist/cjs/api/types/CreateDataAttributeRequest.d.ts +0 -3
- package/dist/cjs/api/types/CreateDataEventRequest.d.ts +0 -3
- package/dist/cjs/api/types/CreateInternalArticleRequest.d.ts +1 -1
- package/dist/cjs/api/types/CreateMessageRequest.d.ts +6 -6
- package/dist/cjs/api/types/CreateOrUpdateCompanyRequest.d.ts +9 -9
- package/dist/cjs/api/types/CreateOrUpdateTagRequest.d.ts +1 -1
- package/dist/cjs/api/types/CreatePhoneSwitchRequest.d.ts +1 -1
- package/dist/cjs/api/types/CreateTicketRequestBody.d.ts +6 -6
- package/dist/cjs/api/types/CreateTicketTypeRequest.d.ts +4 -4
- package/dist/cjs/api/types/CursorPages.d.ts +5 -5
- package/dist/cjs/api/types/CustomActionFinished.d.ts +3 -3
- package/dist/cjs/api/types/CustomActionStarted.d.ts +2 -2
- package/dist/cjs/api/types/CustomChannelContact.d.ts +2 -2
- package/dist/cjs/api/types/CustomObjectInstanceDeleted.d.ts +3 -3
- package/dist/cjs/api/types/CustomObjectInstanceList.d.ts +2 -2
- package/dist/cjs/api/types/DataAttributeList.d.ts +2 -2
- package/dist/cjs/api/types/DataEventList.d.ts +5 -5
- package/dist/cjs/api/types/DataEventSummary.d.ts +4 -4
- package/dist/cjs/api/types/DataEventSummaryItem.d.ts +5 -5
- package/dist/cjs/api/types/DataExportCsv.d.ts +26 -26
- package/dist/cjs/api/types/DeletedArticleObject.d.ts +3 -3
- package/dist/cjs/api/types/DeletedCollectionObject.d.ts +3 -3
- package/dist/cjs/api/types/DeletedCompanyObject.d.ts +3 -3
- package/dist/cjs/api/types/DeletedInternalArticleObject.d.ts +3 -3
- package/dist/cjs/api/types/DeletedObject.d.ts +3 -3
- package/dist/cjs/api/types/EmailAddressHeader.d.ts +3 -3
- package/dist/cjs/api/types/EmailMessageMetadata.d.ts +2 -2
- package/dist/cjs/api/types/Error_.d.ts +3 -4
- package/dist/cjs/api/types/FileAttribute.d.ts +7 -7
- package/dist/cjs/api/types/GroupContent.d.ts +3 -3
- package/dist/cjs/api/types/GroupTranslatedContent.d.ts +38 -38
- package/dist/cjs/api/types/InternalArticleList.d.ts +4 -4
- package/dist/cjs/api/types/IpAllowlist.d.ts +3 -3
- package/dist/cjs/api/types/LinkedObject.d.ts +3 -3
- package/dist/cjs/api/types/LinkedObjectList.d.ts +4 -4
- package/dist/cjs/api/types/Metadata.d.ts +1 -1
- package/dist/cjs/api/types/MultipleFilterSearchRequest.d.ts +2 -2
- package/dist/cjs/api/types/NewsItemRequest.d.ts +6 -6
- package/dist/cjs/api/types/NotFoundErrorBody.d.ts +2 -3
- package/dist/cjs/api/types/NoteList.d.ts +3 -3
- package/dist/cjs/api/types/OffsetPages.d.ts +4 -4
- package/dist/cjs/api/types/OperatorWorkflowEvent.d.ts +5 -5
- package/dist/cjs/api/types/PagesLink.d.ts +5 -5
- package/dist/cjs/api/types/PaginatedResponse.d.ts +4 -4
- package/dist/cjs/api/types/PartAttachment.d.ts +7 -7
- package/dist/cjs/api/types/PhoneSwitch.d.ts +2 -3
- package/dist/cjs/api/types/Reference.d.ts +2 -4
- package/dist/cjs/api/types/SearchRequest.d.ts +1 -1
- package/dist/cjs/api/types/SegmentList.d.ts +3 -3
- package/dist/cjs/api/types/SingleFilterSearchRequest.d.ts +3 -3
- package/dist/cjs/api/types/SlaApplied.d.ts +3 -3
- package/dist/cjs/api/types/SocialProfile.d.ts +3 -3
- package/dist/cjs/api/types/StartingAfterPaging.d.ts +2 -2
- package/dist/cjs/api/types/SubscriptionTypeList.d.ts +2 -2
- package/dist/cjs/api/types/TagCompanyRequest.d.ts +2 -2
- package/dist/cjs/api/types/TagList.d.ts +2 -2
- package/dist/cjs/api/types/TagMultipleUsersRequest.d.ts +1 -1
- package/dist/cjs/api/types/Tags.d.ts +2 -2
- package/dist/cjs/api/types/TeamList.d.ts +2 -2
- package/dist/cjs/api/types/TeamPriorityLevel.d.ts +2 -2
- package/dist/cjs/api/types/TicketList.d.ts +4 -4
- package/dist/cjs/api/types/TicketPartAuthor.d.ts +4 -4
- package/dist/cjs/api/types/TicketParts.d.ts +3 -5
- package/dist/cjs/api/types/TicketReply.d.ts +9 -9
- package/dist/cjs/api/types/TicketStateList.d.ts +2 -2
- package/dist/cjs/api/types/TicketTypeAttribute.d.ts +17 -17
- package/dist/cjs/api/types/TicketTypeAttributeList.d.ts +2 -2
- package/dist/cjs/api/types/TicketTypeList.d.ts +2 -2
- package/dist/cjs/api/types/Translation.d.ts +3 -3
- package/dist/cjs/api/types/UntagCompanyRequest.d.ts +3 -3
- package/dist/cjs/api/types/UpdateArticleRequestBody.d.ts +1 -1
- package/dist/cjs/api/types/UpdateCompanyRequestBody.d.ts +7 -7
- package/dist/cjs/api/types/UpdateDataAttributeRequestBody.d.ts +0 -3
- package/dist/cjs/api/types/Visitor.d.ts +51 -53
- package/dist/cjs/api/types/VisitorDeletedObject.d.ts +3 -3
- package/dist/cjs/api/types/WhatsappMessageStatusList.d.ts +3 -3
- package/dist/cjs/api/types/compat.d.ts +6 -0
- package/dist/cjs/api/types/compat.js +2 -0
- package/dist/cjs/api/types/index.d.ts +0 -3
- package/dist/cjs/api/types/index.js +0 -3
- package/dist/cjs/auth/BearerAuthProvider.d.ts +14 -8
- package/dist/cjs/auth/BearerAuthProvider.js +16 -6
- package/dist/cjs/core/auth/AuthProvider.d.ts +1 -0
- package/dist/cjs/core/auth/AuthProvider.js +7 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +2 -2
- package/dist/cjs/core/auth/BasicAuth.js +7 -1
- package/dist/cjs/core/auth/index.d.ts +1 -1
- package/dist/cjs/core/auth/index.js +3 -1
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/dist/cjs/core/fetcher/Fetcher.d.ts +9 -2
- package/dist/cjs/core/fetcher/Fetcher.js +61 -103
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +20 -7
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +16 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +38 -22
- package/dist/cjs/core/fetcher/index.d.ts +2 -0
- package/dist/cjs/core/fetcher/index.js +3 -1
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +176 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +11 -1
- package/dist/cjs/core/fetcher/makeRequest.js +65 -11
- package/dist/cjs/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/cjs/core/fetcher/redactUrl.js +88 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -1
- package/dist/cjs/core/fetcher/requestWithRetries.js +27 -3
- package/dist/cjs/core/fetcher/signals.d.ts +1 -0
- package/dist/cjs/core/fetcher/signals.js +12 -3
- package/dist/cjs/core/headers.d.ts +2 -2
- package/dist/cjs/core/pagination/Page.d.ts +1 -1
- package/dist/cjs/core/requestBody.d.ts +12 -0
- package/dist/cjs/core/requestBody.js +26 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -1
- package/dist/cjs/core/runtime/index.js +2 -1
- package/dist/cjs/core/runtime/runtime.d.ts +19 -0
- package/dist/cjs/core/runtime/runtime.js +81 -8
- package/dist/cjs/core/url/QueryStringBuilder.d.ts +48 -0
- package/dist/cjs/core/url/QueryStringBuilder.js +88 -0
- package/dist/cjs/core/url/encodePathParam.d.ts +3 -1
- package/dist/cjs/core/url/encodePathParam.js +8 -2
- package/dist/cjs/core/url/index.d.ts +1 -0
- package/dist/cjs/core/url/index.js +3 -1
- package/dist/cjs/core/url/qs.d.ts +2 -1
- package/dist/cjs/core/url/qs.js +25 -13
- package/dist/cjs/core/utils/setObjectProperty.d.ts +6 -5
- package/dist/cjs/core/utils/setObjectProperty.js +16 -10
- package/dist/cjs/errors/IntercomError.d.ts +4 -1
- package/dist/cjs/errors/IntercomError.js +27 -2
- package/dist/cjs/errors/IntercomTimeoutError.d.ts +5 -2
- package/dist/cjs/errors/IntercomTimeoutError.js +45 -4
- package/dist/cjs/errors/handleNonStatusCodeError.js +4 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +23 -8
- package/dist/esm/BaseClient.mjs +43 -4
- package/dist/esm/Client.d.mts +13 -2
- package/dist/esm/Client.mjs +34 -0
- package/dist/esm/api/errors/BadRequestError.mjs +5 -1
- package/dist/esm/api/errors/ForbiddenError.d.mts +1 -0
- package/dist/esm/api/errors/ForbiddenError.mjs +5 -1
- package/dist/esm/api/errors/NotFoundError.mjs +5 -1
- package/dist/esm/api/errors/TooManyRequestsError.d.mts +1 -0
- package/dist/esm/api/errors/TooManyRequestsError.mjs +5 -1
- package/dist/esm/api/errors/UnauthorizedError.d.mts +1 -0
- package/dist/esm/api/errors/UnauthorizedError.mjs +5 -1
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +5 -1
- package/dist/esm/api/index.d.mts +1 -0
- package/dist/esm/api/index.mjs +1 -0
- package/dist/esm/api/resources/admins/client/Client.d.mts +12 -2
- package/dist/esm/api/resources/admins/client/Client.mjs +28 -13
- package/dist/esm/api/resources/admins/client/requests/ConfigureAwayAdminRequest.d.mts +0 -7
- package/dist/esm/api/resources/admins/exports.d.mts +2 -0
- package/dist/esm/api/resources/admins/exports.mjs +3 -0
- package/dist/esm/api/resources/admins/types/Admin.d.mts +5 -5
- package/dist/esm/api/resources/aiAgent/exports.d.mts +1 -0
- package/dist/esm/api/resources/aiAgent/exports.mjs +2 -0
- package/dist/esm/api/resources/aiAgent/types/AiAgent.d.mts +9 -9
- package/dist/esm/api/resources/aiContent/client/Client.d.mts +21 -2
- package/dist/esm/api/resources/aiContent/client/Client.mjs +41 -20
- package/dist/esm/api/resources/aiContent/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/aiContent/client/requests/index.mjs +2 -1
- package/dist/esm/api/resources/aiContent/exports.d.mts +2 -0
- package/dist/esm/api/resources/aiContent/exports.mjs +3 -0
- package/dist/esm/api/resources/aiContent/types/ContentImportSourcesList.d.mts +4 -4
- package/dist/esm/api/resources/aiContent/types/ExternalPage.d.mts +2 -2
- package/dist/esm/api/resources/aiContent/types/ExternalPagesList.d.mts +4 -4
- package/dist/esm/api/resources/aiContentSource/exports.d.mts +1 -0
- package/dist/esm/api/resources/aiContentSource/exports.mjs +2 -0
- package/dist/esm/api/resources/aiContentSource/types/ContentSource.d.mts +4 -4
- package/dist/esm/api/resources/articles/client/Client.d.mts +13 -2
- package/dist/esm/api/resources/articles/client/Client.mjs +49 -33
- package/dist/esm/api/resources/articles/client/requests/UpdateArticleRequest.d.mts +0 -7
- package/dist/esm/api/resources/articles/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/articles/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/articles/exports.d.mts +2 -0
- package/dist/esm/api/resources/articles/exports.mjs +3 -0
- package/dist/esm/api/resources/articles/types/Article.d.mts +1 -1
- package/dist/esm/api/resources/articles/types/ArticleListItem.d.mts +9 -9
- package/dist/esm/api/resources/articles/types/ArticleSearchHighlights.d.mts +7 -7
- package/dist/esm/api/resources/articles/types/ArticleSearchResponse.d.mts +6 -6
- package/dist/esm/api/resources/awayStatusReasons/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/awayStatusReasons/client/Client.mjs +3 -1
- package/dist/esm/api/resources/awayStatusReasons/exports.d.mts +2 -0
- package/dist/esm/api/resources/awayStatusReasons/exports.mjs +3 -0
- package/dist/esm/api/resources/calls/client/Client.d.mts +11 -2
- package/dist/esm/api/resources/calls/client/Client.mjs +28 -16
- package/dist/esm/api/resources/calls/exports.d.mts +2 -0
- package/dist/esm/api/resources/calls/exports.mjs +3 -0
- package/dist/esm/api/resources/calls/types/Call.d.mts +19 -19
- package/dist/esm/api/resources/calls/types/ListCallsWithTranscriptsResponse.d.mts +4 -4
- package/dist/esm/api/resources/companies/client/Client.d.mts +23 -2
- package/dist/esm/api/resources/companies/client/Client.mjs +79 -56
- package/dist/esm/api/resources/companies/client/requests/ScrollCompaniesRequest.d.mts +0 -1
- package/dist/esm/api/resources/companies/exports.d.mts +2 -0
- package/dist/esm/api/resources/companies/exports.mjs +3 -0
- package/dist/esm/api/resources/companies/types/Company.d.mts +17 -17
- package/dist/esm/api/resources/contacts/client/Client.d.mts +38 -2
- package/dist/esm/api/resources/contacts/client/Client.mjs +97 -54
- package/dist/esm/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.d.mts +0 -7
- package/dist/esm/api/resources/contacts/exports.d.mts +2 -0
- package/dist/esm/api/resources/contacts/exports.mjs +3 -0
- package/dist/esm/api/resources/contacts/types/Contact.d.mts +36 -36
- package/dist/esm/api/resources/contacts/types/ContactsCreateResponse.d.mts +1 -1
- package/dist/esm/api/resources/contacts/types/ContactsFindResponse.d.mts +1 -1
- package/dist/esm/api/resources/contacts/types/ContactsMergeLeadInUserResponse.d.mts +1 -1
- package/dist/esm/api/resources/contacts/types/ContactsUpdateResponse.d.mts +1 -1
- package/dist/esm/api/resources/contacts/types/ShowContactByExternalIdResponse.d.mts +1 -1
- package/dist/esm/api/resources/conversations/client/Client.d.mts +28 -2
- package/dist/esm/api/resources/conversations/client/Client.mjs +82 -49
- package/dist/esm/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.mts +0 -21
- package/dist/esm/api/resources/conversations/client/requests/ManageConversationPartsRequest.d.mts +0 -10
- package/dist/esm/api/resources/conversations/client/requests/ReplyToConversationRequest.d.mts +0 -33
- package/dist/esm/api/resources/conversations/client/requests/UpdateConversationRequest.d.mts +0 -12
- package/dist/esm/api/resources/conversations/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/conversations/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/conversations/exports.d.mts +2 -0
- package/dist/esm/api/resources/conversations/exports.mjs +3 -0
- package/dist/esm/api/resources/conversations/types/Conversation.d.mts +17 -17
- package/dist/esm/api/resources/customChannelEvents/client/Client.d.mts +9 -2
- package/dist/esm/api/resources/customChannelEvents/client/Client.mjs +17 -8
- package/dist/esm/api/resources/customChannelEvents/exports.d.mts +2 -0
- package/dist/esm/api/resources/customChannelEvents/exports.mjs +3 -0
- package/dist/esm/api/resources/customObjectInstances/client/Client.d.mts +11 -2
- package/dist/esm/api/resources/customObjectInstances/client/Client.mjs +36 -15
- package/dist/esm/api/resources/customObjectInstances/exports.d.mts +2 -0
- package/dist/esm/api/resources/customObjectInstances/exports.mjs +3 -0
- package/dist/esm/api/resources/customObjectInstances/types/CustomObjectInstance.d.mts +8 -8
- package/dist/esm/api/resources/dataAttributes/client/Client.d.mts +7 -2
- package/dist/esm/api/resources/dataAttributes/client/Client.mjs +21 -13
- package/dist/esm/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.mts +0 -12
- package/dist/esm/api/resources/dataAttributes/exports.d.mts +2 -0
- package/dist/esm/api/resources/dataAttributes/exports.mjs +3 -0
- package/dist/esm/api/resources/dataAttributes/types/DataAttribute.d.mts +12 -12
- package/dist/esm/api/resources/dataEvents/exports.d.mts +1 -0
- package/dist/esm/api/resources/dataEvents/exports.mjs +2 -0
- package/dist/esm/api/resources/dataEvents/types/DataEvent.d.mts +5 -5
- package/dist/esm/api/resources/dataExport/client/Client.d.mts +17 -2
- package/dist/esm/api/resources/dataExport/client/Client.mjs +44 -17
- package/dist/esm/api/resources/dataExport/client/requests/ExportReportingDataRequest.d.mts +0 -7
- package/dist/esm/api/resources/dataExport/exports.d.mts +2 -0
- package/dist/esm/api/resources/dataExport/exports.mjs +3 -0
- package/dist/esm/api/resources/dataExport/types/DataExport.d.mts +4 -4
- package/dist/esm/api/resources/dataExport/types/DataExportExportReportingDataResponse.d.mts +4 -4
- package/dist/esm/api/resources/events/client/Client.d.mts +7 -2
- package/dist/esm/api/resources/events/client/Client.mjs +24 -22
- package/dist/esm/api/resources/events/client/requests/ListEventSummariesRequest.d.mts +4 -4
- package/dist/esm/api/resources/events/exports.d.mts +2 -0
- package/dist/esm/api/resources/events/exports.mjs +3 -0
- package/dist/esm/api/resources/export/client/Client.d.mts +6 -2
- package/dist/esm/api/resources/export/client/Client.mjs +9 -3
- package/dist/esm/api/resources/export/exports.d.mts +2 -0
- package/dist/esm/api/resources/export/exports.mjs +3 -0
- package/dist/esm/api/resources/export/types/GetExportReportingDataGetDatasetsResponse.d.mts +9 -9
- package/dist/esm/api/resources/export/types/PostExportReportingDataEnqueueResponse.d.mts +4 -4
- package/dist/esm/api/resources/helpCenter/exports.d.mts +1 -0
- package/dist/esm/api/resources/helpCenter/exports.mjs +2 -0
- package/dist/esm/api/resources/helpCenter/types/Collection.d.mts +8 -8
- package/dist/esm/api/resources/helpCenter/types/HelpCenter.d.mts +9 -9
- package/dist/esm/api/resources/helpCenter/types/HelpCenterList.d.mts +2 -2
- package/dist/esm/api/resources/helpCenters/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/helpCenters/client/Client.mjs +22 -12
- package/dist/esm/api/resources/helpCenters/exports.d.mts +3 -0
- package/dist/esm/api/resources/helpCenters/exports.mjs +4 -0
- package/dist/esm/api/resources/helpCenters/resources/collections/client/Client.d.mts +11 -2
- package/dist/esm/api/resources/helpCenters/resources/collections/client/Client.mjs +36 -19
- package/dist/esm/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.d.mts +0 -6
- package/dist/esm/api/resources/helpCenters/resources/collections/exports.d.mts +2 -0
- package/dist/esm/api/resources/helpCenters/resources/collections/exports.mjs +3 -0
- package/dist/esm/api/resources/internalArticles/client/Client.d.mts +13 -2
- package/dist/esm/api/resources/internalArticles/client/Client.mjs +31 -15
- package/dist/esm/api/resources/internalArticles/client/requests/UpdateInternalArticleRequestBody.d.mts +0 -7
- package/dist/esm/api/resources/internalArticles/exports.d.mts +2 -0
- package/dist/esm/api/resources/internalArticles/exports.mjs +3 -0
- package/dist/esm/api/resources/internalArticles/types/InternalArticleListItem.d.mts +9 -9
- package/dist/esm/api/resources/internalArticles/types/InternalArticleSearchResponse.d.mts +5 -5
- package/dist/esm/api/resources/ipAllowlist/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/ipAllowlist/client/Client.mjs +8 -3
- package/dist/esm/api/resources/ipAllowlist/exports.d.mts +2 -0
- package/dist/esm/api/resources/ipAllowlist/exports.mjs +3 -0
- package/dist/esm/api/resources/jobs/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/jobs/client/Client.mjs +4 -2
- package/dist/esm/api/resources/jobs/exports.d.mts +2 -0
- package/dist/esm/api/resources/jobs/exports.mjs +3 -0
- package/dist/esm/api/resources/jobs/types/Jobs.d.mts +6 -6
- package/dist/esm/api/resources/messages/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/messages/client/Client.mjs +5 -2
- package/dist/esm/api/resources/messages/exports.d.mts +2 -0
- package/dist/esm/api/resources/messages/exports.mjs +3 -0
- package/dist/esm/api/resources/messages/types/Message.d.mts +1 -1
- package/dist/esm/api/resources/news/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/news/exports.d.mts +3 -0
- package/dist/esm/api/resources/news/exports.mjs +4 -0
- package/dist/esm/api/resources/news/resources/feeds/client/Client.d.mts +7 -2
- package/dist/esm/api/resources/news/resources/feeds/client/Client.mjs +11 -5
- package/dist/esm/api/resources/news/resources/feeds/exports.d.mts +2 -0
- package/dist/esm/api/resources/news/resources/feeds/exports.mjs +3 -0
- package/dist/esm/api/resources/news/resources/items/client/Client.d.mts +11 -2
- package/dist/esm/api/resources/news/resources/items/client/Client.mjs +21 -10
- package/dist/esm/api/resources/news/resources/items/exports.d.mts +2 -0
- package/dist/esm/api/resources/news/resources/items/exports.mjs +3 -0
- package/dist/esm/api/resources/news/types/NewsItem.d.mts +14 -14
- package/dist/esm/api/resources/news/types/Newsfeed.d.mts +5 -5
- package/dist/esm/api/resources/news/types/NewsfeedAssignment.d.mts +2 -2
- package/dist/esm/api/resources/notes/client/Client.d.mts +7 -2
- package/dist/esm/api/resources/notes/client/Client.mjs +29 -16
- package/dist/esm/api/resources/notes/client/requests/CreateContactNoteRequest.d.mts +0 -14
- package/dist/esm/api/resources/notes/exports.d.mts +2 -0
- package/dist/esm/api/resources/notes/exports.mjs +3 -0
- package/dist/esm/api/resources/notes/types/Note.d.mts +4 -4
- package/dist/esm/api/resources/phoneCallRedirects/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/phoneCallRedirects/client/Client.mjs +5 -2
- package/dist/esm/api/resources/phoneCallRedirects/exports.d.mts +2 -0
- package/dist/esm/api/resources/phoneCallRedirects/exports.mjs +3 -0
- package/dist/esm/api/resources/segments/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/segments/client/Client.mjs +14 -7
- package/dist/esm/api/resources/segments/exports.d.mts +2 -0
- package/dist/esm/api/resources/segments/exports.mjs +3 -0
- package/dist/esm/api/resources/segments/types/Segment.d.mts +7 -7
- package/dist/esm/api/resources/subscriptionTypes/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/subscriptionTypes/client/Client.mjs +3 -1
- package/dist/esm/api/resources/subscriptionTypes/exports.d.mts +2 -0
- package/dist/esm/api/resources/subscriptionTypes/exports.mjs +3 -0
- package/dist/esm/api/resources/subscriptionTypes/types/SubscriptionType.d.mts +7 -7
- package/dist/esm/api/resources/tags/client/Client.d.mts +21 -2
- package/dist/esm/api/resources/tags/client/Client.mjs +45 -24
- package/dist/esm/api/resources/tags/client/requests/TagContactRequest.d.mts +0 -6
- package/dist/esm/api/resources/tags/client/requests/TagConversationRequest.d.mts +0 -7
- package/dist/esm/api/resources/tags/client/requests/TagTicketRequest.d.mts +0 -7
- package/dist/esm/api/resources/tags/client/requests/UntagConversationRequest.d.mts +0 -14
- package/dist/esm/api/resources/tags/client/requests/UntagTicketRequest.d.mts +0 -14
- package/dist/esm/api/resources/tags/exports.d.mts +2 -0
- package/dist/esm/api/resources/tags/exports.mjs +3 -0
- package/dist/esm/api/resources/tags/types/Tag.d.mts +2 -2
- package/dist/esm/api/resources/tags/types/TagBasic.d.mts +3 -3
- package/dist/esm/api/resources/teams/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/teams/client/Client.mjs +7 -3
- package/dist/esm/api/resources/teams/exports.d.mts +2 -0
- package/dist/esm/api/resources/teams/exports.mjs +3 -0
- package/dist/esm/api/resources/teams/types/Team.d.mts +7 -7
- package/dist/esm/api/resources/ticketStates/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/ticketStates/client/Client.mjs +3 -1
- package/dist/esm/api/resources/ticketStates/exports.d.mts +2 -0
- package/dist/esm/api/resources/ticketStates/exports.mjs +3 -0
- package/dist/esm/api/resources/ticketTypes/client/Client.d.mts +9 -2
- package/dist/esm/api/resources/ticketTypes/client/Client.mjs +17 -8
- package/dist/esm/api/resources/ticketTypes/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/ticketTypes/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/ticketTypes/exports.d.mts +3 -0
- package/dist/esm/api/resources/ticketTypes/exports.mjs +4 -0
- package/dist/esm/api/resources/ticketTypes/resources/attributes/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/ticketTypes/resources/attributes/client/Client.mjs +11 -6
- package/dist/esm/api/resources/ticketTypes/resources/attributes/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/ticketTypes/resources/attributes/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/ticketTypes/resources/attributes/exports.d.mts +2 -0
- package/dist/esm/api/resources/ticketTypes/resources/attributes/exports.mjs +3 -0
- package/dist/esm/api/resources/tickets/client/Client.d.mts +16 -2
- package/dist/esm/api/resources/tickets/client/Client.mjs +32 -16
- package/dist/esm/api/resources/tickets/client/requests/ReplyToTicketRequest.d.mts +0 -22
- package/dist/esm/api/resources/tickets/client/requests/UpdateTicketRequest.d.mts +0 -12
- package/dist/esm/api/resources/tickets/exports.d.mts +2 -0
- package/dist/esm/api/resources/tickets/exports.mjs +3 -0
- package/dist/esm/api/resources/tickets/types/DeleteTicketResponse.d.mts +3 -3
- package/dist/esm/api/resources/tickets/types/Ticket.d.mts +11 -11
- package/dist/esm/api/resources/tickets/types/TicketContacts.d.mts +2 -2
- package/dist/esm/api/resources/tickets/types/TicketPart.d.mts +15 -15
- package/dist/esm/api/resources/tickets/types/TicketState.d.mts +5 -5
- package/dist/esm/api/resources/tickets/types/TicketStateDetailed.d.mts +9 -9
- package/dist/esm/api/resources/tickets/types/TicketType.d.mts +14 -14
- package/dist/esm/api/resources/unstable/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/unstable/errors/BadRequestError.mjs +5 -1
- package/dist/esm/api/resources/unstable/errors/ConflictError.d.mts +1 -0
- package/dist/esm/api/resources/unstable/errors/ConflictError.mjs +5 -1
- package/dist/esm/api/resources/unstable/errors/ForbiddenError.d.mts +1 -0
- package/dist/esm/api/resources/unstable/errors/ForbiddenError.mjs +5 -1
- package/dist/esm/api/resources/unstable/errors/InternalServerError.d.mts +1 -0
- package/dist/esm/api/resources/unstable/errors/InternalServerError.mjs +5 -1
- package/dist/esm/api/resources/unstable/errors/NotFoundError.mjs +5 -1
- package/dist/esm/api/resources/unstable/errors/TooManyRequestsError.d.mts +1 -0
- package/dist/esm/api/resources/unstable/errors/TooManyRequestsError.mjs +5 -1
- package/dist/esm/api/resources/unstable/errors/UnauthorizedError.d.mts +1 -0
- package/dist/esm/api/resources/unstable/errors/UnauthorizedError.mjs +5 -1
- package/dist/esm/api/resources/unstable/errors/UnprocessableEntityError.mjs +5 -1
- package/dist/esm/api/resources/unstable/exports.d.mts +3 -0
- package/dist/esm/api/resources/unstable/exports.mjs +4 -0
- package/dist/esm/api/resources/unstable/resources/admins/client/Client.d.mts +12 -2
- package/dist/esm/api/resources/unstable/resources/admins/client/Client.mjs +28 -13
- package/dist/esm/api/resources/unstable/resources/admins/client/requests/SetAwayAdminRequest.d.mts +0 -7
- package/dist/esm/api/resources/unstable/resources/admins/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/admins/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/admins/types/Admin.d.mts +12 -12
- package/dist/esm/api/resources/unstable/resources/aiAgent/exports.d.mts +1 -0
- package/dist/esm/api/resources/unstable/resources/aiAgent/exports.mjs +2 -0
- package/dist/esm/api/resources/unstable/resources/aiAgent/types/AiAgent.d.mts +9 -9
- package/dist/esm/api/resources/unstable/resources/aiContent/client/Client.d.mts +21 -2
- package/dist/esm/api/resources/unstable/resources/aiContent/client/Client.mjs +41 -20
- package/dist/esm/api/resources/unstable/resources/aiContent/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/unstable/resources/aiContent/client/requests/index.mjs +2 -1
- package/dist/esm/api/resources/unstable/resources/aiContent/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/aiContent/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/aiContent/types/ContentImportSourcesList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/resources/aiContent/types/ExternalPage.d.mts +2 -2
- package/dist/esm/api/resources/unstable/resources/aiContent/types/ExternalPagesList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/resources/aiContentSource/exports.d.mts +1 -0
- package/dist/esm/api/resources/unstable/resources/aiContentSource/exports.mjs +2 -0
- package/dist/esm/api/resources/unstable/resources/aiContentSource/types/ContentSource.d.mts +4 -4
- package/dist/esm/api/resources/unstable/resources/articles/client/Client.d.mts +11 -2
- package/dist/esm/api/resources/unstable/resources/articles/client/Client.mjs +29 -21
- package/dist/esm/api/resources/unstable/resources/articles/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/articles/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/articles/types/Article.d.mts +1 -1
- package/dist/esm/api/resources/unstable/resources/articles/types/ArticleListItem.d.mts +16 -16
- package/dist/esm/api/resources/unstable/resources/articles/types/ArticleSearchHighlights.d.mts +7 -7
- package/dist/esm/api/resources/unstable/resources/articles/types/ArticleSearchResponse.d.mts +6 -6
- package/dist/esm/api/resources/unstable/resources/awayStatusReasons/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/unstable/resources/awayStatusReasons/client/Client.mjs +3 -1
- package/dist/esm/api/resources/unstable/resources/awayStatusReasons/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/awayStatusReasons/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/brands/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/unstable/resources/brands/client/Client.mjs +7 -3
- package/dist/esm/api/resources/unstable/resources/brands/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/brands/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/brands/types/Brand.d.mts +8 -8
- package/dist/esm/api/resources/unstable/resources/brands/types/BrandList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/resources/calls/client/Client.d.mts +19 -2
- package/dist/esm/api/resources/unstable/resources/calls/client/Client.mjs +44 -24
- package/dist/esm/api/resources/unstable/resources/calls/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/calls/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/calls/types/Call.d.mts +19 -19
- package/dist/esm/api/resources/unstable/resources/calls/types/ListCallsWithTranscriptsResponse.d.mts +4 -4
- package/dist/esm/api/resources/unstable/resources/companies/client/Client.d.mts +23 -2
- package/dist/esm/api/resources/unstable/resources/companies/client/Client.mjs +71 -53
- package/dist/esm/api/resources/unstable/resources/companies/client/requests/ScrollOverAllCompaniesRequest.d.mts +0 -1
- package/dist/esm/api/resources/unstable/resources/companies/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/companies/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/companies/types/Company.d.mts +29 -29
- package/dist/esm/api/resources/unstable/resources/contacts/client/Client.d.mts +36 -4
- package/dist/esm/api/resources/unstable/resources/contacts/client/Client.mjs +65 -31
- package/dist/esm/api/resources/unstable/resources/contacts/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/contacts/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/contacts/types/Contact.d.mts +48 -48
- package/dist/esm/api/resources/unstable/resources/contacts/types/CreateContactResponse.d.mts +1 -1
- package/dist/esm/api/resources/unstable/resources/contacts/types/MergeContactResponse.d.mts +1 -1
- package/dist/esm/api/resources/unstable/resources/contacts/types/ShowContactByExternalIdResponse.d.mts +1 -1
- package/dist/esm/api/resources/unstable/resources/contacts/types/ShowContactResponse.d.mts +1 -1
- package/dist/esm/api/resources/unstable/resources/contacts/types/UpdateContactResponse.d.mts +1 -1
- package/dist/esm/api/resources/unstable/resources/conversations/client/Client.d.mts +30 -4
- package/dist/esm/api/resources/unstable/resources/conversations/client/Client.mjs +83 -50
- package/dist/esm/api/resources/unstable/resources/conversations/client/requests/DetachContactFromConversationRequest.d.mts +0 -21
- package/dist/esm/api/resources/unstable/resources/conversations/client/requests/ManageConversationRequest.d.mts +0 -10
- package/dist/esm/api/resources/unstable/resources/conversations/client/requests/{ReplyConversationRequest.d.mts → ReplyConversationBody.d.mts} +1 -1
- package/dist/esm/api/resources/unstable/resources/conversations/client/requests/UpdateConversationRequest.d.mts +0 -12
- package/dist/esm/api/resources/unstable/resources/conversations/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/unstable/resources/conversations/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/unstable/resources/conversations/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/conversations/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/conversations/types/Conversation.d.mts +28 -28
- package/dist/esm/api/resources/unstable/resources/customChannelEvents/client/Client.d.mts +9 -2
- package/dist/esm/api/resources/unstable/resources/customChannelEvents/client/Client.mjs +17 -8
- package/dist/esm/api/resources/unstable/resources/customChannelEvents/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/customChannelEvents/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/customObjectInstances/client/Client.d.mts +11 -2
- package/dist/esm/api/resources/unstable/resources/customObjectInstances/client/Client.mjs +36 -15
- package/dist/esm/api/resources/unstable/resources/customObjectInstances/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/customObjectInstances/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/customObjectInstances/types/CustomObjectInstance.d.mts +8 -8
- package/dist/esm/api/resources/unstable/resources/dataAttributes/client/Client.d.mts +9 -4
- package/dist/esm/api/resources/unstable/resources/dataAttributes/client/Client.mjs +22 -14
- package/dist/{cjs/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts → esm/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeBody.d.mts} +1 -1
- package/dist/esm/api/resources/unstable/resources/dataAttributes/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/unstable/resources/dataAttributes/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/dataAttributes/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/dataAttributes/types/DataAttribute.d.mts +17 -17
- package/dist/esm/api/resources/unstable/resources/dataEvents/client/Client.d.mts +9 -4
- package/dist/esm/api/resources/unstable/resources/dataEvents/client/Client.mjs +26 -12
- package/dist/esm/api/resources/unstable/resources/dataEvents/client/requests/CreateDataEventSummariesRequest.d.mts +4 -4
- package/dist/esm/api/resources/unstable/resources/dataEvents/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/dataEvents/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/dataEvents/types/DataEvent.d.mts +6 -6
- package/dist/esm/api/resources/unstable/resources/dataExport/client/Client.d.mts +13 -2
- package/dist/esm/api/resources/unstable/resources/dataExport/client/Client.mjs +21 -8
- package/dist/esm/api/resources/unstable/resources/dataExport/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/dataExport/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/dataExport/types/DataExport.d.mts +4 -4
- package/dist/esm/api/resources/unstable/resources/emails/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/unstable/resources/emails/client/Client.mjs +7 -3
- package/dist/esm/api/resources/unstable/resources/emails/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/emails/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/emails/types/EmailList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/resources/emails/types/EmailSetting.d.mts +10 -10
- package/dist/esm/api/resources/unstable/resources/export/client/Client.d.mts +6 -2
- package/dist/esm/api/resources/unstable/resources/export/client/Client.mjs +9 -3
- package/dist/esm/api/resources/unstable/resources/export/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/export/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/export/types/GetExportReportingDataGetDatasetsResponse.d.mts +9 -9
- package/dist/esm/api/resources/unstable/resources/export/types/PostExportReportingDataEnqueueResponse.d.mts +4 -4
- package/dist/esm/api/resources/unstable/resources/helpCenter/client/Client.d.mts +15 -2
- package/dist/esm/api/resources/unstable/resources/helpCenter/client/Client.mjs +28 -13
- package/dist/esm/api/resources/unstable/resources/helpCenter/client/requests/UpdateCollectionRequest.d.mts +0 -6
- package/dist/esm/api/resources/unstable/resources/helpCenter/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/helpCenter/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/helpCenter/types/Collection.d.mts +13 -13
- package/dist/esm/api/resources/unstable/resources/helpCenter/types/HelpCenter.d.mts +9 -9
- package/dist/esm/api/resources/unstable/resources/helpCenter/types/HelpCenterList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/resources/internalArticles/client/Client.d.mts +13 -2
- package/dist/esm/api/resources/unstable/resources/internalArticles/client/Client.mjs +31 -15
- package/dist/esm/api/resources/unstable/resources/internalArticles/client/requests/UpdateInternalArticleRequestBody.d.mts +0 -7
- package/dist/esm/api/resources/unstable/resources/internalArticles/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/internalArticles/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/internalArticles/types/InternalArticleListItem.d.mts +9 -9
- package/dist/esm/api/resources/unstable/resources/internalArticles/types/InternalArticleSearchResponse.d.mts +5 -5
- package/dist/esm/api/resources/unstable/resources/jobs/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/unstable/resources/jobs/client/Client.mjs +4 -2
- package/dist/esm/api/resources/unstable/resources/jobs/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/jobs/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/jobs/types/Jobs.d.mts +6 -6
- package/dist/esm/api/resources/unstable/resources/macros/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/unstable/resources/macros/client/Client.mjs +16 -13
- package/dist/esm/api/resources/unstable/resources/macros/client/requests/GetMacroRequest.d.mts +0 -15
- package/dist/esm/api/resources/unstable/resources/macros/client/requests/ListMacrosRequest.d.mts +0 -35
- package/dist/esm/api/resources/unstable/resources/macros/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/macros/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/macros/types/Macro.d.mts +10 -10
- package/dist/esm/api/resources/unstable/resources/macros/types/MacroList.d.mts +7 -7
- package/dist/esm/api/resources/unstable/resources/messages/client/Client.d.mts +7 -4
- package/dist/esm/api/resources/unstable/resources/messages/client/Client.mjs +18 -12
- package/dist/esm/api/resources/unstable/resources/messages/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/messages/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/messages/types/Message.d.mts +2 -2
- package/dist/esm/api/resources/unstable/resources/news/client/Client.d.mts +17 -2
- package/dist/esm/api/resources/unstable/resources/news/client/Client.mjs +32 -15
- package/dist/esm/api/resources/unstable/resources/news/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/news/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/news/types/NewsItem.d.mts +14 -14
- package/dist/esm/api/resources/unstable/resources/news/types/Newsfeed.d.mts +5 -5
- package/dist/esm/api/resources/unstable/resources/news/types/NewsfeedAssignment.d.mts +2 -2
- package/dist/esm/api/resources/unstable/resources/notes/client/Client.d.mts +9 -2
- package/dist/esm/api/resources/unstable/resources/notes/client/Client.mjs +18 -9
- package/dist/esm/api/resources/unstable/resources/notes/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/notes/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/notes/types/CompanyNote.d.mts +8 -8
- package/dist/esm/api/resources/unstable/resources/notes/types/Note.d.mts +8 -8
- package/dist/esm/api/resources/unstable/resources/segments/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/unstable/resources/segments/client/Client.mjs +14 -7
- package/dist/esm/api/resources/unstable/resources/segments/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/segments/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/segments/types/Segment.d.mts +7 -7
- package/dist/esm/api/resources/unstable/resources/subscriptionTypes/client/Client.d.mts +7 -2
- package/dist/esm/api/resources/unstable/resources/subscriptionTypes/client/Client.mjs +13 -6
- package/dist/esm/api/resources/unstable/resources/subscriptionTypes/client/requests/AttachSubscriptionTypeToContactRequest.d.mts +0 -7
- package/dist/esm/api/resources/unstable/resources/subscriptionTypes/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/subscriptionTypes/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/subscriptionTypes/types/SubscriptionType.d.mts +7 -7
- package/dist/esm/api/resources/unstable/resources/switch/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/unstable/resources/switch/client/Client.mjs +5 -2
- package/dist/esm/api/resources/unstable/resources/switch/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/switch/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/tags/client/Client.d.mts +21 -2
- package/dist/esm/api/resources/unstable/resources/tags/client/Client.mjs +45 -24
- package/dist/esm/api/resources/unstable/resources/tags/client/requests/AttachTagToContactRequest.d.mts +0 -6
- package/dist/esm/api/resources/unstable/resources/tags/client/requests/AttachTagToConversationRequest.d.mts +0 -7
- package/dist/esm/api/resources/unstable/resources/tags/client/requests/AttachTagToTicketRequest.d.mts +0 -7
- package/dist/esm/api/resources/unstable/resources/tags/client/requests/DetachTagFromConversationRequest.d.mts +0 -14
- package/dist/esm/api/resources/unstable/resources/tags/client/requests/DetachTagFromTicketRequest.d.mts +0 -14
- package/dist/esm/api/resources/unstable/resources/tags/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/tags/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/tags/types/Tag.d.mts +5 -5
- package/dist/esm/api/resources/unstable/resources/tags/types/TagBasic.d.mts +3 -3
- package/dist/esm/api/resources/unstable/resources/teams/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/unstable/resources/teams/client/Client.mjs +7 -3
- package/dist/esm/api/resources/unstable/resources/teams/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/teams/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/teams/types/Team.d.mts +5 -5
- package/dist/esm/api/resources/unstable/resources/ticketStates/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/unstable/resources/ticketStates/client/Client.mjs +3 -1
- package/dist/esm/api/resources/unstable/resources/ticketStates/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/ticketStates/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/client/Client.mjs +11 -6
- package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/ticketTypes/client/Client.d.mts +7 -2
- package/dist/esm/api/resources/unstable/resources/ticketTypes/client/Client.mjs +12 -5
- package/dist/esm/api/resources/unstable/resources/ticketTypes/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/ticketTypes/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/tickets/client/Client.d.mts +14 -2
- package/dist/esm/api/resources/unstable/resources/tickets/client/Client.mjs +28 -14
- package/dist/esm/api/resources/unstable/resources/tickets/client/requests/UpdateTicketRequest.d.mts +0 -12
- package/dist/esm/api/resources/unstable/resources/tickets/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/tickets/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/tickets/types/DeleteTicketResponse.d.mts +3 -3
- package/dist/esm/api/resources/unstable/resources/tickets/types/Ticket.d.mts +17 -17
- package/dist/esm/api/resources/unstable/resources/tickets/types/TicketContacts.d.mts +2 -2
- package/dist/esm/api/resources/unstable/resources/tickets/types/TicketPart.d.mts +15 -15
- package/dist/esm/api/resources/unstable/resources/tickets/types/TicketState.d.mts +5 -5
- package/dist/esm/api/resources/unstable/resources/tickets/types/TicketStateDetailed.d.mts +9 -9
- package/dist/esm/api/resources/unstable/resources/tickets/types/TicketType.d.mts +14 -14
- package/dist/esm/api/resources/unstable/resources/visitors/client/Client.d.mts +9 -4
- package/dist/esm/api/resources/unstable/resources/visitors/client/Client.mjs +20 -8
- package/dist/esm/api/resources/unstable/resources/visitors/client/requests/ConvertVisitorRequest.d.mts +14 -2
- package/dist/esm/api/resources/unstable/resources/visitors/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/visitors/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/resources/workflows/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/unstable/resources/workflows/client/Client.mjs +4 -2
- package/dist/esm/api/resources/unstable/resources/workflows/exports.d.mts +2 -0
- package/dist/esm/api/resources/unstable/resources/workflows/exports.mjs +3 -0
- package/dist/esm/api/resources/unstable/types/ActivityLog.d.mts +10 -10
- package/dist/esm/api/resources/unstable/types/ActivityLogList.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/ActivityLogMetadata.d.mts +11 -11
- package/dist/esm/api/resources/unstable/types/AddressableList.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/AdminList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/AdminPriorityLevel.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/AdminReplyConversationRequest.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/AdminReplyTicketRequest.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/AdminWithApp.d.mts +14 -14
- package/dist/esm/api/resources/unstable/types/AiCallResponse.d.mts +10 -10
- package/dist/esm/api/resources/unstable/types/App.d.mts +7 -8
- package/dist/esm/api/resources/unstable/types/ArticleContent.d.mts +9 -9
- package/dist/esm/api/resources/unstable/types/ArticleList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/ArticleStatistics.d.mts +7 -7
- package/dist/esm/api/resources/unstable/types/ArticleTranslatedContent.d.mts +38 -38
- package/dist/esm/api/resources/unstable/types/AssignConversationRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/AwayStatusReason.d.mts +8 -8
- package/dist/esm/api/resources/unstable/types/CallList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/CloseConversationRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/CollectionList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/CompanyAttachedContacts.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/CompanyAttachedSegments.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/CompanyData.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/CompanyList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/CompanyScroll.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/ContactArchived.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/ContactAttachedCompanies.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/ContactBlocked.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/ContactCompanies.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/ContactDeleted.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/ContactList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/ContactLocation.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/ContactNotes.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/ContactReference.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/ContactReplyBaseRequest.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/ContactReplyEmailRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/ContactReplyIntercomUserIdRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/ContactReplyUserIdRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/ContactSegments.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/ContactSocialProfiles.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/ContactSubscriptionTypes.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/ContactTags.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/ContactUnarchived.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/ContentSourcesList.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/ConversationAttachmentFiles.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/ConversationAttributeUpdatedByAdmin.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/ConversationAttributeUpdatedByUser.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/ConversationAttributeUpdatedByWorkflow.d.mts +6 -6
- package/dist/esm/api/resources/unstable/types/ConversationContacts.d.mts +2 -3
- package/dist/esm/api/resources/unstable/types/ConversationDeleted.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/ConversationFirstContactReply.d.mts +3 -6
- package/dist/esm/api/resources/unstable/types/ConversationList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/ConversationPart.d.mts +18 -18
- package/dist/esm/api/resources/unstable/types/ConversationPartAuthor.d.mts +6 -6
- package/dist/esm/api/resources/unstable/types/ConversationPartMetadata.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/ConversationParts.d.mts +3 -5
- package/dist/esm/api/resources/unstable/types/ConversationRating.d.mts +6 -6
- package/dist/esm/api/resources/unstable/types/ConversationResponseTime.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/ConversationSlaAppliedByRule.d.mts +6 -6
- package/dist/esm/api/resources/unstable/types/ConversationSlaAppliedByWorkflow.d.mts +6 -6
- package/dist/esm/api/resources/unstable/types/ConversationSlaPaused.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/ConversationSlaRemoved.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/ConversationSlaTargetMissed.d.mts +6 -6
- package/dist/esm/api/resources/unstable/types/ConversationSlaUnpaused.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/ConversationSource.d.mts +9 -9
- package/dist/esm/api/resources/unstable/types/ConversationStatistics.d.mts +23 -24
- package/dist/esm/api/resources/unstable/types/ConversationTagsUpdated.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/ConversationTeammates.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/CreateArticleRequest.d.mts +6 -6
- package/dist/esm/api/resources/unstable/types/CreateContactRequest.d.mts +4 -0
- package/dist/esm/api/resources/unstable/types/CreateDataAttributeRequest.d.mts +0 -3
- package/dist/esm/api/resources/unstable/types/CreateDataEventRequest.d.mts +1 -0
- package/dist/esm/api/resources/unstable/types/CreateInternalArticleRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/CreateMessageRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/CreateOrUpdateCompanyRequest.d.mts +9 -9
- package/dist/esm/api/resources/unstable/types/CreateOrUpdateTagRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/CreatePhoneSwitchRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/CreateTicketRequestBody.d.mts +6 -6
- package/dist/esm/api/resources/unstable/types/CreateTicketTypeRequest.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/CursorPages.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/CustomActionFinished.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/CustomActionStarted.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/CustomChannelContact.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/CustomObjectInstanceDeleted.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/CustomObjectInstanceList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/DataAttributeList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/DataEventList.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/DataEventSummary.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/DataEventSummaryItem.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/DataExportCsv.d.mts +26 -26
- package/dist/esm/api/resources/unstable/types/DeletedArticleObject.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/DeletedCollectionObject.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/DeletedCompanyObject.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/DeletedInternalArticleObject.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/DeletedObject.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/EmailAddressHeader.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/EmailMessageMetadata.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/Error_.d.mts +3 -4
- package/dist/esm/api/resources/unstable/types/FileAttribute.d.mts +7 -7
- package/dist/esm/api/resources/unstable/types/GroupContent.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/GroupTranslatedContent.d.mts +38 -38
- package/dist/esm/api/resources/unstable/types/HandlingEvent.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/HandlingEventList.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/InternalArticleList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/LinkedObject.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/LinkedObjectList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/Metadata.d.mts +2 -0
- package/dist/esm/api/resources/unstable/types/MultipleFilterSearchRequest.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/NewsItemRequest.d.mts +6 -6
- package/dist/esm/api/resources/unstable/types/NotFoundErrorBody.d.mts +2 -3
- package/dist/esm/api/resources/unstable/types/NoteList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/OperatorWorkflowEvent.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/PagesLink.d.mts +5 -5
- package/dist/esm/api/resources/unstable/types/PaginatedResponse.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/PartAttachment.d.mts +7 -7
- package/dist/esm/api/resources/unstable/types/PhoneSwitch.d.mts +2 -3
- package/dist/esm/api/resources/unstable/types/PriorityChanged.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/Reference.d.mts +2 -4
- package/dist/esm/api/resources/unstable/types/RegisterFinVoiceCallRequest.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/SearchRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/SegmentList.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/SingleFilterSearchRequest.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/SlaApplied.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/Snoozed.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/SocialProfile.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/StartingAfterPaging.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/SubscriptionTypeList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/TagCompanyRequest.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/TagList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/TagMultipleUsersRequest.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/Tags.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/TeamList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/TeamPriorityLevel.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/TeammateReference.d.mts +1 -1
- package/dist/esm/api/resources/unstable/types/TicketList.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/TicketPartAuthor.d.mts +4 -4
- package/dist/esm/api/resources/unstable/types/TicketParts.d.mts +3 -5
- package/dist/esm/api/resources/unstable/types/TicketReply.d.mts +9 -9
- package/dist/esm/api/resources/unstable/types/TicketStateList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/TicketTypeAttribute.d.mts +17 -17
- package/dist/esm/api/resources/unstable/types/TicketTypeAttributeList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/TicketTypeList.d.mts +2 -2
- package/dist/esm/api/resources/unstable/types/Translation.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/UntagCompanyRequest.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/UpdateDataAttributeRequestBody.d.mts +0 -3
- package/dist/esm/api/resources/unstable/types/UpdateVisitorRequest.d.mts +4 -0
- package/dist/esm/api/resources/unstable/types/UpdateVisitorRequest.mjs +2 -0
- package/dist/esm/api/resources/unstable/types/Visitor.d.mts +54 -56
- package/dist/esm/api/resources/unstable/types/VisitorDeletedObject.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/WhatsappMessageStatusList.d.mts +3 -3
- package/dist/esm/api/resources/unstable/types/WorkflowExport.d.mts +17 -17
- package/dist/esm/api/resources/unstable/types/index.d.mts +4 -0
- package/dist/esm/api/resources/unstable/types/index.mjs +4 -0
- package/dist/esm/api/resources/visitors/client/Client.d.mts +7 -2
- package/dist/esm/api/resources/visitors/client/Client.mjs +19 -7
- package/dist/esm/api/resources/visitors/exports.d.mts +2 -0
- package/dist/esm/api/resources/visitors/exports.mjs +3 -0
- package/dist/esm/api/types/ActivityLog.d.mts +10 -10
- package/dist/esm/api/types/ActivityLogList.d.mts +3 -3
- package/dist/esm/api/types/ActivityLogMetadata.d.mts +20 -20
- package/dist/esm/api/types/AddressableList.d.mts +3 -3
- package/dist/esm/api/types/AdminList.d.mts +2 -2
- package/dist/esm/api/types/AdminPriorityLevel.d.mts +2 -2
- package/dist/esm/api/types/AdminReplyConversationRequest.d.mts +5 -5
- package/dist/esm/api/types/AdminReplyTicketRequest.d.mts +4 -4
- package/dist/esm/api/types/AdminWithApp.d.mts +14 -14
- package/dist/esm/api/types/App.d.mts +7 -8
- package/dist/esm/api/types/ArticleContent.d.mts +9 -9
- package/dist/esm/api/types/ArticleList.d.mts +4 -4
- package/dist/esm/api/types/ArticleStatistics.d.mts +1 -1
- package/dist/esm/api/types/ArticleTranslatedContent.d.mts +38 -38
- package/dist/esm/api/types/AssignConversationRequest.d.mts +1 -1
- package/dist/esm/api/types/AwayStatusReason.d.mts +8 -8
- package/dist/esm/api/types/CallList.d.mts +4 -4
- package/dist/esm/api/types/CloseConversationRequest.d.mts +1 -1
- package/dist/esm/api/types/CollectionList.d.mts +4 -4
- package/dist/esm/api/types/CompanyAttachedContacts.d.mts +4 -4
- package/dist/esm/api/types/CompanyAttachedSegments.d.mts +2 -2
- package/dist/esm/api/types/CompanyData.d.mts +3 -3
- package/dist/esm/api/types/CompanyList.d.mts +4 -4
- package/dist/esm/api/types/CompanyScroll.d.mts +5 -5
- package/dist/esm/api/types/ContactArchived.d.mts +1 -1
- package/dist/esm/api/types/ContactAttachedCompanies.d.mts +4 -4
- package/dist/esm/api/types/ContactBlocked.d.mts +1 -1
- package/dist/esm/api/types/ContactCompanies.d.mts +4 -4
- package/dist/esm/api/types/ContactDeleted.d.mts +1 -1
- package/dist/esm/api/types/ContactList.d.mts +4 -4
- package/dist/esm/api/types/ContactLocation.d.mts +4 -4
- package/dist/esm/api/types/ContactNotes.d.mts +4 -4
- package/dist/esm/api/types/ContactReference.d.mts +3 -3
- package/dist/esm/api/types/ContactReplyBaseRequest.d.mts +3 -3
- package/dist/esm/api/types/ContactReplyEmailRequest.d.mts +1 -1
- package/dist/esm/api/types/ContactReplyIntercomUserIdRequest.d.mts +1 -1
- package/dist/esm/api/types/ContactReplyUserIdRequest.d.mts +1 -1
- package/dist/esm/api/types/ContactSegments.d.mts +2 -2
- package/dist/esm/api/types/ContactSocialProfiles.d.mts +1 -1
- package/dist/esm/api/types/ContactSubscriptionTypes.d.mts +4 -4
- package/dist/esm/api/types/ContactTags.d.mts +4 -4
- package/dist/esm/api/types/ContactUnarchived.d.mts +1 -1
- package/dist/esm/api/types/ContentSourcesList.d.mts +3 -3
- package/dist/esm/api/types/ConversationAttachmentFiles.d.mts +3 -3
- package/dist/esm/api/types/ConversationAttributeUpdatedByAdmin.d.mts +4 -4
- package/dist/esm/api/types/ConversationAttributeUpdatedByWorkflow.d.mts +6 -6
- package/dist/esm/api/types/ConversationContacts.d.mts +2 -3
- package/dist/esm/api/types/ConversationDeleted.d.mts +3 -3
- package/dist/esm/api/types/ConversationFirstContactReply.d.mts +3 -6
- package/dist/esm/api/types/ConversationList.d.mts +4 -4
- package/dist/esm/api/types/ConversationPart.d.mts +18 -18
- package/dist/esm/api/types/ConversationPartAuthor.d.mts +6 -6
- package/dist/esm/api/types/ConversationPartMetadata.d.mts +3 -3
- package/dist/esm/api/types/ConversationParts.d.mts +3 -5
- package/dist/esm/api/types/ConversationRating.d.mts +6 -6
- package/dist/esm/api/types/ConversationResponseTime.d.mts +3 -3
- package/dist/esm/api/types/ConversationSource.d.mts +9 -9
- package/dist/esm/api/types/ConversationStatistics.d.mts +23 -24
- package/dist/esm/api/types/CreateArticleRequest.d.mts +6 -6
- package/dist/esm/api/types/CreateDataAttributeRequest.d.mts +0 -3
- package/dist/esm/api/types/CreateDataEventRequest.d.mts +0 -3
- package/dist/esm/api/types/CreateInternalArticleRequest.d.mts +1 -1
- package/dist/esm/api/types/CreateMessageRequest.d.mts +6 -6
- package/dist/esm/api/types/CreateOrUpdateCompanyRequest.d.mts +9 -9
- package/dist/esm/api/types/CreateOrUpdateTagRequest.d.mts +1 -1
- package/dist/esm/api/types/CreatePhoneSwitchRequest.d.mts +1 -1
- package/dist/esm/api/types/CreateTicketRequestBody.d.mts +6 -6
- package/dist/esm/api/types/CreateTicketTypeRequest.d.mts +4 -4
- package/dist/esm/api/types/CursorPages.d.mts +5 -5
- package/dist/esm/api/types/CustomActionFinished.d.mts +3 -3
- package/dist/esm/api/types/CustomActionStarted.d.mts +2 -2
- package/dist/esm/api/types/CustomChannelContact.d.mts +2 -2
- package/dist/esm/api/types/CustomObjectInstanceDeleted.d.mts +3 -3
- package/dist/esm/api/types/CustomObjectInstanceList.d.mts +2 -2
- package/dist/esm/api/types/DataAttributeList.d.mts +2 -2
- package/dist/esm/api/types/DataEventList.d.mts +5 -5
- package/dist/esm/api/types/DataEventSummary.d.mts +4 -4
- package/dist/esm/api/types/DataEventSummaryItem.d.mts +5 -5
- package/dist/esm/api/types/DataExportCsv.d.mts +26 -26
- package/dist/esm/api/types/DeletedArticleObject.d.mts +3 -3
- package/dist/esm/api/types/DeletedCollectionObject.d.mts +3 -3
- package/dist/esm/api/types/DeletedCompanyObject.d.mts +3 -3
- package/dist/esm/api/types/DeletedInternalArticleObject.d.mts +3 -3
- package/dist/esm/api/types/DeletedObject.d.mts +3 -3
- package/dist/esm/api/types/EmailAddressHeader.d.mts +3 -3
- package/dist/esm/api/types/EmailMessageMetadata.d.mts +2 -2
- package/dist/esm/api/types/Error_.d.mts +3 -4
- package/dist/esm/api/types/FileAttribute.d.mts +7 -7
- package/dist/esm/api/types/GroupContent.d.mts +3 -3
- package/dist/esm/api/types/GroupTranslatedContent.d.mts +38 -38
- package/dist/esm/api/types/InternalArticleList.d.mts +4 -4
- package/dist/esm/api/types/IpAllowlist.d.mts +3 -3
- package/dist/esm/api/types/LinkedObject.d.mts +3 -3
- package/dist/esm/api/types/LinkedObjectList.d.mts +4 -4
- package/dist/esm/api/types/Metadata.d.mts +1 -1
- package/dist/esm/api/types/MultipleFilterSearchRequest.d.mts +2 -2
- package/dist/esm/api/types/NewsItemRequest.d.mts +6 -6
- package/dist/esm/api/types/NotFoundErrorBody.d.mts +2 -3
- package/dist/esm/api/types/NoteList.d.mts +3 -3
- package/dist/esm/api/types/OffsetPages.d.mts +4 -4
- package/dist/esm/api/types/OperatorWorkflowEvent.d.mts +5 -5
- package/dist/esm/api/types/PagesLink.d.mts +5 -5
- package/dist/esm/api/types/PaginatedResponse.d.mts +4 -4
- package/dist/esm/api/types/PartAttachment.d.mts +7 -7
- package/dist/esm/api/types/PhoneSwitch.d.mts +2 -3
- package/dist/esm/api/types/Reference.d.mts +2 -4
- package/dist/esm/api/types/SearchRequest.d.mts +1 -1
- package/dist/esm/api/types/SegmentList.d.mts +3 -3
- package/dist/esm/api/types/SingleFilterSearchRequest.d.mts +3 -3
- package/dist/esm/api/types/SlaApplied.d.mts +3 -3
- package/dist/esm/api/types/SocialProfile.d.mts +3 -3
- package/dist/esm/api/types/StartingAfterPaging.d.mts +2 -2
- package/dist/esm/api/types/SubscriptionTypeList.d.mts +2 -2
- package/dist/esm/api/types/TagCompanyRequest.d.mts +2 -2
- package/dist/esm/api/types/TagList.d.mts +2 -2
- package/dist/esm/api/types/TagMultipleUsersRequest.d.mts +1 -1
- package/dist/esm/api/types/Tags.d.mts +2 -2
- package/dist/esm/api/types/TeamList.d.mts +2 -2
- package/dist/esm/api/types/TeamPriorityLevel.d.mts +2 -2
- package/dist/esm/api/types/TicketList.d.mts +4 -4
- package/dist/esm/api/types/TicketPartAuthor.d.mts +4 -4
- package/dist/esm/api/types/TicketParts.d.mts +3 -5
- package/dist/esm/api/types/TicketReply.d.mts +9 -9
- package/dist/esm/api/types/TicketStateList.d.mts +2 -2
- package/dist/esm/api/types/TicketTypeAttribute.d.mts +17 -17
- package/dist/esm/api/types/TicketTypeAttributeList.d.mts +2 -2
- package/dist/esm/api/types/TicketTypeList.d.mts +2 -2
- package/dist/esm/api/types/Translation.d.mts +3 -3
- package/dist/esm/api/types/UntagCompanyRequest.d.mts +3 -3
- package/dist/esm/api/types/UpdateArticleRequestBody.d.mts +1 -1
- package/dist/esm/api/types/UpdateCompanyRequestBody.d.mts +7 -7
- package/dist/esm/api/types/UpdateDataAttributeRequestBody.d.mts +0 -3
- package/dist/esm/api/types/Visitor.d.mts +51 -53
- package/dist/esm/api/types/VisitorDeletedObject.d.mts +3 -3
- package/dist/esm/api/types/WhatsappMessageStatusList.d.mts +3 -3
- package/dist/esm/api/types/compat.d.mts +6 -0
- package/dist/esm/api/types/compat.mjs +1 -0
- package/dist/esm/api/types/index.d.mts +0 -3
- package/dist/esm/api/types/index.mjs +0 -3
- package/dist/esm/auth/BearerAuthProvider.d.mts +14 -8
- package/dist/esm/auth/BearerAuthProvider.mjs +16 -6
- package/dist/esm/core/auth/AuthProvider.d.mts +1 -0
- package/dist/esm/core/auth/AuthProvider.mjs +6 -1
- package/dist/esm/core/auth/BasicAuth.d.mts +2 -2
- package/dist/esm/core/auth/BasicAuth.mjs +7 -1
- package/dist/esm/core/auth/index.d.mts +1 -1
- package/dist/esm/core/auth/index.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +1 -1
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +2 -2
- package/dist/esm/core/fetcher/Fetcher.d.mts +9 -2
- package/dist/esm/core/fetcher/Fetcher.mjs +56 -98
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +21 -8
- package/dist/esm/core/fetcher/getResponseBody.d.mts +16 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +37 -22
- package/dist/esm/core/fetcher/index.d.mts +2 -0
- package/dist/esm/core/fetcher/index.mjs +1 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.mjs +173 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +11 -1
- package/dist/esm/core/fetcher/makeRequest.mjs +63 -12
- package/dist/esm/core/fetcher/redactUrl.d.mts +2 -0
- package/dist/esm/core/fetcher/redactUrl.mjs +84 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -1
- package/dist/esm/core/fetcher/requestWithRetries.mjs +27 -3
- package/dist/esm/core/fetcher/signals.d.mts +1 -0
- package/dist/esm/core/fetcher/signals.mjs +10 -2
- package/dist/esm/core/headers.d.mts +2 -2
- package/dist/esm/core/pagination/Page.d.mts +1 -1
- package/dist/esm/core/requestBody.d.mts +12 -0
- package/dist/esm/core/requestBody.mjs +23 -0
- package/dist/esm/core/runtime/index.d.mts +1 -1
- package/dist/esm/core/runtime/index.mjs +1 -1
- package/dist/esm/core/runtime/runtime.d.mts +19 -0
- package/dist/esm/core/runtime/runtime.mjs +80 -8
- package/dist/esm/core/url/QueryStringBuilder.d.mts +48 -0
- package/dist/esm/core/url/QueryStringBuilder.mjs +85 -0
- package/dist/esm/core/url/encodePathParam.d.mts +3 -1
- package/dist/esm/core/url/encodePathParam.mjs +8 -2
- package/dist/esm/core/url/index.d.mts +1 -0
- package/dist/esm/core/url/index.mjs +1 -0
- package/dist/esm/core/url/qs.d.mts +2 -1
- package/dist/esm/core/url/qs.mjs +25 -13
- package/dist/esm/core/utils/setObjectProperty.d.mts +6 -5
- package/dist/esm/core/utils/setObjectProperty.mjs +16 -10
- package/dist/esm/errors/IntercomError.d.mts +4 -1
- package/dist/esm/errors/IntercomError.mjs +27 -2
- package/dist/esm/errors/IntercomTimeoutError.d.mts +5 -2
- package/dist/esm/errors/IntercomTimeoutError.mjs +12 -4
- package/dist/esm/errors/handleNonStatusCodeError.mjs +4 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -2
- package/reference.md +31 -30
- package/dist/cjs/api/types/CreateContactRequestTwo.d.ts +0 -1
- package/dist/cjs/api/types/CreateDataEventRequestTwo.d.ts +0 -1
- package/dist/cjs/api/types/UpdateVisitorRequestOne.d.ts +0 -1
- package/dist/esm/api/types/CreateContactRequestTwo.d.mts +0 -1
- package/dist/esm/api/types/CreateDataEventRequestTwo.d.mts +0 -1
- package/dist/esm/api/types/UpdateVisitorRequestOne.d.mts +0 -1
- /package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/{ReplyConversationRequest.js → ReplyConversationBody.js} +0 -0
- /package/dist/cjs/api/resources/unstable/resources/dataAttributes/client/requests/{UpdateDataAttributeRequest.js → UpdateDataAttributeBody.js} +0 -0
- /package/dist/cjs/api/{types/CreateContactRequestTwo.js → resources/unstable/types/CreateContactRequest.js} +0 -0
- /package/dist/cjs/api/{types/CreateDataEventRequestTwo.js → resources/unstable/types/CreateDataEventRequest.js} +0 -0
- /package/dist/cjs/api/{types/UpdateVisitorRequestOne.js → resources/unstable/types/Metadata.js} +0 -0
- /package/dist/esm/api/resources/unstable/resources/conversations/client/requests/{ReplyConversationRequest.mjs → ReplyConversationBody.mjs} +0 -0
- /package/dist/esm/api/resources/unstable/resources/dataAttributes/client/requests/{UpdateDataAttributeRequest.mjs → UpdateDataAttributeBody.mjs} +0 -0
- /package/dist/esm/api/{types/CreateContactRequestTwo.mjs → resources/unstable/types/CreateContactRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CreateDataEventRequestTwo.mjs → resources/unstable/types/CreateDataEventRequest.mjs} +0 -0
- /package/dist/esm/api/{types/UpdateVisitorRequestOne.mjs → resources/unstable/types/Metadata.mjs} +0 -0
|
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs
|
|
|
3
3
|
import * as core from "../../../../core/index.mjs";
|
|
4
4
|
import * as Intercom from "../../../index.mjs";
|
|
5
5
|
export declare namespace AiContentClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -32,6 +31,8 @@ export declare class AiContentClient {
|
|
|
32
31
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
32
|
*
|
|
34
33
|
* @throws {@link Intercom.UnauthorizedError}
|
|
34
|
+
* @throws {@link errors.IntercomError}
|
|
35
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
35
36
|
*
|
|
36
37
|
* @example
|
|
37
38
|
* await client.aiContent.listContentImportSources()
|
|
@@ -45,6 +46,8 @@ export declare class AiContentClient {
|
|
|
45
46
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
47
|
*
|
|
47
48
|
* @throws {@link Intercom.UnauthorizedError}
|
|
49
|
+
* @throws {@link errors.IntercomError}
|
|
50
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
48
51
|
*
|
|
49
52
|
* @example
|
|
50
53
|
* await client.aiContent.createContentImportSource({
|
|
@@ -58,6 +61,8 @@ export declare class AiContentClient {
|
|
|
58
61
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
62
|
*
|
|
60
63
|
* @throws {@link Intercom.UnauthorizedError}
|
|
64
|
+
* @throws {@link errors.IntercomError}
|
|
65
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
61
66
|
*
|
|
62
67
|
* @example
|
|
63
68
|
* await client.aiContent.getContentImportSource({
|
|
@@ -73,6 +78,8 @@ export declare class AiContentClient {
|
|
|
73
78
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
79
|
*
|
|
75
80
|
* @throws {@link Intercom.UnauthorizedError}
|
|
81
|
+
* @throws {@link errors.IntercomError}
|
|
82
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
76
83
|
*
|
|
77
84
|
* @example
|
|
78
85
|
* await client.aiContent.updateContentImportSource({
|
|
@@ -90,6 +97,8 @@ export declare class AiContentClient {
|
|
|
90
97
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
98
|
*
|
|
92
99
|
* @throws {@link Intercom.UnauthorizedError}
|
|
100
|
+
* @throws {@link errors.IntercomError}
|
|
101
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
93
102
|
*
|
|
94
103
|
* @example
|
|
95
104
|
* await client.aiContent.deleteContentImportSource({
|
|
@@ -104,6 +113,8 @@ export declare class AiContentClient {
|
|
|
104
113
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
105
114
|
*
|
|
106
115
|
* @throws {@link Intercom.UnauthorizedError}
|
|
116
|
+
* @throws {@link errors.IntercomError}
|
|
117
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
107
118
|
*
|
|
108
119
|
* @example
|
|
109
120
|
* await client.aiContent.listExternalPages()
|
|
@@ -117,6 +128,8 @@ export declare class AiContentClient {
|
|
|
117
128
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
129
|
*
|
|
119
130
|
* @throws {@link Intercom.UnauthorizedError}
|
|
131
|
+
* @throws {@link errors.IntercomError}
|
|
132
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
120
133
|
*
|
|
121
134
|
* @example
|
|
122
135
|
* await client.aiContent.createExternalPage({
|
|
@@ -136,6 +149,8 @@ export declare class AiContentClient {
|
|
|
136
149
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
137
150
|
*
|
|
138
151
|
* @throws {@link Intercom.UnauthorizedError}
|
|
152
|
+
* @throws {@link errors.IntercomError}
|
|
153
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
139
154
|
*
|
|
140
155
|
* @example
|
|
141
156
|
* await client.aiContent.getExternalPage({
|
|
@@ -151,6 +166,8 @@ export declare class AiContentClient {
|
|
|
151
166
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
152
167
|
*
|
|
153
168
|
* @throws {@link Intercom.UnauthorizedError}
|
|
169
|
+
* @throws {@link errors.IntercomError}
|
|
170
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
154
171
|
*
|
|
155
172
|
* @example
|
|
156
173
|
* await client.aiContent.updateExternalPage({
|
|
@@ -171,6 +188,8 @@ export declare class AiContentClient {
|
|
|
171
188
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
172
189
|
*
|
|
173
190
|
* @throws {@link Intercom.UnauthorizedError}
|
|
191
|
+
* @throws {@link errors.IntercomError}
|
|
192
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
174
193
|
*
|
|
175
194
|
* @example
|
|
176
195
|
* await client.aiContent.deleteExternalPage({
|
|
@@ -22,6 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
23
23
|
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
24
24
|
import * as core from "../../../../core/index.mjs";
|
|
25
|
+
import { mergeAdditionalBodyParameters } from "../../../../core/requestBody.mjs";
|
|
25
26
|
import * as environments from "../../../../environments.mjs";
|
|
26
27
|
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
|
|
27
28
|
import * as errors from "../../../../errors/index.mjs";
|
|
@@ -51,6 +52,8 @@ export class AiContentClient {
|
|
|
51
52
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
52
53
|
*
|
|
53
54
|
* @throws {@link Intercom.UnauthorizedError}
|
|
55
|
+
* @throws {@link errors.IntercomError}
|
|
56
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
54
57
|
*
|
|
55
58
|
* @example
|
|
56
59
|
* await client.aiContent.listContentImportSources()
|
|
@@ -67,7 +70,7 @@ export class AiContentClient {
|
|
|
67
70
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, "ai/content_import_sources"),
|
|
68
71
|
method: "GET",
|
|
69
72
|
headers: _headers,
|
|
70
|
-
|
|
73
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
71
74
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
72
75
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
73
76
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -99,6 +102,8 @@ export class AiContentClient {
|
|
|
99
102
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
100
103
|
*
|
|
101
104
|
* @throws {@link Intercom.UnauthorizedError}
|
|
105
|
+
* @throws {@link errors.IntercomError}
|
|
106
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
102
107
|
*
|
|
103
108
|
* @example
|
|
104
109
|
* await client.aiContent.createContentImportSource({
|
|
@@ -118,9 +123,9 @@ export class AiContentClient {
|
|
|
118
123
|
method: "POST",
|
|
119
124
|
headers: _headers,
|
|
120
125
|
contentType: "application/json",
|
|
121
|
-
|
|
126
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
122
127
|
requestType: "json",
|
|
123
|
-
body: Object.assign(Object.assign({}, request), { sync_behavior: "api" }),
|
|
128
|
+
body: mergeAdditionalBodyParameters(Object.assign(Object.assign({}, request), { sync_behavior: "api" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
124
129
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
125
130
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
126
131
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -150,6 +155,8 @@ export class AiContentClient {
|
|
|
150
155
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
151
156
|
*
|
|
152
157
|
* @throws {@link Intercom.UnauthorizedError}
|
|
158
|
+
* @throws {@link errors.IntercomError}
|
|
159
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
153
160
|
*
|
|
154
161
|
* @example
|
|
155
162
|
* await client.aiContent.getContentImportSource({
|
|
@@ -166,10 +173,10 @@ export class AiContentClient {
|
|
|
166
173
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
167
174
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
168
175
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
169
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(sourceId)}`),
|
|
176
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(sourceId, errors.IntercomError)}`),
|
|
170
177
|
method: "GET",
|
|
171
178
|
headers: _headers,
|
|
172
|
-
|
|
179
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
173
180
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
174
181
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
175
182
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -201,6 +208,8 @@ export class AiContentClient {
|
|
|
201
208
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
202
209
|
*
|
|
203
210
|
* @throws {@link Intercom.UnauthorizedError}
|
|
211
|
+
* @throws {@link errors.IntercomError}
|
|
212
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
204
213
|
*
|
|
205
214
|
* @example
|
|
206
215
|
* await client.aiContent.updateContentImportSource({
|
|
@@ -219,13 +228,13 @@ export class AiContentClient {
|
|
|
219
228
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
220
229
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
221
230
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
222
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(sourceId)}`),
|
|
231
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(sourceId, errors.IntercomError)}`),
|
|
223
232
|
method: "PUT",
|
|
224
233
|
headers: _headers,
|
|
225
234
|
contentType: "application/json",
|
|
226
|
-
|
|
235
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
227
236
|
requestType: "json",
|
|
228
|
-
body: _body,
|
|
237
|
+
body: mergeAdditionalBodyParameters(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
229
238
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
230
239
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
231
240
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -257,6 +266,8 @@ export class AiContentClient {
|
|
|
257
266
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
258
267
|
*
|
|
259
268
|
* @throws {@link Intercom.UnauthorizedError}
|
|
269
|
+
* @throws {@link errors.IntercomError}
|
|
270
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
260
271
|
*
|
|
261
272
|
* @example
|
|
262
273
|
* await client.aiContent.deleteContentImportSource({
|
|
@@ -273,10 +284,10 @@ export class AiContentClient {
|
|
|
273
284
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
274
285
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
275
286
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
276
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(sourceId)}`),
|
|
287
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(sourceId, errors.IntercomError)}`),
|
|
277
288
|
method: "DELETE",
|
|
278
289
|
headers: _headers,
|
|
279
|
-
|
|
290
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
280
291
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
281
292
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
282
293
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -307,6 +318,8 @@ export class AiContentClient {
|
|
|
307
318
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
308
319
|
*
|
|
309
320
|
* @throws {@link Intercom.UnauthorizedError}
|
|
321
|
+
* @throws {@link errors.IntercomError}
|
|
322
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
310
323
|
*
|
|
311
324
|
* @example
|
|
312
325
|
* await client.aiContent.listExternalPages()
|
|
@@ -323,7 +336,7 @@ export class AiContentClient {
|
|
|
323
336
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, "ai/external_pages"),
|
|
324
337
|
method: "GET",
|
|
325
338
|
headers: _headers,
|
|
326
|
-
|
|
339
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
327
340
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
328
341
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
329
342
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -355,6 +368,8 @@ export class AiContentClient {
|
|
|
355
368
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
356
369
|
*
|
|
357
370
|
* @throws {@link Intercom.UnauthorizedError}
|
|
371
|
+
* @throws {@link errors.IntercomError}
|
|
372
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
358
373
|
*
|
|
359
374
|
* @example
|
|
360
375
|
* await client.aiContent.createExternalPage({
|
|
@@ -378,9 +393,9 @@ export class AiContentClient {
|
|
|
378
393
|
method: "POST",
|
|
379
394
|
headers: _headers,
|
|
380
395
|
contentType: "application/json",
|
|
381
|
-
|
|
396
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
382
397
|
requestType: "json",
|
|
383
|
-
body: Object.assign(Object.assign({}, request), { locale: "en" }),
|
|
398
|
+
body: mergeAdditionalBodyParameters(Object.assign(Object.assign({}, request), { locale: "en" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
384
399
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
385
400
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
386
401
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -412,6 +427,8 @@ export class AiContentClient {
|
|
|
412
427
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
413
428
|
*
|
|
414
429
|
* @throws {@link Intercom.UnauthorizedError}
|
|
430
|
+
* @throws {@link errors.IntercomError}
|
|
431
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
415
432
|
*
|
|
416
433
|
* @example
|
|
417
434
|
* await client.aiContent.getExternalPage({
|
|
@@ -428,10 +445,10 @@ export class AiContentClient {
|
|
|
428
445
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
429
446
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
430
447
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
431
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(pageId)}`),
|
|
448
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(pageId, errors.IntercomError)}`),
|
|
432
449
|
method: "GET",
|
|
433
450
|
headers: _headers,
|
|
434
|
-
|
|
451
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
435
452
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
436
453
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
437
454
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -463,6 +480,8 @@ export class AiContentClient {
|
|
|
463
480
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
464
481
|
*
|
|
465
482
|
* @throws {@link Intercom.UnauthorizedError}
|
|
483
|
+
* @throws {@link errors.IntercomError}
|
|
484
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
466
485
|
*
|
|
467
486
|
* @example
|
|
468
487
|
* await client.aiContent.updateExternalPage({
|
|
@@ -484,13 +503,13 @@ export class AiContentClient {
|
|
|
484
503
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
485
504
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
486
505
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
487
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(pageId)}`),
|
|
506
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(pageId, errors.IntercomError)}`),
|
|
488
507
|
method: "PUT",
|
|
489
508
|
headers: _headers,
|
|
490
509
|
contentType: "application/json",
|
|
491
|
-
|
|
510
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
492
511
|
requestType: "json",
|
|
493
|
-
body: Object.assign(Object.assign({}, _body), { locale: "en" }),
|
|
512
|
+
body: mergeAdditionalBodyParameters(Object.assign(Object.assign({}, _body), { locale: "en" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
494
513
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
495
514
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
496
515
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -522,6 +541,8 @@ export class AiContentClient {
|
|
|
522
541
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
523
542
|
*
|
|
524
543
|
* @throws {@link Intercom.UnauthorizedError}
|
|
544
|
+
* @throws {@link errors.IntercomError}
|
|
545
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
525
546
|
*
|
|
526
547
|
* @example
|
|
527
548
|
* await client.aiContent.deleteExternalPage({
|
|
@@ -538,10 +559,10 @@ export class AiContentClient {
|
|
|
538
559
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
539
560
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
540
561
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
541
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(pageId)}`),
|
|
562
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(pageId, errors.IntercomError)}`),
|
|
542
563
|
method: "DELETE",
|
|
543
564
|
headers: _headers,
|
|
544
|
-
|
|
565
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
545
566
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
546
567
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
547
568
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { CreateContentImportSourceRequest } from "./CreateContentImportSourceRequest.mjs";
|
|
2
2
|
export type { CreateExternalPageRequest } from "./CreateExternalPageRequest.mjs";
|
|
3
3
|
export type { DeleteContentImportSourceRequest } from "./DeleteContentImportSourceRequest.mjs";
|
|
4
4
|
export type { DeleteExternalPageRequest } from "./DeleteExternalPageRequest.mjs";
|
|
5
5
|
export type { GetContentImportSourceRequest } from "./GetContentImportSourceRequest.mjs";
|
|
6
6
|
export type { GetExternalPageRequest } from "./GetExternalPageRequest.mjs";
|
|
7
|
-
export
|
|
7
|
+
export { UpdateContentImportSourceRequest } from "./UpdateContentImportSourceRequest.mjs";
|
|
8
8
|
export type { UpdateExternalPageRequest } from "./UpdateExternalPageRequest.mjs";
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { CreateContentImportSourceRequest } from "./CreateContentImportSourceRequest.mjs";
|
|
2
|
+
export { UpdateContentImportSourceRequest } from "./UpdateContentImportSourceRequest.mjs";
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../../../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ContentImportSourcesList {
|
|
6
6
|
/** The type of the object - `list`. */
|
|
7
|
-
type?: "list";
|
|
8
|
-
pages?: Intercom.PagesLink;
|
|
7
|
+
type?: "list" | undefined;
|
|
8
|
+
pages?: Intercom.PagesLink | undefined;
|
|
9
9
|
/** A count of the total number of content import sources. */
|
|
10
|
-
total_count?: number;
|
|
10
|
+
total_count?: number | undefined;
|
|
11
11
|
/** An array of Content Import Source objects */
|
|
12
|
-
data?: Intercom.ContentImportSource[];
|
|
12
|
+
data?: Intercom.ContentImportSource[] | undefined;
|
|
13
13
|
}
|
|
@@ -11,13 +11,13 @@ export interface ExternalPage {
|
|
|
11
11
|
/** The body of the external page in HTML. */
|
|
12
12
|
html: string;
|
|
13
13
|
/** The URL of the external page. This will be used by Fin to link end users to the page it based its answer on. */
|
|
14
|
-
url?: string;
|
|
14
|
+
url?: string | undefined;
|
|
15
15
|
/** Whether the external page should be used to answer questions by AI Agent. */
|
|
16
16
|
ai_agent_availability: boolean;
|
|
17
17
|
/** Whether the external page should be used to answer questions by AI Copilot. */
|
|
18
18
|
ai_copilot_availability: boolean;
|
|
19
19
|
/** Deprecated. Use ai_agent_availability and ai_copilot_availability instead. */
|
|
20
|
-
fin_availability?: boolean;
|
|
20
|
+
fin_availability?: boolean | undefined;
|
|
21
21
|
/** Always en */
|
|
22
22
|
locale: "en";
|
|
23
23
|
/** The unique identifier for the source of the external page which was given by Intercom. Every external page must be associated with a Content Import Source which represents the place it comes from and from which it inherits a default audience (configured in the UI). For a new source, make a POST request to the Content Import Source endpoint and an ID for the source will be returned in the response. */
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../../../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ExternalPagesList {
|
|
6
6
|
/** The type of the object - `list`. */
|
|
7
|
-
type?: "list";
|
|
8
|
-
pages?: Intercom.PagesLink;
|
|
7
|
+
type?: "list" | undefined;
|
|
8
|
+
pages?: Intercom.PagesLink | undefined;
|
|
9
9
|
/** A count of the total number of external pages. */
|
|
10
|
-
total_count?: number;
|
|
10
|
+
total_count?: number | undefined;
|
|
11
11
|
/** An array of External Page objects */
|
|
12
|
-
data?: Intercom.ExternalPage[];
|
|
12
|
+
data?: Intercom.ExternalPage[] | undefined;
|
|
13
13
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./index.mjs";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface ContentSource {
|
|
5
5
|
/** The type of the content source. */
|
|
6
|
-
content_type?: "custom_answer";
|
|
6
|
+
content_type?: "custom_answer" | undefined;
|
|
7
7
|
/** The internal URL linking to the content source for teammates. */
|
|
8
|
-
url?: string;
|
|
8
|
+
url?: string | undefined;
|
|
9
9
|
/** The title of the content source. */
|
|
10
|
-
title?: string;
|
|
10
|
+
title?: string | undefined;
|
|
11
11
|
/** The ISO 639 language code of the content source. */
|
|
12
|
-
locale?: string;
|
|
12
|
+
locale?: string | undefined;
|
|
13
13
|
}
|
|
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs
|
|
|
3
3
|
import * as core from "../../../../core/index.mjs";
|
|
4
4
|
import * as Intercom from "../../../index.mjs";
|
|
5
5
|
export declare namespace ArticlesClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -25,6 +24,8 @@ export declare class ArticlesClient {
|
|
|
25
24
|
* @param {ArticlesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
25
|
*
|
|
27
26
|
* @throws {@link Intercom.UnauthorizedError}
|
|
27
|
+
* @throws {@link errors.IntercomError}
|
|
28
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
28
29
|
*
|
|
29
30
|
* @example
|
|
30
31
|
* await client.articles.list()
|
|
@@ -38,6 +39,8 @@ export declare class ArticlesClient {
|
|
|
38
39
|
*
|
|
39
40
|
* @throws {@link Intercom.BadRequestError}
|
|
40
41
|
* @throws {@link Intercom.UnauthorizedError}
|
|
42
|
+
* @throws {@link errors.IntercomError}
|
|
43
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
41
44
|
*
|
|
42
45
|
* @example
|
|
43
46
|
* await client.articles.create({
|
|
@@ -78,6 +81,8 @@ export declare class ArticlesClient {
|
|
|
78
81
|
*
|
|
79
82
|
* @throws {@link Intercom.UnauthorizedError}
|
|
80
83
|
* @throws {@link Intercom.NotFoundError}
|
|
84
|
+
* @throws {@link errors.IntercomError}
|
|
85
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
81
86
|
*
|
|
82
87
|
* @example
|
|
83
88
|
* await client.articles.find({
|
|
@@ -94,6 +99,8 @@ export declare class ArticlesClient {
|
|
|
94
99
|
*
|
|
95
100
|
* @throws {@link Intercom.UnauthorizedError}
|
|
96
101
|
* @throws {@link Intercom.NotFoundError}
|
|
102
|
+
* @throws {@link errors.IntercomError}
|
|
103
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
97
104
|
*
|
|
98
105
|
* @example
|
|
99
106
|
* await client.articles.update({
|
|
@@ -112,6 +119,8 @@ export declare class ArticlesClient {
|
|
|
112
119
|
*
|
|
113
120
|
* @throws {@link Intercom.UnauthorizedError}
|
|
114
121
|
* @throws {@link Intercom.NotFoundError}
|
|
122
|
+
* @throws {@link errors.IntercomError}
|
|
123
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
115
124
|
*
|
|
116
125
|
* @example
|
|
117
126
|
* await client.articles.delete({
|
|
@@ -127,6 +136,8 @@ export declare class ArticlesClient {
|
|
|
127
136
|
* @param {ArticlesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
128
137
|
*
|
|
129
138
|
* @throws {@link Intercom.UnauthorizedError}
|
|
139
|
+
* @throws {@link errors.IntercomError}
|
|
140
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
130
141
|
*
|
|
131
142
|
* @example
|
|
132
143
|
* await client.articles.search({
|