diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index 60e8305..15be36e 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -2432,9 +2432,7 @@ paths: content: application/json: schema: - type: array - items: - $ref: "#/components/schemas/away_status_reason" + "$ref": "#/components/schemas/away_status_reason_list" '401': "$ref": "#/components/responses/Unauthorized" "/audiences": @@ -26359,6 +26357,22 @@ components: type: integer description: "The Unix timestamp when the status reason was last updated" example: 1734537243 + away_status_reason_list: + title: Away Status Reasons + type: object + description: A list of away status reasons. + properties: + type: + type: string + description: The type of the object + enum: + - list + example: list + data: + type: array + description: A list of away status reason objects. + items: + "$ref": "#/components/schemas/away_status_reason" change_ticket_type_request: title: Change Ticket Type Request description: You can change the type of a Ticket diff --git a/descriptions/2.14/api.intercom.io.yaml b/descriptions/2.14/api.intercom.io.yaml index 7c94078..1dcdf42 100644 --- a/descriptions/2.14/api.intercom.io.yaml +++ b/descriptions/2.14/api.intercom.io.yaml @@ -1508,9 +1508,7 @@ paths: content: application/json: schema: - type: array - items: - $ref: "#/components/schemas/away_status_reason" + "$ref": "#/components/schemas/away_status_reason_list" '401': "$ref": "#/components/responses/Unauthorized" "/export/reporting_data/enqueue": @@ -15771,6 +15769,22 @@ components: type: integer description: "The Unix timestamp when the status reason was last updated" example: 1734537243 + away_status_reason_list: + title: Away Status Reasons + type: object + description: A list of away status reasons. + properties: + type: + type: string + description: The type of the object + enum: + - list + example: list + data: + type: array + description: A list of away status reason objects. + items: + "$ref": "#/components/schemas/away_status_reason" close_conversation_request: title: Close Conversation Request type: object diff --git a/descriptions/2.15/api.intercom.io.yaml b/descriptions/2.15/api.intercom.io.yaml index 3fca175..bfeac53 100644 --- a/descriptions/2.15/api.intercom.io.yaml +++ b/descriptions/2.15/api.intercom.io.yaml @@ -1514,9 +1514,7 @@ paths: content: application/json: schema: - type: array - items: - $ref: "#/components/schemas/away_status_reason" + "$ref": "#/components/schemas/away_status_reason_list" '401': "$ref": "#/components/responses/Unauthorized" "/export/reporting_data/enqueue": @@ -16511,6 +16509,22 @@ components: type: integer description: "The Unix timestamp when the status reason was last updated" example: 1734537243 + away_status_reason_list: + title: Away Status Reasons + type: object + description: A list of away status reasons. + properties: + type: + type: string + description: The type of the object + enum: + - list + example: list + data: + type: array + description: A list of away status reason objects. + items: + "$ref": "#/components/schemas/away_status_reason" close_conversation_request: title: Close Conversation Request type: object