client.admins.identify() -> Intercom.AdminWithAppclient.admins.identify() -> Intercom.AdminWithApp | undefinedclient.admins.away({ ...params }) -> Intercom.Adminclient.admins.away({ ...params }) -> Intercom.Admin | undefinedclient.admins.find({ ...params }) -> Intercom.Adminclient.admins.find({ ...params }) -> Intercom.Admin | undefinedclient.articles.list({ ...params }) -> core.Pageclient.aiContent.listContentImportSources() -> Intercom.ContentImportSourcesListclient.articles.create({ ...params }) -> Intercom.Articleclient.aiContent.createContentImportSource({ ...params }) -> Intercom.ContentImportSourceclient.articles.find({ ...params }) -> Intercom.Articleclient.aiContent.getContentImportSource({ ...params }) -> Intercom.ContentImportSourceclient.articles.update({ ...params }) -> Intercom.Articleclient.aiContent.updateContentImportSource({ ...params }) -> Intercom.ContentImportSourceNew gifts in store for the jolly season
", +await client.aiContent.updateContentImportSource({ + source_id: "source_id", + sync_behavior: "api", + url: "https://www.example.com" }); -``` +```client.articles.delete({ ...params }) -> Intercom.DeletedArticleObjectclient.aiContent.deleteContentImportSource({ ...params }) -> voidclient.articles.search({ ...params }) -> Intercom.SearchArticlesResponseclient.aiContent.listExternalPages() -> Intercom.ExternalPagesListclient.helpCenters.find({ ...params }) -> Intercom.HelpCenterclient.aiContent.createExternalPage({ ...params }) -> Intercom.ExternalPageclient.helpCenters.list({ ...params }) -> core.Pageclient.aiContent.getExternalPage({ ...params }) -> Intercom.ExternalPageclient.companies.retrieve({ ...params }) -> Intercom.CompaniesRetrieveResponseclient.aiContent.updateExternalPage({ ...params }) -> Intercom.ExternalPageclient.companies.createOrUpdate({ ...params }) -> Intercom.Companyclient.aiContent.deleteExternalPage({ ...params }) -> Intercom.ExternalPageclient.companies.find({ ...params }) -> Intercom.Companyclient.articles.list({ ...params }) -> core.Pageclient.companies.update({ ...params }) -> Intercom.Companyclient.articles.create({ ...params }) -> Intercom.Articleclient.companies.delete({ ...params }) -> Intercom.DeletedCompanyObjectclient.articles.find({ ...params }) -> Intercom.Articleclient.companies.listAttachedContacts({ ...params }) -> Intercom.CompanyAttachedContactsclient.articles.update({ ...params }) -> Intercom.ArticleNew gifts in store for the jolly season
" }); -``` +```client.companies.listAttachedSegments({ ...params }) -> Intercom.CompanyAttachedSegmentsclient.articles.delete({ ...params }) -> Intercom.DeletedArticleObjectclient.companies.list({ ...params }) -> core.Pageclient.articles.search({ ...params }) -> Intercom.ArticleSearchResponseclient.companies.scroll({ ...params }) -> core.Pageclient.awayStatusReasons.listAwayStatusReasons() -> Intercom.AwayStatusReason[]client.companies.attachContact({ ...params }) -> Intercom.Companyclient.export.enqueueANewReportingDataExportJob({ ...params }) -> Intercom.PostExportReportingDataEnqueueResponseclient.companies.detachContact({ ...params }) -> Intercom.Companyclient.export.listAvailableDatasetsAndAttributes() -> Intercom.GetExportReportingDataGetDatasetsResponseclient.dataExport.exportReportingData({ ...params }) -> Intercom.DataExportExportReportingDataResponseclient.contacts.listAttachedCompanies({ ...params }) -> core.Pageclient.dataExport.downloadReportingDataExport({ ...params }) -> voidclient.contacts.listAttachedSegments({ ...params }) -> Intercom.ContactSegmentsclient.dataExport.create({ ...params }) -> Intercom.DataExportclient.contacts.listAttachedSubscriptions({ ...params }) -> Intercom.SubscriptionTypeListclient.dataExport.find({ ...params }) -> Intercom.DataExportclient.contacts.attachSubscription({ ...params }) -> Intercom.SubscriptionTypeclient.dataExport.cancel({ ...params }) -> Intercom.DataExportclient.contacts.detachSubscription({ ...params }) -> Intercom.SubscriptionTypeclient.dataExport.download({ ...params }) -> voidclient.contacts.listAttachedTags({ ...params }) -> Intercom.TagListclient.helpCenters.find({ ...params }) -> Intercom.HelpCenterclient.contacts.find({ ...params }) -> Intercom.Contactclient.helpCenters.list({ ...params }) -> core.Pageclient.contacts.update({ ...params }) -> Intercom.Contactclient.internalArticles.listInternalArticles() -> Intercom.InternalArticleListclient.contacts.delete({ ...params }) -> Intercom.ContactDeletedclient.internalArticles.createInternalArticle({ ...params }) -> Intercom.InternalArticleclient.contacts.mergeLeadInUser({ ...params }) -> Intercom.Contactclient.internalArticles.retrieveInternalArticle({ ...params }) -> Intercom.InternalArticleclient.contacts.search({ ...params }) -> core.Pageclient.internalArticles.updateInternalArticle({ ...params }) -> Intercom.InternalArticleNew gifts in store for the jolly season
" }); -for await (const item of response) { - console.log(item); -} -// Or you can manually iterate page-by-page -const page = await client.contacts.search({ - query: { - operator: "AND", - value: [ - { - field: "created_at", - operator: ">", - value: "1306054154", - }, - ], - }, - pagination: { - per_page: 5, - }, -}); -while (page.hasNextPage()) { - page = page.getNextPage(); -} ``` -client.contacts.list({ ...params }) -> core.Pageclient.internalArticles.deleteInternalArticle({ ...params }) -> Intercom.DeletedInternalArticleObjectclient.contacts.create({ ...params }) -> Intercom.Contactclient.internalArticles.searchInternalArticles({ ...params }) -> Intercom.InternalArticleSearchResponseclient.contacts.archive({ ...params }) -> Intercom.ContactArchivedclient.companies.retrieve({ ...params }) -> Intercom.CompaniesRetrieveResponseclient.contacts.unarchive({ ...params }) -> Intercom.ContactUnarchivedclient.companies.createOrUpdate({ ...params }) -> Intercom.Companyclient.notes.list({ ...params }) -> core.Pageclient.companies.find({ ...params }) -> Intercom.Companyclient.notes.create({ ...params }) -> Intercom.Noteclient.companies.update({ ...params }) -> Intercom.Companyclient.notes.find({ ...params }) -> Intercom.Noteclient.companies.delete({ ...params }) -> Intercom.DeletedCompanyObjectclient.tags.tagContact({ ...params }) -> Intercom.Tagclient.companies.listAttachedContacts({ ...params }) -> Intercom.CompanyAttachedContactsclient.tags.untagContact({ ...params }) -> Intercom.Tagclient.companies.listAttachedSegments({ ...params }) -> Intercom.CompanyAttachedSegmentsclient.tags.tagConversation({ ...params }) -> Intercom.Tagclient.companies.list({ ...params }) -> core.Pageclient.tags.untagConversation({ ...params }) -> Intercom.Tagclient.companies.scroll({ ...params }) -> core.Pageclient.tags.list() -> Intercom.TagListclient.companies.attachContact({ ...params }) -> Intercom.Companyclient.tags.create({ ...params }) -> Intercom.Tagclient.companies.detachContact({ ...params }) -> Intercom.Companyclient.tags.find({ ...params }) -> Intercom.Tagclient.contacts.listAttachedCompanies({ ...params }) -> core.Pageclient.tags.delete({ ...params }) -> voidclient.contacts.listAttachedSegments({ ...params }) -> Intercom.ContactSegmentsclient.tags.tagTicket({ ...params }) -> Intercom.Tagclient.contacts.listAttachedSubscriptions({ ...params }) -> Intercom.SubscriptionTypeListclient.tags.untagTicket({ ...params }) -> Intercom.Tagclient.contacts.attachSubscription({ ...params }) -> Intercom.SubscriptionTypeclient.conversations.list({ ...params }) -> core.Pageclient.contacts.detachSubscription({ ...params }) -> Intercom.SubscriptionTypeclient.contacts.listAttachedTags({ ...params }) -> Intercom.TagListclient.contacts.find({ ...params }) -> Intercom.ContactsFindResponseclient.conversations.create({ ...params }) -> Intercom.Messageclient.contacts.update({ ...params }) -> Intercom.ContactsUpdateResponseclient.contacts.delete({ ...params }) -> Intercom.ContactDeletedclient.contacts.mergeLeadInUser({ ...params }) -> Intercom.ContactsMergeLeadInUserResponseclient.contacts.search({ ...params }) -> core.Pageclient.contacts.list({ ...params }) -> core.Pageclient.contacts.create({ ...params }) -> Intercom.ContactsCreateResponseclient.contacts.showContactByExternalId({ ...params }) -> Intercom.ShowContactByExternalIdResponseclient.contacts.archive({ ...params }) -> Intercom.ContactArchivedclient.contacts.unarchive({ ...params }) -> Intercom.ContactUnarchivedclient.contacts.blockContact({ ...params }) -> Intercom.ContactBlockedclient.notes.list({ ...params }) -> core.Pageclient.notes.create({ ...params }) -> Intercom.Noteclient.notes.find({ ...params }) -> Intercom.Noteclient.tags.tagContact({ ...params }) -> Intercom.Tagclient.tags.untagContact({ ...params }) -> Intercom.Tagclient.tags.tagConversation({ ...params }) -> Intercom.Tagclient.tags.untagConversation({ ...params }) -> Intercom.Tagclient.tags.list() -> Intercom.TagListclient.tags.create({ ...params }) -> Intercom.Tagclient.tags.find({ ...params }) -> Intercom.Tagclient.tags.delete({ ...params }) -> voidclient.tags.tagTicket({ ...params }) -> Intercom.Tagclient.tags.untagTicket({ ...params }) -> Intercom.Tagclient.conversations.list({ ...params }) -> core.Pageclient.conversations.create({ ...params }) -> Intercom.Messageclient.conversations.find({ ...params }) -> Intercom.Conversationclient.conversations.update({ ...params }) -> Intercom.Conversationclient.conversations.deleteConversation({ ...params }) -> Intercom.ConversationDeletedclient.conversations.search({ ...params }) -> core.Pageclient.conversations.reply({ ...params }) -> Intercom.Conversationclient.conversations.manage({ ...params }) -> Intercom.Conversationclient.conversations.attachContactAsAdmin({ ...params }) -> Intercom.Conversationclient.conversations.detachContactAsAdmin({ ...params }) -> Intercom.Conversationclient.conversations.redactConversationPart({ ...params }) -> Intercom.Conversationclient.conversations.convertToTicket({ ...params }) -> Intercom.Ticket | undefinedclient.conversations.runAssignmentRules({ ...params }) -> Intercom.Conversationclient.customChannelEvents.notifyNewConversation({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.customChannelEvents.notifyNewMessage({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.customChannelEvents.notifyQuickReplySelected({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.customChannelEvents.notifyAttributeCollected({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.customObjectInstances.getCustomObjectInstancesByExternalId({ ...params }) -> Intercom.CustomObjectInstance | undefinedclient.customObjectInstances.createCustomObjectInstances({ ...params }) -> Intercom.CustomObjectInstance | undefinedclient.customObjectInstances.deleteCustomObjectInstancesById({ ...params }) -> Intercom.CustomObjectInstanceDeletedclient.customObjectInstances.getCustomObjectInstancesById({ ...params }) -> Intercom.CustomObjectInstance | undefinedclient.customObjectInstances.deleteCustomObjectInstancesByExternalId({ ...params }) -> Intercom.CustomObjectInstanceDeletedclient.dataAttributes.list({ ...params }) -> Intercom.DataAttributeListclient.dataAttributes.create({ ...params }) -> Intercom.DataAttributeclient.dataAttributes.update({ ...params }) -> Intercom.DataAttributeclient.events.list({ ...params }) -> Intercom.DataEventSummaryclient.events.create({ ...params }) -> voidclient.events.summaries({ ...params }) -> voidclient.jobs.status({ ...params }) -> Intercom.Jobsclient.messages.create({ ...params }) -> Intercom.Messageclient.segments.list({ ...params }) -> Intercom.SegmentListclient.segments.find({ ...params }) -> Intercom.Segmentclient.subscriptionTypes.list() -> Intercom.SubscriptionTypeListclient.phoneCallRedirects.create({ ...params }) -> Intercom.PhoneSwitch | undefinedclient.calls.listCalls({ ...params }) -> Intercom.CallListclient.calls.showCall({ ...params }) -> Intercom.Callclient.conversations.find({ ...params }) -> Intercom.Conversationclient.calls.showCallRecording({ ...params }) -> voidclient.conversations.update({ ...params }) -> Intercom.Conversationclient.calls.showCallTranscript({ ...params }) -> stringclient.conversations.search({ ...params }) -> core.Pageclient.calls.listCallsWithTranscripts({ ...params }) -> Intercom.ListCallsWithTranscriptsResponseclient.conversations.reply({ ...params }) -> Intercom.Conversationclient.teams.list() -> Intercom.TeamListclient.conversations.manage({ ...params }) -> Intercom.Conversationclient.teams.find({ ...params }) -> Intercom.Teamclient.conversations.runAssignmentRules({ ...params }) -> Intercom.Conversationclient.ticketStates.listTicketStates() -> Intercom.TicketStateListclient.conversations.attachContactAsAdmin({ ...params }) -> Intercom.Conversationclient.ticketTypes.list() -> Intercom.TicketTypeListclient.conversations.detachContactAsAdmin({ ...params }) -> Intercom.Conversationclient.ticketTypes.create({ ...params }) -> Intercom.TicketType | undefinedclient.conversations.redactConversationPart({ ...params }) -> Intercom.Conversationclient.ticketTypes.get({ ...params }) -> Intercom.TicketType | undefinedclient.conversations.convertToTicket({ ...params }) -> Intercom.Ticketclient.ticketTypes.update({ ...params }) -> Intercom.TicketType | undefinedclient.dataAttributes.list({ ...params }) -> Intercom.DataAttributeListclient.tickets.reply({ ...params }) -> Intercom.TicketReplyclient.dataAttributes.create({ ...params }) -> Intercom.DataAttributeclient.tickets.create({ ...params }) -> Intercom.Ticket | undefinedclient.dataAttributes.update({ ...params }) -> Intercom.DataAttributeclient.tickets.enqueueCreateTicket({ ...params }) -> Intercom.Jobsclient.events.list({ ...params }) -> Intercom.DataEventSummaryclient.tickets.get({ ...params }) -> Intercom.Ticket | undefinedclient.events.create({ ...params }) -> voidclient.tickets.update({ ...params }) -> Intercom.Ticket | undefinedclient.events.summaries({ ...params }) -> voidclient.tickets.deleteTicket({ ...params }) -> Intercom.DeleteTicketResponseclient.dataExport.create({ ...params }) -> Intercom.DataExportclient.tickets.search({ ...params }) -> core.Page<(Intercom.Ticket | undefined), Intercom.TicketList>client.dataExport.find({ ...params }) -> Intercom.DataExportclient.visitors.find({ ...params }) -> Intercom.Visitor | undefinedclient.dataExport.cancel({ ...params }) -> Intercom.DataExportclient.visitors.update({ ...params }) -> Intercom.Visitor | undefinedclient.dataExport.download({ ...params }) -> voidclient.visitors.mergeToContact({ ...params }) -> Intercom.Contactclient.messages.create({ ...params }) -> Intercom.Messageclient.helpCenters.collections.list({ ...params }) -> core.Pageclient.segments.list({ ...params }) -> Intercom.SegmentListclient.helpCenters.collections.create({ ...params }) -> Intercom.Collectionclient.segments.find({ ...params }) -> Intercom.Segmentclient.helpCenters.collections.find({ ...params }) -> Intercom.Collectionclient.subscriptionTypes.list() -> Intercom.SubscriptionTypeListclient.helpCenters.collections.update({ ...params }) -> Intercom.Collectionclient.phoneCallRedirects.create({ ...params }) -> Intercom.PhoneSwitchclient.helpCenters.collections.delete({ ...params }) -> Intercom.DeletedCollectionObjectclient.teams.list() -> Intercom.TeamListclient.news.items.list() -> Intercom.PaginatedResponseclient.teams.find({ ...params }) -> Intercom.Teamclient.news.items.create({ ...params }) -> Intercom.NewsItemNew costumes in store for this spooky season
", + sender_id: 991267834, + state: "live", + deliver_silently: true, + labels: ["Product", "Update", "New"], + reactions: ["\uD83D\uDE06", "\uD83D\uDE05"], + newsfeed_assignments: [{ + newsfeed_id: 53, + published_at: 1664638214 + }] }); -``` +```client.ticketTypes.list() -> Intercom.TicketTypeListclient.news.items.find({ ...params }) -> Intercom.NewsItemclient.ticketTypes.create({ ...params }) -> Intercom.TicketTypeclient.news.items.update({ ...params }) -> Intercom.NewsItemNew gifts in store for the jolly season
", + sender_id: 991267845, + reactions: ["\uD83D\uDE1D", "\uD83D\uDE02"] + } }); -``` +```client.ticketTypes.get({ ...params }) -> Intercom.TicketTypeclient.news.items.delete({ ...params }) -> Intercom.DeletedObjectclient.ticketTypes.update({ ...params }) -> Intercom.TicketTypeclient.news.feeds.listItems({ ...params }) -> Intercom.PaginatedResponseclient.tickets.reply({ ...params }) -> Intercom.TicketReplyclient.news.feeds.list() -> Intercom.PaginatedResponseclient.tickets.create({ ...params }) -> Intercom.Ticketclient.news.feeds.find({ ...params }) -> Intercom.Newsfeedclient.tickets.get({ ...params }) -> Intercom.Ticketclient.ticketTypes.attributes.create({ ...params }) -> Intercom.TicketTypeAttribute | undefinedclient.tickets.update({ ...params }) -> Intercom.Ticketclient.ticketTypes.attributes.update({ ...params }) -> Intercom.TicketTypeAttribute | undefinedclient.tickets.search({ ...params }) -> core.Pageclient.unstable.admins.identifyAdmin() -> Intercom.AdminWithApp | undefinedclient.visitors.find({ ...params }) -> Intercom.Visitorclient.unstable.admins.setAwayAdmin({ ...params }) -> Intercom.Admin | undefinedclient.visitors.update({ ...params }) -> Intercom.Visitorclient.unstable.admins.listActivityLogs({ ...params }) -> Intercom.ActivityLogListclient.visitors.mergeToContact({ ...params }) -> Intercom.Contactclient.unstable.admins.listAdmins() -> Intercom.AdminListclient.helpCenters.collections.list({ ...params }) -> core.Pageclient.unstable.admins.retrieveAdmin({ ...params }) -> Intercom.Admin | undefinedclient.helpCenters.collections.create({ ...params }) -> Intercom.Collectionclient.unstable.aiContent.listContentImportSources() -> Intercom.ContentImportSourcesListclient.helpCenters.collections.find({ ...params }) -> Intercom.Collectionclient.unstable.aiContent.createContentImportSource({ ...params }) -> Intercom.ContentImportSourceclient.helpCenters.collections.update({ ...params }) -> Intercom.Collectionclient.unstable.aiContent.getContentImportSource({ ...params }) -> Intercom.ContentImportSourceclient.helpCenters.collections.delete({ ...params }) -> Intercom.DeletedCollectionObjectclient.unstable.aiContent.updateContentImportSource({ ...params }) -> Intercom.ContentImportSourceclient.news.items.list() -> Intercom.PaginatedNewsItemResponseclient.unstable.aiContent.deleteContentImportSource({ ...params }) -> voidclient.news.items.create({ ...params }) -> Intercom.NewsItemclient.unstable.aiContent.listExternalPages() -> Intercom.ExternalPagesListNew costumes in store for this spooky season
", - sender_id: 991267734, - state: "live", - deliver_silently: true, - labels: ["Product", "Update", "New"], - reactions: ["\uD83D\uDE06", "\uD83D\uDE05"], - newsfeed_assignments: [ - { - newsfeed_id: 53, - published_at: 1664638214, - }, - ], -}); -``` +await client.unstable.aiContent.listExternalPages(); +```client.news.items.find({ ...params }) -> Intercom.NewsItemclient.unstable.aiContent.createExternalPage({ ...params }) -> Intercom.ExternalPageclient.news.items.update({ ...params }) -> Intercom.NewsItemclient.unstable.aiContent.getExternalPage({ ...params }) -> Intercom.ExternalPageNew gifts in store for the jolly season
", - sender_id: 991267745, - reactions: ["\uD83D\uDE1D", "\uD83D\uDE02"], - }, +await client.unstable.aiContent.getExternalPage({ + id: "id" }); -``` +```client.news.items.delete({ ...params }) -> Intercom.DeletedObjectclient.unstable.aiContent.updateExternalPage({ ...params }) -> Intercom.ExternalPageclient.news.feeds.listItems({ ...params }) -> Intercom.PaginatedNewsItemResponseclient.unstable.aiContent.deleteExternalPage({ ...params }) -> Intercom.ExternalPageclient.news.feeds.list() -> Intercom.PaginatedNewsfeedResponseclient.unstable.articles.listArticles() -> Intercom.ArticleListclient.news.feeds.find({ ...params }) -> Intercom.Newsfeedclient.unstable.articles.createArticle({ ...params }) -> Intercom.Articleclient.ticketTypes.attributes.create({ ...params }) -> Intercom.TicketTypeAttributeclient.unstable.articles.retrieveArticle({ ...params }) -> Intercom.Articleclient.ticketTypes.attributes.update({ ...params }) -> Intercom.TicketTypeAttributeclient.unstable.articles.deleteArticle({ ...params }) -> Intercom.DeletedArticleObjectclient.unstable.admins.identifyAdmin() -> Intercom.AdminWithApp | undefinedclient.unstable.articles.searchArticles({ ...params }) -> Intercom.ArticleSearchResponseclient.unstable.admins.setAwayAdmin({ ...params }) -> Intercom.Admin | undefinedclient.unstable.awayStatusReasons.listAwayStatusReasons() -> Intercom.AwayStatusReason[]client.unstable.admins.listActivityLogs({ ...params }) -> Intercom.ActivityLogListclient.unstable.export.enqueueANewReportingDataExportJob({ ...params }) -> Intercom.PostExportReportingDataEnqueueResponseclient.unstable.export.listAvailableDatasetsAndAttributes() -> Intercom.GetExportReportingDataGetDatasetsResponseclient.unstable.admins.listAdmins() -> Intercom.AdminListclient.unstable.helpCenter.listAllCollections() -> Intercom.CollectionListclient.unstable.admins.retrieveAdmin({ ...params }) -> Intercom.Admin | undefinedclient.unstable.helpCenter.createCollection({ ...params }) -> Intercom.Collectionclient.unstable.aiContent.listContentImportSources() -> Intercom.ContentImportSourcesListclient.unstable.helpCenter.retrieveCollection({ ...params }) -> Intercom.Collectionclient.unstable.aiContent.createContentImportSource({ ...params }) -> Intercom.ContentImportSourceclient.unstable.helpCenter.updateCollection({ ...params }) -> Intercom.Collectionclient.unstable.aiContent.getContentImportSource({ ...params }) -> Intercom.ContentImportSourceclient.unstable.helpCenter.deleteCollection({ ...params }) -> Intercom.DeletedCollectionObjectclient.unstable.aiContent.updateContentImportSource({ ...params }) -> Intercom.ContentImportSourceclient.unstable.helpCenter.retrieveHelpCenter({ ...params }) -> Intercom.HelpCenterclient.unstable.aiContent.deleteContentImportSource({ ...params }) -> voidclient.unstable.helpCenter.listHelpCenters() -> Intercom.HelpCenterListclient.unstable.aiContent.listExternalPages() -> Intercom.ExternalPagesListclient.unstable.internalArticles.listInternalArticles() -> Intercom.InternalArticleListclient.unstable.aiContent.createExternalPage({ ...params }) -> Intercom.ExternalPageclient.unstable.internalArticles.createInternalArticle({ ...params }) -> Intercom.InternalArticleclient.unstable.aiContent.getExternalPage({ ...params }) -> Intercom.ExternalPageclient.unstable.internalArticles.retrieveInternalArticle({ ...params }) -> Intercom.InternalArticleclient.unstable.aiContent.updateExternalPage({ ...params }) -> Intercom.ExternalPageclient.unstable.internalArticles.updateInternalArticle({ ...params }) -> Intercom.InternalArticleNew gifts in store for the jolly season
" }); -``` +```client.unstable.aiContent.deleteExternalPage({ ...params }) -> Intercom.ExternalPageclient.unstable.internalArticles.deleteInternalArticle({ ...params }) -> Intercom.DeletedInternalArticleObjectclient.unstable.articles.listArticles() -> Intercom.ArticleListclient.unstable.internalArticles.searchInternalArticles({ ...params }) -> Intercom.InternalArticleSearchResponseclient.unstable.articles.createArticle({ ...params }) -> Intercom.Articleclient.unstable.companies.retrieveCompany({ ...params }) -> Intercom.CompanyListclient.unstable.articles.retrieveArticle({ ...params }) -> Intercom.Articleclient.unstable.companies.createOrUpdateCompany({ ...params }) -> Intercom.Companyclient.unstable.articles.deleteArticle({ ...params }) -> Intercom.DeletedArticleObjectclient.unstable.companies.retrieveACompanyById({ ...params }) -> Intercom.Companyclient.unstable.articles.searchArticles({ ...params }) -> Intercom.ArticleSearchResponseclient.unstable.companies.updateCompany({ ...params }) -> Intercom.Companyclient.unstable.awayStatusReasons.listAwayStatusReasons() -> Intercom.AwayStatusReason[]client.unstable.companies.deleteCompany({ ...params }) -> Intercom.DeletedCompanyObjectclient.unstable.companies.listAttachedContacts({ ...params }) -> Intercom.CompanyAttachedContactsclient.unstable.export.enqueueANewReportingDataExportJob({ ...params }) -> Intercom.PostExportReportingDataEnqueueResponseclient.unstable.export.listAvailableDatasetsAndAttributes() -> Intercom.GetExportReportingDataGetDatasetsResponseclient.unstable.companies.listAttachedSegmentsForCompanies({ ...params }) -> Intercom.CompanyAttachedSegmentsclient.unstable.helpCenter.listAllCollections() -> Intercom.CollectionListclient.unstable.companies.listAllCompanies({ ...params }) -> Intercom.CompanyListclient.unstable.helpCenter.createCollection({ ...params }) -> Intercom.Collectionclient.unstable.companies.scrollOverAllCompanies({ ...params }) -> Intercom.CompanyScroll | undefinedclient.unstable.helpCenter.retrieveCollection({ ...params }) -> Intercom.Collectionclient.unstable.companies.attachContactToACompany({ ...params }) -> Intercom.Companyclient.unstable.helpCenter.updateCollection({ ...params }) -> Intercom.Collectionclient.unstable.companies.detachContactFromACompany({ ...params }) -> Intercom.Companyclient.unstable.helpCenter.deleteCollection({ ...params }) -> Intercom.DeletedCollectionObjectclient.unstable.notes.listCompanyNotes({ ...params }) -> Intercom.NoteListclient.unstable.helpCenter.retrieveHelpCenter({ ...params }) -> Intercom.HelpCenterclient.unstable.notes.listNotes({ ...params }) -> Intercom.NoteListclient.unstable.helpCenter.listHelpCenters() -> Intercom.HelpCenterListclient.unstable.notes.createNote({ ...params }) -> Intercom.Noteclient.unstable.companies.retrieveCompany({ ...params }) -> Intercom.CompanyListclient.unstable.notes.retrieveNote({ ...params }) -> Intercom.Noteclient.unstable.companies.createOrUpdateCompany({ ...params }) -> Intercom.Companyclient.unstable.contacts.listCompaniesForAContact({ ...params }) -> Intercom.ContactAttachedCompaniesclient.unstable.companies.retrieveACompanyById({ ...params }) -> Intercom.Companyclient.unstable.contacts.listSegmentsForAContact({ ...params }) -> Intercom.ContactSegmentsclient.unstable.companies.updateCompany({ ...params }) -> Intercom.Companyclient.unstable.contacts.listSubscriptionsForAContact({ ...params }) -> Intercom.SubscriptionTypeListclient.unstable.companies.deleteCompany({ ...params }) -> Intercom.DeletedCompanyObjectclient.unstable.contacts.listTagsForAContact({ ...params }) -> Intercom.TagListclient.unstable.companies.listAttachedContacts({ ...params }) -> Intercom.CompanyAttachedContactsclient.unstable.contacts.showContact({ ...params }) -> Intercom.ShowContactResponseclient.unstable.companies.listAttachedSegmentsForCompanies({ ...params }) -> Intercom.CompanyAttachedSegmentsclient.unstable.contacts.updateContact({ ...params }) -> Intercom.UpdateContactResponseclient.unstable.companies.listAllCompanies({ ...params }) -> Intercom.CompanyListclient.unstable.contacts.deleteContact({ ...params }) -> Intercom.ContactDeletedclient.unstable.companies.scrollOverAllCompanies({ ...params }) -> Intercom.CompanyScroll | undefinedclient.unstable.contacts.mergeContact({ ...params }) -> Intercom.MergeContactResponseclient.unstable.companies.attachContactToACompany({ ...params }) -> Intercom.Companyclient.unstable.contacts.searchContacts({ ...params }) -> Intercom.ContactListclient.unstable.companies.detachContactFromACompany({ ...params }) -> Intercom.Companyclient.unstable.contacts.listContacts() -> Intercom.ContactListclient.unstable.contacts.listCompaniesForAContact({ ...params }) -> Intercom.ContactAttachedCompaniesclient.unstable.contacts.createContact({ ...params }) -> Intercom.CreateContactResponseclient.unstable.contacts.listSegmentsForAContact({ ...params }) -> Intercom.ContactSegmentsclient.unstable.contacts.showContactByExternalId({ ...params }) -> Intercom.ShowContactByExternalIdResponseclient.unstable.contacts.listSubscriptionsForAContact({ ...params }) -> Intercom.SubscriptionTypeListclient.unstable.contacts.archiveContact({ ...params }) -> Intercom.ContactArchivedclient.unstable.contacts.listTagsForAContact({ ...params }) -> Intercom.TagListclient.unstable.contacts.unarchiveContact({ ...params }) -> Intercom.ContactUnarchivedclient.unstable.contacts.showContact({ ...params }) -> Intercom.ShowContactResponseclient.unstable.contacts.blockContact({ ...params }) -> Intercom.ContactBlockedclient.unstable.contacts.updateContact({ ...params }) -> Intercom.UpdateContactResponseclient.unstable.subscriptionTypes.attachSubscriptionTypeToContact({ ...params }) -> Intercom.SubscriptionTypeclient.unstable.contacts.deleteContact({ ...params }) -> Intercom.ContactDeletedclient.unstable.subscriptionTypes.detachSubscriptionTypeToContact({ ...params }) -> Intercom.SubscriptionTypeclient.unstable.contacts.mergeContact({ ...params }) -> Intercom.MergeContactResponseclient.unstable.subscriptionTypes.listSubscriptionTypes() -> Intercom.SubscriptionTypeListclient.unstable.contacts.searchContacts({ ...params }) -> Intercom.ContactListclient.unstable.tags.attachTagToContact({ ...params }) -> Intercom.Tagclient.unstable.tags.detachTagFromContact({ ...params }) -> Intercom.Tagclient.unstable.contacts.listContacts() -> Intercom.ContactListclient.unstable.tags.attachTagToConversation({ ...params }) -> Intercom.Tagclient.unstable.contacts.createContact({ ...params }) -> Intercom.CreateContactResponseclient.unstable.tags.detachTagFromConversation({ ...params }) -> Intercom.Tagclient.unstable.contacts.showContactByExternalId({ ...params }) -> Intercom.ShowContactByExternalIdResponseclient.unstable.tags.listTags() -> Intercom.TagListclient.unstable.contacts.archiveContact({ ...params }) -> Intercom.ContactArchivedclient.unstable.tags.createTag({ ...params }) -> Intercom.Tagclient.unstable.contacts.unarchiveContact({ ...params }) -> Intercom.ContactUnarchivedclient.unstable.tags.findTag({ ...params }) -> Intercom.Tagclient.unstable.contacts.blockContact({ ...params }) -> Intercom.ContactBlockedclient.unstable.tags.deleteTag({ ...params }) -> voidclient.unstable.notes.listNotes({ ...params }) -> Intercom.NoteListclient.unstable.tags.attachTagToTicket({ ...params }) -> Intercom.Tagclient.unstable.notes.createNote({ ...params }) -> Intercom.Noteclient.unstable.tags.detachTagFromTicket({ ...params }) -> Intercom.Tagclient.unstable.notes.retrieveNote({ ...params }) -> Intercom.Noteclient.unstable.conversations.listConversations({ ...params }) -> Intercom.ConversationListclient.unstable.subscriptionTypes.attachSubscriptionTypeToContact({ ...params }) -> Intercom.SubscriptionTypeclient.unstable.conversations.createConversation({ ...params }) -> Intercom.Messageclient.unstable.subscriptionTypes.detachSubscriptionTypeToContact({ ...params }) -> Intercom.SubscriptionTypeclient.unstable.conversations.retrieveConversation({ ...params }) -> Intercom.Conversationclient.unstable.subscriptionTypes.listSubscriptionTypes() -> Intercom.SubscriptionTypeListclient.unstable.conversations.updateConversation({ ...params }) -> Intercom.Conversationclient.unstable.tags.attachTagToContact({ ...params }) -> Intercom.Tagclient.unstable.conversations.deleteConversation({ ...params }) -> Intercom.ConversationDeletedclient.unstable.tags.detachTagFromContact({ ...params }) -> Intercom.Tagclient.unstable.conversations.searchConversations({ ...params }) -> Intercom.ConversationListclient.unstable.tags.attachTagToConversation({ ...params }) -> Intercom.Tagclient.unstable.conversations.replyConversation({ ...params }) -> Intercom.Conversationclient.unstable.tags.detachTagFromConversation({ ...params }) -> Intercom.Tagclient.unstable.conversations.manageConversation({ ...params }) -> Intercom.Conversationclient.unstable.tags.listTags() -> Intercom.TagListclient.unstable.conversations.attachContactToConversation({ ...params }) -> Intercom.Conversationclient.unstable.tags.createTag({ ...params }) -> Intercom.Tagclient.unstable.conversations.detachContactFromConversation({ ...params }) -> Intercom.Conversationclient.unstable.tags.findTag({ ...params }) -> Intercom.Tagclient.unstable.conversations.redactConversation({ ...params }) -> Intercom.Conversationclient.unstable.tags.deleteTag({ ...params }) -> voidclient.unstable.conversations.convertConversationToTicket({ ...params }) -> Intercom.Ticket | undefinedclient.unstable.tags.attachTagToTicket({ ...params }) -> Intercom.Tagclient.unstable.customChannelEvents.notifyNewConversation({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.unstable.tags.detachTagFromTicket({ ...params }) -> Intercom.Tagclient.unstable.customChannelEvents.notifyNewMessage({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.unstable.conversations.listConversations({ ...params }) -> Intercom.ConversationListclient.unstable.customChannelEvents.notifyQuickReplySelected({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.unstable.conversations.createConversation({ ...params }) -> Intercom.Messageclient.unstable.customChannelEvents.notifyAttributeCollected({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.unstable.conversations.retrieveConversation({ ...params }) -> Intercom.Conversationclient.unstable.customObjectInstances.getCustomObjectInstancesByExternalId({ ...params }) -> Intercom.CustomObjectInstance | undefinedclient.unstable.conversations.updateConversation({ ...params }) -> Intercom.Conversationclient.unstable.customObjectInstances.createCustomObjectInstances({ ...params }) -> Intercom.CustomObjectInstance | undefinedclient.unstable.conversations.deleteConversation({ ...params }) -> Intercom.ConversationDeletedclient.unstable.customObjectInstances.deleteCustomObjectInstancesById({ ...params }) -> Intercom.CustomObjectInstanceDeletedclient.unstable.conversations.searchConversations({ ...params }) -> Intercom.ConversationListclient.unstable.customObjectInstances.getCustomObjectInstancesById({ ...params }) -> Intercom.CustomObjectInstance | undefinedclient.unstable.conversations.replyConversation({ ...params }) -> Intercom.Conversationclient.unstable.customObjectInstances.deleteCustomObjectInstancesByExternalId({ ...params }) -> Intercom.CustomObjectInstanceDeletedclient.unstable.conversations.manageConversation({ ...params }) -> Intercom.Conversationclient.unstable.dataAttributes.lisDataAttributes({ ...params }) -> Intercom.DataAttributeListclient.unstable.conversations.attachContactToConversation({ ...params }) -> Intercom.Conversationclient.unstable.dataAttributes.createDataAttribute({ ...params }) -> Intercom.DataAttributeclient.unstable.conversations.detachContactFromConversation({ ...params }) -> Intercom.Conversationclient.unstable.dataAttributes.updateDataAttribute({ ...params }) -> Intercom.DataAttributeclient.unstable.conversations.redactConversation({ ...params }) -> Intercom.Conversationclient.unstable.dataEvents.lisDataEvents({ ...params }) -> Intercom.DataEventSummaryclient.unstable.conversations.convertConversationToTicket({ ...params }) -> Intercom.Ticket | undefinedclient.unstable.dataEvents.createDataEvent({ ...params }) -> voidclient.unstable.customChannelEvents.notifyNewConversation({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.unstable.dataEvents.dataEventSummaries({ ...params }) -> voidclient.unstable.customChannelEvents.notifyNewMessage({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.unstable.dataExport.createDataExport({ ...params }) -> Intercom.DataExportclient.unstable.customChannelEvents.notifyQuickReplySelected({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.unstable.dataExport.getDataExport({ ...params }) -> Intercom.DataExportclient.unstable.customChannelEvents.notifyAttributeCollected({ ...params }) -> Intercom.CustomChannelNotificationResponseclient.unstable.dataExport.cancelDataExport({ ...params }) -> Intercom.DataExportclient.unstable.customObjectInstances.getCustomObjectInstancesByExternalId({ ...params }) -> Intercom.CustomObjectInstance | undefinedclient.unstable.dataExport.downloadDataExport({ ...params }) -> voidclient.unstable.customObjectInstances.createCustomObjectInstances({ ...params }) -> Intercom.CustomObjectInstance | undefinedclient.unstable.jobs.status({ ...params }) -> Intercom.Jobsclient.unstable.customObjectInstances.deleteCustomObjectInstancesById({ ...params }) -> Intercom.CustomObjectInstanceDeletedclient.unstable.macros.listMacros({ ...params }) -> Intercom.MacroListclient.unstable.customObjectInstances.getCustomObjectInstancesById({ ...params }) -> Intercom.CustomObjectInstance | undefinedclient.unstable.macros.getMacro({ ...params }) -> Intercom.Macro | undefinedclient.unstable.customObjectInstances.deleteCustomObjectInstancesByExternalId({ ...params }) -> Intercom.CustomObjectInstanceDeletedclient.unstable.messages.createMessage({ ...params }) -> Intercom.Messageclient.unstable.dataAttributes.lisDataAttributes({ ...params }) -> Intercom.DataAttributeListclient.unstable.messages.getWhatsAppMessageStatus({ ...params }) -> Intercom.WhatsappMessageStatusListclient.unstable.dataAttributes.createDataAttribute({ ...params }) -> Intercom.DataAttributeclient.unstable.news.listNewsItems() -> Intercom.PaginatedResponseclient.unstable.dataAttributes.updateDataAttribute({ ...params }) -> Intercom.DataAttributeclient.unstable.news.createNewsItem({ ...params }) -> Intercom.NewsItemNew costumes in store for this spooky season
", + sender_id: 991267834, + state: "live", + deliver_silently: true, + labels: ["Product", "Update", "New"], + reactions: ["\uD83D\uDE06", "\uD83D\uDE05"], + newsfeed_assignments: [{ + newsfeed_id: 53, + published_at: 1664638214 + }] }); -``` +```client.unstable.dataEvents.lisDataEvents({ ...params }) -> Intercom.DataEventSummaryclient.unstable.news.retrieveNewsItem({ ...params }) -> Intercom.NewsItemclient.unstable.dataEvents.createDataEvent({ ...params }) -> voidclient.unstable.news.updateNewsItem({ ...params }) -> Intercom.NewsItemNew gifts in store for the jolly season
", + sender_id: 991267845, + reactions: ["\uD83D\uDE1D", "\uD83D\uDE02"] + } +}); -When using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event. +``` +client.unstable.news.deleteNewsItem({ ...params }) -> Intercom.DeletedObjectclient.unstable.dataEvents.dataEventSummaries({ ...params }) -> voidclient.unstable.news.listLiveNewsfeedItems({ ...params }) -> Intercom.PaginatedResponseclient.unstable.dataExport.createDataExport({ ...params }) -> Intercom.DataExportclient.unstable.news.listNewsfeeds() -> Intercom.PaginatedResponseclient.unstable.dataExport.getDataExport({ ...params }) -> Intercom.DataExportclient.unstable.news.retrieveNewsfeed({ ...params }) -> Intercom.Newsfeedclient.unstable.dataExport.cancelDataExport({ ...params }) -> Intercom.DataExportclient.unstable.segments.listSegments({ ...params }) -> Intercom.SegmentListclient.unstable.dataExport.downloadDataExport({ ...params }) -> voidclient.unstable.segments.retrieveSegment({ ...params }) -> Intercom.Segmentclient.unstable.jobs.status({ ...params }) -> Intercom.Jobsclient.unstable.switch.createPhoneSwitch({ ...params }) -> Intercom.PhoneSwitch | undefinedclient.unstable.messages.createMessage({ ...params }) -> Intercom.Messageclient.unstable.calls.listCalls({ ...params }) -> Intercom.CallListclient.unstable.messages.getWhatsAppMessageStatus({ ...params }) -> Intercom.WhatsappMessageStatusListclient.unstable.calls.showCall({ ...params }) -> Intercom.Callclient.unstable.news.listNewsItems() -> Intercom.PaginatedResponseclient.unstable.calls.showCallRecording({ ...params }) -> voidclient.unstable.news.createNewsItem({ ...params }) -> Intercom.NewsItemclient.unstable.calls.showCallTranscript({ ...params }) -> stringNew costumes in store for this spooky season
", - sender_id: 991267834, - state: "live", - deliver_silently: true, - labels: ["Product", "Update", "New"], - reactions: ["\uD83D\uDE06", "\uD83D\uDE05"], - newsfeed_assignments: [ - { - newsfeed_id: 53, - published_at: 1664638214, - }, - ], +await client.unstable.calls.showCallTranscript({ + id: "id" }); -``` +```client.unstable.news.retrieveNewsItem({ ...params }) -> Intercom.NewsItemclient.unstable.calls.listCallsWithTranscripts({ ...params }) -> Intercom.ListCallsWithTranscriptsResponseclient.unstable.calls.registerFinVoiceCall({ ...params }) -> Intercom.AiCallResponseclient.unstable.news.updateNewsItem({ ...params }) -> Intercom.NewsItemNew gifts in store for the jolly season
", - sender_id: 991267845, - reactions: ["\uD83D\uDE1D", "\uD83D\uDE02"], - }, +await client.unstable.calls.registerFinVoiceCall({ + phone_number: "+1234567890", + call_id: "call-123-abc" }); -``` +```client.unstable.news.deleteNewsItem({ ...params }) -> Intercom.DeletedObjectclient.unstable.calls.collectFinVoiceCallById({ ...params }) -> Intercom.AiCallResponseclient.unstable.news.listLiveNewsfeedItems({ ...params }) -> Intercom.PaginatedResponseclient.unstable.calls.collectFinVoiceCallByExternalId({ ...params }) -> Intercom.AiCallResponseclient.unstable.news.listNewsfeeds() -> Intercom.PaginatedResponseclient.unstable.calls.collectFinVoiceCallByPhoneNumber({ ...params }) -> Intercom.Error_client.unstable.news.retrieveNewsfeed({ ...params }) -> Intercom.Newsfeedclient.unstable.teams.listTeams() -> Intercom.TeamListclient.unstable.segments.listSegments({ ...params }) -> Intercom.SegmentListclient.unstable.teams.retrieveTeam({ ...params }) -> Intercom.Teamclient.unstable.segments.retrieveSegment({ ...params }) -> Intercom.Segmentclient.unstable.ticketStates.listTicketStates() -> Intercom.TicketStateListclient.unstable.switch.createPhoneSwitch({ ...params }) -> Intercom.PhoneSwitch | undefinedclient.unstable.ticketTypeAttributes.createTicketTypeAttribute({ ...params }) -> Intercom.TicketTypeAttribute | undefinedclient.unstable.teams.listTeams() -> Intercom.TeamListclient.unstable.ticketTypeAttributes.updateTicketTypeAttribute({ ...params }) -> Intercom.TicketTypeAttribute | undefinedclient.unstable.teams.retrieveTeam({ ...params }) -> Intercom.Teamclient.unstable.ticketTypes.listTicketTypes() -> Intercom.TicketTypeListclient.unstable.ticketStates.listTicketStates() -> Intercom.TicketStateListclient.unstable.ticketTypes.createTicketType({ ...params }) -> Intercom.TicketType | undefinedclient.unstable.ticketTypeAttributes.createTicketTypeAttribute({ ...params }) -> Intercom.TicketTypeAttribute | undefinedclient.unstable.ticketTypes.getTicketType({ ...params }) -> Intercom.TicketType | undefinedclient.unstable.ticketTypeAttributes.updateTicketTypeAttribute({ ...params }) -> Intercom.TicketTypeAttribute | undefinedclient.unstable.tickets.replyTicket({ ...params }) -> Intercom.TicketReplyclient.unstable.ticketTypes.listTicketTypes() -> Intercom.TicketTypeListclient.unstable.tickets.enqueueCreateTicket({ ...params }) -> Intercom.Jobsclient.unstable.ticketTypes.createTicketType({ ...params }) -> Intercom.TicketType | undefinedclient.unstable.tickets.getTicket({ ...params }) -> Intercom.Ticket | undefinedclient.unstable.ticketTypes.getTicketType({ ...params }) -> Intercom.TicketType | undefinedclient.unstable.tickets.updateTicket({ ...params }) -> Intercom.Ticket | undefinedclient.unstable.tickets.replyTicket({ ...params }) -> Intercom.TicketReplyclient.unstable.tickets.deleteTicket({ ...params }) -> Intercom.DeleteTicketResponseclient.unstable.tickets.enqueueCreateTicket({ ...params }) -> Intercom.Jobsclient.unstable.tickets.searchTickets({ ...params }) -> Intercom.TicketListclient.unstable.tickets.getTicket({ ...params }) -> Intercom.Ticket | undefinedclient.unstable.visitors.retrieveVisitorWithUserId({ ...params }) -> Intercom.Visitor | undefinedclient.unstable.tickets.updateTicket({ ...params }) -> Intercom.Ticket | undefinedclient.unstable.visitors.updateVisitor({ ...params }) -> Intercom.Visitor | undefinedclient.unstable.tickets.deleteTicket({ ...params }) -> Intercom.DeleteTicketResponseclient.unstable.visitors.convertVisitor({ ...params }) -> Intercom.Contactclient.unstable.tickets.searchTickets({ ...params }) -> Intercom.TicketListclient.unstable.brands.listBrands() -> Intercom.BrandListclient.unstable.visitors.retrieveVisitorWithUserId({ ...params }) -> Intercom.Visitor | undefinedclient.unstable.brands.retrieveBrand({ ...params }) -> Intercom.Brandclient.unstable.visitors.updateVisitor({ ...params }) -> Intercom.Visitor | undefinedclient.unstable.emails.listEmails() -> Intercom.EmailListclient.unstable.visitors.convertVisitor({ ...params }) -> Intercom.Contactclient.unstable.emails.retrieveEmail({ ...params }) -> Intercom.EmailSetting