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
This issue is related to intercom-node#457, where it was reported that the companies property is missing from the Contact object in the generated Node.js client (v6).
Current State
The OpenAPI specification (2.11) already includes the companies property in the Contact schema:
And the referenced contact_companies schema is properly defined with:
Problem
Despite the property being correctly defined in the OpenAPI spec, it's not being properly exposed in the generated Node.js client's TypeScript definitions. This affects methods like client.contacts.update where the returned Contact object should include the companies property.
Expected Behavior
The Contact interface in the Node.js client should include the companies property as defined in the OpenAPI spec:
Request
Since this repository's OpenAPI descriptions are automatically generated from Intercom's internal codebase, we request:
Verification that the current companies property definition in the OpenAPI spec is correct
Investigation into why the Fern-based code generation isn't properly including this property in the Node.js client
Updates to the internal generation logic or Fern configuration to ensure the companies property is properly exposed in the generated client
This is blocking customers from upgrading to v6 of the Node.js client as the companies property is needed for their implementations.
Additional Context
The companies property was working correctly in v5 of the Node.js client
Issue Description
This issue is related to intercom-node#457, where it was reported that the
companies
property is missing from the Contact object in the generated Node.js client (v6).Current State
The OpenAPI specification (2.11) already includes the
companies
property in the Contact schema:And the referenced
contact_companies
schema is properly defined with:Problem
Despite the property being correctly defined in the OpenAPI spec, it's not being properly exposed in the generated Node.js client's TypeScript definitions. This affects methods like
client.contacts.update
where the returned Contact object should include thecompanies
property.Expected Behavior
The Contact interface in the Node.js client should include the companies property as defined in the OpenAPI spec:
Request
Since this repository's OpenAPI descriptions are automatically generated from Intercom's internal codebase, we request:
This is blocking customers from upgrading to v6 of the Node.js client as the companies property is needed for their implementations.
Additional Context
The text was updated successfully, but these errors were encountered: