Skip to content

Commit 8780018

Browse files
levindixonclaude
andauthored
Add skip_notifications parameter to Update Ticket endpoint (#383)
* Add skip_notifications parameter to Update Ticket endpoint docs The skip_notifications boolean parameter works on the Update Ticket (PUT /tickets/{id}) endpoint but was missing from the OpenAPI specs. This adds it to 2.13, 2.14, 2.15, and Unstable (0) using the same allOf wrapper pattern used by Create Ticket. Closes intercom/intercom#474395 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Add Fern type rename for update_ticket_request to avoid name collision The allOf wrapper on Update Ticket causes Fern to generate an inline type named UpdateTicketRequest (from x-fern-request-name), which collides with the component schema update_ticket_request. Adding x-fern-type-name: UpdateTicketRequestBody follows the same pattern used by create_ticket_request → CreateTicketRequestBody. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 777e9ad commit 8780018

File tree

6 files changed

+32
-4
lines changed

6 files changed

+32
-4
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14586,7 +14586,13 @@ paths:
1458614586
content:
1458714587
application/json:
1458814588
schema:
14589-
"$ref": "#/components/schemas/update_ticket_request"
14589+
allOf:
14590+
- "$ref": "#/components/schemas/update_ticket_request"
14591+
properties:
14592+
skip_notifications:
14593+
type: boolean
14594+
description: Option to disable notifications when a Ticket is updated.
14595+
example: true
1459014596
examples:
1459114597
successful_response:
1459214598
summary: Successful response

descriptions/2.13/api.intercom.io.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12147,7 +12147,13 @@ paths:
1214712147
content:
1214812148
application/json:
1214912149
schema:
12150-
"$ref": "#/components/schemas/update_ticket_request"
12150+
allOf:
12151+
- "$ref": "#/components/schemas/update_ticket_request"
12152+
properties:
12153+
skip_notifications:
12154+
type: boolean
12155+
description: Option to disable notifications when a Ticket is updated.
12156+
example: true
1215112157
examples:
1215212158
successful_response:
1215312159
summary: Successful response

descriptions/2.14/api.intercom.io.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13325,7 +13325,13 @@ paths:
1332513325
content:
1332613326
application/json:
1332713327
schema:
13328-
"$ref": "#/components/schemas/update_ticket_request"
13328+
allOf:
13329+
- "$ref": "#/components/schemas/update_ticket_request"
13330+
properties:
13331+
skip_notifications:
13332+
type: boolean
13333+
description: Option to disable notifications when a Ticket is updated.
13334+
example: true
1332913335
examples:
1333013336
successful_response:
1333113337
summary: Successful response

descriptions/2.15/api.intercom.io.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13396,7 +13396,13 @@ paths:
1339613396
content:
1339713397
application/json:
1339813398
schema:
13399-
"$ref": "#/components/schemas/update_ticket_request"
13399+
allOf:
13400+
- "$ref": "#/components/schemas/update_ticket_request"
13401+
properties:
13402+
skip_notifications:
13403+
type: boolean
13404+
description: Option to disable notifications when a Ticket is updated.
13405+
example: true
1340013406
examples:
1340113407
successful_response:
1340213408
summary: Successful response

fern/openapi-overrides.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,6 +2202,8 @@ components:
22022202
x-fern-type-name: CreateTicketRequestBody
22032203
properties:
22042204
ticket_attributes: null
2205+
update_ticket_request:
2206+
x-fern-type-name: UpdateTicketRequestBody
22052207
update_article_request:
22062208
x-fern-type-name: UpdateArticleRequestBody
22072209
# TODO: fern-support

fern/unstable-openapi-overrides.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ components:
151151
x-fern-type-name: CreateTicketRequestBody
152152
properties:
153153
ticket_attributes: null
154+
update_ticket_request:
155+
x-fern-type-name: UpdateTicketRequestBody
154156
update_internal_article_request:
155157
x-fern-type-name: UpdateInternalArticleRequestBody
156158
nullable: false

0 commit comments

Comments
 (0)