Skip to content

Commit cd8060c

Browse files
authored
Add changes for new fields on create and update ticket endpoints (#200)
1 parent 5aa0b4b commit cd8060c

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16044,6 +16044,14 @@ components:
1604416044
example: 1590000000
1604516045
ticket_attributes:
1604616046
"$ref": "#/components/schemas/ticket_request_custom_attributes"
16047+
assignment:
16048+
type: object
16049+
properties:
16050+
assignee_id:
16051+
type: string
16052+
description: The ID of the admin to which the ticket is assigned.
16053+
If not provided, the ticket will be unassigned.
16054+
example: '123'
1604716055
required:
1604816056
- ticket_type_id
1604916057
- contacts
@@ -19171,6 +19179,11 @@ components:
1917119179
type: string
1917219180
description: The ID of the ticket state associated with the ticket type.
1917319181
example: '123'
19182+
company_id:
19183+
type: string
19184+
description: The ID of the company that the ticket is associated with. The
19185+
unique identifier for the company which is given by Intercom. Set to nil to remove company.
19186+
example: 5f4d3c1c-7b1b-4d7d-a97e-6095715c6632
1917419187
open:
1917519188
type: boolean
1917619189
description: Specify if a ticket is open. Set to false to close a ticket.

descriptions/2.12/api.intercom.io.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15134,6 +15134,14 @@ components:
1513415134
example: 1590000000
1513515135
ticket_attributes:
1513615136
"$ref": "#/components/schemas/ticket_request_custom_attributes"
15137+
assignment:
15138+
type: object
15139+
properties:
15140+
assignee_id:
15141+
type: string
15142+
description: The ID of the admin to which the ticket is assigned.
15143+
If not provided, the ticket will be unassigned.
15144+
example: '123'
1513715145
required:
1513815146
- ticket_type_id
1513915147
- contacts
@@ -18156,6 +18164,11 @@ components:
1815618164
type: string
1815718165
description: The ID of the ticket state associated with the ticket type.
1815818166
example: '123'
18167+
company_id:
18168+
type: string
18169+
description: The ID of the company that the ticket is associated with. The
18170+
unique identifier for the company which is given by Intercom. Set to nil to remove company.
18171+
example: 5f4d3c1c-7b1b-4d7d-a97e-6095715c6632
1815918172
open:
1816018173
type: boolean
1816118174
description: Specify if a ticket is open. Set to false to close a ticket.

0 commit comments

Comments
 (0)