Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec fixes for SingleFilterSearchRequest and CreateMessageRequest #195

Merged
merged 3 commits into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 63 additions & 5 deletions descriptions/2.11/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10973,7 +10973,7 @@
description: A sentence or two describing the activity.
example: Admin updated the app's name to "My App".
required:
- id

Check warning on line 10976 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

10976:9 [indentation] wrong indentation: expected 6 but found 8
- performed_by
- activity_type
activity_log_list:
Expand All @@ -10996,7 +10996,7 @@
items:
"$ref": "#/components/schemas/activity_log"
required:
- type

Check warning on line 10999 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

10999:9 [indentation] wrong indentation: expected 6 but found 8
- activity_logs
activity_log_metadata:
title: Activity Log Metadata
Expand Down Expand Up @@ -11071,7 +11071,7 @@
description: Url to get more company resources for this contact
example: "/contacts/5ba682d23d7cf92bef87bfd4/notes"
required:
- type

Check warning on line 11074 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

11074:9 [indentation] wrong indentation: expected 6 but found 8
- id
- url
admin:
Expand All @@ -11081,7 +11081,7 @@
- Admins
description: Admins are teammate accounts that have access to a workspace.
required:
- id

Check warning on line 11084 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

11084:9 [indentation] wrong indentation: expected 6 but found 8
- name
- email
- job_title
Expand Down Expand Up @@ -11160,7 +11160,7 @@
items:
"$ref": "#/components/schemas/admin"
required:
- type

Check warning on line 11163 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

11163:9 [indentation] wrong indentation: expected 6 but found 8
- admins
admin_priority_level:
title: Admin Priority Level
Expand Down Expand Up @@ -11373,7 +11373,7 @@
nullable: true
description: App that the admin belongs to.
required:
- type

Check warning on line 11376 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

11376:9 [indentation] wrong indentation: expected 6 but found 8
- id
- name
- email
Expand Down Expand Up @@ -11442,7 +11442,7 @@
content_sources:
"$ref": "#/components/schemas/content_sources_list"
required:
- source_type

Check warning on line 11445 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

11445:9 [indentation] wrong indentation: expected 6 but found 8
app:
title: App
type: object
Expand Down Expand Up @@ -11478,7 +11478,7 @@
description: Whether or not the app uses identity verification.
example: false
required:
- type

Check warning on line 11481 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

11481:9 [indentation] wrong indentation: expected 6 but found 8
- id_code
- name
- region
Expand Down Expand Up @@ -11548,7 +11548,7 @@
description: The URL of the article.
example: http://intercom.test/help/en/articles/3-default-language
required:
- type

Check warning on line 11551 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

11551:9 [indentation] wrong indentation: expected 6 but found 8
- title
- description
- body
Expand Down Expand Up @@ -11577,7 +11577,7 @@
items:
"$ref": "#/components/schemas/article_list_item"
required:
- type

Check warning on line 11580 in descriptions/2.11/api.intercom.io.yaml

View workflow job for this annotation

GitHub Actions / Lint OpenAPI Descriptions

11580:9 [indentation] wrong indentation: expected 6 but found 8
- total_count
- data
article_list_item:
Expand Down Expand Up @@ -12757,6 +12757,17 @@
description: An object containing companies meta data about the companies that
a contact has. Up to 10 will be displayed here. Use the url to get more.
properties:
type:
type: string
description: The type of object
enum:
- list
example: list
data:
type: array
description: An array containing Company Objects
items:
"$ref": "#/components/schemas/contact_company"
url:
type: string
format: uri
Expand All @@ -12776,6 +12787,30 @@
- url
- total_count
- has_more
contact_company:
title: Contact company
type: object
description: A reference to a company associated with a contact
properties:
id:
type: string
description: The unique identifier for the company
example: "66e0800ad24ad5513b91014d"
type:
type: string
description: The type of the object
enum:
- company
example: company
url:
type: string
format: uri
description: URL to get the full company resource
example: "/companies/66e0800ad24ad5513b91014d"
required:
- id
- type
- url
contact_deleted:
title: Contact Deleted
type: object
Expand Down Expand Up @@ -13627,6 +13662,17 @@
type: string
description: This includes conversation, email, facebook, instagram, phone_call,
phone_switch, push, sms, twitter and whatsapp.
enum:
- conversation
- email
- facebook
- instagram
- phone_call
- phone_switch
- push
- sms
- twitter
- whatsapp
example: conversation
id:
type: string
Expand Down Expand Up @@ -14245,21 +14291,24 @@
properties:
type:
type: string
description: Always `admin`.
description: One of `lead`, `user`, `contact`, or `admin`.
enum:
- lead
- user
- contact
- admin
example: admin
id:
type: integer
description: The identifier for the admin which is given by Intercom.
description: The identifier for the sender which is given by Intercom.
example: 394051
required:
- type
- id
to:
type: object
description: The sender of the message. If not provided, the default sender
will be used.
description: The recipient of the message. If not provided, the default
recipient will be used.
properties:
type:
type: string
Expand Down Expand Up @@ -16288,9 +16337,18 @@
search for the value.
example: ">"
value:
type: string
oneOf:
- type: string
- type: integer
- type: array
items:
type: string
- type: array
items:
type: integer
description: The value that you want to search on.
example: '73732934'
nullable: true
sla_applied:
title: Applied SLA
type: object
Expand Down