Skip to content

Commit ac8ce3f

Browse files
VarshSureshclaude
andauthored
Fix conversation model assignee ID types to match API responses (#453)
* Fix conversation model assignee ID types to match API responses Updated team_assignee_id to integer type, removed nullable: true, changed descriptions from "return null" to "return 0", fixed search table types from String to Integer, and added alternating integer/zero example values in response examples — all scoped to the conversation model across every version (2.7 through Preview). Ticket model is intentionally unchanged. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update assignee ID changes to match latest developer-docs PR Restore nullable: true and null descriptions on conversation schemas, use uniform example values (991267715/5017691), preserve original admin_assignee_id where it was already an integer in the assign endpoint examples. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8cb3e98 commit ac8ce3f

File tree

10 files changed

+320
-320
lines changed

10 files changed

+320
-320
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7333,8 +7333,8 @@ paths:
73337333
id: 6762f0f31bb69f9f2193bb8b
73347334
external_id: '70'
73357335
first_contact_reply:
7336-
admin_assignee_id:
7337-
team_assignee_id:
7336+
admin_assignee_id: 991267715
7337+
team_assignee_id: 5017691
73387338
open: false
73397339
state: closed
73407340
read: false
@@ -7575,8 +7575,8 @@ paths:
75757575
id: 6762f1261bb69f9f2193bba7
75767576
external_id: '70'
75777577
first_contact_reply:
7578-
admin_assignee_id:
7579-
team_assignee_id:
7578+
admin_assignee_id: 991267715
7579+
team_assignee_id: 5017691
75807580
open: false
75817581
state: closed
75827582
read: false
@@ -7752,8 +7752,8 @@ paths:
77527752
id: 6762f1261bb69f9f2193bba7
77537753
external_id: '70'
77547754
first_contact_reply:
7755-
admin_assignee_id:
7756-
team_assignee_id:
7755+
admin_assignee_id: 991267715
7756+
team_assignee_id: 5017691
77577757
open: false
77587758
state: closed
77597759
read: false
@@ -8005,8 +8005,8 @@ paths:
80058005
id: 6762f1301bb69f9f2193bbab
80068006
external_id: '70'
80078007
first_contact_reply:
8008-
admin_assignee_id:
8009-
team_assignee_id:
8008+
admin_assignee_id: 991267715
8009+
team_assignee_id: 5017691
80108010
open: false
80118011
state: closed
80128012
read: true
@@ -8103,8 +8103,8 @@ paths:
81038103
id: 6762f1341bb69f9f2193bbac
81048104
external_id: '70'
81058105
first_contact_reply:
8106-
admin_assignee_id:
8107-
team_assignee_id:
8106+
admin_assignee_id: 991267715
8107+
team_assignee_id: 5017691
81088108
open: false
81098109
state: closed
81108110
read: false
@@ -8351,8 +8351,8 @@ paths:
83518351
| source.url | String |
83528352
| contact_ids | String |
83538353
| teammate_ids | String |
8354-
| admin_assignee_id | String |
8355-
| team_assignee_id | String |
8354+
| admin_assignee_id | Integer |
8355+
| team_assignee_id | Integer |
83568356
| channel_initiated | String |
83578357
| open | Boolean |
83588358
| read | Boolean |
@@ -8452,8 +8452,8 @@ paths:
84528452
id: 6762f14a1bb69f9f2193bbb3
84538453
external_id: '70'
84548454
first_contact_reply:
8455-
admin_assignee_id:
8456-
team_assignee_id:
8455+
admin_assignee_id: 991267715
8456+
team_assignee_id: 5017691
84578457
open: false
84588458
state: closed
84598459
read: false
@@ -8555,8 +8555,8 @@ paths:
85558555
created_at: 1734537561
85568556
type: conversation
85578557
url:
8558-
admin_assignee_id:
8559-
team_assignee_id:
8558+
admin_assignee_id: 991267715
8559+
team_assignee_id: 5017691
85608560
open: true
85618561
state: open
85628562
read: false
@@ -8632,8 +8632,8 @@ paths:
86328632
id: 6762f15b1bb69f9f2193bbbc
86338633
external_id: '70'
86348634
first_contact_reply:
8635-
admin_assignee_id:
8636-
team_assignee_id:
8635+
admin_assignee_id: 991267715
8636+
team_assignee_id: 5017691
86378637
open: false
86388638
state: closed
86398639
read: false
@@ -8721,8 +8721,8 @@ paths:
87218721
id: 6762f15e1bb69f9f2193bbbd
87228722
external_id: '70'
87238723
first_contact_reply:
8724-
admin_assignee_id:
8725-
team_assignee_id:
8724+
admin_assignee_id: 991267715
8725+
team_assignee_id: 5017691
87268726
open: false
87278727
state: closed
87288728
read: false
@@ -8801,8 +8801,8 @@ paths:
88018801
created_at: 1734537572
88028802
type: conversation
88038803
url:
8804-
admin_assignee_id:
8805-
team_assignee_id:
8804+
admin_assignee_id: 991267715
8805+
team_assignee_id: 5017691
88068806
open: true
88078807
state: open
88088808
read: false
@@ -9002,8 +9002,8 @@ paths:
90029002
id: 6762f16e1bb69f9f2193bbc2
90039003
external_id: '70'
90049004
first_contact_reply:
9005-
admin_assignee_id:
9006-
team_assignee_id:
9005+
admin_assignee_id: 991267715
9006+
team_assignee_id: 5017691
90079007
open: false
90089008
state: closed
90099009
read: false
@@ -9079,8 +9079,8 @@ paths:
90799079
id: 6762f1711bb69f9f2193bbc3
90809080
external_id: '70'
90819081
first_contact_reply:
9082-
admin_assignee_id:
9083-
team_assignee_id:
9082+
admin_assignee_id: 991267715
9083+
team_assignee_id: 5017691
90849084
open: true
90859085
state: snoozed
90869086
read: false
@@ -9156,8 +9156,8 @@ paths:
91569156
id: 6762f1781bb69f9f2193bbc8
91579157
external_id: '74'
91589158
first_contact_reply:
9159-
admin_assignee_id:
9160-
team_assignee_id:
9159+
admin_assignee_id: 991267715
9160+
team_assignee_id: 5017691
91619161
open: true
91629162
state: open
91639163
read: true
@@ -9234,7 +9234,7 @@ paths:
92349234
external_id: '70'
92359235
first_contact_reply:
92369236
admin_assignee_id: 991267715
9237-
team_assignee_id:
9237+
team_assignee_id: 5017691
92389238
open: true
92399239
state: open
92409240
read: false
@@ -9942,8 +9942,8 @@ paths:
99429942
created_at: 1734537722
99439943
type: conversation
99449944
url:
9945-
admin_assignee_id:
9946-
team_assignee_id:
9945+
admin_assignee_id: 991267715
9946+
team_assignee_id: 5017691
99479947
open: true
99489948
state: open
99499949
read: true
@@ -21407,11 +21407,11 @@ components:
2140721407
assigned to an admin it will return null.
2140821408
example: 0
2140921409
team_assignee_id:
21410-
type: string
21410+
type: integer
2141121411
nullable: true
2141221412
description: The id of the team assigned to the conversation. If it's not
2141321413
assigned to a team it will return null.
21414-
example: '5017691'
21414+
example: 5017691
2141521415
company:
2141621416
"$ref": "#/components/schemas/company"
2141721417
nullable: true
@@ -21528,11 +21528,11 @@ components:
2152821528
assigned to an admin it will return null.
2152921529
example: 0
2153021530
team_assignee_id:
21531-
type: string
21531+
type: integer
2153221532
nullable: true
2153321533
description: The id of the team assigned to the conversation. If it's not
2153421534
assigned to a team it will return null.
21535-
example: '5017691'
21535+
example: 5017691
2153621536
company:
2153721537
"$ref": "#/components/schemas/company"
2153821538
nullable: true

descriptions/2.10/api.intercom.io.yaml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4315,8 +4315,8 @@ paths:
43154315
id: 6657ac736abd0166b52ae24e
43164316
external_id: '70'
43174317
first_contact_reply:
4318-
admin_assignee_id:
4319-
team_assignee_id:
4318+
admin_assignee_id: 991267715
4319+
team_assignee_id: 5017691
43204320
open: false
43214321
state: closed
43224322
read: false
@@ -4539,8 +4539,8 @@ paths:
45394539
id: 6657ac916abd0166b52ae26a
45404540
external_id: '70'
45414541
first_contact_reply:
4542-
admin_assignee_id:
4543-
team_assignee_id:
4542+
admin_assignee_id: 991267715
4543+
team_assignee_id: 5017691
45444544
open: false
45454545
state: closed
45464546
read: false
@@ -4675,8 +4675,8 @@ paths:
46754675
id: 6657ac966abd0166b52ae26e
46764676
external_id: '70'
46774677
first_contact_reply:
4678-
admin_assignee_id:
4679-
team_assignee_id:
4678+
admin_assignee_id: 991267715
4679+
team_assignee_id: 5017691
46804680
open: false
46814681
state: closed
46824682
read: true
@@ -4843,8 +4843,8 @@ paths:
48434843
| source.url | String |
48444844
| contact_ids | String |
48454845
| teammate_ids | String |
4846-
| admin_assignee_id | String |
4847-
| team_assignee_id | String |
4846+
| admin_assignee_id | Integer |
4847+
| team_assignee_id | Integer |
48484848
| channel_initiated | String |
48494849
| open | Boolean |
48504850
| read | Boolean |
@@ -4944,8 +4944,8 @@ paths:
49444944
id: 6657aca16abd0166b52ae275
49454945
external_id: '70'
49464946
first_contact_reply:
4947-
admin_assignee_id:
4948-
team_assignee_id:
4947+
admin_assignee_id: 991267715
4948+
team_assignee_id: 5017691
49494949
open: false
49504950
state: closed
49514951
read: false
@@ -5043,8 +5043,8 @@ paths:
50435043
created_at: 1717021866
50445044
type: conversation
50455045
url:
5046-
admin_assignee_id:
5047-
team_assignee_id:
5046+
admin_assignee_id: 991267715
5047+
team_assignee_id: 5017691
50485048
open: true
50495049
state: open
50505050
read: false
@@ -5129,8 +5129,8 @@ paths:
51295129
id: 6657acab6abd0166b52ae27e
51305130
external_id: '70'
51315131
first_contact_reply:
5132-
admin_assignee_id:
5133-
team_assignee_id:
5132+
admin_assignee_id: 991267715
5133+
team_assignee_id: 5017691
51345134
open: false
51355135
state: closed
51365136
read: false
@@ -5214,8 +5214,8 @@ paths:
52145214
created_at: 1717021872
52155215
type: conversation
52165216
url:
5217-
admin_assignee_id:
5218-
team_assignee_id:
5217+
admin_assignee_id: 991267715
5218+
team_assignee_id: 5017691
52195219
open: true
52205220
state: open
52215221
read: false
@@ -5411,8 +5411,8 @@ paths:
54115411
id: 6657acb66abd0166b52ae284
54125412
external_id: '70'
54135413
first_contact_reply:
5414-
admin_assignee_id:
5415-
team_assignee_id:
5414+
admin_assignee_id: 991267715
5415+
team_assignee_id: 5017691
54165416
open: false
54175417
state: closed
54185418
read: false
@@ -5481,8 +5481,8 @@ paths:
54815481
id: 6657acb86abd0166b52ae285
54825482
external_id: '70'
54835483
first_contact_reply:
5484-
admin_assignee_id:
5485-
team_assignee_id:
5484+
admin_assignee_id: 991267715
5485+
team_assignee_id: 5017691
54865486
open: true
54875487
state: snoozed
54885488
read: false
@@ -5551,8 +5551,8 @@ paths:
55515551
id: 6657acbb6abd0166b52ae28a
55525552
external_id: '74'
55535553
first_contact_reply:
5554-
admin_assignee_id:
5555-
team_assignee_id:
5554+
admin_assignee_id: 991267715
5555+
team_assignee_id: 5017691
55565556
open: true
55575557
state: open
55585558
read: true
@@ -5622,7 +5622,7 @@ paths:
56225622
external_id: '70'
56235623
first_contact_reply:
56245624
admin_assignee_id: 991268010
5625-
team_assignee_id:
5625+
team_assignee_id: 5017691
56265626
open: true
56275627
state: open
56285628
read: false
@@ -5811,8 +5811,8 @@ paths:
58115811
id: 6657acc76abd0166b52ae292
58125812
external_id: '70'
58135813
first_contact_reply:
5814-
admin_assignee_id:
5815-
team_assignee_id:
5814+
admin_assignee_id: 991267715
5815+
team_assignee_id: 5017691
58165816
open: false
58175817
state: closed
58185818
read: false
@@ -6190,8 +6190,8 @@ paths:
61906190
created_at: 1717021953
61916191
type: conversation
61926192
url:
6193-
admin_assignee_id:
6194-
team_assignee_id:
6193+
admin_assignee_id: 991267715
6194+
team_assignee_id: 5017691
61956195
open: true
61966196
state: open
61976197
read: true
@@ -13007,11 +13007,11 @@ components:
1300713007
assigned to an admin it will return null.
1300813008
example: 0
1300913009
team_assignee_id:
13010-
type: string
13010+
type: integer
1301113011
nullable: true
1301213012
description: The id of the team assigned to the conversation. If it's not
1301313013
assigned to a team it will return null.
13014-
example: '5017691'
13014+
example: 5017691
1301513015
tags:
1301613016
"$ref": "#/components/schemas/tags"
1301713017
conversation_rating:
@@ -13108,11 +13108,11 @@ components:
1310813108
assigned to an admin it will return null.
1310913109
example: 0
1311013110
team_assignee_id:
13111-
type: string
13111+
type: integer
1311213112
nullable: true
1311313113
description: The id of the team assigned to the conversation. If it's not
1311413114
assigned to a team it will return null.
13115-
example: '5017691'
13115+
example: 5017691
1311613116
tags:
1311713117
"$ref": "#/components/schemas/tags"
1311813118
conversation_rating:

0 commit comments

Comments
 (0)