Skip to content

Commit 424d7c9

Browse files
committed
fix search request in other versions
1 parent bcdc5f5 commit 424d7c9

File tree

6 files changed

+90
-76
lines changed

6 files changed

+90
-76
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17324,6 +17324,11 @@ components:
1732417324
- created_at
1732517325
- body
1732617326
- message_type
17327+
multiple_or_single_filter_search_request:
17328+
title: Multiple or Single Filter Search Request
17329+
oneOf:
17330+
- "$ref": "#/components/schemas/multiple_filter_search_request"
17331+
- "$ref": "#/components/schemas/single_filter_search_request"
1732717332
multiple_filter_search_request:
1732817333
title: Multiple Filter Search Request
1732917334
description: Search using Intercoms Search APIs with more than one filter.
@@ -17337,17 +17342,9 @@ components:
1733717342
description: An operator to allow boolean inspection between multiple fields.
1733817343
example: AND
1733917344
value:
17340-
oneOf:
17341-
- type: array
17342-
description: Add mutiple filters.
17343-
title: multiple filter search request
17344-
items:
17345-
"$ref": "#/components/schemas/multiple_filter_search_request"
17346-
- type: array
17347-
description: Add a single filter field.
17348-
title: single filter search request
17349-
items:
17350-
"$ref": "#/components/schemas/single_filter_search_request"
17345+
type: array
17346+
items:
17347+
"$ref": "#/components/schemas/multiple_or_single_filter_search_request"
1735117348
news_item:
1735217349
title: News Item
1735317350
type: object
@@ -17903,9 +17900,18 @@ components:
1790317900
search for the value.
1790417901
example: ">"
1790517902
value:
17906-
type: string
17903+
oneOf:
17904+
- type: string
17905+
- type: integer
17906+
- type: array
17907+
items:
17908+
type: string
17909+
- type: array
17910+
items:
17911+
type: integer
1790717912
description: The value that you want to search on.
1790817913
example: '73732934'
17914+
nullable: true
1790917915
sla_applied:
1791017916
title: Applied SLA
1791117917
type: object

descriptions/2.10/api.intercom.io.yaml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15065,6 +15065,11 @@ components:
1506515065
- created_at
1506615066
- body
1506715067
- message_type
15068+
multiple_or_single_filter_search_request:
15069+
title: Multiple or Single Filter Search Request
15070+
oneOf:
15071+
- "$ref": "#/components/schemas/multiple_filter_search_request"
15072+
- "$ref": "#/components/schemas/single_filter_search_request"
1506815073
multiple_filter_search_request:
1506915074
title: Multiple Filter Search Request
1507015075
description: Search using Intercoms Search APIs with more than one filter.
@@ -15078,17 +15083,9 @@ components:
1507815083
description: An operator to allow boolean inspection between multiple fields.
1507915084
example: AND
1508015085
value:
15081-
oneOf:
15082-
- type: array
15083-
description: Add mutiple filters.
15084-
title: multiple filter search request
15085-
items:
15086-
"$ref": "#/components/schemas/multiple_filter_search_request"
15087-
- type: array
15088-
description: Add a single filter field.
15089-
title: single filter search request
15090-
items:
15091-
"$ref": "#/components/schemas/single_filter_search_request"
15086+
type: array
15087+
items:
15088+
"$ref": "#/components/schemas/multiple_or_single_filter_search_request"
1509215089
news_item:
1509315090
title: News Item
1509415091
type: object
@@ -15552,6 +15549,7 @@ components:
1555215549
title: multiple filter search request
1555315550
pagination:
1555415551
"$ref": "#/components/schemas/starting_after_paging"
15552+
nullable: true
1555515553
required:
1555615554
- query
1555715555
segment:
@@ -15649,9 +15647,10 @@ components:
1564915647
- type: integer
1565015648
- type: array
1565115649
items:
15652-
oneOf:
15653-
- type: string
15654-
- type: integer
15650+
type: string
15651+
- type: array
15652+
items:
15653+
type: integer
1565515654
description: The value that you want to search on.
1565615655
example: '73732934'
1565715656
nullable: true

descriptions/2.12/api.intercom.io.yaml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16363,6 +16363,11 @@ components:
1636316363
- created_at
1636416364
- body
1636516365
- message_type
16366+
multiple_or_single_filter_search_request:
16367+
title: Multiple or Single Filter Search Request
16368+
oneOf:
16369+
- "$ref": "#/components/schemas/multiple_filter_search_request"
16370+
- "$ref": "#/components/schemas/single_filter_search_request"
1636616371
multiple_filter_search_request:
1636716372
title: Multiple Filter Search Request
1636816373
description: Search using Intercoms Search APIs with more than one filter.
@@ -16376,17 +16381,9 @@ components:
1637616381
description: An operator to allow boolean inspection between multiple fields.
1637716382
example: AND
1637816383
value:
16379-
oneOf:
16380-
- type: array
16381-
description: Add mutiple filters.
16382-
title: multiple filter search request
16383-
items:
16384-
"$ref": "#/components/schemas/multiple_filter_search_request"
16385-
- type: array
16386-
description: Add a single filter field.
16387-
title: single filter search request
16388-
items:
16389-
"$ref": "#/components/schemas/single_filter_search_request"
16384+
type: array
16385+
items:
16386+
"$ref": "#/components/schemas/multiple_or_single_filter_search_request"
1639016387
news_item:
1639116388
title: News Item
1639216389
type: object
@@ -16947,9 +16944,10 @@ components:
1694716944
- type: integer
1694816945
- type: array
1694916946
items:
16950-
oneOf:
16951-
- type: string
16952-
- type: integer
16947+
type: string
16948+
- type: array
16949+
items:
16950+
type: integer
1695316951
description: The value that you want to search on.
1695416952
example: '73732934'
1695516953
nullable: true

descriptions/2.7/api.intercom.io.yaml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ paths:
1616
summary: Identify an admin
1717
parameters:
1818
- name: Intercom-Version
19-
in: header
19+
in: header
2020
schema:
2121
"$ref": "#/components/schemas/intercom_version"
2222
tags:
@@ -13006,6 +13006,11 @@ components:
1300613006
- created_at
1300713007
- body
1300813008
- message_type
13009+
multiple_or_single_filter_search_request:
13010+
title: Multiple or Single Filter Search Request
13011+
oneOf:
13012+
- "$ref": "#/components/schemas/multiple_filter_search_request"
13013+
- "$ref": "#/components/schemas/single_filter_search_request"
1300913014
multiple_filter_search_request:
1301013015
title: Multiple Filter Search Request
1301113016
description: Search using Intercoms Search APIs with more than one filter.
@@ -13019,17 +13024,9 @@ components:
1301913024
description: An operator to allow boolean inspection between multiple fields.
1302013025
example: AND
1302113026
value:
13022-
oneOf:
13023-
- type: array
13024-
description: Add mutiple filters.
13025-
title: multiple filter search request
13026-
items:
13027-
"$ref": "#/components/schemas/multiple_filter_search_request"
13028-
- type: array
13029-
description: Add a single filter field.
13030-
title: single filter search request
13031-
items:
13032-
"$ref": "#/components/schemas/single_filter_search_request"
13027+
type: array
13028+
items:
13029+
"$ref": "#/components/schemas/multiple_or_single_filter_search_request"
1303313030
news_item:
1303413031
title: News Item
1303513032
type: object
@@ -13493,6 +13490,7 @@ components:
1349313490
title: multiple filter search request
1349413491
pagination:
1349513492
"$ref": "#/components/schemas/starting_after_paging"
13493+
nullable: true
1349613494
required:
1349713495
- query
1349813496
section:
@@ -13681,9 +13679,18 @@ components:
1368113679
search for the value.
1368213680
example: ">"
1368313681
value:
13684-
type: string
13682+
oneOf:
13683+
- type: string
13684+
- type: integer
13685+
- type: array
13686+
items:
13687+
type: string
13688+
- type: array
13689+
items:
13690+
type: integer
1368513691
description: The value that you want to search on.
1368613692
example: '73732934'
13693+
nullable: true
1368713694
sla_applied:
1368813695
title: Applied SLA
1368913696
type: object

descriptions/2.8/api.intercom.io.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13030,6 +13030,11 @@ components:
1303013030
- created_at
1303113031
- body
1303213032
- message_type
13033+
multiple_or_single_filter_search_request:
13034+
title: Multiple or Single Filter Search Request
13035+
oneOf:
13036+
- "$ref": "#/components/schemas/multiple_filter_search_request"
13037+
- "$ref": "#/components/schemas/single_filter_search_request"
1303313038
multiple_filter_search_request:
1303413039
title: Multiple Filter Search Request
1303513040
description: Search using Intercoms Search APIs with more than one filter.
@@ -13043,17 +13048,9 @@ components:
1304313048
description: An operator to allow boolean inspection between multiple fields.
1304413049
example: AND
1304513050
value:
13046-
oneOf:
13047-
- type: array
13048-
description: Add mutiple filters.
13049-
title: multiple filter search request
13050-
items:
13051-
"$ref": "#/components/schemas/multiple_filter_search_request"
13052-
- type: array
13053-
description: Add a single filter field.
13054-
title: single filter search request
13055-
items:
13056-
"$ref": "#/components/schemas/single_filter_search_request"
13051+
type: array
13052+
items:
13053+
"$ref": "#/components/schemas/multiple_or_single_filter_search_request"
1305713054
news_item:
1305813055
title: News Item
1305913056
type: object

descriptions/2.9/api.intercom.io.yaml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14369,6 +14369,11 @@ components:
1436914369
- created_at
1437014370
- body
1437114371
- message_type
14372+
multiple_or_single_filter_search_request:
14373+
title: Multiple or Single Filter Search Request
14374+
oneOf:
14375+
- "$ref": "#/components/schemas/multiple_filter_search_request"
14376+
- "$ref": "#/components/schemas/single_filter_search_request"
1437214377
multiple_filter_search_request:
1437314378
title: Multiple Filter Search Request
1437414379
description: Search using Intercoms Search APIs with more than one filter.
@@ -14382,17 +14387,9 @@ components:
1438214387
description: An operator to allow boolean inspection between multiple fields.
1438314388
example: AND
1438414389
value:
14385-
oneOf:
14386-
- type: array
14387-
description: Add mutiple filters.
14388-
title: multiple filter search request
14389-
items:
14390-
"$ref": "#/components/schemas/multiple_filter_search_request"
14391-
- type: array
14392-
description: Add a single filter field.
14393-
title: single filter search request
14394-
items:
14395-
"$ref": "#/components/schemas/single_filter_search_request"
14390+
type: array
14391+
items:
14392+
"$ref": "#/components/schemas/multiple_or_single_filter_search_request"
1439614393
news_item:
1439714394
title: News Item
1439814395
type: object
@@ -14856,6 +14853,7 @@ components:
1485614853
title: multiple filter search request
1485714854
pagination:
1485814855
"$ref": "#/components/schemas/starting_after_paging"
14856+
nullable: true
1485914857
required:
1486014858
- query
1486114859
section:
@@ -15044,9 +15042,18 @@ components:
1504415042
search for the value.
1504515043
example: ">"
1504615044
value:
15047-
type: string
15045+
oneOf:
15046+
- type: string
15047+
- type: integer
15048+
- type: array
15049+
items:
15050+
type: string
15051+
- type: array
15052+
items:
15053+
type: integer
1504815054
description: The value that you want to search on.
1504915055
example: '73732934'
15056+
nullable: true
1505015057
sla_applied:
1505115058
title: Applied SLA
1505215059
type: object

0 commit comments

Comments
 (0)