intercom-node
intercom-node copied to clipboard
Node.js bindings for the Intercom API
Hi, Is there any plans to add the types for the Canvas kit requests? https://developers.intercom.com/docs/canvas-kit I would be glad to submit a PR if you guys want 😃
My code: ``` const intercom = new IntercomClient({ environment: IntercomEnvironment.AuProduction, token: 'MY_TOKEN_HERE', version: '2.11', }); const company: Company = await intercom.companies.createOrUpdate({ company_id: user.businessID, name: user.businessName, remote_created_at: dateCreated, custom_attributes: { 'something_here':...
#### Why? This adds types for the [Canvas Kit](https://developers.intercom.com/docs/canvas-kit) Related to: #459
This PR regenerates code to match the latest API Definition.
#### Why? Why are you making this change? Company retrieve doesn't match the api [here](https://developers.intercom.com/docs/references/rest-api/api.intercom.io/companies/retrievecompany) which can return either a Company or a Company list depending on whether the company_id...
Not clear from the documentation what token and where to get it.
When running in Cloudflare Workers environment, any request to Intercom fails with: ```json { "code": "media_type_not_acceptable", "message": "The Accept header should send a media type of application/json" } ``` It...
The type definition for `TicketType` is not aligned with what the API returns. ```ts const tt = await intercom.ticketTypes.get({ ticket_type_id: params.ticketTypeId }); console.log('ticket type', tt.ticket_type_attributes.data); ``` Using `"intercom-client": "6.4.0"` and...
## Summary This PR updates the CI workflow to use OIDC (OpenID Connect) authentication for npmjs publishing instead of static authentication tokens. Starting in **mid-November 2025**, npm is deprecating long-lived...
when I searching articles in the response I got the following page request `https://api.intercom.io/articles/search?phrase=example&state=published&highlight=true&per_page=10&page=2`, but the search doesn't support `per_page` and `page` in the request.