intercom-client 7.0.2 → 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 +45 -45
- 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 +27 -27
- 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 +6 -6
- 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 +2 -2
- 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 +8 -8
- 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 +17 -17
- 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 +54 -56
- 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 +45 -45
- 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 +27 -27
- 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 +6 -6
- 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 +2 -2
- 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 +8 -8
- 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 +17 -17
- 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 +54 -56
- 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
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* Contains details about final status of the completed action for conversation part type <code>custom_action_finished</code>.
|
|
3
3
|
*/
|
|
4
4
|
export interface CustomActionFinished {
|
|
5
|
-
action?: CustomActionFinished.Action;
|
|
5
|
+
action?: CustomActionFinished.Action | undefined;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace CustomActionFinished {
|
|
8
8
|
interface Action {
|
|
9
9
|
/** Name of the action */
|
|
10
|
-
name?: string;
|
|
10
|
+
name?: string | undefined;
|
|
11
11
|
/** Status of the action */
|
|
12
|
-
result?: Action.Result;
|
|
12
|
+
result?: Action.Result | undefined;
|
|
13
13
|
}
|
|
14
14
|
namespace Action {
|
|
15
15
|
/** Status of the action */
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* Contains details about name of the action that was initiated for conversation part type <code>custom_action_started</code>.
|
|
3
3
|
*/
|
|
4
4
|
export interface CustomActionStarted {
|
|
5
|
-
action?: CustomActionStarted.Action;
|
|
5
|
+
action?: CustomActionStarted.Action | undefined;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace CustomActionStarted {
|
|
8
8
|
interface Action {
|
|
9
9
|
/** Name of the action */
|
|
10
|
-
name?: string;
|
|
10
|
+
name?: string | undefined;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -4,9 +4,9 @@ export interface CustomChannelContact {
|
|
|
4
4
|
/** External identifier for the contact. Intercom will take care of the mapping of your external_id with our internal ones so you don't have to worry about it. */
|
|
5
5
|
external_id: string;
|
|
6
6
|
/** Name of the contact. Required for user type. */
|
|
7
|
-
name?: string;
|
|
7
|
+
name?: string | undefined;
|
|
8
8
|
/** Email address of the contact. Required for user type. */
|
|
9
|
-
email?: string;
|
|
9
|
+
email?: string | undefined;
|
|
10
10
|
}
|
|
11
11
|
export declare namespace CustomChannelContact {
|
|
12
12
|
/** Type of contact, must be "user" or "lead". */
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface CustomObjectInstanceDeleted {
|
|
5
5
|
/** The unique identifier of the Custom Object type that defines the structure of the Custom Object instance. */
|
|
6
|
-
object?: string;
|
|
6
|
+
object?: string | undefined;
|
|
7
7
|
/** The Intercom defined id representing the Custom Object instance. */
|
|
8
|
-
id?: string;
|
|
8
|
+
id?: string | undefined;
|
|
9
9
|
/** Whether the Custom Object instance is deleted or not. */
|
|
10
|
-
deleted?: boolean;
|
|
10
|
+
deleted?: boolean | undefined;
|
|
11
11
|
}
|
|
@@ -3,7 +3,7 @@ import type * as Intercom from "../index.mjs";
|
|
|
3
3
|
* The list of associated custom object instances for a given reference attribute on the parent object.
|
|
4
4
|
*/
|
|
5
5
|
export interface CustomObjectInstanceList {
|
|
6
|
-
type?: string;
|
|
6
|
+
type?: string | undefined;
|
|
7
7
|
/** The list of associated custom object instances for a given reference attribute on the parent object. */
|
|
8
|
-
instances?: (Intercom.CustomObjectInstance | undefined)[];
|
|
8
|
+
instances?: (Intercom.CustomObjectInstance | undefined)[] | undefined;
|
|
9
9
|
}
|
|
@@ -4,7 +4,7 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface DataAttributeList {
|
|
6
6
|
/** The type of the object */
|
|
7
|
-
type?: "list";
|
|
7
|
+
type?: "list" | undefined;
|
|
8
8
|
/** A list of data attributes */
|
|
9
|
-
data?: Intercom.DataAttribute[];
|
|
9
|
+
data?: Intercom.DataAttribute[] | undefined;
|
|
10
10
|
}
|
|
@@ -4,18 +4,18 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface DataEventList {
|
|
6
6
|
/** The type of the object */
|
|
7
|
-
type?: "event.list";
|
|
7
|
+
type?: "event.list" | undefined;
|
|
8
8
|
/** A list of data events */
|
|
9
|
-
events?: Intercom.DataEvent[];
|
|
9
|
+
events?: Intercom.DataEvent[] | undefined;
|
|
10
10
|
/** Pagination */
|
|
11
|
-
pages?: DataEventList.Pages;
|
|
11
|
+
pages?: DataEventList.Pages | undefined;
|
|
12
12
|
}
|
|
13
13
|
export declare namespace DataEventList {
|
|
14
14
|
/**
|
|
15
15
|
* Pagination
|
|
16
16
|
*/
|
|
17
17
|
interface Pages {
|
|
18
|
-
next?: string;
|
|
19
|
-
since?: string;
|
|
18
|
+
next?: string | undefined;
|
|
19
|
+
since?: string | undefined;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -4,13 +4,13 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface DataEventSummary {
|
|
6
6
|
/** The type of the object */
|
|
7
|
-
type?: "event.summary";
|
|
7
|
+
type?: "event.summary" | undefined;
|
|
8
8
|
/** The email address of the user */
|
|
9
|
-
email?: string;
|
|
9
|
+
email?: string | undefined;
|
|
10
10
|
/** The Intercom user ID of the user */
|
|
11
|
-
intercom_user_id?: string;
|
|
11
|
+
intercom_user_id?: string | undefined;
|
|
12
12
|
/** The user ID of the user */
|
|
13
|
-
user_id?: string;
|
|
13
|
+
user_id?: string | undefined;
|
|
14
14
|
/** A summary of data events */
|
|
15
15
|
events: (Intercom.DataEventSummaryItem | undefined)[];
|
|
16
16
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface DataEventSummaryItem {
|
|
5
5
|
/** The name of the event */
|
|
6
|
-
name?: string;
|
|
6
|
+
name?: string | undefined;
|
|
7
7
|
/** The first time the event was sent */
|
|
8
|
-
first?: string;
|
|
8
|
+
first?: string | undefined;
|
|
9
9
|
/** The last time the event was sent */
|
|
10
|
-
last?: string;
|
|
10
|
+
last?: string | undefined;
|
|
11
11
|
/** The number of times the event was sent */
|
|
12
|
-
count?: number;
|
|
12
|
+
count?: number | undefined;
|
|
13
13
|
/** The description of the event */
|
|
14
|
-
description?: string;
|
|
14
|
+
description?: string | undefined;
|
|
15
15
|
}
|
|
@@ -3,55 +3,55 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface DataExportCsv {
|
|
5
5
|
/** The user_id of the user who was sent the message. */
|
|
6
|
-
user_id?: string;
|
|
6
|
+
user_id?: string | undefined;
|
|
7
7
|
/** The external_user_id of the user who was sent the message */
|
|
8
|
-
user_external_id?: string;
|
|
8
|
+
user_external_id?: string | undefined;
|
|
9
9
|
/** The company ID of the user in relation to the message that was sent. Will return -1 if no company is present. */
|
|
10
|
-
company_id?: string;
|
|
10
|
+
company_id?: string | undefined;
|
|
11
11
|
/** The users email who was sent the message. */
|
|
12
|
-
email?: string;
|
|
12
|
+
email?: string | undefined;
|
|
13
13
|
/** The full name of the user receiving the message */
|
|
14
|
-
name?: string;
|
|
14
|
+
name?: string | undefined;
|
|
15
15
|
/** The id of the message. */
|
|
16
|
-
ruleset_id?: string;
|
|
16
|
+
ruleset_id?: string | undefined;
|
|
17
17
|
/** The specific content that was received. In an A/B test each version has its own Content ID. */
|
|
18
|
-
content_id?: string;
|
|
18
|
+
content_id?: string | undefined;
|
|
19
19
|
/** Email, Chat, Post etc. */
|
|
20
|
-
content_type?: string;
|
|
20
|
+
content_type?: string | undefined;
|
|
21
21
|
/** The title of the content you see in your Intercom workspace. */
|
|
22
|
-
content_title?: string;
|
|
22
|
+
content_title?: string | undefined;
|
|
23
23
|
/** As you edit content we record new versions. This ID can help you determine which version of a piece of content that was received. */
|
|
24
|
-
ruleset_version_id?: string;
|
|
24
|
+
ruleset_version_id?: string | undefined;
|
|
25
25
|
/** ID for this receipt. Will be included with any related stats in other files to identify this specific delivery of a message. */
|
|
26
|
-
receipt_id?: string;
|
|
26
|
+
receipt_id?: string | undefined;
|
|
27
27
|
/** Timestamp for when the receipt was recorded. */
|
|
28
|
-
received_at?: number;
|
|
28
|
+
received_at?: number | undefined;
|
|
29
29
|
/** The id of the series that this content is part of. Will return -1 if not part of a series. */
|
|
30
|
-
series_id?: string;
|
|
30
|
+
series_id?: string | undefined;
|
|
31
31
|
/** The title of the series that this content is part of. */
|
|
32
|
-
series_title?: string;
|
|
32
|
+
series_title?: string | undefined;
|
|
33
33
|
/** The id of the series node that this ruleset is associated with. Each block in a series has a corresponding node_id. */
|
|
34
|
-
node_id?: string;
|
|
34
|
+
node_id?: string | undefined;
|
|
35
35
|
/** The first time a user replied to this message if the content was able to receive replies. */
|
|
36
|
-
first_reply?: number;
|
|
36
|
+
first_reply?: number | undefined;
|
|
37
37
|
/** The first time a user completed this message if the content was able to be completed e.g. Tours, Surveys. */
|
|
38
|
-
first_completion?: number;
|
|
38
|
+
first_completion?: number | undefined;
|
|
39
39
|
/** The first time the series this message was a part of was completed by the user. */
|
|
40
|
-
first_series_completion?: number;
|
|
40
|
+
first_series_completion?: number | undefined;
|
|
41
41
|
/** The first time the series this message was a part of was disengaged by the user. */
|
|
42
|
-
first_series_disengagement?: number;
|
|
42
|
+
first_series_disengagement?: number | undefined;
|
|
43
43
|
/** The first time the series this message was a part of was exited by the user. */
|
|
44
|
-
first_series_exit?: number;
|
|
44
|
+
first_series_exit?: number | undefined;
|
|
45
45
|
/** The first time the user met this messages associated goal if one exists. */
|
|
46
|
-
first_goal_success?: number;
|
|
46
|
+
first_goal_success?: number | undefined;
|
|
47
47
|
/** The first time the user opened this message. */
|
|
48
|
-
first_open?: number;
|
|
48
|
+
first_open?: number | undefined;
|
|
49
49
|
/** The first time the series the user clicked on a link within this message. */
|
|
50
|
-
first_click?: number;
|
|
50
|
+
first_click?: number | undefined;
|
|
51
51
|
/** The first time the series the user dismissed this message. */
|
|
52
|
-
first_dismisall?: number;
|
|
52
|
+
first_dismisall?: number | undefined;
|
|
53
53
|
/** The first time the user unsubscribed from this message. */
|
|
54
|
-
first_unsubscribe?: number;
|
|
54
|
+
first_unsubscribe?: number | undefined;
|
|
55
55
|
/** The first time this message hard bounced for this user */
|
|
56
|
-
first_hard_bounce?: number;
|
|
56
|
+
first_hard_bounce?: number | undefined;
|
|
57
57
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface DeletedArticleObject {
|
|
5
5
|
/** The unique identifier for the article which you provided in the URL. */
|
|
6
|
-
id?: string;
|
|
6
|
+
id?: string | undefined;
|
|
7
7
|
/** The type of object which was deleted. - article */
|
|
8
|
-
object?: "article";
|
|
8
|
+
object?: "article" | undefined;
|
|
9
9
|
/** Whether the article was deleted successfully or not. */
|
|
10
|
-
deleted?: boolean;
|
|
10
|
+
deleted?: boolean | undefined;
|
|
11
11
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface DeletedCollectionObject {
|
|
5
5
|
/** The unique identifier for the collection which you provided in the URL. */
|
|
6
|
-
id?: string;
|
|
6
|
+
id?: string | undefined;
|
|
7
7
|
/** The type of object which was deleted. - `collection` */
|
|
8
|
-
object?: "collection";
|
|
8
|
+
object?: "collection" | undefined;
|
|
9
9
|
/** Whether the collection was deleted successfully or not. */
|
|
10
|
-
deleted?: boolean;
|
|
10
|
+
deleted?: boolean | undefined;
|
|
11
11
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface DeletedCompanyObject {
|
|
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 object which was deleted. - `company` */
|
|
8
|
-
object?: "company";
|
|
8
|
+
object?: "company" | undefined;
|
|
9
9
|
/** Whether the company was deleted successfully or not. */
|
|
10
|
-
deleted?: boolean;
|
|
10
|
+
deleted?: boolean | undefined;
|
|
11
11
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface DeletedInternalArticleObject {
|
|
5
5
|
/** The unique identifier for the internal article which you provided in the URL. */
|
|
6
|
-
id?: string;
|
|
6
|
+
id?: string | undefined;
|
|
7
7
|
/** The type of object which was deleted. - internal_article */
|
|
8
|
-
object?: "internal_article";
|
|
8
|
+
object?: "internal_article" | undefined;
|
|
9
9
|
/** Whether the internal article was deleted successfully or not. */
|
|
10
|
-
deleted?: boolean;
|
|
10
|
+
deleted?: boolean | undefined;
|
|
11
11
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface DeletedObject {
|
|
5
5
|
/** The unique identifier for the news item which you provided in the URL. */
|
|
6
|
-
id?: string;
|
|
6
|
+
id?: string | undefined;
|
|
7
7
|
/** The type of object which was deleted - news-item. */
|
|
8
|
-
object?: "news-item";
|
|
8
|
+
object?: "news-item" | undefined;
|
|
9
9
|
/** Whether the news item was deleted successfully or not. */
|
|
10
|
-
deleted?: boolean;
|
|
10
|
+
deleted?: boolean | undefined;
|
|
11
11
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface EmailAddressHeader {
|
|
5
5
|
/** The type of email address header */
|
|
6
|
-
type?: string;
|
|
6
|
+
type?: string | undefined;
|
|
7
7
|
/** The email address */
|
|
8
|
-
email_address?: string;
|
|
8
|
+
email_address?: string | undefined;
|
|
9
9
|
/** The name associated with the email address */
|
|
10
|
-
name?: string;
|
|
10
|
+
name?: string | undefined;
|
|
11
11
|
}
|
|
@@ -4,7 +4,7 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface EmailMessageMetadata {
|
|
6
6
|
/** The subject of the email */
|
|
7
|
-
subject?: string;
|
|
7
|
+
subject?: string | undefined;
|
|
8
8
|
/** A list of an email address headers. */
|
|
9
|
-
email_address_headers?: Intercom.EmailAddressHeader[];
|
|
9
|
+
email_address_headers?: Intercom.EmailAddressHeader[] | undefined;
|
|
10
10
|
}
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
export interface Error_ {
|
|
5
5
|
/** The type is error.list */
|
|
6
6
|
type: "error.list";
|
|
7
|
-
|
|
8
|
-
request_id?: string;
|
|
7
|
+
request_id?: string | undefined;
|
|
9
8
|
/** An array of one or more error objects */
|
|
10
9
|
errors: Error_.Errors.Item[];
|
|
11
10
|
}
|
|
@@ -16,9 +15,9 @@ export declare namespace Error_ {
|
|
|
16
15
|
/** A string indicating the kind of error, used to further qualify the HTTP response code */
|
|
17
16
|
code: string;
|
|
18
17
|
/** Optional. Human readable description of the error. */
|
|
19
|
-
message?: string;
|
|
18
|
+
message?: string | undefined;
|
|
20
19
|
/** Optional. Used to identify a particular field or query parameter that was in error. */
|
|
21
|
-
field?: string;
|
|
20
|
+
field?: string | undefined;
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
}
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
* The value describing a file upload set for a custom attribute
|
|
3
3
|
*/
|
|
4
4
|
export interface FileAttribute {
|
|
5
|
-
type?: string;
|
|
5
|
+
type?: string | undefined;
|
|
6
6
|
/** The name of the file */
|
|
7
|
-
name?: string;
|
|
7
|
+
name?: string | undefined;
|
|
8
8
|
/** The url of the file. This is a temporary URL and will expire after 30 minutes. */
|
|
9
|
-
url?: string;
|
|
9
|
+
url?: string | undefined;
|
|
10
10
|
/** The type of file */
|
|
11
|
-
content_type?: string;
|
|
11
|
+
content_type?: string | undefined;
|
|
12
12
|
/** The size of the file in bytes */
|
|
13
|
-
filesize?: number;
|
|
13
|
+
filesize?: number | undefined;
|
|
14
14
|
/** The width of the file in pixels, if applicable */
|
|
15
|
-
width?: number;
|
|
15
|
+
width?: number | undefined;
|
|
16
16
|
/** The height of the file in pixels, if applicable */
|
|
17
|
-
height?: number;
|
|
17
|
+
height?: number | undefined;
|
|
18
18
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface GroupContent {
|
|
5
5
|
/** The type of object - `group_content` . */
|
|
6
|
-
type?: "group_content";
|
|
6
|
+
type?: "group_content" | undefined;
|
|
7
7
|
/** The name of the collection or section. */
|
|
8
|
-
name?: string;
|
|
8
|
+
name?: string | undefined;
|
|
9
9
|
/** The description of the collection. Only available for collections. */
|
|
10
|
-
description?: string;
|
|
10
|
+
description?: string | undefined;
|
|
11
11
|
}
|
|
@@ -4,79 +4,79 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface GroupTranslatedContent {
|
|
6
6
|
/** The type of object - group_translated_content. */
|
|
7
|
-
type?: "group_translated_content";
|
|
7
|
+
type?: "group_translated_content" | undefined;
|
|
8
8
|
/** The content of the group in Arabic */
|
|
9
|
-
ar?: Intercom.GroupContent;
|
|
9
|
+
ar?: Intercom.GroupContent | undefined;
|
|
10
10
|
/** The content of the group in Bulgarian */
|
|
11
|
-
bg?: Intercom.GroupContent;
|
|
11
|
+
bg?: Intercom.GroupContent | undefined;
|
|
12
12
|
/** The content of the group in Bosnian */
|
|
13
|
-
bs?: Intercom.GroupContent;
|
|
13
|
+
bs?: Intercom.GroupContent | undefined;
|
|
14
14
|
/** The content of the group in Catalan */
|
|
15
|
-
ca?: Intercom.GroupContent;
|
|
15
|
+
ca?: Intercom.GroupContent | undefined;
|
|
16
16
|
/** The content of the group in Czech */
|
|
17
|
-
cs?: Intercom.GroupContent;
|
|
17
|
+
cs?: Intercom.GroupContent | undefined;
|
|
18
18
|
/** The content of the group in Danish */
|
|
19
|
-
da?: Intercom.GroupContent;
|
|
19
|
+
da?: Intercom.GroupContent | undefined;
|
|
20
20
|
/** The content of the group in German */
|
|
21
|
-
de?: Intercom.GroupContent;
|
|
21
|
+
de?: Intercom.GroupContent | undefined;
|
|
22
22
|
/** The content of the group in Greek */
|
|
23
|
-
el?: Intercom.GroupContent;
|
|
23
|
+
el?: Intercom.GroupContent | undefined;
|
|
24
24
|
/** The content of the group in English */
|
|
25
|
-
en?: Intercom.GroupContent;
|
|
25
|
+
en?: Intercom.GroupContent | undefined;
|
|
26
26
|
/** The content of the group in Spanish */
|
|
27
|
-
es?: Intercom.GroupContent;
|
|
27
|
+
es?: Intercom.GroupContent | undefined;
|
|
28
28
|
/** The content of the group in Estonian */
|
|
29
|
-
et?: Intercom.GroupContent;
|
|
29
|
+
et?: Intercom.GroupContent | undefined;
|
|
30
30
|
/** The content of the group in Finnish */
|
|
31
|
-
fi?: Intercom.GroupContent;
|
|
31
|
+
fi?: Intercom.GroupContent | undefined;
|
|
32
32
|
/** The content of the group in French */
|
|
33
|
-
fr?: Intercom.GroupContent;
|
|
33
|
+
fr?: Intercom.GroupContent | undefined;
|
|
34
34
|
/** The content of the group in Hebrew */
|
|
35
|
-
he?: Intercom.GroupContent;
|
|
35
|
+
he?: Intercom.GroupContent | undefined;
|
|
36
36
|
/** The content of the group in Croatian */
|
|
37
|
-
hr?: Intercom.GroupContent;
|
|
37
|
+
hr?: Intercom.GroupContent | undefined;
|
|
38
38
|
/** The content of the group in Hungarian */
|
|
39
|
-
hu?: Intercom.GroupContent;
|
|
39
|
+
hu?: Intercom.GroupContent | undefined;
|
|
40
40
|
/** The content of the group in Indonesian */
|
|
41
|
-
id?: Intercom.GroupContent;
|
|
41
|
+
id?: Intercom.GroupContent | undefined;
|
|
42
42
|
/** The content of the group in Italian */
|
|
43
|
-
it?: Intercom.GroupContent;
|
|
43
|
+
it?: Intercom.GroupContent | undefined;
|
|
44
44
|
/** The content of the group in Japanese */
|
|
45
|
-
ja?: Intercom.GroupContent;
|
|
45
|
+
ja?: Intercom.GroupContent | undefined;
|
|
46
46
|
/** The content of the group in Korean */
|
|
47
|
-
ko?: Intercom.GroupContent;
|
|
47
|
+
ko?: Intercom.GroupContent | undefined;
|
|
48
48
|
/** The content of the group in Lithuanian */
|
|
49
|
-
lt?: Intercom.GroupContent;
|
|
49
|
+
lt?: Intercom.GroupContent | undefined;
|
|
50
50
|
/** The content of the group in Latvian */
|
|
51
|
-
lv?: Intercom.GroupContent;
|
|
51
|
+
lv?: Intercom.GroupContent | undefined;
|
|
52
52
|
/** The content of the group in Mongolian */
|
|
53
|
-
mn?: Intercom.GroupContent;
|
|
53
|
+
mn?: Intercom.GroupContent | undefined;
|
|
54
54
|
/** The content of the group in Norwegian */
|
|
55
|
-
nb?: Intercom.GroupContent;
|
|
55
|
+
nb?: Intercom.GroupContent | undefined;
|
|
56
56
|
/** The content of the group in Dutch */
|
|
57
|
-
nl?: Intercom.GroupContent;
|
|
57
|
+
nl?: Intercom.GroupContent | undefined;
|
|
58
58
|
/** The content of the group in Polish */
|
|
59
|
-
pl?: Intercom.GroupContent;
|
|
59
|
+
pl?: Intercom.GroupContent | undefined;
|
|
60
60
|
/** The content of the group in Portuguese (Portugal) */
|
|
61
|
-
pt?: Intercom.GroupContent;
|
|
61
|
+
pt?: Intercom.GroupContent | undefined;
|
|
62
62
|
/** The content of the group in Romanian */
|
|
63
|
-
ro?: Intercom.GroupContent;
|
|
63
|
+
ro?: Intercom.GroupContent | undefined;
|
|
64
64
|
/** The content of the group in Russian */
|
|
65
|
-
ru?: Intercom.GroupContent;
|
|
65
|
+
ru?: Intercom.GroupContent | undefined;
|
|
66
66
|
/** The content of the group in Slovenian */
|
|
67
|
-
sl?: Intercom.GroupContent;
|
|
67
|
+
sl?: Intercom.GroupContent | undefined;
|
|
68
68
|
/** The content of the group in Serbian */
|
|
69
|
-
sr?: Intercom.GroupContent;
|
|
69
|
+
sr?: Intercom.GroupContent | undefined;
|
|
70
70
|
/** The content of the group in Swedish */
|
|
71
|
-
sv?: Intercom.GroupContent;
|
|
71
|
+
sv?: Intercom.GroupContent | undefined;
|
|
72
72
|
/** The content of the group in Turkish */
|
|
73
|
-
tr?: Intercom.GroupContent;
|
|
73
|
+
tr?: Intercom.GroupContent | undefined;
|
|
74
74
|
/** The content of the group in Vietnamese */
|
|
75
|
-
vi?: Intercom.GroupContent;
|
|
75
|
+
vi?: Intercom.GroupContent | undefined;
|
|
76
76
|
/** The content of the group in Portuguese (Brazil) */
|
|
77
|
-
"pt-BR"?: Intercom.GroupContent;
|
|
77
|
+
"pt-BR"?: Intercom.GroupContent | undefined;
|
|
78
78
|
/** The content of the group in Chinese (China) */
|
|
79
|
-
"zh-CN"?: Intercom.GroupContent;
|
|
79
|
+
"zh-CN"?: Intercom.GroupContent | undefined;
|
|
80
80
|
/** The content of the group in Chinese (Taiwan) */
|
|
81
|
-
"zh-TW"?: Intercom.GroupContent;
|
|
81
|
+
"zh-TW"?: Intercom.GroupContent | undefined;
|
|
82
82
|
}
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface InternalArticleList {
|
|
6
6
|
/** The type of the object - `list`. */
|
|
7
|
-
type?: "list";
|
|
8
|
-
pages?: Intercom.CursorPages;
|
|
7
|
+
type?: "list" | undefined;
|
|
8
|
+
pages?: Intercom.CursorPages | undefined;
|
|
9
9
|
/** A count of the total number of internal articles. */
|
|
10
|
-
total_count?: number;
|
|
10
|
+
total_count?: number | undefined;
|
|
11
11
|
/** An array of Internal Article objects */
|
|
12
|
-
data?: Intercom.InternalArticleListItem[];
|
|
12
|
+
data?: Intercom.InternalArticleListItem[] | undefined;
|
|
13
13
|
}
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface IpAllowlist {
|
|
5
5
|
/** String representing the object's type. Always has the value `ip_allowlist`. */
|
|
6
|
-
type?: string;
|
|
6
|
+
type?: string | undefined;
|
|
7
7
|
/** Whether the IP allowlist is enabled for the workspace. */
|
|
8
|
-
enabled?: boolean;
|
|
8
|
+
enabled?: boolean | undefined;
|
|
9
9
|
/**
|
|
10
10
|
* List of allowed IP addresses and/or IP ranges in CIDR notation.
|
|
11
11
|
* Examples:
|
|
12
12
|
* - Single IP: `192.168.0.1`
|
|
13
13
|
* - IP range: `192.168.0.1/24` (allows 192.168.0.0 - 192.168.0.255)
|
|
14
14
|
*/
|
|
15
|
-
ip_allowlist?: string[];
|
|
15
|
+
ip_allowlist?: string[] | undefined;
|
|
16
16
|
}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface LinkedObject {
|
|
5
5
|
/** ticket or conversation */
|
|
6
|
-
type?: LinkedObject.Type;
|
|
6
|
+
type?: LinkedObject.Type | undefined;
|
|
7
7
|
/** The ID of the linked object */
|
|
8
|
-
id?: string;
|
|
8
|
+
id?: string | undefined;
|
|
9
9
|
/** Category of the Linked Ticket Object. */
|
|
10
|
-
category?: LinkedObject.Category;
|
|
10
|
+
category?: LinkedObject.Category | undefined;
|
|
11
11
|
}
|
|
12
12
|
export declare namespace LinkedObject {
|
|
13
13
|
/** ticket or conversation */
|
|
@@ -4,11 +4,11 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface LinkedObjectList {
|
|
6
6
|
/** Always list. */
|
|
7
|
-
type?: "list";
|
|
7
|
+
type?: "list" | undefined;
|
|
8
8
|
/** The total number of linked objects. */
|
|
9
|
-
total_count?: number;
|
|
9
|
+
total_count?: number | undefined;
|
|
10
10
|
/** Whether or not there are more linked objects than returned. */
|
|
11
|
-
has_more?: boolean;
|
|
11
|
+
has_more?: boolean | undefined;
|
|
12
12
|
/** An array containing the linked conversations and linked tickets. */
|
|
13
|
-
data?: Intercom.LinkedObject[];
|
|
13
|
+
data?: Intercom.LinkedObject[] | undefined;
|
|
14
14
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as Intercom from "../index.mjs";
|
|
2
|
-
export type Metadata = Intercom.
|
|
2
|
+
export type Metadata = Intercom.ConversationPartMetadata;
|
|
@@ -4,8 +4,8 @@ import type * as Intercom from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface MultipleFilterSearchRequest {
|
|
6
6
|
/** An operator to allow boolean inspection between multiple fields. */
|
|
7
|
-
operator?: MultipleFilterSearchRequest.Operator;
|
|
8
|
-
value?: MultipleFilterSearchRequest.Value;
|
|
7
|
+
operator?: MultipleFilterSearchRequest.Operator | undefined;
|
|
8
|
+
value?: MultipleFilterSearchRequest.Value | undefined;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace MultipleFilterSearchRequest {
|
|
11
11
|
/** An operator to allow boolean inspection between multiple fields. */
|
|
@@ -6,19 +6,19 @@ export interface NewsItemRequest {
|
|
|
6
6
|
/** The title of the news item. */
|
|
7
7
|
title: string;
|
|
8
8
|
/** The news item body, which may contain HTML. */
|
|
9
|
-
body?: string;
|
|
9
|
+
body?: string | undefined;
|
|
10
10
|
/** The id of the sender of the news item. Must be a teammate on the workspace. */
|
|
11
11
|
sender_id: number;
|
|
12
12
|
/** News items will not be visible to your users in the assigned newsfeeds until they are set live. */
|
|
13
|
-
state?: NewsItemRequest.State;
|
|
13
|
+
state?: NewsItemRequest.State | undefined;
|
|
14
14
|
/** When set to `true`, the news item will appear in the messenger newsfeed without showing a notification badge. */
|
|
15
|
-
deliver_silently?: boolean;
|
|
15
|
+
deliver_silently?: boolean | undefined;
|
|
16
16
|
/** Label names displayed to users to categorize the news item. */
|
|
17
|
-
labels?: string[];
|
|
17
|
+
labels?: string[] | undefined;
|
|
18
18
|
/** Ordered list of emoji reactions to the news item. When empty, reactions are disabled. */
|
|
19
|
-
reactions?: (string | undefined)[];
|
|
19
|
+
reactions?: (string | undefined)[] | undefined;
|
|
20
20
|
/** A list of newsfeed_assignments to assign to the specified newsfeed. */
|
|
21
|
-
newsfeed_assignments?: Intercom.NewsfeedAssignment[];
|
|
21
|
+
newsfeed_assignments?: Intercom.NewsfeedAssignment[] | undefined;
|
|
22
22
|
}
|
|
23
23
|
export declare namespace NewsItemRequest {
|
|
24
24
|
/** News items will not be visible to your users in the assigned newsfeeds until they are set live. */
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export interface NotFoundErrorBody {
|
|
2
2
|
/** The type is error.list */
|
|
3
3
|
type: string;
|
|
4
|
-
|
|
5
|
-
request_id?: string;
|
|
4
|
+
request_id?: string | undefined;
|
|
6
5
|
/** An array of one or more error objects */
|
|
7
6
|
errors: NotFoundErrorBody.Errors.Item[];
|
|
8
7
|
}
|
|
@@ -13,7 +12,7 @@ export declare namespace NotFoundErrorBody {
|
|
|
13
12
|
/** ticket_not_found */
|
|
14
13
|
code: string;
|
|
15
14
|
/** Ticket not found */
|
|
16
|
-
message?: string;
|
|
15
|
+
message?: string | undefined;
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
18
|
}
|