Skip to content

Commit 40df073

Browse files
VarshSureshclaude
andauthored
OpenAPI: rename assigned_team_first_response_time to assigned_team_first_response_time_by_team (#443)
* docs: rename assigned_team_first_response_time to assigned_team_first_response_time_by_team Update the field name across all affected API versions (0, 2.12, 2.13, 2.14, 2.15) to align with the actual API response. The field `assigned_team_first_response_time_in_office_hours` is unchanged. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> * fix: add missing custom_attributes schema to 2.12 spec Resolves broken $ref references in create_phone_switch_request and update_conversation_request that pointed to an undefined custom_attributes schema. Schema definition copied from 2.15 for consistency. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent c23a3a7 commit 40df073

5 files changed

Lines changed: 100 additions & 5 deletions

File tree

descriptions/0/api.intercom.io.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21674,7 +21674,7 @@ components:
2167421674
type: integer
2167521675
description: Total number of conversation parts.
2167621676
example: 1
21677-
assigned_team_first_response_time_by_team:
21677+
assigned_team_first_response_time:
2167821678
type: array
2167921679
description: An array of conversation response time objects
2168021680
items:

descriptions/2.12/api.intercom.io.yaml

Lines changed: 96 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11647,6 +11647,15 @@ paths:
1164711647
type: user
1164811648
components:
1164911649
schemas:
11650+
datetime:
11651+
oneOf:
11652+
- title: string
11653+
type: string
11654+
format: date-time
11655+
description: A date and time following the ISO8601 notation.
11656+
- title: integer
11657+
type: integer
11658+
description: A date and time as UNIX timestamp notation.
1165011659
activity_log:
1165111660
title: Activity Log
1165211661
type: object
@@ -14534,7 +14543,7 @@ components:
1453414543
type: integer
1453514544
description: Total number of conversation parts.
1453614545
example: 1
14537-
assigned_team_first_response_time_by_team:
14546+
assigned_team_first_response_time:
1453814547
type: array
1453914548
description: An array of conversation response time objects
1454014549
items:
@@ -14556,6 +14565,92 @@ components:
1455614565
(wrote at least one conversation part).
1455714566
items:
1455814567
"$ref": "#/components/schemas/reference"
14568+
custom_attributes:
14569+
title: Custom Attributes
14570+
type: object
14571+
description: An object containing the different custom attributes associated
14572+
to the conversation as key-value pairs. For relationship attributes the value
14573+
will be a list of custom object instance models.
14574+
additionalProperties:
14575+
anyOf:
14576+
- type: string
14577+
- type: integer
14578+
- $ref: "#/components/schemas/datetime"
14579+
- "$ref": "#/components/schemas/custom_object_instance_list"
14580+
example:
14581+
paid_subscriber: true
14582+
monthly_spend: 155.5
14583+
team_mates: 9
14584+
start_date_iso8601: "2023-03-04T09:46:14Z"
14585+
end_date_timestamp: 1677923174
14586+
custom_object_instance_list:
14587+
title: Custom Object Instances
14588+
type: object
14589+
description: The list of associated custom object instances for a given reference
14590+
attribute on the parent object.
14591+
properties:
14592+
type:
14593+
type: string
14594+
example: order.list
14595+
instances:
14596+
type: array
14597+
description: The list of associated custom object instances for a given
14598+
reference attribute on the parent object.
14599+
items:
14600+
"$ref": "#/components/schemas/custom_object_instance"
14601+
custom_object_instance:
14602+
title: Custom Object Instance
14603+
type: object
14604+
x-tags:
14605+
- Custom Object Instances
14606+
nullable: true
14607+
description: A Custom Object Instance represents an instance of a custom object
14608+
type. This allows you to create and set custom attributes to store data about
14609+
your customers that is not already captured by Intercom. The parent object
14610+
includes recommended default attributes and you can add your own custom attributes.
14611+
properties:
14612+
id:
14613+
type: string
14614+
description: The Intercom defined id representing the custom object instance.
14615+
example: 16032025
14616+
external_id:
14617+
type: string
14618+
description: The id you have defined for the custom object instance.
14619+
example: 0001d1c1e65a7a19e9f59ae2
14620+
external_created_at:
14621+
type: integer
14622+
format: date-time
14623+
nullable: true
14624+
description: The time when the Custom Object instance was created in the
14625+
external system it originated from.
14626+
example: 1571672154
14627+
external_updated_at:
14628+
type: integer
14629+
format: date-time
14630+
nullable: true
14631+
description: The time when the Custom Object instance was last updated in
14632+
the external system it originated from.
14633+
example: 1571672154
14634+
created_at:
14635+
type: integer
14636+
format: date-time
14637+
description: The time the attribute was created as a UTC Unix timestamp
14638+
example: 1671028894
14639+
updated_at:
14640+
type: integer
14641+
format: date-time
14642+
description: The time the attribute was last updated as a UTC Unix timestamp
14643+
example: 1671028894
14644+
type:
14645+
type: string
14646+
description: The identifier of the custom object type that defines the structure
14647+
of the custom object instance.
14648+
example: Order
14649+
custom_attributes:
14650+
type: object
14651+
description: The custom attributes you have set on the custom object instance.
14652+
additionalProperties:
14653+
type: string
1455914654
convert_conversation_to_ticket_request:
1456014655
description: You can convert a Conversation to a Ticket
1456114656
type: object

descriptions/2.13/api.intercom.io.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15953,7 +15953,7 @@ components:
1595315953
type: integer
1595415954
description: Total number of conversation parts.
1595515955
example: 1
15956-
assigned_team_first_response_time_by_team:
15956+
assigned_team_first_response_time:
1595715957
type: array
1595815958
description: An array of conversation response time objects
1595915959
items:

descriptions/2.14/api.intercom.io.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17375,7 +17375,7 @@ components:
1737517375
type: integer
1737617376
description: Total number of conversation parts.
1737717377
example: 1
17378-
assigned_team_first_response_time_by_team:
17378+
assigned_team_first_response_time:
1737917379
type: array
1738017380
description: An array of conversation response time objects
1738117381
items:

descriptions/2.15/api.intercom.io.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18102,7 +18102,7 @@ components:
1810218102
type: integer
1810318103
description: Total number of conversation parts.
1810418104
example: 1
18105-
assigned_team_first_response_time_by_team:
18105+
assigned_team_first_response_time:
1810618106
type: array
1810718107
description: An array of conversation response time objects
1810818108
items:

0 commit comments

Comments
 (0)