From b4d541b12f18b06e4c8cfe3db7a4a6a4ffb2f714 Mon Sep 17 00:00:00 2001 From: Marc <97827744+marcmlc@users.noreply.github.com> Date: Tue, 25 Mar 2025 14:04:24 +0000 Subject: [PATCH] update conversation endpoint CvCDAs accept both iso8601 and unix timestamp values --- descriptions/0/api.intercom.io.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index bd25ce7..9c04b3a 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -12591,6 +12591,15 @@ paths: type: user components: schemas: + datetime: + oneOf: + - title: string + type: string + format: date-time + description: A date and time following the ISO8601 notation. + - title: integer + type: integer + description: A date and time as UNIX timestamp notation. activity_log: title: Activity Log type: object @@ -16389,7 +16398,15 @@ components: additionalProperties: anyOf: - type: string + - type: integer + - $ref: "#/components/schemas/datetime" - "$ref": "#/components/schemas/custom_object_instance_list" + example: + paid_subscriber: true + monthly_spend: 155.5 + team_mates: 9 + start_date_iso8601: "2023-03-04T09:46:14Z" + end_date_timestamp: 1677923174 custom_object_instance: title: Custom Object Instance type: object