Commit b3c9834
Convert Contact.owner_id to string in unstable API (#479)
* Convert Contact.owner_id to string in unstable API version
Aligns Contact.owner_id field with Admin.id type (both now strings in Unstable version).
Existing public versions (2.11-2.15) maintain integer type via versioning transformations.
Updates Preview spec (descriptions/0/api.intercom.io.yaml):
- Change Contact schema owner_id from type: integer to type: string
- Update example from 123 to '123'
This matches PR intercom/intercom#499855.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
* Add owner_id string conversion to create_contact_request and update_contact_request
Updates the request body schemas to reflect the new string type for owner_id field
in the Unstable API version, matching the Contact response schema change.
- create_contact_request: owner_id type integer → string, example 123 → '123'
- update_contact_request: owner_id type integer → string, example 123 → '123'
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 693d692 commit b3c9834
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20271 | 20271 | | |
20272 | 20272 | | |
20273 | 20273 | | |
20274 | | - | |
| 20274 | + | |
20275 | 20275 | | |
20276 | 20276 | | |
20277 | 20277 | | |
20278 | | - | |
| 20278 | + | |
20279 | 20279 | | |
20280 | 20280 | | |
20281 | 20281 | | |
| |||
22227 | 22227 | | |
22228 | 22228 | | |
22229 | 22229 | | |
22230 | | - | |
| 22230 | + | |
22231 | 22231 | | |
22232 | 22232 | | |
22233 | 22233 | | |
22234 | | - | |
| 22234 | + | |
22235 | 22235 | | |
22236 | 22236 | | |
22237 | 22237 | | |
| |||
28357 | 28357 | | |
28358 | 28358 | | |
28359 | 28359 | | |
28360 | | - | |
| 28360 | + | |
28361 | 28361 | | |
28362 | 28362 | | |
28363 | 28363 | | |
28364 | | - | |
| 28364 | + | |
28365 | 28365 | | |
28366 | 28366 | | |
28367 | 28367 | | |
| |||
0 commit comments