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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.AdminsClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "AdminsClient", { enumerable: true, get: function () { return Client_js_1.AdminsClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -4,26 +4,26 @@ import type * as Intercom from "../../../../../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface Admin {
|
|
6
6
|
/** String representing the object's type. Always has the value `admin`. */
|
|
7
|
-
type?: string;
|
|
7
|
+
type?: string | undefined;
|
|
8
8
|
/** The id representing the admin. */
|
|
9
|
-
id?: string;
|
|
9
|
+
id?: string | undefined;
|
|
10
10
|
/** The name of the admin. */
|
|
11
|
-
name?: string;
|
|
11
|
+
name?: string | undefined;
|
|
12
12
|
/** The email of the admin. */
|
|
13
|
-
email?: string;
|
|
13
|
+
email?: string | undefined;
|
|
14
14
|
/** The job title of the admin. */
|
|
15
|
-
job_title?: string;
|
|
15
|
+
job_title?: string | undefined;
|
|
16
16
|
/** Identifies if this admin is currently set in away mode. */
|
|
17
|
-
away_mode_enabled?: boolean;
|
|
17
|
+
away_mode_enabled?: boolean | undefined;
|
|
18
18
|
/** Identifies if this admin is set to automatically reassign new conversations to the apps default inbox. */
|
|
19
|
-
away_mode_reassign?: boolean;
|
|
19
|
+
away_mode_reassign?: boolean | undefined;
|
|
20
20
|
/** The unique identifier of the away status reason */
|
|
21
|
-
away_status_reason_id?: number;
|
|
21
|
+
away_status_reason_id?: number | undefined;
|
|
22
22
|
/** Identifies if this admin has a paid inbox seat to restrict/allow features that require them. */
|
|
23
|
-
has_inbox_seat?: boolean;
|
|
23
|
+
has_inbox_seat?: boolean | undefined;
|
|
24
24
|
/** This object represents the avatar associated with the admin. */
|
|
25
|
-
team_ids?: number[];
|
|
25
|
+
team_ids?: number[] | undefined;
|
|
26
26
|
/** Image for the associated team or teammate */
|
|
27
|
-
avatar?: string;
|
|
28
|
-
team_priority_level?: Intercom.unstable.TeamPriorityLevel;
|
|
27
|
+
avatar?: string | undefined;
|
|
28
|
+
team_priority_level?: Intercom.unstable.TeamPriorityLevel | undefined;
|
|
29
29
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./index.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./index.js"), exports);
|
|
@@ -4,22 +4,22 @@ import type * as Intercom from "../../../../../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface AiAgent {
|
|
6
6
|
/** The type of the source that triggered AI Agent involvement in the conversation. */
|
|
7
|
-
source_type?: AiAgent.SourceType;
|
|
7
|
+
source_type?: AiAgent.SourceType | undefined;
|
|
8
8
|
/** The title of the source that triggered AI Agent involvement in the conversation. If this is `essentials_plan_setup` then it will return `null`. */
|
|
9
|
-
source_title?: string;
|
|
9
|
+
source_title?: string | undefined;
|
|
10
10
|
/** The type of the last answer delivered by AI Agent. If no answer was delivered then this will return `null` */
|
|
11
|
-
last_answer_type?: AiAgent.LastAnswerType;
|
|
11
|
+
last_answer_type?: AiAgent.LastAnswerType | undefined;
|
|
12
12
|
/** The resolution state of AI Agent. If no AI or custom answer has been delivered then this will return `null`. */
|
|
13
|
-
resolution_state?: AiAgent.ResolutionState;
|
|
13
|
+
resolution_state?: AiAgent.ResolutionState | undefined;
|
|
14
14
|
/** The customer satisfaction rating given to AI Agent, from 1-5. */
|
|
15
|
-
rating?: number;
|
|
15
|
+
rating?: number | undefined;
|
|
16
16
|
/** The customer satisfaction rating remark given to AI Agent. */
|
|
17
|
-
rating_remark?: string;
|
|
17
|
+
rating_remark?: string | undefined;
|
|
18
18
|
/** The time when the AI agent rating was created. */
|
|
19
|
-
created_at?: number;
|
|
19
|
+
created_at?: number | undefined;
|
|
20
20
|
/** The time when the AI agent rating was last updated. */
|
|
21
|
-
updated_at?: number;
|
|
22
|
-
content_sources?: Intercom.unstable.ContentSourcesList;
|
|
21
|
+
updated_at?: number | undefined;
|
|
22
|
+
content_sources?: Intercom.unstable.ContentSourcesList | undefined;
|
|
23
23
|
}
|
|
24
24
|
export declare namespace AiAgent {
|
|
25
25
|
/** The type of the source that triggered AI Agent involvement in the conversation. */
|
|
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClie
|
|
|
3
3
|
import * as core from "../../../../../../core/index.js";
|
|
4
4
|
import * as Intercom from "../../../../../index.js";
|
|
5
5
|
export declare namespace AiContentClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -32,6 +31,8 @@ export declare class AiContentClient {
|
|
|
32
31
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
32
|
*
|
|
34
33
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
34
|
+
* @throws {@link errors.IntercomError}
|
|
35
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
35
36
|
*
|
|
36
37
|
* @example
|
|
37
38
|
* await client.unstable.aiContent.listContentImportSources()
|
|
@@ -45,6 +46,8 @@ export declare class AiContentClient {
|
|
|
45
46
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
47
|
*
|
|
47
48
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
49
|
+
* @throws {@link errors.IntercomError}
|
|
50
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
48
51
|
*
|
|
49
52
|
* @example
|
|
50
53
|
* await client.unstable.aiContent.createContentImportSource({
|
|
@@ -58,6 +61,8 @@ export declare class AiContentClient {
|
|
|
58
61
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
62
|
*
|
|
60
63
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
64
|
+
* @throws {@link errors.IntercomError}
|
|
65
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
61
66
|
*
|
|
62
67
|
* @example
|
|
63
68
|
* await client.unstable.aiContent.getContentImportSource({
|
|
@@ -73,6 +78,8 @@ export declare class AiContentClient {
|
|
|
73
78
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
79
|
*
|
|
75
80
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
81
|
+
* @throws {@link errors.IntercomError}
|
|
82
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
76
83
|
*
|
|
77
84
|
* @example
|
|
78
85
|
* await client.unstable.aiContent.updateContentImportSource({
|
|
@@ -90,6 +97,8 @@ export declare class AiContentClient {
|
|
|
90
97
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
98
|
*
|
|
92
99
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
100
|
+
* @throws {@link errors.IntercomError}
|
|
101
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
93
102
|
*
|
|
94
103
|
* @example
|
|
95
104
|
* await client.unstable.aiContent.deleteContentImportSource({
|
|
@@ -104,6 +113,8 @@ export declare class AiContentClient {
|
|
|
104
113
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
105
114
|
*
|
|
106
115
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
116
|
+
* @throws {@link errors.IntercomError}
|
|
117
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
107
118
|
*
|
|
108
119
|
* @example
|
|
109
120
|
* await client.unstable.aiContent.listExternalPages()
|
|
@@ -117,6 +128,8 @@ export declare class AiContentClient {
|
|
|
117
128
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
129
|
*
|
|
119
130
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
131
|
+
* @throws {@link errors.IntercomError}
|
|
132
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
120
133
|
*
|
|
121
134
|
* @example
|
|
122
135
|
* await client.unstable.aiContent.createExternalPage({
|
|
@@ -136,6 +149,8 @@ export declare class AiContentClient {
|
|
|
136
149
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
137
150
|
*
|
|
138
151
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
152
|
+
* @throws {@link errors.IntercomError}
|
|
153
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
139
154
|
*
|
|
140
155
|
* @example
|
|
141
156
|
* await client.unstable.aiContent.getExternalPage({
|
|
@@ -151,6 +166,8 @@ export declare class AiContentClient {
|
|
|
151
166
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
152
167
|
*
|
|
153
168
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
169
|
+
* @throws {@link errors.IntercomError}
|
|
170
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
154
171
|
*
|
|
155
172
|
* @example
|
|
156
173
|
* await client.unstable.aiContent.updateExternalPage({
|
|
@@ -171,6 +188,8 @@ export declare class AiContentClient {
|
|
|
171
188
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
172
189
|
*
|
|
173
190
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
191
|
+
* @throws {@link errors.IntercomError}
|
|
192
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
174
193
|
*
|
|
175
194
|
* @example
|
|
176
195
|
* await client.unstable.aiContent.deleteExternalPage({
|
|
@@ -58,6 +58,7 @@ exports.AiContentClient = void 0;
|
|
|
58
58
|
const BaseClient_js_1 = require("../../../../../../BaseClient.js");
|
|
59
59
|
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
60
60
|
const core = __importStar(require("../../../../../../core/index.js"));
|
|
61
|
+
const requestBody_js_1 = require("../../../../../../core/requestBody.js");
|
|
61
62
|
const environments = __importStar(require("../../../../../../environments.js"));
|
|
62
63
|
const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
|
|
63
64
|
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
@@ -87,6 +88,8 @@ class AiContentClient {
|
|
|
87
88
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
88
89
|
*
|
|
89
90
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
91
|
+
* @throws {@link errors.IntercomError}
|
|
92
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
90
93
|
*
|
|
91
94
|
* @example
|
|
92
95
|
* await client.unstable.aiContent.listContentImportSources()
|
|
@@ -103,7 +106,7 @@ class AiContentClient {
|
|
|
103
106
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, "ai/content_import_sources"),
|
|
104
107
|
method: "GET",
|
|
105
108
|
headers: _headers,
|
|
106
|
-
|
|
109
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
107
110
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
108
111
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
109
112
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -138,6 +141,8 @@ class AiContentClient {
|
|
|
138
141
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
142
|
*
|
|
140
143
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
144
|
+
* @throws {@link errors.IntercomError}
|
|
145
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
141
146
|
*
|
|
142
147
|
* @example
|
|
143
148
|
* await client.unstable.aiContent.createContentImportSource({
|
|
@@ -157,9 +162,9 @@ class AiContentClient {
|
|
|
157
162
|
method: "POST",
|
|
158
163
|
headers: _headers,
|
|
159
164
|
contentType: "application/json",
|
|
160
|
-
|
|
165
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
161
166
|
requestType: "json",
|
|
162
|
-
body: Object.assign(Object.assign({}, request), { sync_behavior: "api" }),
|
|
167
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(Object.assign(Object.assign({}, request), { sync_behavior: "api" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
163
168
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
164
169
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
165
170
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -192,6 +197,8 @@ class AiContentClient {
|
|
|
192
197
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
193
198
|
*
|
|
194
199
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
200
|
+
* @throws {@link errors.IntercomError}
|
|
201
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
195
202
|
*
|
|
196
203
|
* @example
|
|
197
204
|
* await client.unstable.aiContent.getContentImportSource({
|
|
@@ -208,10 +215,10 @@ class AiContentClient {
|
|
|
208
215
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
209
216
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
210
217
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
211
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(id)}`),
|
|
218
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(id, errors.IntercomError)}`),
|
|
212
219
|
method: "GET",
|
|
213
220
|
headers: _headers,
|
|
214
|
-
|
|
221
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
215
222
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
216
223
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
217
224
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -246,6 +253,8 @@ class AiContentClient {
|
|
|
246
253
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
247
254
|
*
|
|
248
255
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
256
|
+
* @throws {@link errors.IntercomError}
|
|
257
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
249
258
|
*
|
|
250
259
|
* @example
|
|
251
260
|
* await client.unstable.aiContent.updateContentImportSource({
|
|
@@ -264,13 +273,13 @@ class AiContentClient {
|
|
|
264
273
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
265
274
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
266
275
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
267
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(id)}`),
|
|
276
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(id, errors.IntercomError)}`),
|
|
268
277
|
method: "PUT",
|
|
269
278
|
headers: _headers,
|
|
270
279
|
contentType: "application/json",
|
|
271
|
-
|
|
280
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
272
281
|
requestType: "json",
|
|
273
|
-
body: _body,
|
|
282
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
274
283
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
275
284
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
276
285
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -305,6 +314,8 @@ class AiContentClient {
|
|
|
305
314
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
306
315
|
*
|
|
307
316
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
317
|
+
* @throws {@link errors.IntercomError}
|
|
318
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
308
319
|
*
|
|
309
320
|
* @example
|
|
310
321
|
* await client.unstable.aiContent.deleteContentImportSource({
|
|
@@ -321,10 +332,10 @@ class AiContentClient {
|
|
|
321
332
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
322
333
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
323
334
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
324
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(id)}`),
|
|
335
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/content_import_sources/${core.url.encodePathParam(id, errors.IntercomError)}`),
|
|
325
336
|
method: "DELETE",
|
|
326
337
|
headers: _headers,
|
|
327
|
-
|
|
338
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
328
339
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
329
340
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
330
341
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -355,6 +366,8 @@ class AiContentClient {
|
|
|
355
366
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
356
367
|
*
|
|
357
368
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
369
|
+
* @throws {@link errors.IntercomError}
|
|
370
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
358
371
|
*
|
|
359
372
|
* @example
|
|
360
373
|
* await client.unstable.aiContent.listExternalPages()
|
|
@@ -371,7 +384,7 @@ class AiContentClient {
|
|
|
371
384
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, "ai/external_pages"),
|
|
372
385
|
method: "GET",
|
|
373
386
|
headers: _headers,
|
|
374
|
-
|
|
387
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
375
388
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
376
389
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
377
390
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -403,6 +416,8 @@ class AiContentClient {
|
|
|
403
416
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
404
417
|
*
|
|
405
418
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
419
|
+
* @throws {@link errors.IntercomError}
|
|
420
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
406
421
|
*
|
|
407
422
|
* @example
|
|
408
423
|
* await client.unstable.aiContent.createExternalPage({
|
|
@@ -426,9 +441,9 @@ class AiContentClient {
|
|
|
426
441
|
method: "POST",
|
|
427
442
|
headers: _headers,
|
|
428
443
|
contentType: "application/json",
|
|
429
|
-
|
|
444
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
430
445
|
requestType: "json",
|
|
431
|
-
body: Object.assign(Object.assign({}, request), { locale: "en" }),
|
|
446
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(Object.assign(Object.assign({}, request), { locale: "en" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
432
447
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
433
448
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
434
449
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -460,6 +475,8 @@ class AiContentClient {
|
|
|
460
475
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
461
476
|
*
|
|
462
477
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
478
|
+
* @throws {@link errors.IntercomError}
|
|
479
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
463
480
|
*
|
|
464
481
|
* @example
|
|
465
482
|
* await client.unstable.aiContent.getExternalPage({
|
|
@@ -476,10 +493,10 @@ class AiContentClient {
|
|
|
476
493
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
477
494
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
478
495
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
479
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(id)}`),
|
|
496
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(id, errors.IntercomError)}`),
|
|
480
497
|
method: "GET",
|
|
481
498
|
headers: _headers,
|
|
482
|
-
|
|
499
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
483
500
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
484
501
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
485
502
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -511,6 +528,8 @@ class AiContentClient {
|
|
|
511
528
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
512
529
|
*
|
|
513
530
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
531
|
+
* @throws {@link errors.IntercomError}
|
|
532
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
514
533
|
*
|
|
515
534
|
* @example
|
|
516
535
|
* await client.unstable.aiContent.updateExternalPage({
|
|
@@ -532,13 +551,13 @@ class AiContentClient {
|
|
|
532
551
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
533
552
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
534
553
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
535
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(id)}`),
|
|
554
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(id, errors.IntercomError)}`),
|
|
536
555
|
method: "PUT",
|
|
537
556
|
headers: _headers,
|
|
538
557
|
contentType: "application/json",
|
|
539
|
-
|
|
558
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
540
559
|
requestType: "json",
|
|
541
|
-
body: Object.assign(Object.assign({}, _body), { locale: "en" }),
|
|
560
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(Object.assign(Object.assign({}, _body), { locale: "en" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
542
561
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
543
562
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
544
563
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -570,6 +589,8 @@ class AiContentClient {
|
|
|
570
589
|
* @param {AiContentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
571
590
|
*
|
|
572
591
|
* @throws {@link Intercom.unstable.UnauthorizedError}
|
|
592
|
+
* @throws {@link errors.IntercomError}
|
|
593
|
+
* @throws {@link errors.IntercomTimeoutError}
|
|
573
594
|
*
|
|
574
595
|
* @example
|
|
575
596
|
* await client.unstable.aiContent.deleteExternalPage({
|
|
@@ -586,10 +607,10 @@ class AiContentClient {
|
|
|
586
607
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
587
608
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
588
609
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
589
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(id)}`),
|
|
610
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `ai/external_pages/${core.url.encodePathParam(id, errors.IntercomError)}`),
|
|
590
611
|
method: "DELETE",
|
|
591
612
|
headers: _headers,
|
|
592
|
-
|
|
613
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
593
614
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
|
|
594
615
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
595
616
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { CreateContentImportSourceRequest } from "./CreateContentImportSourceRequest.js";
|
|
2
2
|
export type { CreateExternalPageRequest } from "./CreateExternalPageRequest.js";
|
|
3
3
|
export type { DeleteContentImportSourceRequest } from "./DeleteContentImportSourceRequest.js";
|
|
4
4
|
export type { DeleteExternalPageRequest } from "./DeleteExternalPageRequest.js";
|
|
5
5
|
export type { GetContentImportSourceRequest } from "./GetContentImportSourceRequest.js";
|
|
6
6
|
export type { GetExternalPageRequest } from "./GetExternalPageRequest.js";
|
|
7
|
-
export
|
|
7
|
+
export { UpdateContentImportSourceRequest } from "./UpdateContentImportSourceRequest.js";
|
|
8
8
|
export type { UpdateExternalPageRequest } from "./UpdateExternalPageRequest.js";
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateContentImportSourceRequest = exports.CreateContentImportSourceRequest = void 0;
|
|
4
|
+
var CreateContentImportSourceRequest_js_1 = require("./CreateContentImportSourceRequest.js");
|
|
5
|
+
Object.defineProperty(exports, "CreateContentImportSourceRequest", { enumerable: true, get: function () { return CreateContentImportSourceRequest_js_1.CreateContentImportSourceRequest; } });
|
|
6
|
+
var UpdateContentImportSourceRequest_js_1 = require("./UpdateContentImportSourceRequest.js");
|
|
7
|
+
Object.defineProperty(exports, "UpdateContentImportSourceRequest", { enumerable: true, get: function () { return UpdateContentImportSourceRequest_js_1.UpdateContentImportSourceRequest; } });
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.AiContentClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "AiContentClient", { enumerable: true, get: function () { return Client_js_1.AiContentClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
package/dist/cjs/api/resources/unstable/resources/aiContent/types/ContentImportSourcesList.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../../../../../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ContentImportSourcesList {
|
|
6
6
|
/** The type of the object - `list`. */
|
|
7
|
-
type?: "list";
|
|
8
|
-
pages?: Intercom.unstable.PagesLink;
|
|
7
|
+
type?: "list" | undefined;
|
|
8
|
+
pages?: Intercom.unstable.PagesLink | undefined;
|
|
9
9
|
/** A count of the total number of content import sources. */
|
|
10
|
-
total_count?: number;
|
|
10
|
+
total_count?: number | undefined;
|
|
11
11
|
/** An array of Content Import Source objects */
|
|
12
|
-
data?: Intercom.unstable.ContentImportSource[];
|
|
12
|
+
data?: Intercom.unstable.ContentImportSource[] | undefined;
|
|
13
13
|
}
|
|
@@ -11,13 +11,13 @@ export interface ExternalPage {
|
|
|
11
11
|
/** The body of the external page in HTML. */
|
|
12
12
|
html: string;
|
|
13
13
|
/** The URL of the external page. This will be used by Fin to link end users to the page it based its answer on. */
|
|
14
|
-
url?: string;
|
|
14
|
+
url?: string | undefined;
|
|
15
15
|
/** Whether the external page should be used to answer questions by AI Agent. */
|
|
16
16
|
ai_agent_availability: boolean;
|
|
17
17
|
/** Whether the external page should be used to answer questions by AI Copilot. */
|
|
18
18
|
ai_copilot_availability: boolean;
|
|
19
19
|
/** Deprecated. Use ai_agent_availability and ai_copilot_availability instead. */
|
|
20
|
-
fin_availability?: boolean;
|
|
20
|
+
fin_availability?: boolean | undefined;
|
|
21
21
|
/** Always en */
|
|
22
22
|
locale: "en";
|
|
23
23
|
/** The unique identifier for the source of the external page which was given by Intercom. Every external page must be associated with a Content Import Source which represents the place it comes from and from which it inherits a default audience (configured in the UI). For a new source, make a POST request to the Content Import Source endpoint and an ID for the source will be returned in the response. */
|
|
@@ -4,10 +4,10 @@ import type * as Intercom from "../../../../../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ExternalPagesList {
|
|
6
6
|
/** The type of the object - `list`. */
|
|
7
|
-
type?: "list";
|
|
8
|
-
pages?: Intercom.unstable.PagesLink;
|
|
7
|
+
type?: "list" | undefined;
|
|
8
|
+
pages?: Intercom.unstable.PagesLink | undefined;
|
|
9
9
|
/** A count of the total number of external pages. */
|
|
10
|
-
total_count?: number;
|
|
10
|
+
total_count?: number | undefined;
|
|
11
11
|
/** An array of External Page objects */
|
|
12
|
-
data?: Intercom.unstable.ExternalPage[];
|
|
12
|
+
data?: Intercom.unstable.ExternalPage[] | undefined;
|
|
13
13
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./index.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./index.js"), exports);
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface ContentSource {
|
|
5
5
|
/** The type of the content source. */
|
|
6
|
-
content_type?: ContentSource.ContentType;
|
|
6
|
+
content_type?: ContentSource.ContentType | undefined;
|
|
7
7
|
/** The internal URL linking to the content source for teammates. */
|
|
8
|
-
url?: string;
|
|
8
|
+
url?: string | undefined;
|
|
9
9
|
/** The title of the content source. */
|
|
10
|
-
title?: string;
|
|
10
|
+
title?: string | undefined;
|
|
11
11
|
/** The ISO 639 language code of the content source. */
|
|
12
|
-
locale?: string;
|
|
12
|
+
locale?: string | undefined;
|
|
13
13
|
}
|
|
14
14
|
export declare namespace ContentSource {
|
|
15
15
|
/** The type of the content source. */
|