Commit fff8344
Add admin_assignee_id and team_assignee_id to conversation part and ticket part schemas (#635)
* Add team_assigned_to to conversation part and ticket part schemas
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Use unassigned rather than nobody_team for a removed team
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Report part assignees as admin_assignee_id and team_assignee_id
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Note that the part assignee id fields can be absent as well as null
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Correct when the part assignee ids return 0
0 only appears when the part named which assignee it cleared; an unassignment
that named neither returns null on both. Also documents that a bot is reported
in admin_assignee_id.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Add examples for the part assignee id fields
Every other scalar property on the part schemas carries an example, and the
endpoint response examples are what a reader checks the shape against, so the
new fields need both. The assignment parts show the two shapes worth seeing:
the conversation part is the Round Robin case with a teammate and a team set
at once, the ticket part a plain teammate assignment.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent b80400d commit fff8344
1 file changed
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14173 | 14173 | | |
14174 | 14174 | | |
14175 | 14175 | | |
| 14176 | + | |
| 14177 | + | |
14176 | 14178 | | |
14177 | 14179 | | |
14178 | 14180 | | |
| |||
23718 | 23720 | | |
23719 | 23721 | | |
23720 | 23722 | | |
| 23723 | + | |
| 23724 | + | |
23721 | 23725 | | |
23722 | 23726 | | |
23723 | 23727 | | |
| |||
32321 | 32325 | | |
32322 | 32326 | | |
32323 | 32327 | | |
| 32328 | + | |
| 32329 | + | |
| 32330 | + | |
| 32331 | + | |
| 32332 | + | |
| 32333 | + | |
| 32334 | + | |
| 32335 | + | |
| 32336 | + | |
| 32337 | + | |
| 32338 | + | |
| 32339 | + | |
| 32340 | + | |
| 32341 | + | |
| 32342 | + | |
| 32343 | + | |
| 32344 | + | |
| 32345 | + | |
| 32346 | + | |
| 32347 | + | |
32324 | 32348 | | |
32325 | 32349 | | |
32326 | 32350 | | |
| |||
40013 | 40037 | | |
40014 | 40038 | | |
40015 | 40039 | | |
| 40040 | + | |
| 40041 | + | |
| 40042 | + | |
| 40043 | + | |
| 40044 | + | |
| 40045 | + | |
| 40046 | + | |
| 40047 | + | |
| 40048 | + | |
| 40049 | + | |
| 40050 | + | |
| 40051 | + | |
| 40052 | + | |
| 40053 | + | |
| 40054 | + | |
| 40055 | + | |
| 40056 | + | |
| 40057 | + | |
| 40058 | + | |
| 40059 | + | |
40016 | 40060 | | |
40017 | 40061 | | |
40018 | 40062 | | |
| |||
0 commit comments