You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Typings for client.companies.update only include company_id #465
exportinterfaceUpdateCompanyRequest{/** * The unique identifier for the company which is given by Intercom */company_id: string;}
I am trying to update a very old integration which uses a number of requests across the client. Thankfully in this case I think I can use createOrUpdate which appears to have correct typings. Is this new version of the project stable enough to build off of or should I integrate directly against the http endpoints (since the OpenAPI documentation seems fairly complete) for the time being?
As I'm working through something similar, I'm getting the impression that the REST endpoints will be easier to manage. For example, for the companies.delete function(and this one most likely), the reference doc specifies to use "company_id", but it actually requires the internal "id".
@mkohlmyr we're seeing roughly 34k weekly downloads on 6.x and it should be pretty stable to build off of. If you have any issues feel free to report them and we will fix.
@fern-support I did report an issue, the typings are incorrect and do not match your OpenAPI specification on multiple endpoints e.g. as stated in the original message -
Activity
ate-f commentedon Feb 14, 2025
As I'm working through something similar, I'm getting the impression that the REST endpoints will be easier to manage. For example, for the companies.delete function(and this one most likely), the reference doc specifies to use "company_id", but it actually requires the internal "id".
fern-support commentedon Mar 20, 2025
@mkohlmyr we're seeing roughly 34k weekly downloads on 6.x and it should be pretty stable to build off of. If you have any issues feel free to report them and we will fix.
mkohlmyr commentedon May 2, 2025
@fern-support I did report an issue, the typings are incorrect and do not match your OpenAPI specification on multiple endpoints e.g. as stated in the original message -
intercom-node/src/api/resources/companies/client/requests/UpdateCompanyRequest.ts
Line 11 in fc2ac6c