Skip to content

Commit

Permalink
feat: add required to 2.11 OpenAPI objects (#183)
Browse files Browse the repository at this point in the history
* feat: add required to 2.11 OpenAPI objects

* upgrade fern version

---------

Co-authored-by: dsinghvi <[email protected]>
  • Loading branch information
fern-support and dsinghvi authored Dec 13, 2024
1 parent 1d4e747 commit 96180ea
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 7 deletions.
98 changes: 92 additions & 6 deletions descriptions/2.11/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10964,6 +10964,15 @@ components:
- Admins
description: Admins are teammate accounts that have access to a workspace.
nullable: true
required:
- id

Check warning on line 10968 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

10968:9 [indentation] wrong indentation: expected 6 but found 8
- name
- email
- job_title
- away_mode_enabled
- away_mode_reassign
- has_inbox_seat
- team_ids
properties:
type:
type: string
Expand Down Expand Up @@ -11422,6 +11431,22 @@ components:
article_list_item:
title: Articles
type: object
required:
- id

Check warning on line 11435 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

11435:9 [indentation] wrong indentation: expected 6 but found 8
- workspace_id
- title
- description
- body
- author_id
- state
- created_at
- updated_at
- url
- parent_id
- parent_type
- default_locale
- translated_content
- statistics
x-tags:
- Articles
description: The data returned about your articles when you list them.
Expand Down Expand Up @@ -11991,6 +12016,21 @@ components:
description: Companies allow you to represent organizations using your product.
Each company will have its own description and be associated with contacts.
You can fetch, create, update and list companies.
required:
- company_id

Check warning on line 12020 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

12020:9 [indentation] wrong indentation: expected 6 but found 8
- id
- app_id
- name
- remote_created_at
- created_at
- updated_at
- last_request_at
- monthly_spend
- session_count
- user_count
- size
- website
- industry
properties:
type:
type: string
Expand Down Expand Up @@ -12203,6 +12243,34 @@ components:
- Contacts
description: Contact are the objects that represent your leads and users in
Intercom.
required:
- id

Check warning on line 12247 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

12247:9 [indentation] wrong indentation: expected 6 but found 8
- workspace_id
- external_id
- role
- email
- phone
- name
- avatar
- owner_id
- social_profiles
- has_hard_bounced
- marked_email_as_spam
- unsubscribed_from_emails
- created_at
- updated_at
- signed_up_at
- last_seen_at
- last_replied_at
- last_contacted_at
- last_email_opened_at
- last_email_clicked_at
- language_override
- browser
- browser_version
- browser_language
- os
- location
properties:
type:
type: string
Expand Down Expand Up @@ -12925,6 +12993,23 @@ components:
description: Conversations are how you can communicate with users in Intercom.
They are created when a contact replies to an outbound message, or when one
admin directly sends a message to a single contact.
required:
- id

Check warning on line 12997 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

12997:9 [indentation] wrong indentation: expected 6 but found 8
- created_at
- updated_at
- source
- contacts
- teammates
- title
- admin_assignee_id
- team_assignee_id
- custom_attributes
- topics
- open
- state
- read
- waiting_since
- snoozed_until
properties:
type:
type: string
Expand Down Expand Up @@ -15148,12 +15233,6 @@ components:
type: string
description: The associated conversation_id
example: '64619700005570'
required:
- type
- id
- created_at
- body
- message_type
multiple_filter_search_request:
title: Multiple Filter Search Request
description: Search using Intercoms Search APIs with more than one filter.
Expand Down Expand Up @@ -15650,6 +15729,13 @@ components:
- Segments
description: A segment is a group of your contacts defined by the rules that
you set.
required:
- type

Check warning on line 15733 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

15733:9 [indentation] wrong indentation: expected 6 but found 8
- id
- name
- created_at
- updated_at
- person_type
properties:
type:
type: string
Expand Down
2 changes: 1 addition & 1 deletion fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "intercom",
"version": "0.42.14"
"version": "0.46.1"
}

0 comments on commit 96180ea

Please sign in to comment.