Skip to content

Commit 96180ea

Browse files
feat: add required to 2.11 OpenAPI objects (#183)
* feat: add required to 2.11 OpenAPI objects * upgrade fern version --------- Co-authored-by: dsinghvi <deep@usebirch.com>
1 parent 1d4e747 commit 96180ea

File tree

2 files changed

+93
-7
lines changed

2 files changed

+93
-7
lines changed

descriptions/2.11/api.intercom.io.yaml

Lines changed: 92 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10964,6 +10964,15 @@ components:
1096410964
- Admins
1096510965
description: Admins are teammate accounts that have access to a workspace.
1096610966
nullable: true
10967+
required:
10968+
- id
10969+
- name
10970+
- email
10971+
- job_title
10972+
- away_mode_enabled
10973+
- away_mode_reassign
10974+
- has_inbox_seat
10975+
- team_ids
1096710976
properties:
1096810977
type:
1096910978
type: string
@@ -11422,6 +11431,22 @@ components:
1142211431
article_list_item:
1142311432
title: Articles
1142411433
type: object
11434+
required:
11435+
- id
11436+
- workspace_id
11437+
- title
11438+
- description
11439+
- body
11440+
- author_id
11441+
- state
11442+
- created_at
11443+
- updated_at
11444+
- url
11445+
- parent_id
11446+
- parent_type
11447+
- default_locale
11448+
- translated_content
11449+
- statistics
1142511450
x-tags:
1142611451
- Articles
1142711452
description: The data returned about your articles when you list them.
@@ -11991,6 +12016,21 @@ components:
1199112016
description: Companies allow you to represent organizations using your product.
1199212017
Each company will have its own description and be associated with contacts.
1199312018
You can fetch, create, update and list companies.
12019+
required:
12020+
- company_id
12021+
- id
12022+
- app_id
12023+
- name
12024+
- remote_created_at
12025+
- created_at
12026+
- updated_at
12027+
- last_request_at
12028+
- monthly_spend
12029+
- session_count
12030+
- user_count
12031+
- size
12032+
- website
12033+
- industry
1199412034
properties:
1199512035
type:
1199612036
type: string
@@ -12203,6 +12243,34 @@ components:
1220312243
- Contacts
1220412244
description: Contact are the objects that represent your leads and users in
1220512245
Intercom.
12246+
required:
12247+
- id
12248+
- workspace_id
12249+
- external_id
12250+
- role
12251+
- email
12252+
- phone
12253+
- name
12254+
- avatar
12255+
- owner_id
12256+
- social_profiles
12257+
- has_hard_bounced
12258+
- marked_email_as_spam
12259+
- unsubscribed_from_emails
12260+
- created_at
12261+
- updated_at
12262+
- signed_up_at
12263+
- last_seen_at
12264+
- last_replied_at
12265+
- last_contacted_at
12266+
- last_email_opened_at
12267+
- last_email_clicked_at
12268+
- language_override
12269+
- browser
12270+
- browser_version
12271+
- browser_language
12272+
- os
12273+
- location
1220612274
properties:
1220712275
type:
1220812276
type: string
@@ -12925,6 +12993,23 @@ components:
1292512993
description: Conversations are how you can communicate with users in Intercom.
1292612994
They are created when a contact replies to an outbound message, or when one
1292712995
admin directly sends a message to a single contact.
12996+
required:
12997+
- id
12998+
- created_at
12999+
- updated_at
13000+
- source
13001+
- contacts
13002+
- teammates
13003+
- title
13004+
- admin_assignee_id
13005+
- team_assignee_id
13006+
- custom_attributes
13007+
- topics
13008+
- open
13009+
- state
13010+
- read
13011+
- waiting_since
13012+
- snoozed_until
1292813013
properties:
1292913014
type:
1293013015
type: string
@@ -15148,12 +15233,6 @@ components:
1514815233
type: string
1514915234
description: The associated conversation_id
1515015235
example: '64619700005570'
15151-
required:
15152-
- type
15153-
- id
15154-
- created_at
15155-
- body
15156-
- message_type
1515715236
multiple_filter_search_request:
1515815237
title: Multiple Filter Search Request
1515915238
description: Search using Intercoms Search APIs with more than one filter.
@@ -15650,6 +15729,13 @@ components:
1565015729
- Segments
1565115730
description: A segment is a group of your contacts defined by the rules that
1565215731
you set.
15732+
required:
15733+
- type
15734+
- id
15735+
- name
15736+
- created_at
15737+
- updated_at
15738+
- person_type
1565315739
properties:
1565415740
type:
1565515741
type: string

fern/fern.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization": "intercom",
3-
"version": "0.42.14"
3+
"version": "0.46.1"
44
}

0 commit comments

Comments
 (0)