-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathunstable-openapi-overrides.yml
More file actions
174 lines (173 loc) · 4.94 KB
/
unstable-openapi-overrides.yml
File metadata and controls
174 lines (173 loc) · 4.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
paths:
'/data_attributes':
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateDataAttributeRequest'
'/data_attributes/{id}':
put:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateDataAttributeRequest'
'/articles':
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateArticleRequestBody'
'/articles/{id}':
put: null
'/tickets':
post: null
'/ticket_types/{id}':
put: null
'/export/reporting_data/{job_identifier}':
get: null
'/download/reporting_data/{job_identifier}':
get: null
'/companies':
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOrUpdateCompanyRequestBody'
'/phone_call_redirects':
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreatePhoneSwitchRequestBody'
'/ticket_types':
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateTicketTypeRequestBody'
'/contacts/{id}/companies':
post:
requestBody:
content:
application/json:
schema:
required:
- company_id
properties:
company_id:
type: string
description: The unique identifier for the company which is given
by Intercom
example: 58a430d35458202d41b1e65b
id: null
examples:
successful:
summary: Successful
value:
company_id: 6762f09a1bb69f9f2193bb34
bad_request:
summary: Bad Request
value:
company_not_found:
summary: Company Not Found
value:
company_id: '123'
'/messages/status':
get:
responses:
'500':
content:
application/json:
examples: null
'/custom_channel_events/notify_attribute_collected':
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyAttributeCollected
x-fern-request-name: NotifyAttributeCollectedRequest
parameters:
- name: Intercom-Version
in: header
required: null
schema:
$ref: '#/components/schemas/intercom_version_unstable'
'/custom_channel_events/notify_new_message':
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyNewMessage
x-fern-request-name: NotifyNewMessageRequest
parameters:
- name: Intercom-Version
in: header
required: null
schema:
$ref: '#/components/schemas/intercom_version_unstable'
'/custom_channel_events/notify_new_conversation':
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyNewConversation
x-fern-request-name: NotifyNewConversationRequest
parameters:
- name: Intercom-Version
in: header
required: null
schema:
$ref: '#/components/schemas/intercom_version_unstable'
'/custom_channel_events/notify_quick_reply_selected':
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyQuickReplySelected
x-fern-request-name: NotifyQuickReplySelectedRequest
parameters:
- name: Intercom-Version
in: header
required: null
schema:
$ref: '#/components/schemas/intercom_version_unstable'
components:
schemas:
intercom_version:
x-fern-ignore: true
intercom_version_unstable:
x-fern-ignore: true
create_data_attribute_request:
x-fern-type-name: CreateDataAttributeRequest
update_data_attribute_request:
x-fern-type-name: UpdateDataAttributeRequestBody
custom_attributes:
example:
monthly_spend: '155.5'
create_ticket_request:
x-fern-type-name: CreateTicketRequestBody
properties:
ticket_attributes: null
update_ticket_request:
x-fern-type-name: UpdateTicketRequestBody
update_internal_article_request:
x-fern-type-name: UpdateInternalArticleRequestBody
nullable: false
reply_conversation_request:
x-fern-type-name: ReplyConversationRequestBody
update_article_request:
x-fern-type-name: UpdateArticleRequestBody
update_ticket_type_request:
x-fern-type-name: UpdateTicketTypeRequestBody
single_filter_search_request:
properties:
operator:
enum:
- '='
- '!='
- IN
- NIN
- '<'
- '>'