Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 68 additions & 32 deletions descriptions/0/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14826,6 +14826,18 @@ components:
description: The customer satisfaction rating remark given to AI Agent.
example: Very helpful!
nullable: true
created_at:
type: integer
format: date-time
description: The time when the AI agent rating was created.
example: 1663597260
nullable: true
updated_at:
type: integer
format: date-time
description: The time when the AI agent rating was last updated.
example: 1663597260
nullable: true
content_sources:
"$ref": "#/components/schemas/content_sources_list"
app:
Expand Down Expand Up @@ -16988,6 +17000,11 @@ components:
description: The time the rating was requested in the conversation being
rated.
example: 1671028894
updated_at:
type: integer
format: date-time
description: The time the rating was last updated.
example: 1671028894
contact:
"$ref": "#/components/schemas/contact_reference"
teammate:
Expand Down Expand Up @@ -17511,38 +17528,48 @@ components:
- contact
- company
example: contact
data_type:
type: string
description: The type of data stored for this attribute.
enum:
- string
- integer
- float
- boolean
- datetime
- date
example: string
description:
type: string
description: The readable description you see in the UI for the attribute.
example: My Data Attribute Description
options:
type: array
description: To create list attributes. Provide a set of hashes with `value`
as the key of the options you want to make. `data_type` must be `string`.
items:
type: string
example:
- option1
- option2
messenger_writable:
type: boolean
description: Can this attribute be updated by the Messenger
example: false
required:
- name
- model
- data_type
- name
- model
- data_type
oneOf:
- properties:
data_type:
enum:
- options
options:
type: array
description: Array of objects representing the options of the list, with `value` as the key and the option as the value. At least
two options are required.
items:
type: object
properties:
value:
type: string
example:
- value: 1-10
- value: 11-50
required:
- options
title: 'list attribute'
- properties:
data_type:
enum:
- string
- integer
- float
- boolean
- datetime
- date
title: 'other type'
create_data_event_request:
description: ''
type: object
Expand Down Expand Up @@ -21754,19 +21781,28 @@ components:
type: string
description: The readable description you see in the UI for the attribute.
example: My Data Attribute Description
options:
type: array
description: To create list attributes. Provide a set of hashes with `value`
as the key of the options you want to make. `data_type` must be `string`.
items:
type: string
example:
- option1
- option2
messenger_writable:
type: boolean
description: Can this attribute be updated by the Messenger
example: false
oneOf:
- properties:
options:
type: array
description: Array of objects representing the options of the list, with `value` as the key and the option as the value. At least
two options are required.
items:
type: object
properties:
value:
type: string
example:
- value: 1-10
- value: 11-50
required:
- options
title: 'list attribute'
- title: 'other type'
update_external_page_request:
title: Update External Page Payload
type: object
Expand Down
18 changes: 18 additions & 0 deletions fern/unstable-openapi-overrides.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
paths:
'/data_attributes':
Copy link
Contributor

@VarshSuresh VarshSuresh Aug 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure we want to make these changes here 🤔
I have low context on fern, but this looks like it was pushed by someone from fern

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these are just config files used to generate SDKs 🤔 I needed to edit them as the build of the pr was failing

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I asked cursor about that file:

When this configuration is processed by Fern:

  • Reads the OpenAPI specifications from the descriptions/ directory
  • Applies any overrides specified in the override files
  • Generates complete SDK code for each language
  • Creates pull requests in the respective GitHub repositories
  • Publishes packages to their respective registries (NPM, Maven, PyPI)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also got it confirmed by @Eclairemoy on Slack 🙏🏻

post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateDataAttributeRequest'
'/data_attributes/{id}':
put:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateDataAttributeRequest'
'/articles':
post:
requestBody:
Expand Down Expand Up @@ -98,6 +112,10 @@ paths:

components:
schemas:
create_data_attribute_request:
x-fern-type-name: CreateDataAttributeRequest
update_data_attribute_request:
x-fern-type-name: UpdateDataAttributeRequest
custom_attributes:
example:
monthly_spend: '155.5'
Expand Down