intercom-client 6.0.0-beta.3 → 6.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/.gitattributes +1 -0
- package/Client.d.ts +90 -0
- package/Client.js +112 -0
- package/LICENSE +10 -198
- package/README.md +126 -209
- package/REPO_OWNER +1 -0
- package/api/errors/BadRequestError.d.ts +7 -0
- package/api/errors/BadRequestError.js +41 -0
- package/api/errors/ForbiddenError.d.ts +8 -0
- package/api/errors/ForbiddenError.js +41 -0
- package/api/errors/NotFoundError.d.ts +7 -0
- package/api/errors/NotFoundError.js +41 -0
- package/api/errors/UnauthorizedError.d.ts +8 -0
- package/api/errors/UnauthorizedError.js +41 -0
- package/api/errors/UnprocessableEntityError.d.ts +7 -0
- package/api/errors/UnprocessableEntityError.js +41 -0
- package/api/errors/index.d.ts +5 -0
- package/api/errors/index.js +21 -0
- package/api/index.d.ts +4 -0
- package/api/index.js +19 -0
- package/api/resources/admins/client/Client.d.ts +107 -0
- package/api/resources/admins/client/Client.js +364 -0
- package/api/resources/admins/client/index.d.ts +1 -0
- package/api/resources/admins/client/index.js +17 -0
- package/api/resources/admins/client/requests/ConfigureAwayAdminRequest.d.ts +35 -0
- package/api/resources/admins/client/requests/ConfigureAwayAdminRequest.js +5 -0
- package/api/resources/admins/client/requests/FindAdminRequest.d.ts +15 -0
- package/api/resources/admins/client/requests/FindAdminRequest.js +5 -0
- package/api/resources/admins/client/requests/ListAllActivityLogsRequest.d.ts +20 -0
- package/api/resources/admins/client/requests/ListAllActivityLogsRequest.js +5 -0
- package/api/resources/admins/client/requests/index.d.ts +3 -0
- package/api/resources/admins/client/requests/index.js +2 -0
- package/api/resources/admins/index.d.ts +2 -0
- package/api/resources/admins/index.js +18 -0
- package/api/resources/admins/types/Admin.d.ts +39 -0
- package/api/resources/admins/types/Admin.js +5 -0
- package/api/resources/admins/types/index.d.ts +1 -0
- package/api/resources/admins/types/index.js +17 -0
- package/api/resources/aiAgent/index.d.ts +1 -0
- package/api/resources/aiAgent/index.js +17 -0
- package/api/resources/aiAgent/types/AiAgent.d.ts +35 -0
- package/api/resources/aiAgent/types/AiAgent.js +16 -0
- package/api/resources/aiAgent/types/index.d.ts +1 -0
- package/api/resources/aiAgent/types/index.js +17 -0
- package/api/resources/aiContentSource/index.d.ts +1 -0
- package/api/resources/aiContentSource/index.js +17 -0
- package/api/resources/aiContentSource/types/ContentSource.d.ts +29 -0
- package/api/resources/aiContentSource/types/ContentSource.js +16 -0
- package/api/resources/aiContentSource/types/index.d.ts +1 -0
- package/api/resources/aiContentSource/types/index.js +17 -0
- package/api/resources/articles/client/Client.d.ts +153 -0
- package/api/resources/articles/client/Client.js +491 -0
- package/api/resources/articles/client/index.d.ts +1 -0
- package/api/resources/articles/client/index.js +17 -0
- package/api/resources/articles/client/requests/CreateArticleRequest.d.ts +70 -0
- package/api/resources/articles/client/requests/CreateArticleRequest.js +17 -0
- package/api/resources/articles/client/requests/DeleteArticleRequest.d.ts +15 -0
- package/api/resources/articles/client/requests/DeleteArticleRequest.js +5 -0
- package/api/resources/articles/client/requests/FindArticleRequest.d.ts +15 -0
- package/api/resources/articles/client/requests/FindArticleRequest.js +5 -0
- package/api/resources/articles/client/requests/ListArticlesRequest.d.ts +17 -0
- package/api/resources/articles/client/requests/ListArticlesRequest.js +5 -0
- package/api/resources/articles/client/requests/SearchArticlesRequest.d.ts +28 -0
- package/api/resources/articles/client/requests/SearchArticlesRequest.js +5 -0
- package/api/resources/articles/client/requests/UpdateArticleRequest.d.ts +58 -0
- package/api/resources/articles/client/requests/UpdateArticleRequest.js +17 -0
- package/api/resources/articles/client/requests/index.d.ts +6 -0
- package/api/resources/articles/client/requests/index.js +2 -0
- package/api/resources/articles/index.d.ts +2 -0
- package/api/resources/articles/index.js +18 -0
- package/api/resources/articles/types/Article.d.ts +10 -0
- package/api/resources/articles/types/Article.js +5 -0
- package/api/resources/articles/types/ArticleListItem.d.ts +50 -0
- package/api/resources/articles/types/ArticleListItem.js +13 -0
- package/api/resources/articles/types/ArticleSearchHighlights.d.ts +60 -0
- package/api/resources/articles/types/ArticleSearchHighlights.js +29 -0
- package/api/resources/articles/types/SearchArticlesResponse.d.ts +27 -0
- package/api/resources/articles/types/SearchArticlesResponse.js +5 -0
- package/api/resources/articles/types/index.d.ts +4 -0
- package/api/resources/articles/types/index.js +20 -0
- package/api/resources/companies/client/Client.d.ts +263 -0
- package/api/resources/companies/client/Client.js +855 -0
- package/api/resources/companies/client/index.d.ts +1 -0
- package/api/resources/companies/client/index.js +17 -0
- package/api/resources/companies/client/requests/AttachContactToCompanyRequest.d.ts +30 -0
- package/api/resources/companies/client/requests/AttachContactToCompanyRequest.js +5 -0
- package/api/resources/companies/client/requests/CreateOrUpdateCompanyRequest.d.ts +34 -0
- package/api/resources/companies/client/requests/CreateOrUpdateCompanyRequest.js +5 -0
- package/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +15 -0
- package/api/resources/companies/client/requests/DeleteCompanyRequest.js +5 -0
- package/api/resources/companies/client/requests/DetachContactFromCompanyRequest.d.ts +20 -0
- package/api/resources/companies/client/requests/DetachContactFromCompanyRequest.js +5 -0
- package/api/resources/companies/client/requests/FindCompanyRequest.d.ts +15 -0
- package/api/resources/companies/client/requests/FindCompanyRequest.js +5 -0
- package/api/resources/companies/client/requests/ListAttachedContactsRequest.d.ts +23 -0
- package/api/resources/companies/client/requests/ListAttachedContactsRequest.js +5 -0
- package/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +23 -0
- package/api/resources/companies/client/requests/ListCompaniesRequest.js +5 -0
- package/api/resources/companies/client/requests/ListSegmentsAttachedToCompanyRequest.d.ts +15 -0
- package/api/resources/companies/client/requests/ListSegmentsAttachedToCompanyRequest.js +5 -0
- package/api/resources/companies/client/requests/RetrieveCompanyRequest.d.ts +38 -0
- package/api/resources/companies/client/requests/RetrieveCompanyRequest.js +5 -0
- package/api/resources/companies/client/requests/ScrollCompaniesRequest.d.ts +13 -0
- package/api/resources/companies/client/requests/ScrollCompaniesRequest.js +5 -0
- package/api/resources/companies/client/requests/UpdateCompanyRequest.d.ts +15 -0
- package/api/resources/companies/client/requests/UpdateCompanyRequest.js +5 -0
- package/api/resources/companies/client/requests/index.d.ts +11 -0
- package/api/resources/companies/client/requests/index.js +2 -0
- package/api/resources/companies/index.d.ts +2 -0
- package/api/resources/companies/index.js +18 -0
- package/api/resources/companies/types/Company.d.ts +72 -0
- package/api/resources/companies/types/Company.js +5 -0
- package/api/resources/companies/types/index.d.ts +1 -0
- package/api/resources/companies/types/index.js +17 -0
- package/api/resources/contacts/client/Client.d.ts +382 -0
- package/api/resources/contacts/client/Client.js +1112 -0
- package/api/resources/contacts/client/index.d.ts +1 -0
- package/api/resources/contacts/client/index.js +17 -0
- package/api/resources/contacts/client/requests/ArchiveContactRequest.d.ts +15 -0
- package/api/resources/contacts/client/requests/ArchiveContactRequest.js +5 -0
- package/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.d.ts +35 -0
- package/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.js +5 -0
- package/api/resources/contacts/client/requests/DeleteContactRequest.d.ts +15 -0
- package/api/resources/contacts/client/requests/DeleteContactRequest.js +5 -0
- package/api/resources/contacts/client/requests/DetachSubscriptionFromContactRequest.d.ts +20 -0
- package/api/resources/contacts/client/requests/DetachSubscriptionFromContactRequest.js +5 -0
- package/api/resources/contacts/client/requests/FindContactRequest.d.ts +15 -0
- package/api/resources/contacts/client/requests/FindContactRequest.js +5 -0
- package/api/resources/contacts/client/requests/ListAttachedCompaniesRequest.d.ts +23 -0
- package/api/resources/contacts/client/requests/ListAttachedCompaniesRequest.js +5 -0
- package/api/resources/contacts/client/requests/ListAttachedSubscriptionsRequest.d.ts +15 -0
- package/api/resources/contacts/client/requests/ListAttachedSubscriptionsRequest.js +5 -0
- package/api/resources/contacts/client/requests/ListContactsRequest.d.ts +21 -0
- package/api/resources/contacts/client/requests/ListContactsRequest.js +5 -0
- package/api/resources/contacts/client/requests/ListSegmentsAttachedToContactRequest.d.ts +15 -0
- package/api/resources/contacts/client/requests/ListSegmentsAttachedToContactRequest.js +5 -0
- package/api/resources/contacts/client/requests/ListTagsAttachedToContactRequest.d.ts +15 -0
- package/api/resources/contacts/client/requests/ListTagsAttachedToContactRequest.js +5 -0
- package/api/resources/contacts/client/requests/MergeContactsRequest.d.ts +16 -0
- package/api/resources/contacts/client/requests/MergeContactsRequest.js +5 -0
- package/api/resources/contacts/client/requests/UnarchiveContactRequest.d.ts +15 -0
- package/api/resources/contacts/client/requests/UnarchiveContactRequest.js +5 -0
- package/api/resources/contacts/client/requests/UpdateContactRequest.d.ts +39 -0
- package/api/resources/contacts/client/requests/UpdateContactRequest.js +5 -0
- package/api/resources/contacts/client/requests/index.d.ts +13 -0
- package/api/resources/contacts/client/requests/index.js +2 -0
- package/api/resources/contacts/index.d.ts +2 -0
- package/api/resources/contacts/index.js +18 -0
- package/api/resources/contacts/types/Contact.d.ts +103 -0
- package/api/resources/contacts/types/Contact.js +5 -0
- package/api/resources/contacts/types/index.d.ts +1 -0
- package/api/resources/contacts/types/index.js +17 -0
- package/api/resources/conversations/client/Client.d.ts +506 -0
- package/api/resources/conversations/client/Client.js +1132 -0
- package/api/resources/conversations/client/index.d.ts +1 -0
- package/api/resources/conversations/client/index.js +17 -0
- package/api/resources/conversations/client/requests/AttachContactToConversationRequest.d.ts +44 -0
- package/api/resources/conversations/client/requests/AttachContactToConversationRequest.js +5 -0
- package/api/resources/conversations/client/requests/AutoAssignConversationRequest.d.ts +15 -0
- package/api/resources/conversations/client/requests/AutoAssignConversationRequest.js +5 -0
- package/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.d.ts +26 -0
- package/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.js +5 -0
- package/api/resources/conversations/client/requests/CreateConversationRequest.d.ts +48 -0
- package/api/resources/conversations/client/requests/CreateConversationRequest.js +17 -0
- package/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +44 -0
- package/api/resources/conversations/client/requests/DetachContactFromConversationRequest.js +5 -0
- package/api/resources/conversations/client/requests/FindConversationRequest.d.ts +20 -0
- package/api/resources/conversations/client/requests/FindConversationRequest.js +5 -0
- package/api/resources/conversations/client/requests/ListConversationsRequest.d.ts +17 -0
- package/api/resources/conversations/client/requests/ListConversationsRequest.js +5 -0
- package/api/resources/conversations/client/requests/ManageConversationPartsRequest.d.ts +62 -0
- package/api/resources/conversations/client/requests/ManageConversationPartsRequest.js +5 -0
- package/api/resources/conversations/client/requests/ReplyToConversationRequest.d.ts +89 -0
- package/api/resources/conversations/client/requests/ReplyToConversationRequest.js +5 -0
- package/api/resources/conversations/client/requests/UpdateConversationRequest.d.ts +40 -0
- package/api/resources/conversations/client/requests/UpdateConversationRequest.js +5 -0
- package/api/resources/conversations/client/requests/index.d.ts +10 -0
- package/api/resources/conversations/client/requests/index.js +2 -0
- package/api/resources/conversations/index.d.ts +2 -0
- package/api/resources/conversations/index.js +18 -0
- package/api/resources/conversations/types/Conversation.d.ts +68 -0
- package/api/resources/conversations/types/Conversation.js +18 -0
- package/api/resources/conversations/types/ConversationsManageRequestBody.d.ts +19 -0
- package/api/resources/conversations/types/ConversationsManageRequestBody.js +5 -0
- package/api/resources/conversations/types/index.d.ts +2 -0
- package/api/resources/conversations/types/index.js +18 -0
- package/api/resources/dataAttributes/client/Client.d.ts +149 -0
- package/api/resources/dataAttributes/client/Client.js +335 -0
- package/api/resources/dataAttributes/client/index.d.ts +1 -0
- package/api/resources/dataAttributes/client/index.js +17 -0
- package/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.d.ts +84 -0
- package/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.js +21 -0
- package/api/resources/dataAttributes/client/requests/ListDataAttributesRequest.d.ts +18 -0
- package/api/resources/dataAttributes/client/requests/ListDataAttributesRequest.js +5 -0
- package/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +69 -0
- package/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.js +5 -0
- package/api/resources/dataAttributes/client/requests/index.d.ts +3 -0
- package/api/resources/dataAttributes/client/requests/index.js +2 -0
- package/api/resources/dataAttributes/index.d.ts +2 -0
- package/api/resources/dataAttributes/index.js +18 -0
- package/api/resources/dataAttributes/types/DataAttribute.d.ts +63 -0
- package/api/resources/dataAttributes/types/DataAttribute.js +20 -0
- package/api/resources/dataAttributes/types/DataAttributesListRequestModel.d.ts +9 -0
- package/api/resources/dataAttributes/types/DataAttributesListRequestModel.js +11 -0
- package/api/resources/dataAttributes/types/index.d.ts +2 -0
- package/api/resources/dataAttributes/types/index.js +18 -0
- package/api/resources/dataEvents/index.d.ts +1 -0
- package/api/resources/dataEvents/index.js +17 -0
- package/api/resources/dataEvents/types/DataEvent.d.ts +24 -0
- package/api/resources/dataEvents/types/DataEvent.js +5 -0
- package/api/resources/dataEvents/types/index.d.ts +1 -0
- package/api/resources/dataEvents/types/index.js +17 -0
- package/api/resources/dataExport/client/Client.d.ts +108 -0
- package/api/resources/dataExport/client/Client.js +287 -0
- package/api/resources/dataExport/client/index.d.ts +1 -0
- package/api/resources/dataExport/client/index.js +17 -0
- package/api/resources/dataExport/client/requests/CancelDataExportRequest.d.ts +15 -0
- package/api/resources/dataExport/client/requests/CancelDataExportRequest.js +5 -0
- package/api/resources/dataExport/client/requests/CreateDataExportRequest.d.ts +16 -0
- package/api/resources/dataExport/client/requests/CreateDataExportRequest.js +5 -0
- package/api/resources/dataExport/client/requests/DownloadDataExportRequest.d.ts +15 -0
- package/api/resources/dataExport/client/requests/DownloadDataExportRequest.js +5 -0
- package/api/resources/dataExport/client/requests/FindDataExportRequest.d.ts +15 -0
- package/api/resources/dataExport/client/requests/FindDataExportRequest.js +5 -0
- package/api/resources/dataExport/client/requests/index.d.ts +4 -0
- package/api/resources/dataExport/client/requests/index.js +2 -0
- package/api/resources/dataExport/index.d.ts +2 -0
- package/api/resources/dataExport/index.js +18 -0
- package/api/resources/dataExport/types/DataExport.d.ts +30 -0
- package/api/resources/dataExport/types/DataExport.js +17 -0
- package/api/resources/dataExport/types/index.d.ts +1 -0
- package/api/resources/dataExport/types/index.js +17 -0
- package/api/resources/events/client/Client.d.ts +129 -0
- package/api/resources/events/client/Client.js +305 -0
- package/api/resources/events/client/index.d.ts +1 -0
- package/api/resources/events/client/index.js +17 -0
- package/api/resources/events/client/requests/ListEventSummariesRequest.d.ts +28 -0
- package/api/resources/events/client/requests/ListEventSummariesRequest.js +5 -0
- package/api/resources/events/client/requests/ListEventsRequest.d.ts +35 -0
- package/api/resources/events/client/requests/ListEventsRequest.js +5 -0
- package/api/resources/events/client/requests/index.d.ts +2 -0
- package/api/resources/events/client/requests/index.js +2 -0
- package/api/resources/events/index.d.ts +1 -0
- package/api/resources/events/index.js +17 -0
- package/api/resources/helpCenter/index.d.ts +1 -0
- package/api/resources/helpCenter/index.js +17 -0
- package/api/resources/helpCenter/types/Collection.d.ts +34 -0
- package/api/resources/helpCenter/types/Collection.js +5 -0
- package/api/resources/helpCenter/types/HelpCenter.d.ts +22 -0
- package/api/resources/helpCenter/types/HelpCenter.js +5 -0
- package/api/resources/helpCenter/types/HelpCenterList.d.ts +13 -0
- package/api/resources/helpCenter/types/HelpCenterList.js +5 -0
- package/api/resources/helpCenter/types/index.d.ts +3 -0
- package/api/resources/helpCenter/types/index.js +19 -0
- package/api/resources/helpCenters/client/Client.d.ts +62 -0
- package/api/resources/helpCenters/client/Client.js +202 -0
- package/api/resources/helpCenters/client/index.d.ts +1 -0
- package/api/resources/helpCenters/client/index.js +17 -0
- package/api/resources/helpCenters/client/requests/FindHelpCenterRequest.d.ts +15 -0
- package/api/resources/helpCenters/client/requests/FindHelpCenterRequest.js +5 -0
- package/api/resources/helpCenters/client/requests/ListHelpCentersRequest.d.ts +17 -0
- package/api/resources/helpCenters/client/requests/ListHelpCentersRequest.js +5 -0
- package/api/resources/helpCenters/client/requests/index.d.ts +2 -0
- package/api/resources/helpCenters/client/requests/index.js +2 -0
- package/api/resources/helpCenters/index.d.ts +2 -0
- package/api/resources/helpCenters/index.js +18 -0
- package/api/resources/helpCenters/resources/collections/client/Client.d.ts +113 -0
- package/api/resources/helpCenters/resources/collections/client/Client.js +395 -0
- package/api/resources/helpCenters/resources/collections/client/index.d.ts +1 -0
- package/api/resources/helpCenters/resources/collections/client/index.js +17 -0
- package/api/resources/helpCenters/resources/collections/client/requests/CreateCollectionRequest.d.ts +27 -0
- package/api/resources/helpCenters/resources/collections/client/requests/CreateCollectionRequest.js +5 -0
- package/api/resources/helpCenters/resources/collections/client/requests/DeleteCollectionRequest.d.ts +15 -0
- package/api/resources/helpCenters/resources/collections/client/requests/DeleteCollectionRequest.js +5 -0
- package/api/resources/helpCenters/resources/collections/client/requests/FindCollectionRequest.d.ts +15 -0
- package/api/resources/helpCenters/resources/collections/client/requests/FindCollectionRequest.js +5 -0
- package/api/resources/helpCenters/resources/collections/client/requests/ListCollectionsRequest.d.ts +17 -0
- package/api/resources/helpCenters/resources/collections/client/requests/ListCollectionsRequest.js +5 -0
- package/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.d.ts +30 -0
- package/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.js +5 -0
- package/api/resources/helpCenters/resources/collections/client/requests/index.d.ts +5 -0
- package/api/resources/helpCenters/resources/collections/client/requests/index.js +2 -0
- package/api/resources/helpCenters/resources/collections/index.d.ts +1 -0
- package/api/resources/helpCenters/resources/collections/index.js +17 -0
- package/api/resources/helpCenters/resources/index.d.ts +2 -0
- package/api/resources/helpCenters/resources/index.js +31 -0
- package/api/resources/index.d.ts +60 -0
- package/api/resources/index.js +89 -0
- package/api/resources/messages/client/Client.d.ts +127 -0
- package/api/resources/messages/client/Client.js +207 -0
- package/api/resources/messages/client/index.d.ts +1 -0
- package/api/resources/messages/client/index.js +2 -0
- package/api/resources/messages/index.d.ts +2 -0
- package/api/resources/messages/index.js +18 -0
- package/api/resources/messages/types/Message.d.ts +34 -0
- package/api/resources/messages/types/Message.js +15 -0
- package/api/resources/messages/types/index.d.ts +1 -0
- package/api/resources/messages/types/index.js +17 -0
- package/api/resources/news/client/Client.d.ts +36 -0
- package/api/resources/news/client/Client.js +22 -0
- package/api/resources/news/client/index.d.ts +1 -0
- package/api/resources/news/client/index.js +2 -0
- package/api/resources/news/index.d.ts +3 -0
- package/api/resources/news/index.js +19 -0
- package/api/resources/news/resources/feeds/client/Client.d.ts +71 -0
- package/api/resources/news/resources/feeds/client/Client.js +228 -0
- package/api/resources/news/resources/feeds/client/index.d.ts +1 -0
- package/api/resources/news/resources/feeds/client/index.js +17 -0
- package/api/resources/news/resources/feeds/client/requests/FindNewsFeedRequest.d.ts +15 -0
- package/api/resources/news/resources/feeds/client/requests/FindNewsFeedRequest.js +5 -0
- package/api/resources/news/resources/feeds/client/requests/ListNewsFeedItemsRequest.d.ts +15 -0
- package/api/resources/news/resources/feeds/client/requests/ListNewsFeedItemsRequest.js +5 -0
- package/api/resources/news/resources/feeds/client/requests/index.d.ts +2 -0
- package/api/resources/news/resources/feeds/client/requests/index.js +2 -0
- package/api/resources/news/resources/feeds/index.d.ts +1 -0
- package/api/resources/news/resources/feeds/index.js +17 -0
- package/api/resources/news/resources/index.d.ts +4 -0
- package/api/resources/news/resources/index.js +33 -0
- package/api/resources/news/resources/items/client/Client.d.ts +127 -0
- package/api/resources/news/resources/items/client/Client.js +375 -0
- package/api/resources/news/resources/items/client/index.d.ts +1 -0
- package/api/resources/news/resources/items/client/index.js +17 -0
- package/api/resources/news/resources/items/client/requests/DeleteNewsItemRequest.d.ts +15 -0
- package/api/resources/news/resources/items/client/requests/DeleteNewsItemRequest.js +5 -0
- package/api/resources/news/resources/items/client/requests/FindNewsItemRequest.d.ts +15 -0
- package/api/resources/news/resources/items/client/requests/FindNewsItemRequest.js +5 -0
- package/api/resources/news/resources/items/client/requests/UpdateNewsItemRequest.d.ts +34 -0
- package/api/resources/news/resources/items/client/requests/UpdateNewsItemRequest.js +5 -0
- package/api/resources/news/resources/items/client/requests/index.d.ts +3 -0
- package/api/resources/news/resources/items/client/requests/index.js +2 -0
- package/api/resources/news/resources/items/index.d.ts +1 -0
- package/api/resources/news/resources/items/index.js +17 -0
- package/api/resources/news/types/NewsItem.d.ts +47 -0
- package/api/resources/news/types/NewsItem.js +13 -0
- package/api/resources/news/types/Newsfeed.d.ts +20 -0
- package/api/resources/news/types/Newsfeed.js +5 -0
- package/api/resources/news/types/NewsfeedAssignment.d.ts +12 -0
- package/api/resources/news/types/NewsfeedAssignment.js +5 -0
- package/api/resources/news/types/index.d.ts +3 -0
- package/api/resources/news/types/index.js +19 -0
- package/api/resources/notes/client/Client.d.ts +80 -0
- package/api/resources/notes/client/Client.js +272 -0
- package/api/resources/notes/client/index.d.ts +1 -0
- package/api/resources/notes/client/index.js +17 -0
- package/api/resources/notes/client/requests/CreateContactNoteRequest.d.ts +35 -0
- package/api/resources/notes/client/requests/CreateContactNoteRequest.js +5 -0
- package/api/resources/notes/client/requests/FindNoteRequest.d.ts +15 -0
- package/api/resources/notes/client/requests/FindNoteRequest.js +5 -0
- package/api/resources/notes/client/requests/ListContactNotesRequest.d.ts +23 -0
- package/api/resources/notes/client/requests/ListContactNotesRequest.js +5 -0
- package/api/resources/notes/client/requests/index.d.ts +3 -0
- package/api/resources/notes/client/requests/index.js +2 -0
- package/api/resources/notes/index.d.ts +2 -0
- package/api/resources/notes/index.js +18 -0
- package/api/resources/notes/types/Note.d.ts +32 -0
- package/api/resources/notes/types/Note.js +5 -0
- package/api/resources/notes/types/index.d.ts +1 -0
- package/api/resources/notes/types/index.js +17 -0
- package/api/resources/phoneCallRedirects/client/Client.d.ts +64 -0
- package/api/resources/phoneCallRedirects/client/Client.js +142 -0
- package/api/resources/phoneCallRedirects/client/index.d.ts +1 -0
- package/api/resources/phoneCallRedirects/client/index.js +17 -0
- package/api/resources/phoneCallRedirects/client/requests/CreatePhoneCallRedirectRequest.d.ts +46 -0
- package/api/resources/phoneCallRedirects/client/requests/CreatePhoneCallRedirectRequest.js +5 -0
- package/api/resources/phoneCallRedirects/client/requests/index.d.ts +1 -0
- package/api/resources/phoneCallRedirects/client/requests/index.js +2 -0
- package/api/resources/phoneCallRedirects/index.d.ts +1 -0
- package/api/resources/phoneCallRedirects/index.js +17 -0
- package/api/resources/segments/client/Client.d.ts +62 -0
- package/api/resources/segments/client/Client.js +185 -0
- package/api/resources/segments/client/index.d.ts +1 -0
- package/api/resources/segments/client/index.js +17 -0
- package/api/resources/segments/client/requests/FindSegmentRequest.d.ts +15 -0
- package/api/resources/segments/client/requests/FindSegmentRequest.js +5 -0
- package/api/resources/segments/client/requests/ListSegmentsRequest.d.ts +13 -0
- package/api/resources/segments/client/requests/ListSegmentsRequest.js +5 -0
- package/api/resources/segments/client/requests/index.d.ts +2 -0
- package/api/resources/segments/client/requests/index.js +2 -0
- package/api/resources/segments/index.d.ts +2 -0
- package/api/resources/segments/index.js +18 -0
- package/api/resources/segments/types/Segment.d.ts +32 -0
- package/api/resources/segments/types/Segment.js +13 -0
- package/api/resources/segments/types/index.d.ts +1 -0
- package/api/resources/segments/types/index.js +17 -0
- package/api/resources/subscriptionTypes/client/Client.d.ts +46 -0
- package/api/resources/subscriptionTypes/client/Client.js +119 -0
- package/api/resources/subscriptionTypes/client/index.d.ts +1 -0
- package/api/resources/subscriptionTypes/client/index.js +2 -0
- package/api/resources/subscriptionTypes/index.d.ts +2 -0
- package/api/resources/subscriptionTypes/index.js +18 -0
- package/api/resources/subscriptionTypes/types/SubscriptionType.d.ts +49 -0
- package/api/resources/subscriptionTypes/types/SubscriptionType.js +25 -0
- package/api/resources/subscriptionTypes/types/index.d.ts +1 -0
- package/api/resources/subscriptionTypes/types/index.js +17 -0
- package/api/resources/tags/client/Client.d.ts +234 -0
- package/api/resources/tags/client/Client.js +723 -0
- package/api/resources/tags/client/index.d.ts +1 -0
- package/api/resources/tags/client/index.js +17 -0
- package/api/resources/tags/client/requests/DeleteTagRequest.d.ts +15 -0
- package/api/resources/tags/client/requests/DeleteTagRequest.js +5 -0
- package/api/resources/tags/client/requests/FindTagRequest.d.ts +15 -0
- package/api/resources/tags/client/requests/FindTagRequest.js +5 -0
- package/api/resources/tags/client/requests/TagContactRequest.d.ts +30 -0
- package/api/resources/tags/client/requests/TagContactRequest.js +5 -0
- package/api/resources/tags/client/requests/TagConversationRequest.d.ts +28 -0
- package/api/resources/tags/client/requests/TagConversationRequest.js +5 -0
- package/api/resources/tags/client/requests/TagTicketRequest.d.ts +28 -0
- package/api/resources/tags/client/requests/TagTicketRequest.js +5 -0
- package/api/resources/tags/client/requests/UntagContactRequest.d.ts +20 -0
- package/api/resources/tags/client/requests/UntagContactRequest.js +5 -0
- package/api/resources/tags/client/requests/UntagConversationRequest.d.ts +37 -0
- package/api/resources/tags/client/requests/UntagConversationRequest.js +5 -0
- package/api/resources/tags/client/requests/UntagTicketRequest.d.ts +37 -0
- package/api/resources/tags/client/requests/UntagTicketRequest.js +5 -0
- package/api/resources/tags/client/requests/index.d.ts +8 -0
- package/api/resources/tags/client/requests/index.js +2 -0
- package/api/resources/tags/index.d.ts +2 -0
- package/api/resources/tags/index.js +18 -0
- package/api/resources/tags/types/Tag.d.ts +18 -0
- package/api/resources/tags/types/Tag.js +5 -0
- package/api/resources/tags/types/TagsCreateRequestBody.d.ts +5 -0
- package/api/resources/tags/types/TagsCreateRequestBody.js +5 -0
- package/api/resources/tags/types/index.d.ts +2 -0
- package/api/resources/tags/types/index.js +18 -0
- package/api/resources/teams/client/Client.d.ts +61 -0
- package/api/resources/teams/client/Client.js +178 -0
- package/api/resources/teams/client/index.d.ts +1 -0
- package/api/resources/teams/client/index.js +17 -0
- package/api/resources/teams/client/requests/FindTeamRequest.d.ts +15 -0
- package/api/resources/teams/client/requests/FindTeamRequest.js +5 -0
- package/api/resources/teams/client/requests/index.d.ts +1 -0
- package/api/resources/teams/client/requests/index.js +2 -0
- package/api/resources/teams/index.d.ts +2 -0
- package/api/resources/teams/index.js +18 -0
- package/api/resources/teams/types/Team.d.ts +18 -0
- package/api/resources/teams/types/Team.js +5 -0
- package/api/resources/teams/types/index.d.ts +1 -0
- package/api/resources/teams/types/index.js +17 -0
- package/api/resources/ticketTypes/client/Client.d.ts +104 -0
- package/api/resources/ticketTypes/client/Client.js +317 -0
- package/api/resources/ticketTypes/client/index.d.ts +1 -0
- package/api/resources/ticketTypes/client/index.js +17 -0
- package/api/resources/ticketTypes/client/requests/CreateTicketTypeRequest.d.ts +35 -0
- package/api/resources/ticketTypes/client/requests/CreateTicketTypeRequest.js +14 -0
- package/api/resources/ticketTypes/client/requests/FindTicketTypeRequest.d.ts +15 -0
- package/api/resources/ticketTypes/client/requests/FindTicketTypeRequest.js +5 -0
- package/api/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.ts +39 -0
- package/api/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.js +14 -0
- package/api/resources/ticketTypes/client/requests/index.d.ts +3 -0
- package/api/resources/ticketTypes/client/requests/index.js +2 -0
- package/api/resources/ticketTypes/index.d.ts +2 -0
- package/api/resources/ticketTypes/index.js +18 -0
- package/api/resources/ticketTypes/resources/attributes/client/Client.d.ts +66 -0
- package/api/resources/ticketTypes/resources/attributes/client/Client.js +195 -0
- package/api/resources/ticketTypes/resources/attributes/client/index.d.ts +1 -0
- package/api/resources/ticketTypes/resources/attributes/client/index.js +17 -0
- package/api/resources/ticketTypes/resources/attributes/client/requests/CreateTicketTypeAttributeRequest.d.ts +54 -0
- package/api/resources/ticketTypes/resources/attributes/client/requests/CreateTicketTypeAttributeRequest.js +18 -0
- package/api/resources/ticketTypes/resources/attributes/client/requests/UpdateTicketTypeAttributeRequest.d.ts +41 -0
- package/api/resources/ticketTypes/resources/attributes/client/requests/UpdateTicketTypeAttributeRequest.js +5 -0
- package/api/resources/ticketTypes/resources/attributes/client/requests/index.d.ts +2 -0
- package/api/resources/ticketTypes/resources/attributes/client/requests/index.js +2 -0
- package/api/resources/ticketTypes/resources/attributes/index.d.ts +1 -0
- package/api/resources/ticketTypes/resources/attributes/index.js +17 -0
- package/api/resources/ticketTypes/resources/index.d.ts +2 -0
- package/api/resources/ticketTypes/resources/index.js +31 -0
- package/api/resources/tickets/client/Client.d.ts +267 -0
- package/api/resources/tickets/client/Client.js +534 -0
- package/api/resources/tickets/client/index.d.ts +1 -0
- package/api/resources/tickets/client/index.js +17 -0
- package/api/resources/tickets/client/requests/CreateTicketRequest.d.ts +40 -0
- package/api/resources/tickets/client/requests/CreateTicketRequest.js +5 -0
- package/api/resources/tickets/client/requests/FindTicketRequest.d.ts +15 -0
- package/api/resources/tickets/client/requests/FindTicketRequest.js +5 -0
- package/api/resources/tickets/client/requests/ReplyToTicketRequest.d.ts +81 -0
- package/api/resources/tickets/client/requests/ReplyToTicketRequest.js +5 -0
- package/api/resources/tickets/client/requests/UpdateTicketRequest.d.ts +82 -0
- package/api/resources/tickets/client/requests/UpdateTicketRequest.js +14 -0
- package/api/resources/tickets/client/requests/index.d.ts +4 -0
- package/api/resources/tickets/client/requests/index.js +2 -0
- package/api/resources/tickets/index.d.ts +2 -0
- package/api/resources/tickets/index.js +18 -0
- package/api/resources/tickets/types/Ticket.d.ts +63 -0
- package/api/resources/tickets/types/Ticket.js +20 -0
- package/api/resources/tickets/types/TicketContacts.d.ts +13 -0
- package/api/resources/tickets/types/TicketContacts.js +5 -0
- package/api/resources/tickets/types/TicketPart.d.ts +56 -0
- package/api/resources/tickets/types/TicketPart.js +21 -0
- package/api/resources/tickets/types/TicketType.d.ts +41 -0
- package/api/resources/tickets/types/TicketType.js +14 -0
- package/api/resources/tickets/types/TicketsReplyRequestBody.d.ts +5 -0
- package/api/resources/tickets/types/TicketsReplyRequestBody.js +5 -0
- package/api/resources/tickets/types/index.d.ts +5 -0
- package/api/resources/tickets/types/index.js +21 -0
- package/api/resources/visitors/client/Client.d.ts +101 -0
- package/api/resources/visitors/client/Client.js +266 -0
- package/api/resources/visitors/client/index.d.ts +1 -0
- package/api/resources/visitors/client/index.js +17 -0
- package/api/resources/visitors/client/requests/FindVisitorRequest.d.ts +15 -0
- package/api/resources/visitors/client/requests/FindVisitorRequest.js +5 -0
- package/api/resources/visitors/client/requests/MergeVisitorToContactRequest.d.ts +46 -0
- package/api/resources/visitors/client/requests/MergeVisitorToContactRequest.js +5 -0
- package/api/resources/visitors/client/requests/index.d.ts +2 -0
- package/api/resources/visitors/client/requests/index.js +2 -0
- package/api/resources/visitors/index.d.ts +1 -0
- package/api/resources/visitors/index.js +17 -0
- package/api/types/ActionComponent.d.ts +16 -0
- package/api/types/ActionComponent.js +5 -0
- package/api/types/ActivityLog.d.ts +104 -0
- package/api/types/ActivityLog.js +78 -0
- package/api/types/ActivityLogList.d.ts +14 -0
- package/api/types/ActivityLogList.js +5 -0
- package/api/types/ActivityLogMetadata.d.ts +26 -0
- package/api/types/ActivityLogMetadata.js +5 -0
- package/api/types/AddressableList.d.ts +14 -0
- package/api/types/AddressableList.js +5 -0
- package/api/types/AdminList.d.ts +13 -0
- package/api/types/AdminList.js +5 -0
- package/api/types/AdminPriorityLevel.d.ts +12 -0
- package/api/types/AdminPriorityLevel.js +5 -0
- package/api/types/AdminReplyConversationRequest.d.ts +28 -0
- package/api/types/AdminReplyConversationRequest.js +13 -0
- package/api/types/AdminReplyTicketRequest.d.ts +37 -0
- package/api/types/AdminReplyTicketRequest.js +14 -0
- package/api/types/AdminWithApp.d.ts +44 -0
- package/api/types/AdminWithApp.js +5 -0
- package/api/types/App.d.ts +22 -0
- package/api/types/App.js +5 -0
- package/api/types/ArticleContent.d.ts +36 -0
- package/api/types/ArticleContent.js +13 -0
- package/api/types/ArticleList.d.ts +16 -0
- package/api/types/ArticleList.js +5 -0
- package/api/types/ArticleStatistics.d.ts +22 -0
- package/api/types/ArticleStatistics.js +5 -0
- package/api/types/ArticleTranslatedContent.d.ts +85 -0
- package/api/types/ArticleTranslatedContent.js +5 -0
- package/api/types/AssignConversationRequest.d.ts +22 -0
- package/api/types/AssignConversationRequest.js +13 -0
- package/api/types/ButtonComponent.d.ts +33 -0
- package/api/types/ButtonComponent.js +14 -0
- package/api/types/CanvasObject.d.ts +20 -0
- package/api/types/CanvasObject.js +5 -0
- package/api/types/CheckboxComponent.d.ts +36 -0
- package/api/types/CheckboxComponent.js +14 -0
- package/api/types/CheckboxOption.d.ts +16 -0
- package/api/types/CheckboxOption.js +5 -0
- package/api/types/CloseConversationRequest.d.ts +13 -0
- package/api/types/CloseConversationRequest.js +5 -0
- package/api/types/CollectionList.d.ts +16 -0
- package/api/types/CollectionList.js +5 -0
- package/api/types/CompanyAttachedContacts.d.ts +16 -0
- package/api/types/CompanyAttachedContacts.js +5 -0
- package/api/types/CompanyAttachedSegments.d.ts +13 -0
- package/api/types/CompanyAttachedSegments.js +5 -0
- package/api/types/CompanyList.d.ts +16 -0
- package/api/types/CompanyList.js +5 -0
- package/api/types/CompanyScroll.d.ts +17 -0
- package/api/types/CompanyScroll.js +5 -0
- package/api/types/Component.d.ts +43 -0
- package/api/types/Component.js +5 -0
- package/api/types/ConfigureRequest.d.ts +22 -0
- package/api/types/ConfigureRequest.js +5 -0
- package/api/types/ConfigureResponse.d.ts +12 -0
- package/api/types/ConfigureResponse.js +5 -0
- package/api/types/ContactArchived.d.ts +16 -0
- package/api/types/ContactArchived.js +5 -0
- package/api/types/ContactAttachedCompanies.d.ts +16 -0
- package/api/types/ContactAttachedCompanies.js +5 -0
- package/api/types/ContactCompanies.d.ts +19 -0
- package/api/types/ContactCompanies.js +5 -0
- package/api/types/ContactCompany.d.ts +14 -0
- package/api/types/ContactCompany.js +5 -0
- package/api/types/ContactDeleted.d.ts +16 -0
- package/api/types/ContactDeleted.js +5 -0
- package/api/types/ContactList.d.ts +16 -0
- package/api/types/ContactList.js +5 -0
- package/api/types/ContactLocation.d.ts +16 -0
- package/api/types/ContactLocation.js +5 -0
- package/api/types/ContactNotes.d.ts +17 -0
- package/api/types/ContactNotes.js +5 -0
- package/api/types/ContactReference.d.ts +14 -0
- package/api/types/ContactReference.js +5 -0
- package/api/types/ContactReplyBaseRequest.d.ts +13 -0
- package/api/types/ContactReplyBaseRequest.js +5 -0
- package/api/types/ContactReplyConversationRequest.d.ts +5 -0
- package/api/types/ContactReplyConversationRequest.js +5 -0
- package/api/types/ContactReplyEmailRequest.d.ts +13 -0
- package/api/types/ContactReplyEmailRequest.js +5 -0
- package/api/types/ContactReplyIntercomUserIdRequest.d.ts +13 -0
- package/api/types/ContactReplyIntercomUserIdRequest.js +5 -0
- package/api/types/ContactReplyTicketEmailRequest.d.ts +11 -0
- package/api/types/ContactReplyTicketEmailRequest.js +5 -0
- package/api/types/ContactReplyTicketIntercomUserIdRequest.d.ts +11 -0
- package/api/types/ContactReplyTicketIntercomUserIdRequest.js +5 -0
- package/api/types/ContactReplyTicketRequest.d.ts +5 -0
- package/api/types/ContactReplyTicketRequest.js +5 -0
- package/api/types/ContactReplyTicketUserIdRequest.d.ts +11 -0
- package/api/types/ContactReplyTicketUserIdRequest.js +5 -0
- package/api/types/ContactReplyUserIdRequest.d.ts +13 -0
- package/api/types/ContactReplyUserIdRequest.js +5 -0
- package/api/types/ContactSegments.d.ts +13 -0
- package/api/types/ContactSegments.js +5 -0
- package/api/types/ContactSocialProfiles.d.ts +11 -0
- package/api/types/ContactSocialProfiles.js +5 -0
- package/api/types/ContactSubscriptionTypes.d.ts +17 -0
- package/api/types/ContactSubscriptionTypes.js +5 -0
- package/api/types/ContactTags.d.ts +17 -0
- package/api/types/ContactTags.js +5 -0
- package/api/types/ContactUnarchived.d.ts +16 -0
- package/api/types/ContactUnarchived.js +5 -0
- package/api/types/ContentObject.d.ts +13 -0
- package/api/types/ContentObject.js +5 -0
- package/api/types/ContentSourcesList.d.ts +11 -0
- package/api/types/ContentSourcesList.js +5 -0
- package/api/types/Context.d.ts +34 -0
- package/api/types/Context.js +15 -0
- package/api/types/ConversationAttachmentFiles.d.ts +14 -0
- package/api/types/ConversationAttachmentFiles.js +5 -0
- package/api/types/ConversationContacts.d.ts +12 -0
- package/api/types/ConversationContacts.js +5 -0
- package/api/types/ConversationFirstContactReply.d.ts +14 -0
- package/api/types/ConversationFirstContactReply.js +5 -0
- package/api/types/ConversationPart.d.ts +32 -0
- package/api/types/ConversationPart.js +5 -0
- package/api/types/ConversationPartAuthor.d.ts +16 -0
- package/api/types/ConversationPartAuthor.js +5 -0
- package/api/types/ConversationParts.d.ts +15 -0
- package/api/types/ConversationParts.js +5 -0
- package/api/types/ConversationRating.d.ts +17 -0
- package/api/types/ConversationRating.js +5 -0
- package/api/types/ConversationSource.d.ts +44 -0
- package/api/types/ConversationSource.js +21 -0
- package/api/types/ConversationStatistics.d.ts +46 -0
- package/api/types/ConversationStatistics.js +5 -0
- package/api/types/ConversationTeammates.d.ts +13 -0
- package/api/types/ConversationTeammates.js +5 -0
- package/api/types/CreateContactRequest.d.ts +37 -0
- package/api/types/CreateContactRequest.js +5 -0
- package/api/types/CreateDataEventRequest.d.ts +22 -0
- package/api/types/CreateDataEventRequest.js +5 -0
- package/api/types/CreateMessageRequest.d.ts +104 -0
- package/api/types/CreateMessageRequest.js +29 -0
- package/api/types/CreateOrUpdateTagRequest.d.ts +12 -0
- package/api/types/CreateOrUpdateTagRequest.js +5 -0
- package/api/types/CreateTicketReplyWithCommentRequest.d.ts +5 -0
- package/api/types/CreateTicketReplyWithCommentRequest.js +5 -0
- package/api/types/CurrentCanvas.d.ts +11 -0
- package/api/types/CurrentCanvas.js +5 -0
- package/api/types/CursorPages.d.ts +19 -0
- package/api/types/CursorPages.js +5 -0
- package/api/types/CustomAttributes.d.ts +7 -0
- package/api/types/CustomAttributes.js +5 -0
- package/api/types/CustomerRequest.d.ts +10 -0
- package/api/types/CustomerRequest.js +5 -0
- package/api/types/DataAttributeList.d.ts +13 -0
- package/api/types/DataAttributeList.js +5 -0
- package/api/types/DataEventList.d.ts +24 -0
- package/api/types/DataEventList.js +5 -0
- package/api/types/DataEventSummary.d.ts +19 -0
- package/api/types/DataEventSummary.js +5 -0
- package/api/types/DataEventSummaryItem.d.ts +18 -0
- package/api/types/DataEventSummaryItem.js +5 -0
- package/api/types/DataExportCsv.d.ts +60 -0
- package/api/types/DataExportCsv.js +5 -0
- package/api/types/DataTableComponent.d.ts +11 -0
- package/api/types/DataTableComponent.js +5 -0
- package/api/types/DataTableItem.d.ts +14 -0
- package/api/types/DataTableItem.js +5 -0
- package/api/types/DeletedArticleObject.d.ts +14 -0
- package/api/types/DeletedArticleObject.js +5 -0
- package/api/types/DeletedCollectionObject.d.ts +14 -0
- package/api/types/DeletedCollectionObject.js +5 -0
- package/api/types/DeletedCompanyObject.d.ts +14 -0
- package/api/types/DeletedCompanyObject.js +5 -0
- package/api/types/DeletedObject.d.ts +14 -0
- package/api/types/DeletedObject.js +5 -0
- package/api/types/DividerComponent.d.ts +12 -0
- package/api/types/DividerComponent.js +5 -0
- package/api/types/DropdownComponent.d.ts +34 -0
- package/api/types/DropdownComponent.js +14 -0
- package/api/types/DropdownOption.d.ts +16 -0
- package/api/types/DropdownOption.js +5 -0
- package/api/types/Error_.d.ts +27 -0
- package/api/types/Error_.js +5 -0
- package/api/types/Event.d.ts +10 -0
- package/api/types/Event.js +5 -0
- package/api/types/FileAttribute.d.ts +21 -0
- package/api/types/FileAttribute.js +5 -0
- package/api/types/GroupContent.d.ts +14 -0
- package/api/types/GroupContent.js +5 -0
- package/api/types/GroupTranslatedContent.d.ts +85 -0
- package/api/types/GroupTranslatedContent.js +5 -0
- package/api/types/ImageComponent.d.ts +40 -0
- package/api/types/ImageComponent.js +15 -0
- package/api/types/InitializeRequest.d.ts +23 -0
- package/api/types/InitializeRequest.js +5 -0
- package/api/types/InitializeResponse.d.ts +11 -0
- package/api/types/InitializeResponse.js +5 -0
- package/api/types/InputComponent.d.ts +37 -0
- package/api/types/InputComponent.js +14 -0
- package/api/types/LinkedObject.d.ts +24 -0
- package/api/types/LinkedObject.js +13 -0
- package/api/types/LinkedObjectList.d.ts +17 -0
- package/api/types/LinkedObjectList.js +5 -0
- package/api/types/ListComponent.d.ts +23 -0
- package/api/types/ListComponent.js +5 -0
- package/api/types/ListItem.d.ts +25 -0
- package/api/types/ListItem.js +5 -0
- package/api/types/ListItemWithImage.d.ts +12 -0
- package/api/types/ListItemWithImage.js +5 -0
- package/api/types/ListItemWithoutImage.d.ts +12 -0
- package/api/types/ListItemWithoutImage.js +5 -0
- package/api/types/LiveCanvasRequest.d.ts +21 -0
- package/api/types/LiveCanvasRequest.js +5 -0
- package/api/types/LiveCanvasResponse.d.ts +11 -0
- package/api/types/LiveCanvasResponse.js +5 -0
- package/api/types/MultipleFilterSearchRequest.d.ts +22 -0
- package/api/types/MultipleFilterSearchRequest.js +13 -0
- package/api/types/MultipleOrSingleFilterSearchRequest.d.ts +5 -0
- package/api/types/MultipleOrSingleFilterSearchRequest.js +5 -0
- package/api/types/NewsItemRequest.d.ts +35 -0
- package/api/types/NewsItemRequest.js +13 -0
- package/api/types/NoteList.d.ts +16 -0
- package/api/types/NoteList.js +5 -0
- package/api/types/OpenConversationRequest.d.ts +10 -0
- package/api/types/OpenConversationRequest.js +5 -0
- package/api/types/PagesLink.d.ts +16 -0
- package/api/types/PagesLink.js +5 -0
- package/api/types/PaginatedConversationResponse.d.ts +16 -0
- package/api/types/PaginatedConversationResponse.js +5 -0
- package/api/types/PaginatedNewsItemResponse.d.ts +16 -0
- package/api/types/PaginatedNewsItemResponse.js +5 -0
- package/api/types/PaginatedNewsfeedResponse.d.ts +16 -0
- package/api/types/PaginatedNewsfeedResponse.js +5 -0
- package/api/types/PartAttachment.d.ts +22 -0
- package/api/types/PartAttachment.js +5 -0
- package/api/types/PhoneSwitch.d.ts +12 -0
- package/api/types/PhoneSwitch.js +5 -0
- package/api/types/RedactConversationRequest.d.ts +27 -0
- package/api/types/RedactConversationRequest.js +5 -0
- package/api/types/Reference.d.ts +12 -0
- package/api/types/Reference.js +5 -0
- package/api/types/ReplyConversationRequest.d.ts +5 -0
- package/api/types/ReplyConversationRequest.js +5 -0
- package/api/types/ResultsResponse.d.ts +10 -0
- package/api/types/ResultsResponse.js +5 -0
- package/api/types/SearchRequest.d.ts +14 -0
- package/api/types/SearchRequest.js +5 -0
- package/api/types/SegmentList.d.ts +15 -0
- package/api/types/SegmentList.js +5 -0
- package/api/types/SheetActionComponent.d.ts +12 -0
- package/api/types/SheetActionComponent.js +5 -0
- package/api/types/SingleFilterSearchRequest.d.ts +36 -0
- package/api/types/SingleFilterSearchRequest.js +21 -0
- package/api/types/SingleSelectComponent.d.ts +39 -0
- package/api/types/SingleSelectComponent.js +14 -0
- package/api/types/SingleSelectOption.d.ts +16 -0
- package/api/types/SingleSelectOption.js +5 -0
- package/api/types/SlaApplied.d.ts +35 -0
- package/api/types/SlaApplied.js +15 -0
- package/api/types/SnoozeConversationRequest.d.ts +12 -0
- package/api/types/SnoozeConversationRequest.js +5 -0
- package/api/types/SocialProfile.d.ts +14 -0
- package/api/types/SocialProfile.js +5 -0
- package/api/types/SpacerComponent.d.ts +25 -0
- package/api/types/SpacerComponent.js +16 -0
- package/api/types/StartingAfterPaging.d.ts +9 -0
- package/api/types/StartingAfterPaging.js +5 -0
- package/api/types/SubmitActionComponent.d.ts +8 -0
- package/api/types/SubmitActionComponent.js +5 -0
- package/api/types/SubmitRequest.d.ts +29 -0
- package/api/types/SubmitRequest.js +5 -0
- package/api/types/SubmitResponse.d.ts +23 -0
- package/api/types/SubmitResponse.js +5 -0
- package/api/types/SubscriptionTypeList.d.ts +13 -0
- package/api/types/SubscriptionTypeList.js +5 -0
- package/api/types/TagCompanyRequest.d.ts +23 -0
- package/api/types/TagCompanyRequest.js +5 -0
- package/api/types/TagList.d.ts +13 -0
- package/api/types/TagList.js +5 -0
- package/api/types/TagMultipleUsersRequest.d.ts +20 -0
- package/api/types/TagMultipleUsersRequest.js +5 -0
- package/api/types/Tags.d.ts +13 -0
- package/api/types/Tags.js +5 -0
- package/api/types/TeamList.d.ts +13 -0
- package/api/types/TeamList.js +5 -0
- package/api/types/TeamPriorityLevel.d.ts +12 -0
- package/api/types/TeamPriorityLevel.js +5 -0
- package/api/types/TextAreaComponent.d.ts +22 -0
- package/api/types/TextAreaComponent.js +5 -0
- package/api/types/TextComponent.d.ts +39 -0
- package/api/types/TextComponent.js +20 -0
- package/api/types/TicketCustomAttributes.d.ts +11 -0
- package/api/types/TicketCustomAttributes.js +5 -0
- package/api/types/TicketList.d.ts +16 -0
- package/api/types/TicketList.js +5 -0
- package/api/types/TicketPartAuthor.d.ts +28 -0
- package/api/types/TicketPartAuthor.js +15 -0
- package/api/types/TicketParts.d.ts +15 -0
- package/api/types/TicketParts.js +5 -0
- package/api/types/TicketReply.d.ts +37 -0
- package/api/types/TicketReply.js +14 -0
- package/api/types/TicketRequestCustomAttributes.d.ts +10 -0
- package/api/types/TicketRequestCustomAttributes.js +5 -0
- package/api/types/TicketTypeAttribute.d.ts +57 -0
- package/api/types/TicketTypeAttribute.js +18 -0
- package/api/types/TicketTypeAttributeList.d.ts +13 -0
- package/api/types/TicketTypeAttributeList.js +5 -0
- package/api/types/TicketTypeList.d.ts +13 -0
- package/api/types/TicketTypeList.js +5 -0
- package/api/types/Translation.d.ts +14 -0
- package/api/types/Translation.js +5 -0
- package/api/types/UntagCompanyRequest.d.ts +25 -0
- package/api/types/UntagCompanyRequest.js +5 -0
- package/api/types/UpdateVisitorRequest.d.ts +15 -0
- package/api/types/UpdateVisitorRequest.js +5 -0
- package/api/types/UrlActionComponent.d.ts +10 -0
- package/api/types/UrlActionComponent.js +5 -0
- package/api/types/Visitor.d.ts +128 -0
- package/api/types/Visitor.js +5 -0
- package/api/types/VisitorDeletedObject.d.ts +14 -0
- package/api/types/VisitorDeletedObject.js +5 -0
- package/api/types/index.d.ts +158 -0
- package/api/types/index.js +174 -0
- package/api/version.d.ts +5 -0
- package/api/version.js +5 -0
- package/core/auth/BasicAuth.d.ts +8 -0
- package/core/auth/BasicAuth.js +26 -0
- package/core/auth/BearerToken.d.ts +5 -0
- package/core/auth/BearerToken.js +15 -0
- package/core/auth/index.d.ts +2 -0
- package/core/auth/index.js +7 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/Fetcher.d.ts +39 -0
- package/core/fetcher/Fetcher.js +99 -0
- package/core/fetcher/Supplier.d.ts +4 -0
- package/core/fetcher/Supplier.js +22 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -0
- package/core/fetcher/createRequestUrl.js +13 -0
- package/core/fetcher/getFetchFn.d.ts +4 -0
- package/core/fetcher/getFetchFn.js +59 -0
- package/core/fetcher/getHeader.d.ts +1 -0
- package/core/fetcher/getHeader.js +12 -0
- package/core/fetcher/getRequestBody.d.ts +7 -0
- package/core/fetcher/getRequestBody.js +23 -0
- package/core/fetcher/getResponseBody.d.ts +1 -0
- package/core/fetcher/getResponseBody.js +55 -0
- package/core/fetcher/index.d.ts +5 -0
- package/core/fetcher/index.js +9 -0
- package/core/fetcher/makeRequest.d.ts +1 -0
- package/core/fetcher/makeRequest.js +42 -0
- package/core/fetcher/requestWithRetries.d.ts +1 -0
- package/core/fetcher/requestWithRetries.js +41 -0
- package/core/fetcher/signals.d.ts +12 -0
- package/core/fetcher/signals.js +37 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
- package/core/index.d.ts +5 -0
- package/core/index.js +21 -0
- package/core/pagination/Page.d.ts +29 -0
- package/core/pagination/Page.js +94 -0
- package/core/pagination/Pageable.d.ts +12 -0
- package/core/pagination/Pageable.js +10 -0
- package/core/pagination/index.d.ts +2 -0
- package/core/pagination/index.js +7 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +9 -0
- package/core/runtime/runtime.js +93 -0
- package/core/utils/index.d.ts +1 -0
- package/core/utils/index.js +5 -0
- package/core/utils/setObjectProperty.d.ts +11 -0
- package/core/utils/setObjectProperty.js +43 -0
- package/dist/Client.d.ts +90 -0
- package/dist/Client.js +112 -0
- package/dist/api/errors/BadRequestError.d.ts +7 -0
- package/dist/api/errors/BadRequestError.js +41 -0
- package/dist/api/errors/ForbiddenError.d.ts +8 -0
- package/dist/api/errors/ForbiddenError.js +41 -0
- package/dist/api/errors/NotFoundError.d.ts +7 -0
- package/dist/api/errors/NotFoundError.js +41 -0
- package/dist/api/errors/UnauthorizedError.d.ts +8 -0
- package/dist/api/errors/UnauthorizedError.js +41 -0
- package/dist/api/errors/UnprocessableEntityError.d.ts +7 -0
- package/dist/api/errors/UnprocessableEntityError.js +41 -0
- package/dist/api/errors/index.d.ts +5 -0
- package/dist/api/errors/index.js +21 -0
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.js +19 -0
- package/dist/api/resources/admins/client/Client.d.ts +107 -0
- package/dist/api/resources/admins/client/Client.js +364 -0
- package/dist/api/resources/admins/client/index.d.ts +1 -0
- package/dist/api/resources/admins/client/index.js +17 -0
- package/dist/api/resources/admins/client/requests/ConfigureAwayAdminRequest.d.ts +35 -0
- package/dist/api/resources/admins/client/requests/ConfigureAwayAdminRequest.js +5 -0
- package/dist/api/resources/admins/client/requests/FindAdminRequest.d.ts +15 -0
- package/dist/api/resources/admins/client/requests/FindAdminRequest.js +5 -0
- package/dist/api/resources/admins/client/requests/ListAllActivityLogsRequest.d.ts +20 -0
- package/dist/api/resources/admins/client/requests/ListAllActivityLogsRequest.js +5 -0
- package/dist/api/resources/admins/client/requests/index.d.ts +3 -0
- package/dist/api/resources/admins/client/requests/index.js +2 -0
- package/dist/api/resources/admins/index.d.ts +2 -0
- package/dist/api/resources/admins/index.js +18 -0
- package/dist/api/resources/admins/types/Admin.d.ts +39 -0
- package/dist/api/resources/admins/types/Admin.js +5 -0
- package/dist/api/resources/admins/types/index.d.ts +1 -0
- package/dist/api/resources/admins/types/index.js +17 -0
- package/dist/api/resources/aiAgent/index.d.ts +1 -0
- package/dist/api/resources/aiAgent/index.js +17 -0
- package/dist/api/resources/aiAgent/types/AiAgent.d.ts +35 -0
- package/dist/api/resources/aiAgent/types/AiAgent.js +16 -0
- package/dist/api/resources/aiAgent/types/index.d.ts +1 -0
- package/dist/api/resources/aiAgent/types/index.js +17 -0
- package/dist/api/resources/aiContentSource/index.d.ts +1 -0
- package/dist/api/resources/aiContentSource/index.js +17 -0
- package/dist/api/resources/aiContentSource/types/ContentSource.d.ts +29 -0
- package/dist/api/resources/aiContentSource/types/ContentSource.js +16 -0
- package/dist/api/resources/aiContentSource/types/index.d.ts +1 -0
- package/dist/api/resources/aiContentSource/types/index.js +17 -0
- package/dist/api/resources/articles/client/Client.d.ts +153 -0
- package/dist/api/resources/articles/client/Client.js +491 -0
- package/dist/api/resources/articles/client/index.d.ts +1 -0
- package/dist/api/resources/articles/client/index.js +17 -0
- package/dist/api/resources/articles/client/requests/CreateArticleRequest.d.ts +70 -0
- package/dist/api/resources/articles/client/requests/CreateArticleRequest.js +17 -0
- package/dist/api/resources/articles/client/requests/DeleteArticleRequest.d.ts +15 -0
- package/dist/api/resources/articles/client/requests/DeleteArticleRequest.js +5 -0
- package/dist/api/resources/articles/client/requests/FindArticleRequest.d.ts +15 -0
- package/dist/api/resources/articles/client/requests/FindArticleRequest.js +5 -0
- package/dist/api/resources/articles/client/requests/ListArticlesRequest.d.ts +17 -0
- package/dist/api/resources/articles/client/requests/ListArticlesRequest.js +5 -0
- package/dist/api/resources/articles/client/requests/SearchArticlesRequest.d.ts +28 -0
- package/dist/api/resources/articles/client/requests/SearchArticlesRequest.js +5 -0
- package/dist/api/resources/articles/client/requests/UpdateArticleRequest.d.ts +58 -0
- package/dist/api/resources/articles/client/requests/UpdateArticleRequest.js +17 -0
- package/dist/api/resources/articles/client/requests/index.d.ts +6 -0
- package/dist/api/resources/articles/client/requests/index.js +2 -0
- package/dist/api/resources/articles/index.d.ts +2 -0
- package/dist/api/resources/articles/index.js +18 -0
- package/dist/api/resources/articles/types/Article.d.ts +10 -0
- package/dist/api/resources/articles/types/Article.js +5 -0
- package/dist/api/resources/articles/types/ArticleListItem.d.ts +50 -0
- package/dist/api/resources/articles/types/ArticleListItem.js +13 -0
- package/dist/api/resources/articles/types/ArticleSearchHighlights.d.ts +60 -0
- package/dist/api/resources/articles/types/ArticleSearchHighlights.js +29 -0
- package/dist/api/resources/articles/types/SearchArticlesResponse.d.ts +27 -0
- package/dist/api/resources/articles/types/SearchArticlesResponse.js +5 -0
- package/dist/api/resources/articles/types/index.d.ts +4 -0
- package/dist/api/resources/articles/types/index.js +20 -0
- package/dist/api/resources/companies/client/Client.d.ts +263 -0
- package/dist/api/resources/companies/client/Client.js +855 -0
- package/dist/api/resources/companies/client/index.d.ts +1 -0
- package/dist/api/resources/companies/client/index.js +17 -0
- package/dist/api/resources/companies/client/requests/AttachContactToCompanyRequest.d.ts +30 -0
- package/dist/api/resources/companies/client/requests/AttachContactToCompanyRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/CreateOrUpdateCompanyRequest.d.ts +34 -0
- package/dist/api/resources/companies/client/requests/CreateOrUpdateCompanyRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +15 -0
- package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/DetachContactFromCompanyRequest.d.ts +20 -0
- package/dist/api/resources/companies/client/requests/DetachContactFromCompanyRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/FindCompanyRequest.d.ts +15 -0
- package/dist/api/resources/companies/client/requests/FindCompanyRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/ListAttachedContactsRequest.d.ts +23 -0
- package/dist/api/resources/companies/client/requests/ListAttachedContactsRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +23 -0
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/ListSegmentsAttachedToCompanyRequest.d.ts +15 -0
- package/dist/api/resources/companies/client/requests/ListSegmentsAttachedToCompanyRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/RetrieveCompanyRequest.d.ts +38 -0
- package/dist/api/resources/companies/client/requests/RetrieveCompanyRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/ScrollCompaniesRequest.d.ts +13 -0
- package/dist/api/resources/companies/client/requests/ScrollCompaniesRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/UpdateCompanyRequest.d.ts +15 -0
- package/dist/api/resources/companies/client/requests/UpdateCompanyRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +11 -0
- package/dist/api/resources/companies/client/requests/index.js +2 -0
- package/dist/api/resources/companies/index.d.ts +2 -0
- package/dist/api/resources/companies/index.js +18 -0
- package/dist/api/resources/companies/types/Company.d.ts +72 -0
- package/dist/api/resources/companies/types/Company.js +5 -0
- package/dist/api/resources/companies/types/index.d.ts +1 -0
- package/dist/api/resources/companies/types/index.js +17 -0
- package/dist/api/resources/contacts/client/Client.d.ts +382 -0
- package/dist/api/resources/contacts/client/Client.js +1112 -0
- package/dist/api/resources/contacts/client/index.d.ts +1 -0
- package/dist/api/resources/contacts/client/index.js +17 -0
- package/dist/api/resources/contacts/client/requests/ArchiveContactRequest.d.ts +15 -0
- package/dist/api/resources/contacts/client/requests/ArchiveContactRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.d.ts +35 -0
- package/dist/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/DeleteContactRequest.d.ts +15 -0
- package/dist/api/resources/contacts/client/requests/DeleteContactRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/DetachSubscriptionFromContactRequest.d.ts +20 -0
- package/dist/api/resources/contacts/client/requests/DetachSubscriptionFromContactRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/FindContactRequest.d.ts +15 -0
- package/dist/api/resources/contacts/client/requests/FindContactRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/ListAttachedCompaniesRequest.d.ts +23 -0
- package/dist/api/resources/contacts/client/requests/ListAttachedCompaniesRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/ListAttachedSubscriptionsRequest.d.ts +15 -0
- package/dist/api/resources/contacts/client/requests/ListAttachedSubscriptionsRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/ListContactsRequest.d.ts +21 -0
- package/dist/api/resources/contacts/client/requests/ListContactsRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/ListSegmentsAttachedToContactRequest.d.ts +15 -0
- package/dist/api/resources/contacts/client/requests/ListSegmentsAttachedToContactRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/ListTagsAttachedToContactRequest.d.ts +15 -0
- package/dist/api/resources/contacts/client/requests/ListTagsAttachedToContactRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/MergeContactsRequest.d.ts +16 -0
- package/dist/api/resources/contacts/client/requests/MergeContactsRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/UnarchiveContactRequest.d.ts +15 -0
- package/dist/api/resources/contacts/client/requests/UnarchiveContactRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/UpdateContactRequest.d.ts +39 -0
- package/dist/api/resources/contacts/client/requests/UpdateContactRequest.js +5 -0
- package/dist/api/resources/contacts/client/requests/index.d.ts +13 -0
- package/dist/api/resources/contacts/client/requests/index.js +2 -0
- package/dist/api/resources/contacts/index.d.ts +2 -0
- package/dist/api/resources/contacts/index.js +18 -0
- package/dist/api/resources/contacts/types/Contact.d.ts +103 -0
- package/dist/api/resources/contacts/types/Contact.js +5 -0
- package/dist/api/resources/contacts/types/index.d.ts +1 -0
- package/dist/api/resources/contacts/types/index.js +17 -0
- package/dist/api/resources/conversations/client/Client.d.ts +506 -0
- package/dist/api/resources/conversations/client/Client.js +1132 -0
- package/dist/api/resources/conversations/client/index.d.ts +1 -0
- package/dist/api/resources/conversations/client/index.js +17 -0
- package/dist/api/resources/conversations/client/requests/AttachContactToConversationRequest.d.ts +44 -0
- package/dist/api/resources/conversations/client/requests/AttachContactToConversationRequest.js +5 -0
- package/dist/api/resources/conversations/client/requests/AutoAssignConversationRequest.d.ts +15 -0
- package/dist/api/resources/conversations/client/requests/AutoAssignConversationRequest.js +5 -0
- package/dist/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.d.ts +26 -0
- package/dist/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.js +5 -0
- package/dist/api/resources/conversations/client/requests/CreateConversationRequest.d.ts +48 -0
- package/dist/api/resources/conversations/client/requests/CreateConversationRequest.js +17 -0
- package/dist/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +44 -0
- package/dist/api/resources/conversations/client/requests/DetachContactFromConversationRequest.js +5 -0
- package/dist/api/resources/conversations/client/requests/FindConversationRequest.d.ts +20 -0
- package/dist/api/resources/conversations/client/requests/FindConversationRequest.js +5 -0
- package/dist/api/resources/conversations/client/requests/ListConversationsRequest.d.ts +17 -0
- package/dist/api/resources/conversations/client/requests/ListConversationsRequest.js +5 -0
- package/dist/api/resources/conversations/client/requests/ManageConversationPartsRequest.d.ts +62 -0
- package/dist/api/resources/conversations/client/requests/ManageConversationPartsRequest.js +5 -0
- package/dist/api/resources/conversations/client/requests/ReplyToConversationRequest.d.ts +89 -0
- package/dist/api/resources/conversations/client/requests/ReplyToConversationRequest.js +5 -0
- package/dist/api/resources/conversations/client/requests/UpdateConversationRequest.d.ts +40 -0
- package/dist/api/resources/conversations/client/requests/UpdateConversationRequest.js +5 -0
- package/dist/api/resources/conversations/client/requests/index.d.ts +10 -0
- package/dist/api/resources/conversations/client/requests/index.js +2 -0
- package/dist/api/resources/conversations/index.d.ts +2 -0
- package/dist/api/resources/conversations/index.js +18 -0
- package/dist/api/resources/conversations/types/Conversation.d.ts +68 -0
- package/dist/api/resources/conversations/types/Conversation.js +18 -0
- package/dist/api/resources/conversations/types/ConversationsManageRequestBody.d.ts +19 -0
- package/dist/api/resources/conversations/types/ConversationsManageRequestBody.js +5 -0
- package/dist/api/resources/conversations/types/index.d.ts +2 -0
- package/dist/api/resources/conversations/types/index.js +18 -0
- package/dist/api/resources/dataAttributes/client/Client.d.ts +149 -0
- package/dist/api/resources/dataAttributes/client/Client.js +335 -0
- package/dist/api/resources/dataAttributes/client/index.d.ts +1 -0
- package/dist/api/resources/dataAttributes/client/index.js +17 -0
- package/dist/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.d.ts +84 -0
- package/dist/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.js +21 -0
- package/dist/api/resources/dataAttributes/client/requests/ListDataAttributesRequest.d.ts +18 -0
- package/dist/api/resources/dataAttributes/client/requests/ListDataAttributesRequest.js +5 -0
- package/dist/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +69 -0
- package/dist/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.js +5 -0
- package/dist/api/resources/dataAttributes/client/requests/index.d.ts +3 -0
- package/dist/api/resources/dataAttributes/client/requests/index.js +2 -0
- package/dist/api/resources/dataAttributes/index.d.ts +2 -0
- package/dist/api/resources/dataAttributes/index.js +18 -0
- package/dist/api/resources/dataAttributes/types/DataAttribute.d.ts +63 -0
- package/dist/api/resources/dataAttributes/types/DataAttribute.js +20 -0
- package/dist/api/resources/dataAttributes/types/DataAttributesListRequestModel.d.ts +9 -0
- package/dist/api/resources/dataAttributes/types/DataAttributesListRequestModel.js +11 -0
- package/dist/api/resources/dataAttributes/types/index.d.ts +2 -0
- package/dist/api/resources/dataAttributes/types/index.js +18 -0
- package/dist/api/resources/dataEvents/index.d.ts +1 -0
- package/dist/api/resources/dataEvents/index.js +17 -0
- package/dist/api/resources/dataEvents/types/DataEvent.d.ts +24 -0
- package/dist/api/resources/dataEvents/types/DataEvent.js +5 -0
- package/dist/api/resources/dataEvents/types/index.d.ts +1 -0
- package/dist/api/resources/dataEvents/types/index.js +17 -0
- package/dist/api/resources/dataExport/client/Client.d.ts +108 -0
- package/dist/api/resources/dataExport/client/Client.js +287 -0
- package/dist/api/resources/dataExport/client/index.d.ts +1 -0
- package/dist/api/resources/dataExport/client/index.js +17 -0
- package/dist/api/resources/dataExport/client/requests/CancelDataExportRequest.d.ts +15 -0
- package/dist/api/resources/dataExport/client/requests/CancelDataExportRequest.js +5 -0
- package/dist/api/resources/dataExport/client/requests/CreateDataExportRequest.d.ts +16 -0
- package/dist/api/resources/dataExport/client/requests/CreateDataExportRequest.js +5 -0
- package/dist/api/resources/dataExport/client/requests/DownloadDataExportRequest.d.ts +15 -0
- package/dist/api/resources/dataExport/client/requests/DownloadDataExportRequest.js +5 -0
- package/dist/api/resources/dataExport/client/requests/FindDataExportRequest.d.ts +15 -0
- package/dist/api/resources/dataExport/client/requests/FindDataExportRequest.js +5 -0
- package/dist/api/resources/dataExport/client/requests/index.d.ts +4 -0
- package/dist/api/resources/dataExport/client/requests/index.js +2 -0
- package/dist/api/resources/dataExport/index.d.ts +2 -0
- package/dist/api/resources/dataExport/index.js +18 -0
- package/dist/api/resources/dataExport/types/DataExport.d.ts +30 -0
- package/dist/api/resources/dataExport/types/DataExport.js +17 -0
- package/dist/api/resources/dataExport/types/index.d.ts +1 -0
- package/dist/api/resources/dataExport/types/index.js +17 -0
- package/dist/api/resources/events/client/Client.d.ts +129 -0
- package/dist/api/resources/events/client/Client.js +305 -0
- package/dist/api/resources/events/client/index.d.ts +1 -0
- package/dist/api/resources/events/client/index.js +17 -0
- package/dist/api/resources/events/client/requests/ListEventSummariesRequest.d.ts +28 -0
- package/dist/api/resources/events/client/requests/ListEventSummariesRequest.js +5 -0
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +35 -0
- package/dist/api/resources/events/client/requests/ListEventsRequest.js +5 -0
- package/dist/api/resources/events/client/requests/index.d.ts +2 -0
- package/dist/api/resources/events/client/requests/index.js +2 -0
- package/dist/api/resources/events/index.d.ts +1 -0
- package/dist/api/resources/events/index.js +17 -0
- package/dist/api/resources/helpCenter/index.d.ts +1 -0
- package/dist/api/resources/helpCenter/index.js +17 -0
- package/dist/api/resources/helpCenter/types/Collection.d.ts +34 -0
- package/dist/api/resources/helpCenter/types/Collection.js +5 -0
- package/dist/api/resources/helpCenter/types/HelpCenter.d.ts +22 -0
- package/dist/api/resources/helpCenter/types/HelpCenter.js +5 -0
- package/dist/api/resources/helpCenter/types/HelpCenterList.d.ts +13 -0
- package/dist/api/resources/helpCenter/types/HelpCenterList.js +5 -0
- package/dist/api/resources/helpCenter/types/index.d.ts +3 -0
- package/dist/api/resources/helpCenter/types/index.js +19 -0
- package/dist/api/resources/helpCenters/client/Client.d.ts +62 -0
- package/dist/api/resources/helpCenters/client/Client.js +202 -0
- package/dist/api/resources/helpCenters/client/index.d.ts +1 -0
- package/dist/api/resources/helpCenters/client/index.js +17 -0
- package/dist/api/resources/helpCenters/client/requests/FindHelpCenterRequest.d.ts +15 -0
- package/dist/api/resources/helpCenters/client/requests/FindHelpCenterRequest.js +5 -0
- package/dist/api/resources/helpCenters/client/requests/ListHelpCentersRequest.d.ts +17 -0
- package/dist/api/resources/helpCenters/client/requests/ListHelpCentersRequest.js +5 -0
- package/dist/api/resources/helpCenters/client/requests/index.d.ts +2 -0
- package/dist/api/resources/helpCenters/client/requests/index.js +2 -0
- package/dist/api/resources/helpCenters/index.d.ts +2 -0
- package/dist/api/resources/helpCenters/index.js +18 -0
- package/dist/api/resources/helpCenters/resources/collections/client/Client.d.ts +113 -0
- package/dist/api/resources/helpCenters/resources/collections/client/Client.js +395 -0
- package/dist/api/resources/helpCenters/resources/collections/client/index.d.ts +1 -0
- package/dist/api/resources/helpCenters/resources/collections/client/index.js +17 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/CreateCollectionRequest.d.ts +27 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/CreateCollectionRequest.js +5 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/DeleteCollectionRequest.d.ts +15 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/DeleteCollectionRequest.js +5 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/FindCollectionRequest.d.ts +15 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/FindCollectionRequest.js +5 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/ListCollectionsRequest.d.ts +17 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/ListCollectionsRequest.js +5 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.d.ts +30 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.js +5 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/index.d.ts +5 -0
- package/dist/api/resources/helpCenters/resources/collections/client/requests/index.js +2 -0
- package/dist/api/resources/helpCenters/resources/collections/index.d.ts +1 -0
- package/dist/api/resources/helpCenters/resources/collections/index.js +17 -0
- package/dist/api/resources/helpCenters/resources/index.d.ts +2 -0
- package/dist/api/resources/helpCenters/resources/index.js +31 -0
- package/dist/api/resources/index.d.ts +60 -0
- package/dist/api/resources/index.js +89 -0
- package/dist/api/resources/messages/client/Client.d.ts +127 -0
- package/dist/api/resources/messages/client/Client.js +207 -0
- package/dist/api/resources/messages/client/index.d.ts +1 -0
- package/dist/api/resources/messages/client/index.js +2 -0
- package/dist/api/resources/messages/index.d.ts +2 -0
- package/dist/api/resources/messages/index.js +18 -0
- package/dist/api/resources/messages/types/Message.d.ts +34 -0
- package/dist/api/resources/messages/types/Message.js +15 -0
- package/dist/api/resources/messages/types/index.d.ts +1 -0
- package/dist/api/resources/messages/types/index.js +17 -0
- package/dist/api/resources/news/client/Client.d.ts +36 -0
- package/dist/api/resources/news/client/Client.js +22 -0
- package/dist/api/resources/news/client/index.d.ts +1 -0
- package/dist/api/resources/news/client/index.js +2 -0
- package/dist/api/resources/news/index.d.ts +3 -0
- package/dist/api/resources/news/index.js +19 -0
- package/dist/api/resources/news/resources/feeds/client/Client.d.ts +71 -0
- package/dist/api/resources/news/resources/feeds/client/Client.js +228 -0
- package/dist/api/resources/news/resources/feeds/client/index.d.ts +1 -0
- package/dist/api/resources/news/resources/feeds/client/index.js +17 -0
- package/dist/api/resources/news/resources/feeds/client/requests/FindNewsFeedRequest.d.ts +15 -0
- package/dist/api/resources/news/resources/feeds/client/requests/FindNewsFeedRequest.js +5 -0
- package/dist/api/resources/news/resources/feeds/client/requests/ListNewsFeedItemsRequest.d.ts +15 -0
- package/dist/api/resources/news/resources/feeds/client/requests/ListNewsFeedItemsRequest.js +5 -0
- package/dist/api/resources/news/resources/feeds/client/requests/index.d.ts +2 -0
- package/dist/api/resources/news/resources/feeds/client/requests/index.js +2 -0
- package/dist/api/resources/news/resources/feeds/index.d.ts +1 -0
- package/dist/api/resources/news/resources/feeds/index.js +17 -0
- package/dist/api/resources/news/resources/index.d.ts +4 -0
- package/dist/api/resources/news/resources/index.js +33 -0
- package/dist/api/resources/news/resources/items/client/Client.d.ts +127 -0
- package/dist/api/resources/news/resources/items/client/Client.js +375 -0
- package/dist/api/resources/news/resources/items/client/index.d.ts +1 -0
- package/dist/api/resources/news/resources/items/client/index.js +17 -0
- package/dist/api/resources/news/resources/items/client/requests/DeleteNewsItemRequest.d.ts +15 -0
- package/dist/api/resources/news/resources/items/client/requests/DeleteNewsItemRequest.js +5 -0
- package/dist/api/resources/news/resources/items/client/requests/FindNewsItemRequest.d.ts +15 -0
- package/dist/api/resources/news/resources/items/client/requests/FindNewsItemRequest.js +5 -0
- package/dist/api/resources/news/resources/items/client/requests/UpdateNewsItemRequest.d.ts +34 -0
- package/dist/api/resources/news/resources/items/client/requests/UpdateNewsItemRequest.js +5 -0
- package/dist/api/resources/news/resources/items/client/requests/index.d.ts +3 -0
- package/dist/api/resources/news/resources/items/client/requests/index.js +2 -0
- package/dist/api/resources/news/resources/items/index.d.ts +1 -0
- package/dist/api/resources/news/resources/items/index.js +17 -0
- package/dist/api/resources/news/types/NewsItem.d.ts +47 -0
- package/dist/api/resources/news/types/NewsItem.js +13 -0
- package/dist/api/resources/news/types/Newsfeed.d.ts +20 -0
- package/dist/api/resources/news/types/Newsfeed.js +5 -0
- package/dist/api/resources/news/types/NewsfeedAssignment.d.ts +12 -0
- package/dist/api/resources/news/types/NewsfeedAssignment.js +5 -0
- package/dist/api/resources/news/types/index.d.ts +3 -0
- package/dist/api/resources/news/types/index.js +19 -0
- package/dist/api/resources/notes/client/Client.d.ts +80 -0
- package/dist/api/resources/notes/client/Client.js +272 -0
- package/dist/api/resources/notes/client/index.d.ts +1 -0
- package/dist/api/resources/notes/client/index.js +17 -0
- package/dist/api/resources/notes/client/requests/CreateContactNoteRequest.d.ts +35 -0
- package/dist/api/resources/notes/client/requests/CreateContactNoteRequest.js +5 -0
- package/dist/api/resources/notes/client/requests/FindNoteRequest.d.ts +15 -0
- package/dist/api/resources/notes/client/requests/FindNoteRequest.js +5 -0
- package/dist/api/resources/notes/client/requests/ListContactNotesRequest.d.ts +23 -0
- package/dist/api/resources/notes/client/requests/ListContactNotesRequest.js +5 -0
- package/dist/api/resources/notes/client/requests/index.d.ts +3 -0
- package/dist/api/resources/notes/client/requests/index.js +2 -0
- package/dist/api/resources/notes/index.d.ts +2 -0
- package/dist/api/resources/notes/index.js +18 -0
- package/dist/api/resources/notes/types/Note.d.ts +32 -0
- package/dist/api/resources/notes/types/Note.js +5 -0
- package/dist/api/resources/notes/types/index.d.ts +1 -0
- package/dist/api/resources/notes/types/index.js +17 -0
- package/dist/api/resources/phoneCallRedirects/client/Client.d.ts +64 -0
- package/dist/api/resources/phoneCallRedirects/client/Client.js +142 -0
- package/dist/api/resources/phoneCallRedirects/client/index.d.ts +1 -0
- package/dist/api/resources/phoneCallRedirects/client/index.js +17 -0
- package/dist/api/resources/phoneCallRedirects/client/requests/CreatePhoneCallRedirectRequest.d.ts +46 -0
- package/dist/api/resources/phoneCallRedirects/client/requests/CreatePhoneCallRedirectRequest.js +5 -0
- package/dist/api/resources/phoneCallRedirects/client/requests/index.d.ts +1 -0
- package/dist/api/resources/phoneCallRedirects/client/requests/index.js +2 -0
- package/dist/api/resources/phoneCallRedirects/index.d.ts +1 -0
- package/dist/api/resources/phoneCallRedirects/index.js +17 -0
- package/dist/api/resources/segments/client/Client.d.ts +62 -0
- package/dist/api/resources/segments/client/Client.js +185 -0
- package/dist/api/resources/segments/client/index.d.ts +1 -0
- package/dist/api/resources/segments/client/index.js +17 -0
- package/dist/api/resources/segments/client/requests/FindSegmentRequest.d.ts +15 -0
- package/dist/api/resources/segments/client/requests/FindSegmentRequest.js +5 -0
- package/dist/api/resources/segments/client/requests/ListSegmentsRequest.d.ts +13 -0
- package/dist/api/resources/segments/client/requests/ListSegmentsRequest.js +5 -0
- package/dist/api/resources/segments/client/requests/index.d.ts +2 -0
- package/dist/api/resources/segments/client/requests/index.js +2 -0
- package/dist/api/resources/segments/index.d.ts +2 -0
- package/dist/api/resources/segments/index.js +18 -0
- package/dist/api/resources/segments/types/Segment.d.ts +32 -0
- package/dist/api/resources/segments/types/Segment.js +13 -0
- package/dist/api/resources/segments/types/index.d.ts +1 -0
- package/dist/api/resources/segments/types/index.js +17 -0
- package/dist/api/resources/subscriptionTypes/client/Client.d.ts +46 -0
- package/dist/api/resources/subscriptionTypes/client/Client.js +119 -0
- package/dist/api/resources/subscriptionTypes/client/index.d.ts +1 -0
- package/dist/api/resources/subscriptionTypes/client/index.js +2 -0
- package/dist/api/resources/subscriptionTypes/index.d.ts +2 -0
- package/dist/api/resources/subscriptionTypes/index.js +18 -0
- package/dist/api/resources/subscriptionTypes/types/SubscriptionType.d.ts +49 -0
- package/dist/api/resources/subscriptionTypes/types/SubscriptionType.js +25 -0
- package/dist/api/resources/subscriptionTypes/types/index.d.ts +1 -0
- package/dist/api/resources/subscriptionTypes/types/index.js +17 -0
- package/dist/api/resources/tags/client/Client.d.ts +234 -0
- package/dist/api/resources/tags/client/Client.js +723 -0
- package/dist/api/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/tags/client/index.js +17 -0
- package/dist/api/resources/tags/client/requests/DeleteTagRequest.d.ts +15 -0
- package/dist/api/resources/tags/client/requests/DeleteTagRequest.js +5 -0
- package/dist/api/resources/tags/client/requests/FindTagRequest.d.ts +15 -0
- package/dist/api/resources/tags/client/requests/FindTagRequest.js +5 -0
- package/dist/api/resources/tags/client/requests/TagContactRequest.d.ts +30 -0
- package/dist/api/resources/tags/client/requests/TagContactRequest.js +5 -0
- package/dist/api/resources/tags/client/requests/TagConversationRequest.d.ts +28 -0
- package/dist/api/resources/tags/client/requests/TagConversationRequest.js +5 -0
- package/dist/api/resources/tags/client/requests/TagTicketRequest.d.ts +28 -0
- package/dist/api/resources/tags/client/requests/TagTicketRequest.js +5 -0
- package/dist/api/resources/tags/client/requests/UntagContactRequest.d.ts +20 -0
- package/dist/api/resources/tags/client/requests/UntagContactRequest.js +5 -0
- package/dist/api/resources/tags/client/requests/UntagConversationRequest.d.ts +37 -0
- package/dist/api/resources/tags/client/requests/UntagConversationRequest.js +5 -0
- package/dist/api/resources/tags/client/requests/UntagTicketRequest.d.ts +37 -0
- package/dist/api/resources/tags/client/requests/UntagTicketRequest.js +5 -0
- package/dist/api/resources/tags/client/requests/index.d.ts +8 -0
- package/dist/api/resources/tags/client/requests/index.js +2 -0
- package/dist/api/resources/tags/index.d.ts +2 -0
- package/dist/api/resources/tags/index.js +18 -0
- package/dist/api/resources/tags/types/Tag.d.ts +18 -0
- package/dist/api/resources/tags/types/Tag.js +5 -0
- package/dist/api/resources/tags/types/TagsCreateRequestBody.d.ts +5 -0
- package/dist/api/resources/tags/types/TagsCreateRequestBody.js +5 -0
- package/dist/api/resources/tags/types/index.d.ts +2 -0
- package/dist/api/resources/tags/types/index.js +18 -0
- package/dist/api/resources/teams/client/Client.d.ts +61 -0
- package/dist/api/resources/teams/client/Client.js +178 -0
- package/dist/api/resources/teams/client/index.d.ts +1 -0
- package/dist/api/resources/teams/client/index.js +17 -0
- package/dist/api/resources/teams/client/requests/FindTeamRequest.d.ts +15 -0
- package/dist/api/resources/teams/client/requests/FindTeamRequest.js +5 -0
- package/dist/api/resources/teams/client/requests/index.d.ts +1 -0
- package/dist/api/resources/teams/client/requests/index.js +2 -0
- package/dist/api/resources/teams/index.d.ts +2 -0
- package/dist/api/resources/teams/index.js +18 -0
- package/dist/api/resources/teams/types/Team.d.ts +18 -0
- package/dist/api/resources/teams/types/Team.js +5 -0
- package/dist/api/resources/teams/types/index.d.ts +1 -0
- package/dist/api/resources/teams/types/index.js +17 -0
- package/dist/api/resources/ticketTypes/client/Client.d.ts +104 -0
- package/dist/api/resources/ticketTypes/client/Client.js +317 -0
- package/dist/api/resources/ticketTypes/client/index.d.ts +1 -0
- package/dist/api/resources/ticketTypes/client/index.js +17 -0
- package/dist/api/resources/ticketTypes/client/requests/CreateTicketTypeRequest.d.ts +35 -0
- package/dist/api/resources/ticketTypes/client/requests/CreateTicketTypeRequest.js +14 -0
- package/dist/api/resources/ticketTypes/client/requests/FindTicketTypeRequest.d.ts +15 -0
- package/dist/api/resources/ticketTypes/client/requests/FindTicketTypeRequest.js +5 -0
- package/dist/api/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.ts +39 -0
- package/dist/api/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.js +14 -0
- package/dist/api/resources/ticketTypes/client/requests/index.d.ts +3 -0
- package/dist/api/resources/ticketTypes/client/requests/index.js +2 -0
- package/dist/api/resources/ticketTypes/index.d.ts +2 -0
- package/dist/api/resources/ticketTypes/index.js +18 -0
- package/dist/api/resources/ticketTypes/resources/attributes/client/Client.d.ts +66 -0
- package/dist/api/resources/ticketTypes/resources/attributes/client/Client.js +195 -0
- package/dist/api/resources/ticketTypes/resources/attributes/client/index.d.ts +1 -0
- package/dist/api/resources/ticketTypes/resources/attributes/client/index.js +17 -0
- package/dist/api/resources/ticketTypes/resources/attributes/client/requests/CreateTicketTypeAttributeRequest.d.ts +54 -0
- package/dist/api/resources/ticketTypes/resources/attributes/client/requests/CreateTicketTypeAttributeRequest.js +18 -0
- package/dist/api/resources/ticketTypes/resources/attributes/client/requests/UpdateTicketTypeAttributeRequest.d.ts +41 -0
- package/dist/api/resources/ticketTypes/resources/attributes/client/requests/UpdateTicketTypeAttributeRequest.js +5 -0
- package/dist/api/resources/ticketTypes/resources/attributes/client/requests/index.d.ts +2 -0
- package/dist/api/resources/ticketTypes/resources/attributes/client/requests/index.js +2 -0
- package/dist/api/resources/ticketTypes/resources/attributes/index.d.ts +1 -0
- package/dist/api/resources/ticketTypes/resources/attributes/index.js +17 -0
- package/dist/api/resources/ticketTypes/resources/index.d.ts +2 -0
- package/dist/api/resources/ticketTypes/resources/index.js +31 -0
- package/dist/api/resources/tickets/client/Client.d.ts +267 -0
- package/dist/api/resources/tickets/client/Client.js +534 -0
- package/dist/api/resources/tickets/client/index.d.ts +1 -0
- package/dist/api/resources/tickets/client/index.js +17 -0
- package/dist/api/resources/tickets/client/requests/CreateTicketRequest.d.ts +40 -0
- package/dist/api/resources/tickets/client/requests/CreateTicketRequest.js +5 -0
- package/dist/api/resources/tickets/client/requests/FindTicketRequest.d.ts +15 -0
- package/dist/api/resources/tickets/client/requests/FindTicketRequest.js +5 -0
- package/dist/api/resources/tickets/client/requests/ReplyToTicketRequest.d.ts +81 -0
- package/dist/api/resources/tickets/client/requests/ReplyToTicketRequest.js +5 -0
- package/dist/api/resources/tickets/client/requests/UpdateTicketRequest.d.ts +82 -0
- package/dist/api/resources/tickets/client/requests/UpdateTicketRequest.js +14 -0
- package/dist/api/resources/tickets/client/requests/index.d.ts +4 -0
- package/dist/api/resources/tickets/client/requests/index.js +2 -0
- package/dist/api/resources/tickets/index.d.ts +2 -0
- package/dist/api/resources/tickets/index.js +18 -0
- package/dist/api/resources/tickets/types/Ticket.d.ts +63 -0
- package/dist/api/resources/tickets/types/Ticket.js +20 -0
- package/dist/api/resources/tickets/types/TicketContacts.d.ts +13 -0
- package/dist/api/resources/tickets/types/TicketContacts.js +5 -0
- package/dist/api/resources/tickets/types/TicketPart.d.ts +56 -0
- package/dist/api/resources/tickets/types/TicketPart.js +21 -0
- package/dist/api/resources/tickets/types/TicketType.d.ts +41 -0
- package/dist/api/resources/tickets/types/TicketType.js +14 -0
- package/dist/api/resources/tickets/types/TicketsReplyRequestBody.d.ts +5 -0
- package/dist/api/resources/tickets/types/TicketsReplyRequestBody.js +5 -0
- package/dist/api/resources/tickets/types/index.d.ts +5 -0
- package/dist/api/resources/tickets/types/index.js +21 -0
- package/dist/api/resources/visitors/client/Client.d.ts +101 -0
- package/dist/api/resources/visitors/client/Client.js +266 -0
- package/dist/api/resources/visitors/client/index.d.ts +1 -0
- package/dist/api/resources/visitors/client/index.js +17 -0
- package/dist/api/resources/visitors/client/requests/FindVisitorRequest.d.ts +15 -0
- package/dist/api/resources/visitors/client/requests/FindVisitorRequest.js +5 -0
- package/dist/api/resources/visitors/client/requests/MergeVisitorToContactRequest.d.ts +46 -0
- package/dist/api/resources/visitors/client/requests/MergeVisitorToContactRequest.js +5 -0
- package/dist/api/resources/visitors/client/requests/index.d.ts +2 -0
- package/dist/api/resources/visitors/client/requests/index.js +2 -0
- package/dist/api/resources/visitors/index.d.ts +1 -0
- package/dist/api/resources/visitors/index.js +17 -0
- package/dist/api/types/ActionComponent.d.ts +16 -0
- package/dist/api/types/ActionComponent.js +5 -0
- package/dist/api/types/ActivityLog.d.ts +104 -0
- package/dist/api/types/ActivityLog.js +78 -0
- package/dist/api/types/ActivityLogList.d.ts +14 -0
- package/dist/api/types/ActivityLogList.js +5 -0
- package/dist/api/types/ActivityLogMetadata.d.ts +26 -0
- package/dist/api/types/ActivityLogMetadata.js +5 -0
- package/dist/api/types/AddressableList.d.ts +14 -0
- package/dist/api/types/AddressableList.js +5 -0
- package/dist/api/types/AdminList.d.ts +13 -0
- package/dist/api/types/AdminList.js +5 -0
- package/dist/api/types/AdminPriorityLevel.d.ts +12 -0
- package/dist/api/types/AdminPriorityLevel.js +5 -0
- package/dist/api/types/AdminReplyConversationRequest.d.ts +28 -0
- package/dist/api/types/AdminReplyConversationRequest.js +13 -0
- package/dist/api/types/AdminReplyTicketRequest.d.ts +37 -0
- package/dist/api/types/AdminReplyTicketRequest.js +14 -0
- package/dist/api/types/AdminWithApp.d.ts +44 -0
- package/dist/api/types/AdminWithApp.js +5 -0
- package/dist/api/types/App.d.ts +22 -0
- package/dist/api/types/App.js +5 -0
- package/dist/api/types/ArticleContent.d.ts +36 -0
- package/dist/api/types/ArticleContent.js +13 -0
- package/dist/api/types/ArticleList.d.ts +16 -0
- package/dist/api/types/ArticleList.js +5 -0
- package/dist/api/types/ArticleStatistics.d.ts +22 -0
- package/dist/api/types/ArticleStatistics.js +5 -0
- package/dist/api/types/ArticleTranslatedContent.d.ts +85 -0
- package/dist/api/types/ArticleTranslatedContent.js +5 -0
- package/dist/api/types/AssignConversationRequest.d.ts +22 -0
- package/dist/api/types/AssignConversationRequest.js +13 -0
- package/dist/api/types/ButtonComponent.d.ts +33 -0
- package/dist/api/types/ButtonComponent.js +14 -0
- package/dist/api/types/CanvasObject.d.ts +20 -0
- package/dist/api/types/CanvasObject.js +5 -0
- package/dist/api/types/CheckboxComponent.d.ts +36 -0
- package/dist/api/types/CheckboxComponent.js +14 -0
- package/dist/api/types/CheckboxOption.d.ts +16 -0
- package/dist/api/types/CheckboxOption.js +5 -0
- package/dist/api/types/CloseConversationRequest.d.ts +13 -0
- package/dist/api/types/CloseConversationRequest.js +5 -0
- package/dist/api/types/CollectionList.d.ts +16 -0
- package/dist/api/types/CollectionList.js +5 -0
- package/dist/api/types/CompanyAttachedContacts.d.ts +16 -0
- package/dist/api/types/CompanyAttachedContacts.js +5 -0
- package/dist/api/types/CompanyAttachedSegments.d.ts +13 -0
- package/dist/api/types/CompanyAttachedSegments.js +5 -0
- package/dist/api/types/CompanyList.d.ts +16 -0
- package/dist/api/types/CompanyList.js +5 -0
- package/dist/api/types/CompanyScroll.d.ts +17 -0
- package/dist/api/types/CompanyScroll.js +5 -0
- package/dist/api/types/Component.d.ts +43 -0
- package/dist/api/types/Component.js +5 -0
- package/dist/api/types/ConfigureRequest.d.ts +22 -0
- package/dist/api/types/ConfigureRequest.js +5 -0
- package/dist/api/types/ConfigureResponse.d.ts +12 -0
- package/dist/api/types/ConfigureResponse.js +5 -0
- package/dist/api/types/ContactArchived.d.ts +16 -0
- package/dist/api/types/ContactArchived.js +5 -0
- package/dist/api/types/ContactAttachedCompanies.d.ts +16 -0
- package/dist/api/types/ContactAttachedCompanies.js +5 -0
- package/dist/api/types/ContactCompanies.d.ts +19 -0
- package/dist/api/types/ContactCompanies.js +5 -0
- package/dist/api/types/ContactCompany.d.ts +14 -0
- package/dist/api/types/ContactCompany.js +5 -0
- package/dist/api/types/ContactDeleted.d.ts +16 -0
- package/dist/api/types/ContactDeleted.js +5 -0
- package/dist/api/types/ContactList.d.ts +16 -0
- package/dist/api/types/ContactList.js +5 -0
- package/dist/api/types/ContactLocation.d.ts +16 -0
- package/dist/api/types/ContactLocation.js +5 -0
- package/dist/api/types/ContactNotes.d.ts +17 -0
- package/dist/api/types/ContactNotes.js +5 -0
- package/dist/api/types/ContactReference.d.ts +14 -0
- package/dist/api/types/ContactReference.js +5 -0
- package/dist/api/types/ContactReplyBaseRequest.d.ts +13 -0
- package/dist/api/types/ContactReplyBaseRequest.js +5 -0
- package/dist/api/types/ContactReplyConversationRequest.d.ts +5 -0
- package/dist/api/types/ContactReplyConversationRequest.js +5 -0
- package/dist/api/types/ContactReplyEmailRequest.d.ts +13 -0
- package/dist/api/types/ContactReplyEmailRequest.js +5 -0
- package/dist/api/types/ContactReplyIntercomUserIdRequest.d.ts +13 -0
- package/dist/api/types/ContactReplyIntercomUserIdRequest.js +5 -0
- package/dist/api/types/ContactReplyTicketEmailRequest.d.ts +11 -0
- package/dist/api/types/ContactReplyTicketEmailRequest.js +5 -0
- package/dist/api/types/ContactReplyTicketIntercomUserIdRequest.d.ts +11 -0
- package/dist/api/types/ContactReplyTicketIntercomUserIdRequest.js +5 -0
- package/dist/api/types/ContactReplyTicketRequest.d.ts +5 -0
- package/dist/api/types/ContactReplyTicketRequest.js +5 -0
- package/dist/api/types/ContactReplyTicketUserIdRequest.d.ts +11 -0
- package/dist/api/types/ContactReplyTicketUserIdRequest.js +5 -0
- package/dist/api/types/ContactReplyUserIdRequest.d.ts +13 -0
- package/dist/api/types/ContactReplyUserIdRequest.js +5 -0
- package/dist/api/types/ContactSegments.d.ts +13 -0
- package/dist/api/types/ContactSegments.js +5 -0
- package/dist/api/types/ContactSocialProfiles.d.ts +11 -0
- package/dist/api/types/ContactSocialProfiles.js +5 -0
- package/dist/api/types/ContactSubscriptionTypes.d.ts +17 -0
- package/dist/api/types/ContactSubscriptionTypes.js +5 -0
- package/dist/api/types/ContactTags.d.ts +17 -0
- package/dist/api/types/ContactTags.js +5 -0
- package/dist/api/types/ContactUnarchived.d.ts +16 -0
- package/dist/api/types/ContactUnarchived.js +5 -0
- package/dist/api/types/ContentObject.d.ts +13 -0
- package/dist/api/types/ContentObject.js +5 -0
- package/dist/api/types/ContentSourcesList.d.ts +11 -0
- package/dist/api/types/ContentSourcesList.js +5 -0
- package/dist/api/types/Context.d.ts +34 -0
- package/dist/api/types/Context.js +15 -0
- package/dist/api/types/ConversationAttachmentFiles.d.ts +14 -0
- package/dist/api/types/ConversationAttachmentFiles.js +5 -0
- package/dist/api/types/ConversationContacts.d.ts +12 -0
- package/dist/api/types/ConversationContacts.js +5 -0
- package/dist/api/types/ConversationFirstContactReply.d.ts +14 -0
- package/dist/api/types/ConversationFirstContactReply.js +5 -0
- package/dist/api/types/ConversationPart.d.ts +32 -0
- package/dist/api/types/ConversationPart.js +5 -0
- package/dist/api/types/ConversationPartAuthor.d.ts +16 -0
- package/dist/api/types/ConversationPartAuthor.js +5 -0
- package/dist/api/types/ConversationParts.d.ts +15 -0
- package/dist/api/types/ConversationParts.js +5 -0
- package/dist/api/types/ConversationRating.d.ts +17 -0
- package/dist/api/types/ConversationRating.js +5 -0
- package/dist/api/types/ConversationSource.d.ts +44 -0
- package/dist/api/types/ConversationSource.js +21 -0
- package/dist/api/types/ConversationStatistics.d.ts +46 -0
- package/dist/api/types/ConversationStatistics.js +5 -0
- package/dist/api/types/ConversationTeammates.d.ts +13 -0
- package/dist/api/types/ConversationTeammates.js +5 -0
- package/dist/api/types/CreateContactRequest.d.ts +37 -0
- package/dist/api/types/CreateContactRequest.js +5 -0
- package/dist/api/types/CreateDataEventRequest.d.ts +22 -0
- package/dist/api/types/CreateDataEventRequest.js +5 -0
- package/dist/api/types/CreateMessageRequest.d.ts +104 -0
- package/dist/api/types/CreateMessageRequest.js +29 -0
- package/dist/api/types/CreateOrUpdateTagRequest.d.ts +12 -0
- package/dist/api/types/CreateOrUpdateTagRequest.js +5 -0
- package/dist/api/types/CreateTicketReplyWithCommentRequest.d.ts +5 -0
- package/dist/api/types/CreateTicketReplyWithCommentRequest.js +5 -0
- package/dist/api/types/CurrentCanvas.d.ts +11 -0
- package/dist/api/types/CurrentCanvas.js +5 -0
- package/dist/api/types/CursorPages.d.ts +19 -0
- package/dist/api/types/CursorPages.js +5 -0
- package/dist/api/types/CustomAttributes.d.ts +7 -0
- package/dist/api/types/CustomAttributes.js +5 -0
- package/dist/api/types/CustomerRequest.d.ts +10 -0
- package/dist/api/types/CustomerRequest.js +5 -0
- package/dist/api/types/DataAttributeList.d.ts +13 -0
- package/dist/api/types/DataAttributeList.js +5 -0
- package/dist/api/types/DataEventList.d.ts +24 -0
- package/dist/api/types/DataEventList.js +5 -0
- package/dist/api/types/DataEventSummary.d.ts +19 -0
- package/dist/api/types/DataEventSummary.js +5 -0
- package/dist/api/types/DataEventSummaryItem.d.ts +18 -0
- package/dist/api/types/DataEventSummaryItem.js +5 -0
- package/dist/api/types/DataExportCsv.d.ts +60 -0
- package/dist/api/types/DataExportCsv.js +5 -0
- package/dist/api/types/DataTableComponent.d.ts +11 -0
- package/dist/api/types/DataTableComponent.js +5 -0
- package/dist/api/types/DataTableItem.d.ts +14 -0
- package/dist/api/types/DataTableItem.js +5 -0
- package/dist/api/types/DeletedArticleObject.d.ts +14 -0
- package/dist/api/types/DeletedArticleObject.js +5 -0
- package/dist/api/types/DeletedCollectionObject.d.ts +14 -0
- package/dist/api/types/DeletedCollectionObject.js +5 -0
- package/dist/api/types/DeletedCompanyObject.d.ts +14 -0
- package/dist/api/types/DeletedCompanyObject.js +5 -0
- package/dist/api/types/DeletedObject.d.ts +14 -0
- package/dist/api/types/DeletedObject.js +5 -0
- package/dist/api/types/DividerComponent.d.ts +12 -0
- package/dist/api/types/DividerComponent.js +5 -0
- package/dist/api/types/DropdownComponent.d.ts +34 -0
- package/dist/api/types/DropdownComponent.js +14 -0
- package/dist/api/types/DropdownOption.d.ts +16 -0
- package/dist/api/types/DropdownOption.js +5 -0
- package/dist/api/types/Error_.d.ts +27 -0
- package/dist/api/types/Error_.js +5 -0
- package/dist/api/types/Event.d.ts +10 -0
- package/dist/api/types/Event.js +5 -0
- package/dist/api/types/FileAttribute.d.ts +21 -0
- package/dist/api/types/FileAttribute.js +5 -0
- package/dist/api/types/GroupContent.d.ts +14 -0
- package/dist/api/types/GroupContent.js +5 -0
- package/dist/api/types/GroupTranslatedContent.d.ts +85 -0
- package/dist/api/types/GroupTranslatedContent.js +5 -0
- package/dist/api/types/ImageComponent.d.ts +40 -0
- package/dist/api/types/ImageComponent.js +15 -0
- package/dist/api/types/InitializeRequest.d.ts +23 -0
- package/dist/api/types/InitializeRequest.js +5 -0
- package/dist/api/types/InitializeResponse.d.ts +11 -0
- package/dist/api/types/InitializeResponse.js +5 -0
- package/dist/api/types/InputComponent.d.ts +37 -0
- package/dist/api/types/InputComponent.js +14 -0
- package/dist/api/types/LinkedObject.d.ts +24 -0
- package/dist/api/types/LinkedObject.js +13 -0
- package/dist/api/types/LinkedObjectList.d.ts +17 -0
- package/dist/api/types/LinkedObjectList.js +5 -0
- package/dist/api/types/ListComponent.d.ts +23 -0
- package/dist/api/types/ListComponent.js +5 -0
- package/dist/api/types/ListItem.d.ts +25 -0
- package/dist/api/types/ListItem.js +5 -0
- package/dist/api/types/ListItemWithImage.d.ts +12 -0
- package/dist/api/types/ListItemWithImage.js +5 -0
- package/dist/api/types/ListItemWithoutImage.d.ts +12 -0
- package/dist/api/types/ListItemWithoutImage.js +5 -0
- package/dist/api/types/LiveCanvasRequest.d.ts +21 -0
- package/dist/api/types/LiveCanvasRequest.js +5 -0
- package/dist/api/types/LiveCanvasResponse.d.ts +11 -0
- package/dist/api/types/LiveCanvasResponse.js +5 -0
- package/dist/api/types/MultipleFilterSearchRequest.d.ts +22 -0
- package/dist/api/types/MultipleFilterSearchRequest.js +13 -0
- package/dist/api/types/MultipleOrSingleFilterSearchRequest.d.ts +5 -0
- package/dist/api/types/MultipleOrSingleFilterSearchRequest.js +5 -0
- package/dist/api/types/NewsItemRequest.d.ts +35 -0
- package/dist/api/types/NewsItemRequest.js +13 -0
- package/dist/api/types/NoteList.d.ts +16 -0
- package/dist/api/types/NoteList.js +5 -0
- package/dist/api/types/OpenConversationRequest.d.ts +10 -0
- package/dist/api/types/OpenConversationRequest.js +5 -0
- package/dist/api/types/PagesLink.d.ts +16 -0
- package/dist/api/types/PagesLink.js +5 -0
- package/dist/api/types/PaginatedConversationResponse.d.ts +16 -0
- package/dist/api/types/PaginatedConversationResponse.js +5 -0
- package/dist/api/types/PaginatedNewsItemResponse.d.ts +16 -0
- package/dist/api/types/PaginatedNewsItemResponse.js +5 -0
- package/dist/api/types/PaginatedNewsfeedResponse.d.ts +16 -0
- package/dist/api/types/PaginatedNewsfeedResponse.js +5 -0
- package/dist/api/types/PartAttachment.d.ts +22 -0
- package/dist/api/types/PartAttachment.js +5 -0
- package/dist/api/types/PhoneSwitch.d.ts +12 -0
- package/dist/api/types/PhoneSwitch.js +5 -0
- package/dist/api/types/RedactConversationRequest.d.ts +27 -0
- package/dist/api/types/RedactConversationRequest.js +5 -0
- package/dist/api/types/Reference.d.ts +12 -0
- package/dist/api/types/Reference.js +5 -0
- package/dist/api/types/ReplyConversationRequest.d.ts +5 -0
- package/dist/api/types/ReplyConversationRequest.js +5 -0
- package/dist/api/types/ResultsResponse.d.ts +10 -0
- package/dist/api/types/ResultsResponse.js +5 -0
- package/dist/api/types/SearchRequest.d.ts +14 -0
- package/dist/api/types/SearchRequest.js +5 -0
- package/dist/api/types/SegmentList.d.ts +15 -0
- package/dist/api/types/SegmentList.js +5 -0
- package/dist/api/types/SheetActionComponent.d.ts +12 -0
- package/dist/api/types/SheetActionComponent.js +5 -0
- package/dist/api/types/SingleFilterSearchRequest.d.ts +36 -0
- package/dist/api/types/SingleFilterSearchRequest.js +21 -0
- package/dist/api/types/SingleSelectComponent.d.ts +39 -0
- package/dist/api/types/SingleSelectComponent.js +14 -0
- package/dist/api/types/SingleSelectOption.d.ts +16 -0
- package/dist/api/types/SingleSelectOption.js +5 -0
- package/dist/api/types/SlaApplied.d.ts +35 -0
- package/dist/api/types/SlaApplied.js +15 -0
- package/dist/api/types/SnoozeConversationRequest.d.ts +12 -0
- package/dist/api/types/SnoozeConversationRequest.js +5 -0
- package/dist/api/types/SocialProfile.d.ts +14 -0
- package/dist/api/types/SocialProfile.js +5 -0
- package/dist/api/types/SpacerComponent.d.ts +25 -0
- package/dist/api/types/SpacerComponent.js +16 -0
- package/dist/api/types/StartingAfterPaging.d.ts +9 -0
- package/dist/api/types/StartingAfterPaging.js +5 -0
- package/dist/api/types/SubmitActionComponent.d.ts +8 -0
- package/dist/api/types/SubmitActionComponent.js +5 -0
- package/dist/api/types/SubmitRequest.d.ts +29 -0
- package/dist/api/types/SubmitRequest.js +5 -0
- package/dist/api/types/SubmitResponse.d.ts +23 -0
- package/dist/api/types/SubmitResponse.js +5 -0
- package/dist/api/types/SubscriptionTypeList.d.ts +13 -0
- package/dist/api/types/SubscriptionTypeList.js +5 -0
- package/dist/api/types/TagCompanyRequest.d.ts +23 -0
- package/dist/api/types/TagCompanyRequest.js +5 -0
- package/dist/api/types/TagList.d.ts +13 -0
- package/dist/api/types/TagList.js +5 -0
- package/dist/api/types/TagMultipleUsersRequest.d.ts +20 -0
- package/dist/api/types/TagMultipleUsersRequest.js +5 -0
- package/dist/api/types/Tags.d.ts +13 -0
- package/dist/api/types/Tags.js +5 -0
- package/dist/api/types/TeamList.d.ts +13 -0
- package/dist/api/types/TeamList.js +5 -0
- package/dist/api/types/TeamPriorityLevel.d.ts +12 -0
- package/dist/api/types/TeamPriorityLevel.js +5 -0
- package/dist/api/types/TextAreaComponent.d.ts +22 -0
- package/dist/api/types/TextAreaComponent.js +5 -0
- package/dist/api/types/TextComponent.d.ts +39 -0
- package/dist/api/types/TextComponent.js +20 -0
- package/dist/api/types/TicketCustomAttributes.d.ts +11 -0
- package/dist/api/types/TicketCustomAttributes.js +5 -0
- package/dist/api/types/TicketList.d.ts +16 -0
- package/dist/api/types/TicketList.js +5 -0
- package/dist/api/types/TicketPartAuthor.d.ts +28 -0
- package/dist/api/types/TicketPartAuthor.js +15 -0
- package/dist/api/types/TicketParts.d.ts +15 -0
- package/dist/api/types/TicketParts.js +5 -0
- package/dist/api/types/TicketReply.d.ts +37 -0
- package/dist/api/types/TicketReply.js +14 -0
- package/dist/api/types/TicketRequestCustomAttributes.d.ts +10 -0
- package/dist/api/types/TicketRequestCustomAttributes.js +5 -0
- package/dist/api/types/TicketTypeAttribute.d.ts +57 -0
- package/dist/api/types/TicketTypeAttribute.js +18 -0
- package/dist/api/types/TicketTypeAttributeList.d.ts +13 -0
- package/dist/api/types/TicketTypeAttributeList.js +5 -0
- package/dist/api/types/TicketTypeList.d.ts +13 -0
- package/dist/api/types/TicketTypeList.js +5 -0
- package/dist/api/types/Translation.d.ts +14 -0
- package/dist/api/types/Translation.js +5 -0
- package/dist/api/types/UntagCompanyRequest.d.ts +25 -0
- package/dist/api/types/UntagCompanyRequest.js +5 -0
- package/dist/api/types/UpdateVisitorRequest.d.ts +15 -0
- package/dist/api/types/UpdateVisitorRequest.js +5 -0
- package/dist/api/types/UrlActionComponent.d.ts +10 -0
- package/dist/api/types/UrlActionComponent.js +5 -0
- package/dist/api/types/Visitor.d.ts +128 -0
- package/dist/api/types/Visitor.js +5 -0
- package/dist/api/types/VisitorDeletedObject.d.ts +14 -0
- package/dist/api/types/VisitorDeletedObject.js +5 -0
- package/dist/api/types/index.d.ts +158 -0
- package/dist/api/types/index.js +174 -0
- package/dist/api/version.d.ts +5 -0
- package/dist/api/version.js +5 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BasicAuth.js +26 -0
- package/dist/core/auth/BearerToken.d.ts +5 -0
- package/dist/core/auth/BearerToken.js +15 -0
- package/dist/core/auth/index.d.ts +2 -0
- package/dist/core/auth/index.js +7 -0
- package/dist/core/fetcher/APIResponse.d.ts +10 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/Fetcher.d.ts +39 -0
- package/dist/core/fetcher/Fetcher.js +99 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +22 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +13 -0
- package/dist/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/core/fetcher/getFetchFn.js +59 -0
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/fetcher/getHeader.js +12 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +23 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +55 -0
- package/dist/core/fetcher/index.d.ts +5 -0
- package/dist/core/fetcher/index.js +9 -0
- package/dist/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/core/fetcher/makeRequest.js +42 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +41 -0
- package/dist/core/fetcher/signals.d.ts +12 -0
- package/dist/core/fetcher/signals.js +37 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
- package/dist/core/index.d.ts +5 -0
- package/dist/core/index.js +21 -0
- package/dist/core/pagination/Page.d.ts +29 -0
- package/dist/core/pagination/Page.js +94 -0
- package/dist/core/pagination/Pageable.d.ts +12 -0
- package/dist/core/pagination/Pageable.js +10 -0
- package/dist/core/pagination/index.d.ts +2 -0
- package/dist/core/pagination/index.js +7 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +9 -0
- package/dist/core/runtime/runtime.js +93 -0
- package/dist/core/utils/index.d.ts +1 -0
- package/dist/core/utils/index.js +5 -0
- package/dist/core/utils/setObjectProperty.d.ts +11 -0
- package/dist/core/utils/setObjectProperty.js +43 -0
- package/dist/environments.d.ts +9 -0
- package/dist/environments.js +11 -0
- package/dist/errors/IntercomError.d.ts +12 -0
- package/dist/errors/IntercomError.js +32 -0
- package/dist/errors/IntercomTimeoutError.d.ts +6 -0
- package/dist/errors/IntercomTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +34 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +4 -0
- package/environments.d.ts +9 -0
- package/environments.js +11 -0
- package/errors/IntercomError.d.ts +12 -0
- package/errors/IntercomError.js +32 -0
- package/errors/IntercomTimeoutError.d.ts +6 -0
- package/errors/IntercomTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -0
- package/errors/index.js +7 -0
- package/index.d.ts +4 -296
- package/index.js +9 -145
- package/jest.config.js +5 -0
- package/package.json +45 -99
- package/reference.md +7817 -0
- package/version.d.ts +1 -2
- package/version.js +2 -3
- package/CHANGELOG.md +0 -85
- package/_shims/MultipartBody.d.ts +0 -9
- package/_shims/MultipartBody.d.ts.map +0 -1
- package/_shims/MultipartBody.js +0 -16
- package/_shims/MultipartBody.js.map +0 -1
- package/_shims/MultipartBody.mjs +0 -12
- package/_shims/MultipartBody.mjs.map +0 -1
- package/_shims/README.md +0 -46
- package/_shims/auto/runtime-bun.d.ts +0 -5
- package/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/_shims/auto/runtime-bun.js +0 -21
- package/_shims/auto/runtime-bun.js.map +0 -1
- package/_shims/auto/runtime-bun.mjs +0 -2
- package/_shims/auto/runtime-bun.mjs.map +0 -1
- package/_shims/auto/runtime-node.d.ts +0 -5
- package/_shims/auto/runtime-node.d.ts.map +0 -1
- package/_shims/auto/runtime-node.js +0 -21
- package/_shims/auto/runtime-node.js.map +0 -1
- package/_shims/auto/runtime-node.mjs +0 -2
- package/_shims/auto/runtime-node.mjs.map +0 -1
- package/_shims/auto/runtime.d.ts +0 -5
- package/_shims/auto/runtime.d.ts.map +0 -1
- package/_shims/auto/runtime.js +0 -21
- package/_shims/auto/runtime.js.map +0 -1
- package/_shims/auto/runtime.mjs +0 -2
- package/_shims/auto/runtime.mjs.map +0 -1
- package/_shims/auto/types-node.d.ts +0 -5
- package/_shims/auto/types-node.d.ts.map +0 -1
- package/_shims/auto/types-node.js +0 -21
- package/_shims/auto/types-node.js.map +0 -1
- package/_shims/auto/types-node.mjs +0 -2
- package/_shims/auto/types-node.mjs.map +0 -1
- package/_shims/auto/types.d.ts +0 -101
- package/_shims/auto/types.js +0 -3
- package/_shims/auto/types.mjs +0 -3
- package/_shims/bun-runtime.d.ts +0 -6
- package/_shims/bun-runtime.d.ts.map +0 -1
- package/_shims/bun-runtime.js +0 -14
- package/_shims/bun-runtime.js.map +0 -1
- package/_shims/bun-runtime.mjs +0 -10
- package/_shims/bun-runtime.mjs.map +0 -1
- package/_shims/index.d.ts +0 -81
- package/_shims/index.js +0 -13
- package/_shims/index.mjs +0 -7
- package/_shims/manual-types.d.ts +0 -12
- package/_shims/manual-types.js +0 -3
- package/_shims/manual-types.mjs +0 -3
- package/_shims/node-runtime.d.ts +0 -3
- package/_shims/node-runtime.d.ts.map +0 -1
- package/_shims/node-runtime.js +0 -89
- package/_shims/node-runtime.js.map +0 -1
- package/_shims/node-runtime.mjs +0 -56
- package/_shims/node-runtime.mjs.map +0 -1
- package/_shims/node-types.d.ts +0 -42
- package/_shims/node-types.js +0 -3
- package/_shims/node-types.mjs +0 -3
- package/_shims/registry.d.ts +0 -37
- package/_shims/registry.d.ts.map +0 -1
- package/_shims/registry.js +0 -41
- package/_shims/registry.js.map +0 -1
- package/_shims/registry.mjs +0 -37
- package/_shims/registry.mjs.map +0 -1
- package/_shims/web-runtime.d.ts +0 -5
- package/_shims/web-runtime.d.ts.map +0 -1
- package/_shims/web-runtime.js +0 -78
- package/_shims/web-runtime.js.map +0 -1
- package/_shims/web-runtime.mjs +0 -71
- package/_shims/web-runtime.mjs.map +0 -1
- package/_shims/web-types.d.ts +0 -83
- package/_shims/web-types.js +0 -3
- package/_shims/web-types.mjs +0 -3
- package/core.d.ts +0 -239
- package/core.d.ts.map +0 -1
- package/core.js +0 -881
- package/core.js.map +0 -1
- package/core.mjs +0 -850
- package/core.mjs.map +0 -1
- package/error.d.ts +0 -53
- package/error.d.ts.map +0 -1
- package/error.js +0 -143
- package/error.js.map +0 -1
- package/error.mjs +0 -127
- package/error.mjs.map +0 -1
- package/index.d.mts +0 -296
- package/index.d.ts.map +0 -1
- package/index.js.map +0 -1
- package/index.mjs +0 -142
- package/index.mjs.map +0 -1
- package/pagination.d.ts +0 -40
- package/pagination.d.ts.map +0 -1
- package/pagination.js +0 -41
- package/pagination.js.map +0 -1
- package/pagination.mjs +0 -37
- package/pagination.mjs.map +0 -1
- package/resource.d.ts +0 -6
- package/resource.d.ts.map +0 -1
- package/resource.js +0 -11
- package/resource.js.map +0 -1
- package/resource.mjs +0 -7
- package/resource.mjs.map +0 -1
- package/resources/admins/activity-logs.d.ts +0 -144
- package/resources/admins/activity-logs.d.ts.map +0 -1
- package/resources/admins/activity-logs.js +0 -27
- package/resources/admins/activity-logs.js.map +0 -1
- package/resources/admins/activity-logs.mjs +0 -23
- package/resources/admins/activity-logs.mjs.map +0 -1
- package/resources/admins/admins.d.ts +0 -75
- package/resources/admins/admins.d.ts.map +0 -1
- package/resources/admins/admins.js +0 -87
- package/resources/admins/admins.js.map +0 -1
- package/resources/admins/admins.mjs +0 -60
- package/resources/admins/admins.mjs.map +0 -1
- package/resources/admins/index.d.ts +0 -3
- package/resources/admins/index.d.ts.map +0 -1
- package/resources/admins/index.js +0 -9
- package/resources/admins/index.js.map +0 -1
- package/resources/admins/index.mjs +0 -4
- package/resources/admins/index.mjs.map +0 -1
- package/resources/articles.d.ts +0 -496
- package/resources/articles.d.ts.map +0 -1
- package/resources/articles.js +0 -106
- package/resources/articles.js.map +0 -1
- package/resources/articles.mjs +0 -102
- package/resources/articles.mjs.map +0 -1
- package/resources/companies/companies.d.ts +0 -322
- package/resources/companies/companies.d.ts.map +0 -1
- package/resources/companies/companies.js +0 -153
- package/resources/companies/companies.js.map +0 -1
- package/resources/companies/companies.mjs +0 -126
- package/resources/companies/companies.mjs.map +0 -1
- package/resources/companies/contacts.d.ts +0 -47
- package/resources/companies/contacts.d.ts.map +0 -1
- package/resources/companies/contacts.js +0 -27
- package/resources/companies/contacts.js.map +0 -1
- package/resources/companies/contacts.mjs +0 -23
- package/resources/companies/contacts.mjs.map +0 -1
- package/resources/companies/index.d.ts +0 -4
- package/resources/companies/index.d.ts.map +0 -1
- package/resources/companies/index.js +0 -11
- package/resources/companies/index.js.map +0 -1
- package/resources/companies/index.mjs +0 -5
- package/resources/companies/index.mjs.map +0 -1
- package/resources/companies/segments.d.ts +0 -36
- package/resources/companies/segments.d.ts.map +0 -1
- package/resources/companies/segments.js +0 -27
- package/resources/companies/segments.js.map +0 -1
- package/resources/companies/segments.mjs +0 -23
- package/resources/companies/segments.mjs.map +0 -1
- package/resources/contacts/companies.d.ts +0 -99
- package/resources/contacts/companies.d.ts.map +0 -1
- package/resources/contacts/companies.js +0 -58
- package/resources/contacts/companies.js.map +0 -1
- package/resources/contacts/companies.mjs +0 -54
- package/resources/contacts/companies.mjs.map +0 -1
- package/resources/contacts/contacts.d.ts +0 -467
- package/resources/contacts/contacts.d.ts.map +0 -1
- package/resources/contacts/contacts.js +0 -315
- package/resources/contacts/contacts.js.map +0 -1
- package/resources/contacts/contacts.mjs +0 -288
- package/resources/contacts/contacts.mjs.map +0 -1
- package/resources/contacts/index.d.ts +0 -7
- package/resources/contacts/index.d.ts.map +0 -1
- package/resources/contacts/index.js +0 -17
- package/resources/contacts/index.js.map +0 -1
- package/resources/contacts/index.mjs +0 -8
- package/resources/contacts/index.mjs.map +0 -1
- package/resources/contacts/notes.d.ts +0 -71
- package/resources/contacts/notes.d.ts.map +0 -1
- package/resources/contacts/notes.js +0 -43
- package/resources/contacts/notes.js.map +0 -1
- package/resources/contacts/notes.mjs +0 -39
- package/resources/contacts/notes.mjs.map +0 -1
- package/resources/contacts/segments.d.ts +0 -36
- package/resources/contacts/segments.d.ts.map +0 -1
- package/resources/contacts/segments.js +0 -27
- package/resources/contacts/segments.js.map +0 -1
- package/resources/contacts/segments.mjs +0 -23
- package/resources/contacts/segments.mjs.map +0 -1
- package/resources/contacts/subscriptions.d.ts +0 -149
- package/resources/contacts/subscriptions.d.ts.map +0 -1
- package/resources/contacts/subscriptions.js +0 -68
- package/resources/contacts/subscriptions.js.map +0 -1
- package/resources/contacts/subscriptions.mjs +0 -64
- package/resources/contacts/subscriptions.mjs.map +0 -1
- package/resources/contacts/tags.d.ts +0 -53
- package/resources/contacts/tags.d.ts.map +0 -1
- package/resources/contacts/tags.js +0 -59
- package/resources/contacts/tags.js.map +0 -1
- package/resources/contacts/tags.mjs +0 -55
- package/resources/contacts/tags.mjs.map +0 -1
- package/resources/conversations/conversations.d.ts +0 -428
- package/resources/conversations/conversations.d.ts.map +0 -1
- package/resources/conversations/conversations.js +0 -298
- package/resources/conversations/conversations.js.map +0 -1
- package/resources/conversations/conversations.mjs +0 -270
- package/resources/conversations/conversations.mjs.map +0 -1
- package/resources/conversations/customers.d.ts +0 -145
- package/resources/conversations/customers.d.ts.map +0 -1
- package/resources/conversations/customers.js +0 -50
- package/resources/conversations/customers.js.map +0 -1
- package/resources/conversations/customers.mjs +0 -46
- package/resources/conversations/customers.mjs.map +0 -1
- package/resources/conversations/index.d.ts +0 -7
- package/resources/conversations/index.d.ts.map +0 -1
- package/resources/conversations/index.js +0 -18
- package/resources/conversations/index.js.map +0 -1
- package/resources/conversations/index.mjs +0 -8
- package/resources/conversations/index.mjs.map +0 -1
- package/resources/conversations/parts.d.ts +0 -110
- package/resources/conversations/parts.d.ts.map +0 -1
- package/resources/conversations/parts.js +0 -32
- package/resources/conversations/parts.js.map +0 -1
- package/resources/conversations/parts.mjs +0 -28
- package/resources/conversations/parts.mjs.map +0 -1
- package/resources/conversations/reply.d.ts +0 -163
- package/resources/conversations/reply.d.ts.map +0 -1
- package/resources/conversations/reply.js +0 -28
- package/resources/conversations/reply.js.map +0 -1
- package/resources/conversations/reply.mjs +0 -24
- package/resources/conversations/reply.mjs.map +0 -1
- package/resources/conversations/run-assignment-rules.d.ts +0 -24
- package/resources/conversations/run-assignment-rules.d.ts.map +0 -1
- package/resources/conversations/run-assignment-rules.js +0 -27
- package/resources/conversations/run-assignment-rules.js.map +0 -1
- package/resources/conversations/run-assignment-rules.mjs +0 -23
- package/resources/conversations/run-assignment-rules.mjs.map +0 -1
- package/resources/conversations/tags.d.ts +0 -47
- package/resources/conversations/tags.d.ts.map +0 -1
- package/resources/conversations/tags.js +0 -45
- package/resources/conversations/tags.js.map +0 -1
- package/resources/conversations/tags.mjs +0 -41
- package/resources/conversations/tags.mjs.map +0 -1
- package/resources/data-attributes.d.ts +0 -198
- package/resources/data-attributes.d.ts.map +0 -1
- package/resources/data-attributes.js +0 -60
- package/resources/data-attributes.js.map +0 -1
- package/resources/data-attributes.mjs +0 -56
- package/resources/data-attributes.mjs.map +0 -1
- package/resources/data-events.d.ts +0 -276
- package/resources/data-events.d.ts.map +0 -1
- package/resources/data-events.js +0 -148
- package/resources/data-events.js.map +0 -1
- package/resources/data-events.mjs +0 -144
- package/resources/data-events.mjs.map +0 -1
- package/resources/data-exports.d.ts +0 -77
- package/resources/data-exports.d.ts.map +0 -1
- package/resources/data-exports.js +0 -51
- package/resources/data-exports.js.map +0 -1
- package/resources/data-exports.mjs +0 -47
- package/resources/data-exports.mjs.map +0 -1
- package/resources/download/content/content.d.ts +0 -10
- package/resources/download/content/content.d.ts.map +0 -1
- package/resources/download/content/content.js +0 -40
- package/resources/download/content/content.js.map +0 -1
- package/resources/download/content/content.mjs +0 -13
- package/resources/download/content/content.mjs.map +0 -1
- package/resources/download/content/data.d.ts +0 -31
- package/resources/download/content/data.d.ts.map +0 -1
- package/resources/download/content/data.js +0 -28
- package/resources/download/content/data.js.map +0 -1
- package/resources/download/content/data.mjs +0 -24
- package/resources/download/content/data.mjs.map +0 -1
- package/resources/download/content/index.d.ts +0 -3
- package/resources/download/content/index.d.ts.map +0 -1
- package/resources/download/content/index.js +0 -9
- package/resources/download/content/index.js.map +0 -1
- package/resources/download/content/index.mjs +0 -4
- package/resources/download/content/index.mjs.map +0 -1
- package/resources/download/download.d.ts +0 -9
- package/resources/download/download.d.ts.map +0 -1
- package/resources/download/download.js +0 -40
- package/resources/download/download.js.map +0 -1
- package/resources/download/download.mjs +0 -13
- package/resources/download/download.mjs.map +0 -1
- package/resources/download/index.d.ts +0 -3
- package/resources/download/index.d.ts.map +0 -1
- package/resources/download/index.js +0 -9
- package/resources/download/index.js.map +0 -1
- package/resources/download/index.mjs +0 -4
- package/resources/download/index.mjs.map +0 -1
- package/resources/export/content/content.d.ts +0 -10
- package/resources/export/content/content.d.ts.map +0 -1
- package/resources/export/content/content.js +0 -40
- package/resources/export/content/content.js.map +0 -1
- package/resources/export/content/content.mjs +0 -13
- package/resources/export/content/content.mjs.map +0 -1
- package/resources/export/content/data.d.ts +0 -30
- package/resources/export/content/data.d.ts.map +0 -1
- package/resources/export/content/data.js +0 -27
- package/resources/export/content/data.js.map +0 -1
- package/resources/export/content/data.mjs +0 -23
- package/resources/export/content/data.mjs.map +0 -1
- package/resources/export/content/index.d.ts +0 -3
- package/resources/export/content/index.d.ts.map +0 -1
- package/resources/export/content/index.js +0 -9
- package/resources/export/content/index.js.map +0 -1
- package/resources/export/content/index.mjs +0 -4
- package/resources/export/content/index.mjs.map +0 -1
- package/resources/export/export.d.ts +0 -25
- package/resources/export/export.d.ts.map +0 -1
- package/resources/export/export.js +0 -56
- package/resources/export/export.js.map +0 -1
- package/resources/export/export.mjs +0 -29
- package/resources/export/export.mjs.map +0 -1
- package/resources/export/index.d.ts +0 -3
- package/resources/export/index.d.ts.map +0 -1
- package/resources/export/index.js +0 -9
- package/resources/export/index.js.map +0 -1
- package/resources/export/index.mjs +0 -4
- package/resources/export/index.mjs.map +0 -1
- package/resources/help-center/collections.d.ts +0 -237
- package/resources/help-center/collections.d.ts.map +0 -1
- package/resources/help-center/collections.js +0 -90
- package/resources/help-center/collections.js.map +0 -1
- package/resources/help-center/collections.mjs +0 -86
- package/resources/help-center/collections.mjs.map +0 -1
- package/resources/help-center/help-center.d.ts +0 -72
- package/resources/help-center/help-center.d.ts.map +0 -1
- package/resources/help-center/help-center.js +0 -43
- package/resources/help-center/help-center.js.map +0 -1
- package/resources/help-center/help-center.mjs +0 -16
- package/resources/help-center/help-center.mjs.map +0 -1
- package/resources/help-center/help-centers.d.ts +0 -37
- package/resources/help-center/help-centers.d.ts.map +0 -1
- package/resources/help-center/help-centers.js +0 -42
- package/resources/help-center/help-centers.js.map +0 -1
- package/resources/help-center/help-centers.mjs +0 -38
- package/resources/help-center/help-centers.mjs.map +0 -1
- package/resources/help-center/index.d.ts +0 -4
- package/resources/help-center/index.d.ts.map +0 -1
- package/resources/help-center/index.js +0 -11
- package/resources/help-center/index.js.map +0 -1
- package/resources/help-center/index.mjs +0 -5
- package/resources/help-center/index.mjs.map +0 -1
- package/resources/index.d.ts +0 -25
- package/resources/index.d.ts.map +0 -1
- package/resources/index.js +0 -67
- package/resources/index.js.map +0 -1
- package/resources/index.mjs +0 -26
- package/resources/index.mjs.map +0 -1
- package/resources/me.d.ts +0 -131
- package/resources/me.d.ts.map +0 -1
- package/resources/me.js +0 -27
- package/resources/me.js.map +0 -1
- package/resources/me.mjs +0 -23
- package/resources/me.mjs.map +0 -1
- package/resources/messages.d.ts +0 -54
- package/resources/messages.d.ts.map +0 -1
- package/resources/messages.js +0 -42
- package/resources/messages.js.map +0 -1
- package/resources/messages.mjs +0 -38
- package/resources/messages.mjs.map +0 -1
- package/resources/news/index.d.ts +0 -4
- package/resources/news/index.d.ts.map +0 -1
- package/resources/news/index.js +0 -11
- package/resources/news/index.js.map +0 -1
- package/resources/news/index.mjs +0 -5
- package/resources/news/index.mjs.map +0 -1
- package/resources/news/news-items.d.ts +0 -311
- package/resources/news/news-items.d.ts.map +0 -1
- package/resources/news/news-items.js +0 -89
- package/resources/news/news-items.js.map +0 -1
- package/resources/news/news-items.mjs +0 -85
- package/resources/news/news-items.mjs.map +0 -1
- package/resources/news/news.d.ts +0 -24
- package/resources/news/news.d.ts.map +0 -1
- package/resources/news/news.js +0 -43
- package/resources/news/news.js.map +0 -1
- package/resources/news/news.mjs +0 -16
- package/resources/news/news.mjs.map +0 -1
- package/resources/news/newsfeeds/index.d.ts +0 -3
- package/resources/news/newsfeeds/index.d.ts.map +0 -1
- package/resources/news/newsfeeds/index.js +0 -9
- package/resources/news/newsfeeds/index.js.map +0 -1
- package/resources/news/newsfeeds/index.mjs +0 -4
- package/resources/news/newsfeeds/index.mjs.map +0 -1
- package/resources/news/newsfeeds/items.d.ts +0 -49
- package/resources/news/newsfeeds/items.d.ts.map +0 -1
- package/resources/news/newsfeeds/items.js +0 -27
- package/resources/news/newsfeeds/items.js.map +0 -1
- package/resources/news/newsfeeds/items.mjs +0 -23
- package/resources/news/newsfeeds/items.mjs.map +0 -1
- package/resources/news/newsfeeds/newsfeeds.d.ts +0 -96
- package/resources/news/newsfeeds/newsfeeds.d.ts.map +0 -1
- package/resources/news/newsfeeds/newsfeeds.js +0 -71
- package/resources/news/newsfeeds/newsfeeds.js.map +0 -1
- package/resources/news/newsfeeds/newsfeeds.mjs +0 -44
- package/resources/news/newsfeeds/newsfeeds.mjs.map +0 -1
- package/resources/notes.d.ts +0 -22
- package/resources/notes.d.ts.map +0 -1
- package/resources/notes.js +0 -27
- package/resources/notes.js.map +0 -1
- package/resources/notes.mjs +0 -23
- package/resources/notes.mjs.map +0 -1
- package/resources/phone-call-redirects.d.ts +0 -75
- package/resources/phone-call-redirects.d.ts.map +0 -1
- package/resources/phone-call-redirects.js +0 -32
- package/resources/phone-call-redirects.js.map +0 -1
- package/resources/phone-call-redirects.mjs +0 -28
- package/resources/phone-call-redirects.mjs.map +0 -1
- package/resources/segments.d.ts +0 -92
- package/resources/segments.d.ts.map +0 -1
- package/resources/segments.js +0 -43
- package/resources/segments.js.map +0 -1
- package/resources/segments.mjs +0 -39
- package/resources/segments.mjs.map +0 -1
- package/resources/shared.d.ts +0 -2159
- package/resources/shared.d.ts.map +0 -1
- package/resources/shared.js +0 -4
- package/resources/shared.js.map +0 -1
- package/resources/shared.mjs +0 -3
- package/resources/shared.mjs.map +0 -1
- package/resources/subscription-types.d.ts +0 -23
- package/resources/subscription-types.d.ts.map +0 -1
- package/resources/subscription-types.js +0 -27
- package/resources/subscription-types.js.map +0 -1
- package/resources/subscription-types.mjs +0 -23
- package/resources/subscription-types.mjs.map +0 -1
- package/resources/tags.d.ts +0 -179
- package/resources/tags.d.ts.map +0 -1
- package/resources/tags.js +0 -96
- package/resources/tags.js.map +0 -1
- package/resources/tags.mjs +0 -92
- package/resources/tags.mjs.map +0 -1
- package/resources/teams.d.ts +0 -90
- package/resources/teams.d.ts.map +0 -1
- package/resources/teams.js +0 -42
- package/resources/teams.js.map +0 -1
- package/resources/teams.mjs +0 -38
- package/resources/teams.mjs.map +0 -1
- package/resources/ticket-types/attributes.d.ts +0 -131
- package/resources/ticket-types/attributes.d.ts.map +0 -1
- package/resources/ticket-types/attributes.js +0 -44
- package/resources/ticket-types/attributes.js.map +0 -1
- package/resources/ticket-types/attributes.mjs +0 -40
- package/resources/ticket-types/attributes.mjs.map +0 -1
- package/resources/ticket-types/index.d.ts +0 -3
- package/resources/ticket-types/index.d.ts.map +0 -1
- package/resources/ticket-types/index.js +0 -9
- package/resources/ticket-types/index.js.map +0 -1
- package/resources/ticket-types/index.mjs +0 -4
- package/resources/ticket-types/index.mjs.map +0 -1
- package/resources/ticket-types/ticket-types.d.ts +0 -204
- package/resources/ticket-types/ticket-types.d.ts.map +0 -1
- package/resources/ticket-types/ticket-types.js +0 -109
- package/resources/ticket-types/ticket-types.js.map +0 -1
- package/resources/ticket-types/ticket-types.mjs +0 -82
- package/resources/ticket-types/ticket-types.mjs.map +0 -1
- package/resources/tickets/index.d.ts +0 -3
- package/resources/tickets/index.d.ts.map +0 -1
- package/resources/tickets/index.js +0 -9
- package/resources/tickets/index.js.map +0 -1
- package/resources/tickets/index.mjs +0 -4
- package/resources/tickets/index.mjs.map +0 -1
- package/resources/tickets/tags.d.ts +0 -47
- package/resources/tickets/tags.d.ts.map +0 -1
- package/resources/tickets/tags.js +0 -45
- package/resources/tickets/tags.js.map +0 -1
- package/resources/tickets/tags.mjs +0 -41
- package/resources/tickets/tags.mjs.map +0 -1
- package/resources/tickets/tickets.d.ts +0 -472
- package/resources/tickets/tickets.d.ts.map +0 -1
- package/resources/tickets/tickets.js +0 -191
- package/resources/tickets/tickets.js.map +0 -1
- package/resources/tickets/tickets.mjs +0 -164
- package/resources/tickets/tickets.mjs.map +0 -1
- package/resources/visitors.d.ts +0 -355
- package/resources/visitors.d.ts.map +0 -1
- package/resources/visitors.js +0 -73
- package/resources/visitors.js.map +0 -1
- package/resources/visitors.mjs +0 -69
- package/resources/visitors.mjs.map +0 -1
- package/shims/node.d.ts +0 -29
- package/shims/node.d.ts.map +0 -1
- package/shims/node.js +0 -31
- package/shims/node.js.map +0 -1
- package/shims/node.mjs +0 -5
- package/shims/node.mjs.map +0 -1
- package/shims/web.d.ts +0 -26
- package/shims/web.d.ts.map +0 -1
- package/shims/web.js +0 -31
- package/shims/web.js.map +0 -1
- package/shims/web.mjs +0 -5
- package/shims/web.mjs.map +0 -1
- package/src/_shims/MultipartBody.ts +0 -9
- package/src/_shims/README.md +0 -46
- package/src/_shims/auto/runtime-bun.ts +0 -4
- package/src/_shims/auto/runtime-node.ts +0 -4
- package/src/_shims/auto/runtime.ts +0 -4
- package/src/_shims/auto/types-node.ts +0 -4
- package/src/_shims/auto/types.d.ts +0 -101
- package/src/_shims/auto/types.js +0 -3
- package/src/_shims/auto/types.mjs +0 -3
- package/src/_shims/bun-runtime.ts +0 -14
- package/src/_shims/index.d.ts +0 -81
- package/src/_shims/index.js +0 -13
- package/src/_shims/index.mjs +0 -7
- package/src/_shims/manual-types.d.ts +0 -12
- package/src/_shims/manual-types.js +0 -3
- package/src/_shims/manual-types.mjs +0 -3
- package/src/_shims/node-runtime.ts +0 -81
- package/src/_shims/node-types.d.ts +0 -42
- package/src/_shims/node-types.js +0 -3
- package/src/_shims/node-types.mjs +0 -3
- package/src/_shims/registry.ts +0 -67
- package/src/_shims/web-runtime.ts +0 -103
- package/src/_shims/web-types.d.ts +0 -83
- package/src/_shims/web-types.js +0 -3
- package/src/_shims/web-types.mjs +0 -3
- package/src/core.ts +0 -1165
- package/src/error.ts +0 -146
- package/src/index.ts +0 -408
- package/src/lib/.keep +0 -4
- package/src/pagination.ts +0 -91
- package/src/resource.ts +0 -11
- package/src/resources/admins/activity-logs.ts +0 -269
- package/src/resources/admins/admins.ts +0 -200
- package/src/resources/admins/index.ts +0 -4
- package/src/resources/articles.ts +0 -806
- package/src/resources/companies/companies.ts +0 -645
- package/src/resources/companies/contacts.ts +0 -97
- package/src/resources/companies/index.ts +0 -17
- package/src/resources/companies/segments.ts +0 -84
- package/src/resources/contacts/companies.ts +0 -236
- package/src/resources/contacts/contacts.ts +0 -904
- package/src/resources/contacts/index.ts +0 -35
- package/src/resources/contacts/notes.ts +0 -152
- package/src/resources/contacts/segments.ts +0 -84
- package/src/resources/contacts/subscriptions.ts +0 -291
- package/src/resources/contacts/tags.ts +0 -181
- package/src/resources/conversations/conversations.ts +0 -754
- package/src/resources/conversations/customers.ts +0 -247
- package/src/resources/conversations/index.ts +0 -20
- package/src/resources/conversations/parts.ts +0 -224
- package/src/resources/conversations/reply.ts +0 -288
- package/src/resources/conversations/run-assignment-rules.ts +0 -70
- package/src/resources/conversations/tags.ts +0 -125
- package/src/resources/data-attributes.ts +0 -347
- package/src/resources/data-events.ts +0 -454
- package/src/resources/data-exports.ts +0 -120
- package/src/resources/download/content/content.ts +0 -13
- package/src/resources/download/content/data.ts +0 -78
- package/src/resources/download/content/index.ts +0 -4
- package/src/resources/download/download.ts +0 -12
- package/src/resources/download/index.ts +0 -4
- package/src/resources/export/content/content.ts +0 -13
- package/src/resources/export/content/data.ts +0 -76
- package/src/resources/export/content/index.ts +0 -4
- package/src/resources/export/export.ts +0 -72
- package/src/resources/export/index.ts +0 -4
- package/src/resources/help-center/collections.ts +0 -469
- package/src/resources/help-center/help-center.ts +0 -84
- package/src/resources/help-center/help-centers.ts +0 -124
- package/src/resources/help-center/index.ts +0 -15
- package/src/resources/index.ts +0 -114
- package/src/resources/me.ts +0 -193
- package/src/resources/messages.ts +0 -110
- package/src/resources/news/index.ts +0 -21
- package/src/resources/news/news-items.ts +0 -545
- package/src/resources/news/news.ts +0 -27
- package/src/resources/news/newsfeeds/index.ts +0 -10
- package/src/resources/news/newsfeeds/items.ts +0 -95
- package/src/resources/news/newsfeeds/newsfeeds.ts +0 -190
- package/src/resources/notes.ts +0 -68
- package/src/resources/phone-call-redirects.ts +0 -120
- package/src/resources/segments.ts +0 -188
- package/src/resources/shared.ts +0 -2609
- package/src/resources/subscription-types.ts +0 -67
- package/src/resources/tags.ts +0 -414
- package/src/resources/teams.ts +0 -179
- package/src/resources/ticket-types/attributes.ts +0 -240
- package/src/resources/ticket-types/index.ts +0 -12
- package/src/resources/ticket-types/ticket-types.ts +0 -391
- package/src/resources/tickets/index.ts +0 -13
- package/src/resources/tickets/tags.ts +0 -125
- package/src/resources/tickets/tickets.ts +0 -780
- package/src/resources/visitors.ts +0 -542
- package/src/shims/node.ts +0 -50
- package/src/shims/web.ts +0 -50
- package/src/tsconfig.json +0 -11
- package/src/uploads.ts +0 -248
- package/src/version.ts +0 -1
- package/uploads.d.ts +0 -75
- package/uploads.d.ts.map +0 -1
- package/uploads.js +0 -165
- package/uploads.js.map +0 -1
- package/uploads.mjs +0 -152
- package/uploads.mjs.map +0 -1
- package/version.d.ts.map +0 -1
- package/version.js.map +0 -1
- package/version.mjs +0 -2
- package/version.mjs.map +0 -1
package/resources/articles.d.ts
DELETED
|
@@ -1,496 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../resource.js";
|
|
2
|
-
import * as Core from "../core.js";
|
|
3
|
-
import * as ArticlesAPI from "./articles.js";
|
|
4
|
-
import * as Shared from "./shared.js";
|
|
5
|
-
export declare class Articles extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* You can create a new article by making a POST request to
|
|
8
|
-
* `https://api.intercom.io/articles`.
|
|
9
|
-
*/
|
|
10
|
-
create(params: ArticleCreateParams, options?: Core.RequestOptions): Core.APIPromise<Article>;
|
|
11
|
-
/**
|
|
12
|
-
* You can fetch the details of a single article by making a GET request to
|
|
13
|
-
* `https://api.intercom.io/articles/<id>`.
|
|
14
|
-
*/
|
|
15
|
-
retrieve(id: number, params?: ArticleRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<Article>;
|
|
16
|
-
retrieve(id: number, options?: Core.RequestOptions): Core.APIPromise<Article>;
|
|
17
|
-
/**
|
|
18
|
-
* You can update the details of a single article by making a PUT request to
|
|
19
|
-
* `https://api.intercom.io/articles/<id>`.
|
|
20
|
-
*/
|
|
21
|
-
update(id: number, params?: ArticleUpdateParams, options?: Core.RequestOptions): Core.APIPromise<Article>;
|
|
22
|
-
update(id: number, options?: Core.RequestOptions): Core.APIPromise<Article>;
|
|
23
|
-
/**
|
|
24
|
-
* You can fetch a list of all articles by making a GET request to
|
|
25
|
-
* `https://api.intercom.io/articles`.
|
|
26
|
-
*
|
|
27
|
-
* > 📘 How are the articles sorted and ordered?
|
|
28
|
-
* >
|
|
29
|
-
* > Articles will be returned in descending order on the `updated_at` attribute.
|
|
30
|
-
* > This means if you need to iterate through results then we'll show the most
|
|
31
|
-
* > recently updated articles first.
|
|
32
|
-
*/
|
|
33
|
-
list(params?: ArticleListParams, options?: Core.RequestOptions): Core.APIPromise<ArticleList>;
|
|
34
|
-
list(options?: Core.RequestOptions): Core.APIPromise<ArticleList>;
|
|
35
|
-
/**
|
|
36
|
-
* You can delete a single article by making a DELETE request to
|
|
37
|
-
* `https://api.intercom.io/articles/<id>`.
|
|
38
|
-
*/
|
|
39
|
-
remove(id: number, params?: ArticleRemoveParams, options?: Core.RequestOptions): Core.APIPromise<DeletedArticleObject>;
|
|
40
|
-
remove(id: number, options?: Core.RequestOptions): Core.APIPromise<DeletedArticleObject>;
|
|
41
|
-
/**
|
|
42
|
-
* You can search for articles by making a GET request to
|
|
43
|
-
* `https://api.intercom.io/articles/search`.
|
|
44
|
-
*/
|
|
45
|
-
search(params?: ArticleSearchParams, options?: Core.RequestOptions): Core.APIPromise<ArticleSearchResponse>;
|
|
46
|
-
search(options?: Core.RequestOptions): Core.APIPromise<ArticleSearchResponse>;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* The data returned about your articles when you list them.
|
|
50
|
-
*/
|
|
51
|
-
export interface Article {
|
|
52
|
-
/**
|
|
53
|
-
* The unique identifier for the article which is given by Intercom.
|
|
54
|
-
*/
|
|
55
|
-
id?: string;
|
|
56
|
-
/**
|
|
57
|
-
* The id of the author of the article. For multilingual articles, this will be the
|
|
58
|
-
* id of the author of the default language's content. Must be a teammate on the
|
|
59
|
-
* help center's workspace.
|
|
60
|
-
*/
|
|
61
|
-
author_id?: number;
|
|
62
|
-
/**
|
|
63
|
-
* The body of the article in HTML. For multilingual articles, this will be the
|
|
64
|
-
* body of the default language's content.
|
|
65
|
-
*/
|
|
66
|
-
body?: string | null;
|
|
67
|
-
/**
|
|
68
|
-
* The time when the article was created. For multilingual articles, this will be
|
|
69
|
-
* the timestamp of creation of the default language's content in seconds.
|
|
70
|
-
*/
|
|
71
|
-
created_at?: number;
|
|
72
|
-
/**
|
|
73
|
-
* The default locale of the help center. This field is only returned for
|
|
74
|
-
* multilingual help centers.
|
|
75
|
-
*/
|
|
76
|
-
default_locale?: string;
|
|
77
|
-
/**
|
|
78
|
-
* The description of the article. For multilingual articles, this will be the
|
|
79
|
-
* description of the default language's content.
|
|
80
|
-
*/
|
|
81
|
-
description?: string | null;
|
|
82
|
-
/**
|
|
83
|
-
* The id of the article's parent collection or section. An article without this
|
|
84
|
-
* field stands alone.
|
|
85
|
-
*/
|
|
86
|
-
parent_id?: number | null;
|
|
87
|
-
/**
|
|
88
|
-
* The ids of the article's parent collections or sections. An article without this
|
|
89
|
-
* field stands alone.
|
|
90
|
-
*/
|
|
91
|
-
parent_ids?: Array<number>;
|
|
92
|
-
/**
|
|
93
|
-
* The type of parent, which can either be a `collection` or `section`.
|
|
94
|
-
*/
|
|
95
|
-
parent_type?: string | null;
|
|
96
|
-
/**
|
|
97
|
-
* Whether the article is `published` or is a `draft`. For multilingual articles,
|
|
98
|
-
* this will be the state of the default language's content.
|
|
99
|
-
*/
|
|
100
|
-
state?: 'published' | 'draft';
|
|
101
|
-
/**
|
|
102
|
-
* The title of the article. For multilingual articles, this will be the title of
|
|
103
|
-
* the default language's content.
|
|
104
|
-
*/
|
|
105
|
-
title?: string;
|
|
106
|
-
/**
|
|
107
|
-
* The Translated Content of an Article. The keys are the locale codes and the
|
|
108
|
-
* values are the translated content of the article.
|
|
109
|
-
*/
|
|
110
|
-
translated_content?: Shared.ArticleTranslatedContent | null;
|
|
111
|
-
/**
|
|
112
|
-
* The type of object - `article`.
|
|
113
|
-
*/
|
|
114
|
-
type?: 'article';
|
|
115
|
-
/**
|
|
116
|
-
* The time when the article was last updated. For multilingual articles, this will
|
|
117
|
-
* be the timestamp of last update of the default language's content in seconds.
|
|
118
|
-
*/
|
|
119
|
-
updated_at?: number;
|
|
120
|
-
/**
|
|
121
|
-
* The URL of the article. For multilingual articles, this will be the URL of the
|
|
122
|
-
* default language's content.
|
|
123
|
-
*/
|
|
124
|
-
url?: string | null;
|
|
125
|
-
/**
|
|
126
|
-
* The id of the workspace which the article belongs to.
|
|
127
|
-
*/
|
|
128
|
-
workspace_id?: string;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* This will return a list of articles for the App.
|
|
132
|
-
*/
|
|
133
|
-
export interface ArticleList {
|
|
134
|
-
/**
|
|
135
|
-
* An array of Article objects
|
|
136
|
-
*/
|
|
137
|
-
data?: Array<ArticleList.Data>;
|
|
138
|
-
/**
|
|
139
|
-
* Cursor-based pagination is a technique used in the Intercom API to navigate
|
|
140
|
-
* through large amounts of data. A "cursor" or pointer is used to keep track of
|
|
141
|
-
* the current position in the result set, allowing the API to return the data in
|
|
142
|
-
* small chunks or "pages" as needed.
|
|
143
|
-
*/
|
|
144
|
-
pages?: Shared.CursorPages | null;
|
|
145
|
-
/**
|
|
146
|
-
* A count of the total number of articles.
|
|
147
|
-
*/
|
|
148
|
-
total_count?: number;
|
|
149
|
-
/**
|
|
150
|
-
* The type of the object - `list`.
|
|
151
|
-
*/
|
|
152
|
-
type?: 'list';
|
|
153
|
-
}
|
|
154
|
-
export declare namespace ArticleList {
|
|
155
|
-
/**
|
|
156
|
-
* The data returned about your articles when you list them.
|
|
157
|
-
*/
|
|
158
|
-
interface Data {
|
|
159
|
-
/**
|
|
160
|
-
* The unique identifier for the article which is given by Intercom.
|
|
161
|
-
*/
|
|
162
|
-
id?: string;
|
|
163
|
-
/**
|
|
164
|
-
* The id of the author of the article. For multilingual articles, this will be the
|
|
165
|
-
* id of the author of the default language's content. Must be a teammate on the
|
|
166
|
-
* help center's workspace.
|
|
167
|
-
*/
|
|
168
|
-
author_id?: number;
|
|
169
|
-
/**
|
|
170
|
-
* The body of the article in HTML. For multilingual articles, this will be the
|
|
171
|
-
* body of the default language's content.
|
|
172
|
-
*/
|
|
173
|
-
body?: string | null;
|
|
174
|
-
/**
|
|
175
|
-
* The time when the article was created. For multilingual articles, this will be
|
|
176
|
-
* the timestamp of creation of the default language's content in seconds.
|
|
177
|
-
*/
|
|
178
|
-
created_at?: number;
|
|
179
|
-
/**
|
|
180
|
-
* The default locale of the help center. This field is only returned for
|
|
181
|
-
* multilingual help centers.
|
|
182
|
-
*/
|
|
183
|
-
default_locale?: string;
|
|
184
|
-
/**
|
|
185
|
-
* The description of the article. For multilingual articles, this will be the
|
|
186
|
-
* description of the default language's content.
|
|
187
|
-
*/
|
|
188
|
-
description?: string | null;
|
|
189
|
-
/**
|
|
190
|
-
* The id of the article's parent collection or section. An article without this
|
|
191
|
-
* field stands alone.
|
|
192
|
-
*/
|
|
193
|
-
parent_id?: number | null;
|
|
194
|
-
/**
|
|
195
|
-
* The ids of the article's parent collections or sections. An article without this
|
|
196
|
-
* field stands alone.
|
|
197
|
-
*/
|
|
198
|
-
parent_ids?: Array<number>;
|
|
199
|
-
/**
|
|
200
|
-
* The type of parent, which can either be a `collection` or `section`.
|
|
201
|
-
*/
|
|
202
|
-
parent_type?: string | null;
|
|
203
|
-
/**
|
|
204
|
-
* Whether the article is `published` or is a `draft`. For multilingual articles,
|
|
205
|
-
* this will be the state of the default language's content.
|
|
206
|
-
*/
|
|
207
|
-
state?: 'published' | 'draft';
|
|
208
|
-
/**
|
|
209
|
-
* The title of the article. For multilingual articles, this will be the title of
|
|
210
|
-
* the default language's content.
|
|
211
|
-
*/
|
|
212
|
-
title?: string;
|
|
213
|
-
/**
|
|
214
|
-
* The Translated Content of an Article. The keys are the locale codes and the
|
|
215
|
-
* values are the translated content of the article.
|
|
216
|
-
*/
|
|
217
|
-
translated_content?: Shared.ArticleTranslatedContent | null;
|
|
218
|
-
/**
|
|
219
|
-
* The type of object - `article`.
|
|
220
|
-
*/
|
|
221
|
-
type?: 'article';
|
|
222
|
-
/**
|
|
223
|
-
* The time when the article was last updated. For multilingual articles, this will
|
|
224
|
-
* be the timestamp of last update of the default language's content in seconds.
|
|
225
|
-
*/
|
|
226
|
-
updated_at?: number;
|
|
227
|
-
/**
|
|
228
|
-
* The URL of the article. For multilingual articles, this will be the URL of the
|
|
229
|
-
* default language's content.
|
|
230
|
-
*/
|
|
231
|
-
url?: string | null;
|
|
232
|
-
/**
|
|
233
|
-
* The id of the workspace which the article belongs to.
|
|
234
|
-
*/
|
|
235
|
-
workspace_id?: string;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
/**
|
|
239
|
-
* The results of an Article search
|
|
240
|
-
*/
|
|
241
|
-
export interface ArticleSearchResponse {
|
|
242
|
-
/**
|
|
243
|
-
* An object containing the results of the search.
|
|
244
|
-
*/
|
|
245
|
-
data?: ArticleSearchResponse.Data;
|
|
246
|
-
/**
|
|
247
|
-
* Cursor-based pagination is a technique used in the Intercom API to navigate
|
|
248
|
-
* through large amounts of data. A "cursor" or pointer is used to keep track of
|
|
249
|
-
* the current position in the result set, allowing the API to return the data in
|
|
250
|
-
* small chunks or "pages" as needed.
|
|
251
|
-
*/
|
|
252
|
-
pages?: Shared.CursorPages | null;
|
|
253
|
-
/**
|
|
254
|
-
* The total number of Articles matching the search query
|
|
255
|
-
*/
|
|
256
|
-
total_count?: number;
|
|
257
|
-
/**
|
|
258
|
-
* The type of the object - `list`.
|
|
259
|
-
*/
|
|
260
|
-
type?: 'list';
|
|
261
|
-
}
|
|
262
|
-
export declare namespace ArticleSearchResponse {
|
|
263
|
-
/**
|
|
264
|
-
* An object containing the results of the search.
|
|
265
|
-
*/
|
|
266
|
-
interface Data {
|
|
267
|
-
/**
|
|
268
|
-
* An array of Article objects
|
|
269
|
-
*/
|
|
270
|
-
articles?: Array<ArticlesAPI.Article>;
|
|
271
|
-
/**
|
|
272
|
-
* A corresponding array of highlighted Article content
|
|
273
|
-
*/
|
|
274
|
-
highlights?: Array<Data.Highlight>;
|
|
275
|
-
}
|
|
276
|
-
namespace Data {
|
|
277
|
-
/**
|
|
278
|
-
* The highlighted results of an Article search. In the examples provided my search
|
|
279
|
-
* query is always "my query".
|
|
280
|
-
*/
|
|
281
|
-
interface Highlight {
|
|
282
|
-
/**
|
|
283
|
-
* The ID of the corresponding article.
|
|
284
|
-
*/
|
|
285
|
-
article_id?: string;
|
|
286
|
-
/**
|
|
287
|
-
* An Article description and body text highlighted.
|
|
288
|
-
*/
|
|
289
|
-
highlighted_summary?: Array<Array<Highlight.HighlightedSummary>>;
|
|
290
|
-
/**
|
|
291
|
-
* An Article title highlighted.
|
|
292
|
-
*/
|
|
293
|
-
highlighted_title?: Array<Highlight.HighlightedTitle>;
|
|
294
|
-
}
|
|
295
|
-
namespace Highlight {
|
|
296
|
-
/**
|
|
297
|
-
* An instance of highlighted summary text.
|
|
298
|
-
*/
|
|
299
|
-
interface HighlightedSummary {
|
|
300
|
-
/**
|
|
301
|
-
* The text of the title.
|
|
302
|
-
*/
|
|
303
|
-
text?: string;
|
|
304
|
-
/**
|
|
305
|
-
* The type of text - `highlight` or `plain`.
|
|
306
|
-
*/
|
|
307
|
-
type?: 'highlight' | 'plain';
|
|
308
|
-
}
|
|
309
|
-
/**
|
|
310
|
-
* A highlighted article title.
|
|
311
|
-
*/
|
|
312
|
-
interface HighlightedTitle {
|
|
313
|
-
/**
|
|
314
|
-
* The text of the title.
|
|
315
|
-
*/
|
|
316
|
-
text?: string;
|
|
317
|
-
/**
|
|
318
|
-
* The type of text - `highlight` or `plain`.
|
|
319
|
-
*/
|
|
320
|
-
type?: 'highlight' | 'plain';
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
/**
|
|
326
|
-
* Response returned when an object is deleted
|
|
327
|
-
*/
|
|
328
|
-
export interface DeletedArticleObject {
|
|
329
|
-
/**
|
|
330
|
-
* The unique identifier for the article which you provided in the URL.
|
|
331
|
-
*/
|
|
332
|
-
id?: string;
|
|
333
|
-
/**
|
|
334
|
-
* Whether the article was deleted successfully or not.
|
|
335
|
-
*/
|
|
336
|
-
deleted?: boolean;
|
|
337
|
-
/**
|
|
338
|
-
* The type of object which was deleted. - article
|
|
339
|
-
*/
|
|
340
|
-
object?: 'article';
|
|
341
|
-
}
|
|
342
|
-
export interface ArticleCreateParams {
|
|
343
|
-
/**
|
|
344
|
-
* Body param: The id of the author of the article. For multilingual articles, this
|
|
345
|
-
* will be the id of the author of the default language's content. Must be a
|
|
346
|
-
* teammate on the help center's workspace.
|
|
347
|
-
*/
|
|
348
|
-
author_id: number;
|
|
349
|
-
/**
|
|
350
|
-
* Body param: The title of the article.For multilingual articles, this will be the
|
|
351
|
-
* title of the default language's content.
|
|
352
|
-
*/
|
|
353
|
-
title: string;
|
|
354
|
-
/**
|
|
355
|
-
* Body param: The content of the article. For multilingual articles, this will be
|
|
356
|
-
* the body of the default language's content.
|
|
357
|
-
*/
|
|
358
|
-
body?: string;
|
|
359
|
-
/**
|
|
360
|
-
* Body param: The description of the article. For multilingual articles, this will
|
|
361
|
-
* be the description of the default language's content.
|
|
362
|
-
*/
|
|
363
|
-
description?: string;
|
|
364
|
-
/**
|
|
365
|
-
* Body param: The id of the article's parent collection or section. An article
|
|
366
|
-
* without this field stands alone.
|
|
367
|
-
*/
|
|
368
|
-
parent_id?: number;
|
|
369
|
-
/**
|
|
370
|
-
* Body param: The type of parent, which can either be a `collection` or `section`.
|
|
371
|
-
*/
|
|
372
|
-
parent_type?: string;
|
|
373
|
-
/**
|
|
374
|
-
* Body param: Whether the article will be `published` or will be a `draft`.
|
|
375
|
-
* Defaults to draft. For multilingual articles, this will be the state of the
|
|
376
|
-
* default language's content.
|
|
377
|
-
*/
|
|
378
|
-
state?: 'published' | 'draft';
|
|
379
|
-
/**
|
|
380
|
-
* Body param: The Translated Content of an Article. The keys are the locale codes
|
|
381
|
-
* and the values are the translated content of the article.
|
|
382
|
-
*/
|
|
383
|
-
translated_content?: Shared.ArticleTranslatedContent | null;
|
|
384
|
-
/**
|
|
385
|
-
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
386
|
-
* the app package.
|
|
387
|
-
*/
|
|
388
|
-
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
389
|
-
}
|
|
390
|
-
export interface ArticleRetrieveParams {
|
|
391
|
-
/**
|
|
392
|
-
* Intercom API version.By default, it's equal to the version set in the app
|
|
393
|
-
* package.
|
|
394
|
-
*/
|
|
395
|
-
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
396
|
-
}
|
|
397
|
-
export interface ArticleUpdateParams {
|
|
398
|
-
/**
|
|
399
|
-
* Body param: The id of the author of the article. For multilingual articles, this
|
|
400
|
-
* will be the id of the author of the default language's content. Must be a
|
|
401
|
-
* teammate on the help center's workspace.
|
|
402
|
-
*/
|
|
403
|
-
author_id?: number;
|
|
404
|
-
/**
|
|
405
|
-
* Body param: The content of the article. For multilingual articles, this will be
|
|
406
|
-
* the body of the default language's content.
|
|
407
|
-
*/
|
|
408
|
-
body?: string;
|
|
409
|
-
/**
|
|
410
|
-
* Body param: The description of the article. For multilingual articles, this will
|
|
411
|
-
* be the description of the default language's content.
|
|
412
|
-
*/
|
|
413
|
-
description?: string;
|
|
414
|
-
/**
|
|
415
|
-
* Body param: The id of the article's parent collection or section. An article
|
|
416
|
-
* without this field stands alone.
|
|
417
|
-
*/
|
|
418
|
-
parent_id?: string;
|
|
419
|
-
/**
|
|
420
|
-
* Body param: The type of parent, which can either be a `collection` or `section`.
|
|
421
|
-
*/
|
|
422
|
-
parent_type?: string;
|
|
423
|
-
/**
|
|
424
|
-
* Body param: Whether the article will be `published` or will be a `draft`.
|
|
425
|
-
* Defaults to draft. For multilingual articles, this will be the state of the
|
|
426
|
-
* default language's content.
|
|
427
|
-
*/
|
|
428
|
-
state?: 'published' | 'draft';
|
|
429
|
-
/**
|
|
430
|
-
* Body param: The title of the article.For multilingual articles, this will be the
|
|
431
|
-
* title of the default language's content.
|
|
432
|
-
*/
|
|
433
|
-
title?: string;
|
|
434
|
-
/**
|
|
435
|
-
* Body param: The Translated Content of an Article. The keys are the locale codes
|
|
436
|
-
* and the values are the translated content of the article.
|
|
437
|
-
*/
|
|
438
|
-
translated_content?: Shared.ArticleTranslatedContent | null;
|
|
439
|
-
/**
|
|
440
|
-
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
441
|
-
* the app package.
|
|
442
|
-
*/
|
|
443
|
-
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
444
|
-
}
|
|
445
|
-
export interface ArticleListParams {
|
|
446
|
-
/**
|
|
447
|
-
* Intercom API version.By default, it's equal to the version set in the app
|
|
448
|
-
* package.
|
|
449
|
-
*/
|
|
450
|
-
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
451
|
-
}
|
|
452
|
-
export interface ArticleRemoveParams {
|
|
453
|
-
/**
|
|
454
|
-
* Intercom API version.By default, it's equal to the version set in the app
|
|
455
|
-
* package.
|
|
456
|
-
*/
|
|
457
|
-
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
458
|
-
}
|
|
459
|
-
export interface ArticleSearchParams {
|
|
460
|
-
/**
|
|
461
|
-
* Query param: The ID of the Help Center to search in.
|
|
462
|
-
*/
|
|
463
|
-
help_center_id?: number;
|
|
464
|
-
/**
|
|
465
|
-
* Query param: Return a highlighted version of the matching content within your
|
|
466
|
-
* articles. Refer to the response schema for more details.
|
|
467
|
-
*/
|
|
468
|
-
highlight?: boolean;
|
|
469
|
-
/**
|
|
470
|
-
* Query param: The phrase within your articles to search for.
|
|
471
|
-
*/
|
|
472
|
-
phrase?: string;
|
|
473
|
-
/**
|
|
474
|
-
* Query param: The state of the Articles returned. One of `published`, `draft` or
|
|
475
|
-
* `all`.
|
|
476
|
-
*/
|
|
477
|
-
state?: string;
|
|
478
|
-
/**
|
|
479
|
-
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
480
|
-
* the app package.
|
|
481
|
-
*/
|
|
482
|
-
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
483
|
-
}
|
|
484
|
-
export declare namespace Articles {
|
|
485
|
-
export import Article = ArticlesAPI.Article;
|
|
486
|
-
export import ArticleList = ArticlesAPI.ArticleList;
|
|
487
|
-
export import ArticleSearchResponse = ArticlesAPI.ArticleSearchResponse;
|
|
488
|
-
export import DeletedArticleObject = ArticlesAPI.DeletedArticleObject;
|
|
489
|
-
export import ArticleCreateParams = ArticlesAPI.ArticleCreateParams;
|
|
490
|
-
export import ArticleRetrieveParams = ArticlesAPI.ArticleRetrieveParams;
|
|
491
|
-
export import ArticleUpdateParams = ArticlesAPI.ArticleUpdateParams;
|
|
492
|
-
export import ArticleListParams = ArticlesAPI.ArticleListParams;
|
|
493
|
-
export import ArticleRemoveParams = ArticlesAPI.ArticleRemoveParams;
|
|
494
|
-
export import ArticleSearchParams = ArticlesAPI.ArticleSearchParams;
|
|
495
|
-
}
|
|
496
|
-
//# sourceMappingURL=articles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"articles.d.ts","sourceRoot":"","sources":["../src/resources/articles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,WAAW,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;OAGG;IACH,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IAc5F;;;OAGG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAA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,GAAG,WAAW,CAAC,OAAO,CAAC;IAC5C,MAAM,QAAQ,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;IACpD,MAAM,QAAQ,qBAAqB,GAAG,WAAW,CAAC,qBAAqB,CAAC;IACxE,MAAM,QAAQ,oBAAoB,GAAG,WAAW,CAAC,oBAAoB,CAAC;IACtE,MAAM,QAAQ,mBAAmB,GAAG,WAAW,CAAC,mBAAmB,CAAC;IACpE,MAAM,QAAQ,qBAAqB,GAAG,WAAW,CAAC,qBAAqB,CAAC;IACxE,MAAM,QAAQ,mBAAmB,GAAG,WAAW,CAAC,mBAAmB,CAAC;IACpE,MAAM,QAAQ,iBAAiB,GAAG,WAAW,CAAC,iBAAiB,CAAC;IAChE,MAAM,QAAQ,mBAAmB,GAAG,WAAW,CAAC,mBAAmB,CAAC;IACpE,MAAM,QAAQ,mBAAmB,GAAG,WAAW,CAAC,mBAAmB,CAAC;CACrE"}
|
package/resources/articles.js
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Articles = void 0;
|
|
5
|
-
const resource_1 = require("../resource.js");
|
|
6
|
-
const core_1 = require("../core.js");
|
|
7
|
-
class Articles extends resource_1.APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* You can create a new article by making a POST request to
|
|
10
|
-
* `https://api.intercom.io/articles`.
|
|
11
|
-
*/
|
|
12
|
-
create(params, options) {
|
|
13
|
-
const { 'Intercom-Version': intercomVersion, ...body } = params;
|
|
14
|
-
return this._client.post('/articles', {
|
|
15
|
-
body,
|
|
16
|
-
...options,
|
|
17
|
-
headers: {
|
|
18
|
-
...(intercomVersion?.toString() != null ?
|
|
19
|
-
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
20
|
-
: undefined),
|
|
21
|
-
...options?.headers,
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
retrieve(id, params = {}, options) {
|
|
26
|
-
if ((0, core_1.isRequestOptions)(params)) {
|
|
27
|
-
return this.retrieve(id, {}, params);
|
|
28
|
-
}
|
|
29
|
-
const { 'Intercom-Version': intercomVersion } = params;
|
|
30
|
-
return this._client.get(`/articles/${id}`, {
|
|
31
|
-
...options,
|
|
32
|
-
headers: {
|
|
33
|
-
...(intercomVersion?.toString() != null ?
|
|
34
|
-
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
35
|
-
: undefined),
|
|
36
|
-
...options?.headers,
|
|
37
|
-
},
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
update(id, params = {}, options) {
|
|
41
|
-
if ((0, core_1.isRequestOptions)(params)) {
|
|
42
|
-
return this.update(id, {}, params);
|
|
43
|
-
}
|
|
44
|
-
const { 'Intercom-Version': intercomVersion, ...body } = params;
|
|
45
|
-
return this._client.put(`/articles/${id}`, {
|
|
46
|
-
body,
|
|
47
|
-
...options,
|
|
48
|
-
headers: {
|
|
49
|
-
...(intercomVersion?.toString() != null ?
|
|
50
|
-
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
51
|
-
: undefined),
|
|
52
|
-
...options?.headers,
|
|
53
|
-
},
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
list(params = {}, options) {
|
|
57
|
-
if ((0, core_1.isRequestOptions)(params)) {
|
|
58
|
-
return this.list({}, params);
|
|
59
|
-
}
|
|
60
|
-
const { 'Intercom-Version': intercomVersion } = params;
|
|
61
|
-
return this._client.get('/articles', {
|
|
62
|
-
...options,
|
|
63
|
-
headers: {
|
|
64
|
-
...(intercomVersion?.toString() != null ?
|
|
65
|
-
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
66
|
-
: undefined),
|
|
67
|
-
...options?.headers,
|
|
68
|
-
},
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
remove(id, params = {}, options) {
|
|
72
|
-
if ((0, core_1.isRequestOptions)(params)) {
|
|
73
|
-
return this.remove(id, {}, params);
|
|
74
|
-
}
|
|
75
|
-
const { 'Intercom-Version': intercomVersion } = params;
|
|
76
|
-
return this._client.delete(`/articles/${id}`, {
|
|
77
|
-
...options,
|
|
78
|
-
headers: {
|
|
79
|
-
...(intercomVersion?.toString() != null ?
|
|
80
|
-
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
81
|
-
: undefined),
|
|
82
|
-
...options?.headers,
|
|
83
|
-
},
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
search(params = {}, options) {
|
|
87
|
-
if ((0, core_1.isRequestOptions)(params)) {
|
|
88
|
-
return this.search({}, params);
|
|
89
|
-
}
|
|
90
|
-
const { 'Intercom-Version': intercomVersion, ...query } = params;
|
|
91
|
-
return this._client.get('/articles/search', {
|
|
92
|
-
query,
|
|
93
|
-
...options,
|
|
94
|
-
headers: {
|
|
95
|
-
...(intercomVersion?.toString() != null ?
|
|
96
|
-
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
97
|
-
: undefined),
|
|
98
|
-
...options?.headers,
|
|
99
|
-
},
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
exports.Articles = Articles;
|
|
104
|
-
(function (Articles) {
|
|
105
|
-
})(Articles = exports.Articles || (exports.Articles = {}));
|
|
106
|
-
//# sourceMappingURL=articles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"articles.js","sourceRoot":"","sources":["../src/resources/articles.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAK3C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;OAGG;IACH,MAAM,CAAC,MAA2B,EAAE,OAA6B;QAC/D,MAAM,EAAE,kBAAkB,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE;YACpC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