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
|
@@ -5,15 +5,15 @@ export interface AdminReplyTicketRequest {
|
|
|
5
5
|
message_type: AdminReplyTicketRequest.MessageType;
|
|
6
6
|
type: "admin";
|
|
7
7
|
/** The text body of the reply. Notes accept some HTML formatting. Must be present for comment and note message types. */
|
|
8
|
-
body?: string;
|
|
8
|
+
body?: string | undefined;
|
|
9
9
|
/** The id of the admin who is authoring the comment. */
|
|
10
10
|
admin_id: string;
|
|
11
11
|
/** The time the reply was created. If not provided, the current time will be used. */
|
|
12
|
-
created_at?: number;
|
|
12
|
+
created_at?: number | undefined;
|
|
13
13
|
/** The quick reply options to display. Must be present for quick_reply message types. */
|
|
14
|
-
reply_options?: AdminReplyTicketRequest.ReplyOptions.Item[];
|
|
14
|
+
reply_options?: AdminReplyTicketRequest.ReplyOptions.Item[] | undefined;
|
|
15
15
|
/** A list of image URLs that will be added as attachments. You can include up to 10 URLs. */
|
|
16
|
-
attachment_urls?: string[];
|
|
16
|
+
attachment_urls?: string[] | undefined;
|
|
17
17
|
}
|
|
18
18
|
export declare namespace AdminReplyTicketRequest {
|
|
19
19
|
const MessageType: {
|
|
@@ -4,29 +4,29 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface AdminWithApp {
|
|
6
6
|
/** String representing the object's type. Always has the value `admin`. */
|
|
7
|
-
type?: string;
|
|
7
|
+
type?: string | undefined;
|
|
8
8
|
/** The id representing the admin. */
|
|
9
|
-
id?: string;
|
|
9
|
+
id?: string | undefined;
|
|
10
10
|
/** The name of the admin. */
|
|
11
|
-
name?: string;
|
|
11
|
+
name?: string | undefined;
|
|
12
12
|
/** The email of the admin. */
|
|
13
|
-
email?: string;
|
|
13
|
+
email?: string | undefined;
|
|
14
14
|
/** The job title of the admin. */
|
|
15
|
-
job_title?: string;
|
|
15
|
+
job_title?: string | undefined;
|
|
16
16
|
/** Identifies if this admin is currently set in away mode. */
|
|
17
|
-
away_mode_enabled?: boolean;
|
|
17
|
+
away_mode_enabled?: boolean | undefined;
|
|
18
18
|
/** Identifies if this admin is set to automatically reassign new conversations to the apps default inbox. */
|
|
19
|
-
away_mode_reassign?: boolean;
|
|
19
|
+
away_mode_reassign?: boolean | undefined;
|
|
20
20
|
/** Identifies if this admin has a paid inbox seat to restrict/allow features that require them. */
|
|
21
|
-
has_inbox_seat?: boolean;
|
|
21
|
+
has_inbox_seat?: boolean | undefined;
|
|
22
22
|
/** This is a list of ids of the teams that this admin is part of. */
|
|
23
|
-
team_ids?: number[];
|
|
23
|
+
team_ids?: number[] | undefined;
|
|
24
24
|
/** This object represents the avatar associated with the admin. */
|
|
25
|
-
avatar?: AdminWithApp.Avatar;
|
|
25
|
+
avatar?: AdminWithApp.Avatar | undefined;
|
|
26
26
|
/** Identifies if this admin's email is verified. */
|
|
27
|
-
email_verified?: boolean;
|
|
27
|
+
email_verified?: boolean | undefined;
|
|
28
28
|
/** App that the admin belongs to. */
|
|
29
|
-
app?: Intercom.App;
|
|
29
|
+
app?: Intercom.App | undefined;
|
|
30
30
|
}
|
|
31
31
|
export declare namespace AdminWithApp {
|
|
32
32
|
/**
|
|
@@ -34,8 +34,8 @@ export declare namespace AdminWithApp {
|
|
|
34
34
|
*/
|
|
35
35
|
interface Avatar {
|
|
36
36
|
/** This is a string that identifies the type of the object. It will always have the value `avatar`. */
|
|
37
|
-
type?: string;
|
|
37
|
+
type?: string | undefined;
|
|
38
38
|
/** This object represents the avatar associated with the admin. */
|
|
39
|
-
image_url?: string;
|
|
39
|
+
image_url?: string | undefined;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,18 +2,17 @@
|
|
|
2
2
|
* App is a workspace on Intercom
|
|
3
3
|
*/
|
|
4
4
|
export interface App {
|
|
5
|
-
|
|
6
|
-
type?: string;
|
|
5
|
+
type?: string | undefined;
|
|
7
6
|
/** The id of the app. */
|
|
8
|
-
id_code?: string;
|
|
7
|
+
id_code?: string | undefined;
|
|
9
8
|
/** The name of the app. */
|
|
10
|
-
name?: string;
|
|
9
|
+
name?: string | undefined;
|
|
11
10
|
/** The Intercom region the app is located in. */
|
|
12
|
-
region?: string;
|
|
11
|
+
region?: string | undefined;
|
|
13
12
|
/** The timezone of the region where the app is located. */
|
|
14
|
-
timezone?: string;
|
|
13
|
+
timezone?: string | undefined;
|
|
15
14
|
/** When the app was created. */
|
|
16
|
-
created_at?: number;
|
|
15
|
+
created_at?: number | undefined;
|
|
17
16
|
/** Whether or not the app uses identity verification. */
|
|
18
|
-
identity_verification?: boolean;
|
|
17
|
+
identity_verification?: boolean | undefined;
|
|
19
18
|
}
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface ArticleContent {
|
|
5
5
|
/** The type of object - `article_content` . */
|
|
6
|
-
type?: "article_content";
|
|
6
|
+
type?: "article_content" | undefined;
|
|
7
7
|
/** The title of the article. */
|
|
8
|
-
title?: string;
|
|
8
|
+
title?: string | undefined;
|
|
9
9
|
/** The description of the article. */
|
|
10
|
-
description?: string;
|
|
10
|
+
description?: string | undefined;
|
|
11
11
|
/** The body of the article. */
|
|
12
|
-
body?: string;
|
|
12
|
+
body?: string | undefined;
|
|
13
13
|
/** The ID of the author of the article. */
|
|
14
|
-
author_id?: number;
|
|
14
|
+
author_id?: number | undefined;
|
|
15
15
|
/** Whether the article is `published` or is a `draft` . */
|
|
16
|
-
state?: ArticleContent.State;
|
|
16
|
+
state?: ArticleContent.State | undefined;
|
|
17
17
|
/** The time when the article was created (seconds). */
|
|
18
|
-
created_at?: number;
|
|
18
|
+
created_at?: number | undefined;
|
|
19
19
|
/** The time when the article was last updated (seconds). */
|
|
20
|
-
updated_at?: number;
|
|
20
|
+
updated_at?: number | undefined;
|
|
21
21
|
/** The URL of the article. */
|
|
22
|
-
url?: string;
|
|
22
|
+
url?: string | undefined;
|
|
23
23
|
}
|
|
24
24
|
export declare namespace ArticleContent {
|
|
25
25
|
/** Whether the article is `published` or is a `draft` . */
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ArticleList {
|
|
6
6
|
/** The type of the object - `list`. */
|
|
7
|
-
type?: "list";
|
|
8
|
-
pages?: unknown;
|
|
7
|
+
type?: "list" | undefined;
|
|
8
|
+
pages?: unknown | undefined;
|
|
9
9
|
/** A count of the total number of articles. */
|
|
10
|
-
total_count?: number;
|
|
10
|
+
total_count?: number | undefined;
|
|
11
11
|
/** An array of Article objects */
|
|
12
|
-
data?: Intercom.ArticleListItem[];
|
|
12
|
+
data?: Intercom.ArticleListItem[] | undefined;
|
|
13
13
|
}
|
|
@@ -7,7 +7,7 @@ export interface ArticleStatistics {
|
|
|
7
7
|
/** The number of total views the article has received. */
|
|
8
8
|
views: number;
|
|
9
9
|
/** The number of conversations started from the article. */
|
|
10
|
-
conversions?: number;
|
|
10
|
+
conversions?: number | undefined;
|
|
11
11
|
/** The number of total reactions the article has received. */
|
|
12
12
|
reactions: number;
|
|
13
13
|
/** The percentage of happy reactions the article has received against other types of reaction. */
|
|
@@ -4,79 +4,79 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ArticleTranslatedContent {
|
|
6
6
|
/** The type of object - article_translated_content. */
|
|
7
|
-
type?: "article_translated_content";
|
|
7
|
+
type?: "article_translated_content" | undefined;
|
|
8
8
|
/** The content of the article in Arabic */
|
|
9
|
-
ar?: Intercom.ArticleContent;
|
|
9
|
+
ar?: Intercom.ArticleContent | undefined;
|
|
10
10
|
/** The content of the article in Bulgarian */
|
|
11
|
-
bg?: Intercom.ArticleContent;
|
|
11
|
+
bg?: Intercom.ArticleContent | undefined;
|
|
12
12
|
/** The content of the article in Bosnian */
|
|
13
|
-
bs?: Intercom.ArticleContent;
|
|
13
|
+
bs?: Intercom.ArticleContent | undefined;
|
|
14
14
|
/** The content of the article in Catalan */
|
|
15
|
-
ca?: Intercom.ArticleContent;
|
|
15
|
+
ca?: Intercom.ArticleContent | undefined;
|
|
16
16
|
/** The content of the article in Czech */
|
|
17
|
-
cs?: Intercom.ArticleContent;
|
|
17
|
+
cs?: Intercom.ArticleContent | undefined;
|
|
18
18
|
/** The content of the article in Danish */
|
|
19
|
-
da?: Intercom.ArticleContent;
|
|
19
|
+
da?: Intercom.ArticleContent | undefined;
|
|
20
20
|
/** The content of the article in German */
|
|
21
|
-
de?: Intercom.ArticleContent;
|
|
21
|
+
de?: Intercom.ArticleContent | undefined;
|
|
22
22
|
/** The content of the article in Greek */
|
|
23
|
-
el?: Intercom.ArticleContent;
|
|
23
|
+
el?: Intercom.ArticleContent | undefined;
|
|
24
24
|
/** The content of the article in English */
|
|
25
|
-
en?: Intercom.ArticleContent;
|
|
25
|
+
en?: Intercom.ArticleContent | undefined;
|
|
26
26
|
/** The content of the article in Spanish */
|
|
27
|
-
es?: Intercom.ArticleContent;
|
|
27
|
+
es?: Intercom.ArticleContent | undefined;
|
|
28
28
|
/** The content of the article in Estonian */
|
|
29
|
-
et?: Intercom.ArticleContent;
|
|
29
|
+
et?: Intercom.ArticleContent | undefined;
|
|
30
30
|
/** The content of the article in Finnish */
|
|
31
|
-
fi?: Intercom.ArticleContent;
|
|
31
|
+
fi?: Intercom.ArticleContent | undefined;
|
|
32
32
|
/** The content of the article in French */
|
|
33
|
-
fr?: Intercom.ArticleContent;
|
|
33
|
+
fr?: Intercom.ArticleContent | undefined;
|
|
34
34
|
/** The content of the article in Hebrew */
|
|
35
|
-
he?: Intercom.ArticleContent;
|
|
35
|
+
he?: Intercom.ArticleContent | undefined;
|
|
36
36
|
/** The content of the article in Croatian */
|
|
37
|
-
hr?: Intercom.ArticleContent;
|
|
37
|
+
hr?: Intercom.ArticleContent | undefined;
|
|
38
38
|
/** The content of the article in Hungarian */
|
|
39
|
-
hu?: Intercom.ArticleContent;
|
|
39
|
+
hu?: Intercom.ArticleContent | undefined;
|
|
40
40
|
/** The content of the article in Indonesian */
|
|
41
|
-
id?: Intercom.ArticleContent;
|
|
41
|
+
id?: Intercom.ArticleContent | undefined;
|
|
42
42
|
/** The content of the article in Italian */
|
|
43
|
-
it?: Intercom.ArticleContent;
|
|
43
|
+
it?: Intercom.ArticleContent | undefined;
|
|
44
44
|
/** The content of the article in Japanese */
|
|
45
|
-
ja?: Intercom.ArticleContent;
|
|
45
|
+
ja?: Intercom.ArticleContent | undefined;
|
|
46
46
|
/** The content of the article in Korean */
|
|
47
|
-
ko?: Intercom.ArticleContent;
|
|
47
|
+
ko?: Intercom.ArticleContent | undefined;
|
|
48
48
|
/** The content of the article in Lithuanian */
|
|
49
|
-
lt?: Intercom.ArticleContent;
|
|
49
|
+
lt?: Intercom.ArticleContent | undefined;
|
|
50
50
|
/** The content of the article in Latvian */
|
|
51
|
-
lv?: Intercom.ArticleContent;
|
|
51
|
+
lv?: Intercom.ArticleContent | undefined;
|
|
52
52
|
/** The content of the article in Mongolian */
|
|
53
|
-
mn?: Intercom.ArticleContent;
|
|
53
|
+
mn?: Intercom.ArticleContent | undefined;
|
|
54
54
|
/** The content of the article in Norwegian */
|
|
55
|
-
nb?: Intercom.ArticleContent;
|
|
55
|
+
nb?: Intercom.ArticleContent | undefined;
|
|
56
56
|
/** The content of the article in Dutch */
|
|
57
|
-
nl?: Intercom.ArticleContent;
|
|
57
|
+
nl?: Intercom.ArticleContent | undefined;
|
|
58
58
|
/** The content of the article in Polish */
|
|
59
|
-
pl?: Intercom.ArticleContent;
|
|
59
|
+
pl?: Intercom.ArticleContent | undefined;
|
|
60
60
|
/** The content of the article in Portuguese (Portugal) */
|
|
61
|
-
pt?: Intercom.ArticleContent;
|
|
61
|
+
pt?: Intercom.ArticleContent | undefined;
|
|
62
62
|
/** The content of the article in Romanian */
|
|
63
|
-
ro?: Intercom.ArticleContent;
|
|
63
|
+
ro?: Intercom.ArticleContent | undefined;
|
|
64
64
|
/** The content of the article in Russian */
|
|
65
|
-
ru?: Intercom.ArticleContent;
|
|
65
|
+
ru?: Intercom.ArticleContent | undefined;
|
|
66
66
|
/** The content of the article in Slovenian */
|
|
67
|
-
sl?: Intercom.ArticleContent;
|
|
67
|
+
sl?: Intercom.ArticleContent | undefined;
|
|
68
68
|
/** The content of the article in Serbian */
|
|
69
|
-
sr?: Intercom.ArticleContent;
|
|
69
|
+
sr?: Intercom.ArticleContent | undefined;
|
|
70
70
|
/** The content of the article in Swedish */
|
|
71
|
-
sv?: Intercom.ArticleContent;
|
|
71
|
+
sv?: Intercom.ArticleContent | undefined;
|
|
72
72
|
/** The content of the article in Turkish */
|
|
73
|
-
tr?: Intercom.ArticleContent;
|
|
73
|
+
tr?: Intercom.ArticleContent | undefined;
|
|
74
74
|
/** The content of the article in Vietnamese */
|
|
75
|
-
vi?: Intercom.ArticleContent;
|
|
75
|
+
vi?: Intercom.ArticleContent | undefined;
|
|
76
76
|
/** The content of the article in Portuguese (Brazil) */
|
|
77
|
-
"pt-BR"?: Intercom.ArticleContent;
|
|
77
|
+
"pt-BR"?: Intercom.ArticleContent | undefined;
|
|
78
78
|
/** The content of the article in Chinese (China) */
|
|
79
|
-
"zh-CN"?: Intercom.ArticleContent;
|
|
79
|
+
"zh-CN"?: Intercom.ArticleContent | undefined;
|
|
80
80
|
/** The content of the article in Chinese (Taiwan) */
|
|
81
|
-
"zh-TW"?: Intercom.ArticleContent;
|
|
81
|
+
"zh-TW"?: Intercom.ArticleContent | undefined;
|
|
82
82
|
}
|
|
@@ -8,7 +8,7 @@ export interface AssignConversationRequest {
|
|
|
8
8
|
/** The `id` of the `admin` or `team` which will be assigned the conversation. A conversation can be assigned both an admin and a team.\nSet `0` if you want this assign to no admin or team (ie. Unassigned). */
|
|
9
9
|
assignee_id: string;
|
|
10
10
|
/** Optionally you can send a response in the conversation when it is assigned. */
|
|
11
|
-
body?: string;
|
|
11
|
+
body?: string | undefined;
|
|
12
12
|
}
|
|
13
13
|
export declare namespace AssignConversationRequest {
|
|
14
14
|
const Type: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export interface AwayStatusReason {
|
|
2
|
-
type?: string;
|
|
2
|
+
type?: string | undefined;
|
|
3
3
|
/** The unique identifier for the away status reason */
|
|
4
|
-
id?: string;
|
|
4
|
+
id?: string | undefined;
|
|
5
5
|
/** The display text for the away status reason */
|
|
6
|
-
label?: string;
|
|
6
|
+
label?: string | undefined;
|
|
7
7
|
/** The emoji associated with the status reason */
|
|
8
|
-
emoji?: string;
|
|
8
|
+
emoji?: string | undefined;
|
|
9
9
|
/** The display order of the status reason */
|
|
10
|
-
order?: number;
|
|
10
|
+
order?: number | undefined;
|
|
11
11
|
/** Whether the status reason has been soft deleted */
|
|
12
|
-
deleted?: boolean;
|
|
12
|
+
deleted?: boolean | undefined;
|
|
13
13
|
/** The Unix timestamp when the status reason was created */
|
|
14
|
-
created_at?: number;
|
|
14
|
+
created_at?: number | undefined;
|
|
15
15
|
/** The Unix timestamp when the status reason was last updated */
|
|
16
|
-
updated_at?: number;
|
|
16
|
+
updated_at?: number | undefined;
|
|
17
17
|
}
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface CallList {
|
|
6
6
|
/** String representing the object's type. Always has the value `list`. */
|
|
7
|
-
type?: string;
|
|
7
|
+
type?: string | undefined;
|
|
8
8
|
/** A list of calls. */
|
|
9
|
-
data?: Intercom.Call[];
|
|
9
|
+
data?: Intercom.Call[] | undefined;
|
|
10
10
|
/** Total number of items available. */
|
|
11
|
-
total_count?: number;
|
|
12
|
-
pages?: Intercom.CursorPages;
|
|
11
|
+
total_count?: number | undefined;
|
|
12
|
+
pages?: Intercom.CursorPages | undefined;
|
|
13
13
|
}
|
|
@@ -6,5 +6,5 @@ export interface CloseConversationRequest {
|
|
|
6
6
|
/** The id of the admin who is performing the action. */
|
|
7
7
|
admin_id: string;
|
|
8
8
|
/** Optionally you can leave a message in the conversation to provide additional context to the user and other teammates. */
|
|
9
|
-
body?: string;
|
|
9
|
+
body?: string | undefined;
|
|
10
10
|
}
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface CollectionList {
|
|
6
6
|
/** The type of the object - `list`. */
|
|
7
|
-
type?: "list";
|
|
8
|
-
pages?: Intercom.OffsetPages;
|
|
7
|
+
type?: "list" | undefined;
|
|
8
|
+
pages?: Intercom.OffsetPages | undefined;
|
|
9
9
|
/** A count of the total number of collections. */
|
|
10
|
-
total_count?: number;
|
|
10
|
+
total_count?: number | undefined;
|
|
11
11
|
/** An array of collection objects */
|
|
12
|
-
data?: Intercom.Collection[];
|
|
12
|
+
data?: Intercom.Collection[] | undefined;
|
|
13
13
|
}
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface CompanyAttachedContacts {
|
|
6
6
|
/** The type of object - `list` */
|
|
7
|
-
type?: "list";
|
|
7
|
+
type?: "list" | undefined;
|
|
8
8
|
/** An array containing Contact Objects */
|
|
9
|
-
data?: Intercom.Contact[];
|
|
9
|
+
data?: Intercom.Contact[] | undefined;
|
|
10
10
|
/** The total number of contacts */
|
|
11
|
-
total_count?: number;
|
|
12
|
-
pages?: Intercom.CursorPages;
|
|
11
|
+
total_count?: number | undefined;
|
|
12
|
+
pages?: Intercom.CursorPages | undefined;
|
|
13
13
|
}
|
|
@@ -4,7 +4,7 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface CompanyAttachedSegments {
|
|
6
6
|
/** The type of object - `list` */
|
|
7
|
-
type?: "list";
|
|
7
|
+
type?: "list" | undefined;
|
|
8
8
|
/** An array containing Segment Objects */
|
|
9
|
-
data?: Intercom.Segment[];
|
|
9
|
+
data?: Intercom.Segment[] | undefined;
|
|
10
10
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface CompanyData {
|
|
5
5
|
/** The unique identifier for the company which is given by Intercom. */
|
|
6
|
-
id?: string;
|
|
6
|
+
id?: string | undefined;
|
|
7
7
|
/** The type of the object. Always company. */
|
|
8
|
-
type?: "company";
|
|
8
|
+
type?: "company" | undefined;
|
|
9
9
|
/** The relative URL of the company. */
|
|
10
|
-
url?: string;
|
|
10
|
+
url?: string | undefined;
|
|
11
11
|
}
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface CompanyList {
|
|
6
6
|
/** The type of object - `list`. */
|
|
7
|
-
type?: "list";
|
|
8
|
-
pages?: Intercom.OffsetPages;
|
|
7
|
+
type?: "list" | undefined;
|
|
8
|
+
pages?: Intercom.OffsetPages | undefined;
|
|
9
9
|
/** The total number of companies. */
|
|
10
|
-
total_count?: number;
|
|
10
|
+
total_count?: number | undefined;
|
|
11
11
|
/** An array containing Company Objects. */
|
|
12
|
-
data?: Intercom.Company[];
|
|
12
|
+
data?: Intercom.Company[] | undefined;
|
|
13
13
|
}
|
|
@@ -4,11 +4,11 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface CompanyScroll {
|
|
6
6
|
/** The type of object - `list` */
|
|
7
|
-
type?: "list";
|
|
8
|
-
data?: Intercom.Company[];
|
|
9
|
-
pages?: Intercom.CursorPages;
|
|
7
|
+
type?: "list" | undefined;
|
|
8
|
+
data?: Intercom.Company[] | undefined;
|
|
9
|
+
pages?: Intercom.CursorPages | undefined;
|
|
10
10
|
/** The total number of companies */
|
|
11
|
-
total_count?: number;
|
|
11
|
+
total_count?: number | undefined;
|
|
12
12
|
/** The scroll parameter to use in the next request to fetch the next page of results. */
|
|
13
|
-
scroll_param?: string;
|
|
13
|
+
scroll_param?: string | undefined;
|
|
14
14
|
}
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ContactAttachedCompanies {
|
|
6
6
|
/** The type of object */
|
|
7
|
-
type?: "list";
|
|
7
|
+
type?: "list" | undefined;
|
|
8
8
|
/** An array containing Company Objects */
|
|
9
|
-
companies?: Intercom.Company[];
|
|
9
|
+
companies?: Intercom.Company[] | undefined;
|
|
10
10
|
/** The total number of companies associated to this contact */
|
|
11
|
-
total_count?: number;
|
|
12
|
-
pages?: Intercom.PagesLink;
|
|
11
|
+
total_count?: number | undefined;
|
|
12
|
+
pages?: Intercom.PagesLink | undefined;
|
|
13
13
|
}
|
|
@@ -4,11 +4,11 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ContactCompanies {
|
|
6
6
|
/** An array of company data objects attached to the contact. */
|
|
7
|
-
data?: Intercom.CompanyData[];
|
|
7
|
+
data?: Intercom.CompanyData[] | undefined;
|
|
8
8
|
/** Url to get more company resources for this contact */
|
|
9
|
-
url?: string;
|
|
9
|
+
url?: string | undefined;
|
|
10
10
|
/** Integer representing the total number of companies attached to this contact */
|
|
11
|
-
total_count?: number;
|
|
11
|
+
total_count?: number | undefined;
|
|
12
12
|
/** Whether there's more Addressable Objects to be viewed. If true, use the url to view all */
|
|
13
|
-
has_more?: boolean;
|
|
13
|
+
has_more?: boolean | undefined;
|
|
14
14
|
}
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ContactList {
|
|
6
6
|
/** Always list */
|
|
7
|
-
type?: "list";
|
|
7
|
+
type?: "list" | undefined;
|
|
8
8
|
/** The list of contact objects */
|
|
9
|
-
data?: Intercom.Contact[];
|
|
9
|
+
data?: Intercom.Contact[] | undefined;
|
|
10
10
|
/** A count of the total number of objects. */
|
|
11
|
-
total_count?: number;
|
|
12
|
-
pages?: Intercom.CursorPages;
|
|
11
|
+
total_count?: number | undefined;
|
|
12
|
+
pages?: Intercom.CursorPages | undefined;
|
|
13
13
|
}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface ContactLocation {
|
|
5
5
|
/** Always location */
|
|
6
|
-
type?: string;
|
|
6
|
+
type?: string | undefined;
|
|
7
7
|
/** The country that the contact is located in */
|
|
8
|
-
country?: string;
|
|
8
|
+
country?: string | undefined;
|
|
9
9
|
/** The overal region that the contact is located in */
|
|
10
|
-
region?: string;
|
|
10
|
+
region?: string | undefined;
|
|
11
11
|
/** The city that the contact is located in */
|
|
12
|
-
city?: string;
|
|
12
|
+
city?: string | undefined;
|
|
13
13
|
}
|
|
@@ -4,11 +4,11 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ContactNotes {
|
|
6
6
|
/** This object represents the notes attached to a contact. */
|
|
7
|
-
data?: Intercom.AddressableList[];
|
|
7
|
+
data?: Intercom.AddressableList[] | undefined;
|
|
8
8
|
/** Url to get more company resources for this contact */
|
|
9
|
-
url?: string;
|
|
9
|
+
url?: string | undefined;
|
|
10
10
|
/** Int representing the total number of companyies attached to this contact */
|
|
11
|
-
total_count?: number;
|
|
11
|
+
total_count?: number | undefined;
|
|
12
12
|
/** Whether there's more Addressable Objects to be viewed. If true, use the url to view all */
|
|
13
|
-
has_more?: boolean;
|
|
13
|
+
has_more?: boolean | undefined;
|
|
14
14
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface ContactReference {
|
|
5
5
|
/** always contact */
|
|
6
|
-
type?: "contact";
|
|
6
|
+
type?: "contact" | undefined;
|
|
7
7
|
/** The unique identifier for the contact which is given by Intercom. */
|
|
8
|
-
id?: string;
|
|
8
|
+
id?: string | undefined;
|
|
9
9
|
/** The unique identifier for the contact which is provided by the Client. */
|
|
10
|
-
external_id?: string;
|
|
10
|
+
external_id?: string | undefined;
|
|
11
11
|
}
|
|
@@ -4,11 +4,11 @@ export interface ContactReplyBaseRequest {
|
|
|
4
4
|
/** The text body of the comment. */
|
|
5
5
|
body: string;
|
|
6
6
|
/** The time the reply was created. If not provided, the current time will be used. */
|
|
7
|
-
created_at?: number;
|
|
7
|
+
created_at?: number | undefined;
|
|
8
8
|
/** A list of image URLs that will be added as attachments. You can include up to 10 URLs. */
|
|
9
|
-
attachment_urls?: string[];
|
|
9
|
+
attachment_urls?: string[] | undefined;
|
|
10
10
|
/** The quick reply selection the contact wishes to respond with. These map to buttons displayed in the Messenger UI if sent by a bot, or the reply options sent by an Admin via the API. */
|
|
11
|
-
reply_options?: ContactReplyBaseRequest.ReplyOptions.Item[];
|
|
11
|
+
reply_options?: ContactReplyBaseRequest.ReplyOptions.Item[] | undefined;
|
|
12
12
|
}
|
|
13
13
|
export declare namespace ContactReplyBaseRequest {
|
|
14
14
|
type ReplyOptions = ReplyOptions.Item[];
|
|
@@ -6,5 +6,5 @@ export interface ContactReplyEmailRequest extends Intercom.ContactReplyBaseReque
|
|
|
6
6
|
/** The email you have defined for the user. */
|
|
7
7
|
email: string;
|
|
8
8
|
/** A list of files that will be added as attachments. */
|
|
9
|
-
attachment_files?: Intercom.ConversationAttachmentFiles[];
|
|
9
|
+
attachment_files?: Intercom.ConversationAttachmentFiles[] | undefined;
|
|
10
10
|
}
|
|
@@ -6,5 +6,5 @@ export interface ContactReplyIntercomUserIdRequest extends Intercom.ContactReply
|
|
|
6
6
|
/** The identifier for the contact as given by Intercom. */
|
|
7
7
|
intercom_user_id: string;
|
|
8
8
|
/** A list of files that will be added as attachments. */
|
|
9
|
-
attachment_files?: Intercom.ConversationAttachmentFiles[];
|
|
9
|
+
attachment_files?: Intercom.ConversationAttachmentFiles[] | undefined;
|
|
10
10
|
}
|
|
@@ -6,5 +6,5 @@ export interface ContactReplyUserIdRequest extends Intercom.ContactReplyBaseRequ
|
|
|
6
6
|
/** The external_id you have defined for the contact. */
|
|
7
7
|
user_id: string;
|
|
8
8
|
/** A list of files that will be added as attachments. You can include up to 10 files. */
|
|
9
|
-
attachment_files?: Intercom.ConversationAttachmentFiles[];
|
|
9
|
+
attachment_files?: Intercom.ConversationAttachmentFiles[] | undefined;
|
|
10
10
|
}
|
|
@@ -4,7 +4,7 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ContactSegments {
|
|
6
6
|
/** The type of the object */
|
|
7
|
-
type?: "list";
|
|
7
|
+
type?: "list" | undefined;
|
|
8
8
|
/** Segment objects associated with the contact. */
|
|
9
|
-
data?: Intercom.Segment[];
|
|
9
|
+
data?: Intercom.Segment[] | undefined;
|
|
10
10
|
}
|
|
@@ -4,11 +4,11 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ContactSubscriptionTypes {
|
|
6
6
|
/** This object represents the subscriptions attached to a contact. */
|
|
7
|
-
data?: Intercom.AddressableList[];
|
|
7
|
+
data?: Intercom.AddressableList[] | undefined;
|
|
8
8
|
/** Url to get more subscription type resources for this contact */
|
|
9
|
-
url?: string;
|
|
9
|
+
url?: string | undefined;
|
|
10
10
|
/** Int representing the total number of subscription types attached to this contact */
|
|
11
|
-
total_count?: number;
|
|
11
|
+
total_count?: number | undefined;
|
|
12
12
|
/** Whether there's more Addressable Objects to be viewed. If true, use the url to view all */
|
|
13
|
-
has_more?: boolean;
|
|
13
|
+
has_more?: boolean | undefined;
|
|
14
14
|
}
|