From 71def27b42a30dde22a6b37d0bc0ee0b6e504273 Mon Sep 17 00:00:00 2001 From: jsklan Date: Fri, 24 Oct 2025 15:02:56 -0400 Subject: [PATCH 1/3] Update Update company with new request payload type --- descriptions/2.14/api.intercom.io.yaml | 59 ++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/descriptions/2.14/api.intercom.io.yaml b/descriptions/2.14/api.intercom.io.yaml index 4be7b9b..b52341b 100644 --- a/descriptions/2.14/api.intercom.io.yaml +++ b/descriptions/2.14/api.intercom.io.yaml @@ -2955,6 +2955,21 @@ paths: {% admonition type="warning" name="Using `company_id`" %} When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company. {% /admonition %} + requestBody: + content: + application/json: + schema: + "$ref": "#/components/schemas/update_company_request" + examples: + successful: + summary: Successful + value: + name: my company + website: http://www.mycompany.com/ + bad_request: + summary: Bad Request + value: + test: invalid responses: '200': description: Successful @@ -17785,6 +17800,50 @@ components: 155.98 will be truncated to 155. Note that this has an upper limit of 2**31-1 or 2147483647.. example: 1000 + update_company_request: + type: object + title: Update Company Request Payload + description: You can update a Company + nullable: true + properties: + name: + type: string + description: The name of the Company + example: Intercom + plan: + type: string + description: The name of the plan you have associated with the company. + example: Enterprise + size: + type: integer + description: The number of employees in this company. + example: '100' + website: + type: string + description: The URL for this company's website. Please note that the value + specified here is not validated. Accepts any string. + example: https://www.example.com + industry: + type: string + description: The industry that this company operates in. + example: Manufacturing + custom_attributes: + type: object + description: A hash of key/value pairs containing any other data about the + company you want Intercom to store. + additionalProperties: + type: string + example: + paid_subscriber: true + monthly_spend: 155.5 + team_mates: 9 + monthly_spend: + type: integer + description: How much revenue the company generates for your business. Note + that this will truncate floats. i.e. it only allow for whole integers, + 155.98 will be truncated to 155. Note that this has an upper limit of + 2**31-1 or 2147483647.. + example: 1000 create_or_update_custom_object_instance_request: description: Payload to create or update a Custom Object instance type: object From 00edbec05219d36293d718e5e48a6ed010f5c62b Mon Sep 17 00:00:00 2001 From: jsklan Date: Fri, 24 Oct 2025 15:50:59 -0400 Subject: [PATCH 2/3] Update spec --- fern/generators.yml | 10 +++++----- fern/openapi-overrides.yml | 8 +++++++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/fern/generators.yml b/fern/generators.yml index 98dd1c9..1fd1430 100644 --- a/fern/generators.yml +++ b/fern/generators.yml @@ -15,8 +15,8 @@ api: groups: ts-sdk: generators: - - name: fernapi/fern-typescript-node-sdk - version: 0.51.7 + - name: fernapi/fern-typescript-sdk + version: 2.12.0 output: location: npm package-name: intercom-client @@ -46,7 +46,7 @@ groups: java-sdk: generators: - name: fernapi/fern-java-sdk - version: 2.37.0 + version: 2.43.3 output: location: maven coordinate: io.intercom:intercom-java @@ -68,7 +68,7 @@ groups: python-sdk: generators: - name: fernapi/fern-python-sdk - version: 4.22.0 + version: 4.29.2 github: mode: pull-request repository: intercom/python-intercom @@ -84,7 +84,7 @@ groups: php-sdk: generators: - name: fernapi/fern-php-sdk - version: 1.16.7 + version: 1.17.1 github: mode: pull-request repository: intercom/intercom-php diff --git a/fern/openapi-overrides.yml b/fern/openapi-overrides.yml index 71a80f5..365d2d6 100644 --- a/fern/openapi-overrides.yml +++ b/fern/openapi-overrides.yml @@ -1872,6 +1872,9 @@ components: # Remove nullable: false once java generator updated to handle this case. nullable: false + update_company_request: + x-fern-type-name: UpdateCompanyRequestBody + securitySchemes: bearerAuth: x-fern-bearer: @@ -1881,7 +1884,7 @@ x-fern-version: header: name: version value: Intercom-Version - default: "2.11" + default: "2.14" values: - "1.0" - "1.1" @@ -1900,6 +1903,9 @@ x-fern-version: - "2.9" - "2.10" - "2.11" + - "2.12" + - "2.13" + - "2.14" - "Unstable" servers: From e05ea188092c643cd8fc24523d8df867b622c7d5 Mon Sep 17 00:00:00 2001 From: jsklan Date: Fri, 24 Oct 2025 16:07:15 -0400 Subject: [PATCH 3/3] Revert generators.yml changes --- fern/generators.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fern/generators.yml b/fern/generators.yml index 1fd1430..98dd1c9 100644 --- a/fern/generators.yml +++ b/fern/generators.yml @@ -15,8 +15,8 @@ api: groups: ts-sdk: generators: - - name: fernapi/fern-typescript-sdk - version: 2.12.0 + - name: fernapi/fern-typescript-node-sdk + version: 0.51.7 output: location: npm package-name: intercom-client @@ -46,7 +46,7 @@ groups: java-sdk: generators: - name: fernapi/fern-java-sdk - version: 2.43.3 + version: 2.37.0 output: location: maven coordinate: io.intercom:intercom-java @@ -68,7 +68,7 @@ groups: python-sdk: generators: - name: fernapi/fern-python-sdk - version: 4.29.2 + version: 4.22.0 github: mode: pull-request repository: intercom/python-intercom @@ -84,7 +84,7 @@ groups: php-sdk: generators: - name: fernapi/fern-php-sdk - version: 1.17.1 + version: 1.16.7 github: mode: pull-request repository: intercom/intercom-php