Skip to content

Commit fa3b70f

Browse files
markdennis22claude
andcommitted
Port the four shared schema changes to Preview
Applies the same 2.17 changes to the Preview spec, merged operation by operation so Preview-only content stays, such as the `{id}` path parameter name. The next version is cut from Preview, and the Preview SDKs are generated from it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 2dc63ce commit fa3b70f

1 file changed

Lines changed: 43 additions & 10 deletions

File tree

‎descriptions/0/api.intercom.io.yaml‎

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30897,11 +30897,21 @@ components:
3089730897
items:
3089830898
type: integer
3089930899
avatar:
30900-
type: string
30901-
format: uri
30900+
type: object
3090230901
nullable: true
30903-
description: Image for the associated team or teammate
30904-
example: https://picsum.photos/200/300
30902+
description: The teammate's avatar image. Left out when the teammate has
30903+
neither an uploaded avatar nor a gravatar.
30904+
properties:
30905+
type:
30906+
type: string
30907+
description: Value is `avatar`. Returned on the admin endpoints only.
30908+
example: avatar
30909+
image_url:
30910+
type: string
30911+
format: uri
30912+
nullable: true
30913+
description: The URL of the avatar image.
30914+
example: https://picsum.photos/200/300
3090530915
team_priority_level:
3090630916
"$ref": "#/components/schemas/team_priority_level"
3090730917
role:
@@ -39047,9 +39057,21 @@ components:
3904739057
example: Order
3904839058
custom_attributes:
3904939059
type: object
39050-
description: The custom attributes you have set on the custom object instance.
39060+
description: |-
39061+
The custom attributes you have set on the custom object instance.
39062+
39063+
Each value is returned with the type of the attribute it is set on: a string, integer, number or boolean, or `null` when the attribute is unset. A list attribute returns the label of the selected option. A reference attribute returns an object holding the referenced records, under `contacts` for a contact reference, `conversations` for a conversation reference, or `instances` for a reference to another custom object type.
3905139064
additionalProperties:
39052-
type: string
39065+
anyOf:
39066+
- type: string
39067+
nullable: true
39068+
- type: integer
39069+
- type: number
39070+
- type: boolean
39071+
- type: object
39072+
example:
39073+
order_number: ORDER-12345
39074+
total_amount: 99.99
3905339075
custom_object_instance_deleted:
3905439076
title: Custom Object Instance Deleted
3905539077
type: object
@@ -40927,8 +40949,15 @@ components:
4092740949
example: frodo.baggins@example.com
4092840950
metadata:
4092940951
type: object
40930-
description: Optional metadata about the event.
40931-
additionalProperties: true
40952+
description: Optional metadata about the event. Values keep the type they
40953+
were sent with.
40954+
additionalProperties:
40955+
anyOf:
40956+
- type: string
40957+
- type: integer
40958+
- type: number
40959+
- type: boolean
40960+
- type: object
4093240961
example:
4093340962
invite_code: ADDAFRIEND
4093440963
required:
@@ -42183,9 +42212,13 @@ components:
4218342212
items:
4218442213
properties:
4218542214
code:
42186-
type: string
42215+
anyOf:
42216+
- type: string
42217+
- type: integer
4218742218
description: A string indicating the kind of error, used to further
42188-
qualify the HTTP response code
42219+
qualify the HTTP response code. A few request validation errors
42220+
send an HTTP status code as an integer here instead, for example
42221+
`422`.
4218942222
example: unauthorized
4219042223
message:
4219142224
type: string

0 commit comments

Comments
 (0)