@leaflow/sdk 0.14.2 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assistant/v1/index.d.ts +2 -0
- package/dist/assistant/v1/schema.d.ts +222 -100
- package/dist/compute/v1/index.d.ts +10 -0
- package/dist/compute/v1/schema.d.ts +148 -7
- package/dist/dns/v1/index.d.ts +42 -0
- package/dist/dns/v1/index.js +5 -0
- package/dist/dns/v1/schema.d.ts +883 -0
- package/dist/dns/v1/schema.js +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/monitoring/v1/index.d.ts +78 -0
- package/dist/monitoring/v1/schema.d.ts +2653 -873
- package/dist/notification/v1/index.d.ts +60 -0
- package/dist/notification/v1/index.js +5 -0
- package/dist/notification/v1/schema.d.ts +1561 -0
- package/dist/notification/v1/schema.js +5 -0
- package/dist/support/v1/index.d.ts +60 -0
- package/dist/support/v1/index.js +5 -0
- package/dist/support/v1/schema.d.ts +1335 -0
- package/dist/support/v1/schema.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1561 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/api/v1/notifications": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* List notifications addressed to you
|
|
15
|
+
* @description Returns notifications in reverse chronological order, newest first.
|
|
16
|
+
*
|
|
17
|
+
* Announcements published to the whole platform appear here alongside notifications
|
|
18
|
+
* addressed to you individually and are distinguished by `kind`. They are read and archived
|
|
19
|
+
* through the same operations.
|
|
20
|
+
*/
|
|
21
|
+
get: operations["list-notifications"];
|
|
22
|
+
put?: never;
|
|
23
|
+
post?: never;
|
|
24
|
+
delete?: never;
|
|
25
|
+
options?: never;
|
|
26
|
+
head?: never;
|
|
27
|
+
patch?: never;
|
|
28
|
+
trace?: never;
|
|
29
|
+
};
|
|
30
|
+
"/api/v1/notifications/read": {
|
|
31
|
+
parameters: {
|
|
32
|
+
query?: never;
|
|
33
|
+
header?: never;
|
|
34
|
+
path?: never;
|
|
35
|
+
cookie?: never;
|
|
36
|
+
};
|
|
37
|
+
get?: never;
|
|
38
|
+
put?: never;
|
|
39
|
+
/**
|
|
40
|
+
* Mark several notifications as read
|
|
41
|
+
* @description Marks every listed notification as read. Notifications already read are left alone, and the
|
|
42
|
+
* operation succeeds whether or not any of them changed.
|
|
43
|
+
*
|
|
44
|
+
* Passing an empty list marks everything currently unread as read.
|
|
45
|
+
*/
|
|
46
|
+
post: operations["mark-notifications-read"];
|
|
47
|
+
delete?: never;
|
|
48
|
+
options?: never;
|
|
49
|
+
head?: never;
|
|
50
|
+
patch?: never;
|
|
51
|
+
trace?: never;
|
|
52
|
+
};
|
|
53
|
+
"/api/v1/notifications/unread-count": {
|
|
54
|
+
parameters: {
|
|
55
|
+
query?: never;
|
|
56
|
+
header?: never;
|
|
57
|
+
path?: never;
|
|
58
|
+
cookie?: never;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Count unread notifications
|
|
62
|
+
* @description Returns the number of unread notifications. This is the value behind the badge in the
|
|
63
|
+
* console, and it is also carried on every realtime event, so it does not normally need to be
|
|
64
|
+
* requested on its own.
|
|
65
|
+
*/
|
|
66
|
+
get: operations["count-unread-notifications"];
|
|
67
|
+
put?: never;
|
|
68
|
+
post?: never;
|
|
69
|
+
delete?: never;
|
|
70
|
+
options?: never;
|
|
71
|
+
head?: never;
|
|
72
|
+
patch?: never;
|
|
73
|
+
trace?: never;
|
|
74
|
+
};
|
|
75
|
+
"/api/v1/notifications/{notificationId}": {
|
|
76
|
+
parameters: {
|
|
77
|
+
query?: never;
|
|
78
|
+
header?: never;
|
|
79
|
+
path?: never;
|
|
80
|
+
cookie?: never;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Get one notification
|
|
84
|
+
* @description A notification addressed to someone else returns `NOTIFICATION_NOT_FOUND`, the same answer
|
|
85
|
+
* as one that does not exist.
|
|
86
|
+
*/
|
|
87
|
+
get: operations["get-notification"];
|
|
88
|
+
put?: never;
|
|
89
|
+
post?: never;
|
|
90
|
+
delete?: never;
|
|
91
|
+
options?: never;
|
|
92
|
+
head?: never;
|
|
93
|
+
patch?: never;
|
|
94
|
+
trace?: never;
|
|
95
|
+
};
|
|
96
|
+
"/api/v1/notifications/{notificationId}/read": {
|
|
97
|
+
parameters: {
|
|
98
|
+
query?: never;
|
|
99
|
+
header?: never;
|
|
100
|
+
path?: never;
|
|
101
|
+
cookie?: never;
|
|
102
|
+
};
|
|
103
|
+
get?: never;
|
|
104
|
+
put?: never;
|
|
105
|
+
/**
|
|
106
|
+
* Mark one notification as read
|
|
107
|
+
* @description Marking a notification that is already read succeeds and changes nothing.
|
|
108
|
+
*/
|
|
109
|
+
post: operations["mark-notification-read"];
|
|
110
|
+
delete?: never;
|
|
111
|
+
options?: never;
|
|
112
|
+
head?: never;
|
|
113
|
+
patch?: never;
|
|
114
|
+
trace?: never;
|
|
115
|
+
};
|
|
116
|
+
"/api/v1/notifications/{notificationId}/archive": {
|
|
117
|
+
parameters: {
|
|
118
|
+
query?: never;
|
|
119
|
+
header?: never;
|
|
120
|
+
path?: never;
|
|
121
|
+
cookie?: never;
|
|
122
|
+
};
|
|
123
|
+
get?: never;
|
|
124
|
+
put?: never;
|
|
125
|
+
/**
|
|
126
|
+
* Archive one notification
|
|
127
|
+
* @description Archiving removes a notification from the default listing without deleting it; pass
|
|
128
|
+
* `include_archived` to see it again. Archiving also marks it read.
|
|
129
|
+
*/
|
|
130
|
+
post: operations["archive-notification"];
|
|
131
|
+
delete?: never;
|
|
132
|
+
options?: never;
|
|
133
|
+
head?: never;
|
|
134
|
+
patch?: never;
|
|
135
|
+
trace?: never;
|
|
136
|
+
};
|
|
137
|
+
"/api/v1/notification-types": {
|
|
138
|
+
parameters: {
|
|
139
|
+
query?: never;
|
|
140
|
+
header?: never;
|
|
141
|
+
path?: never;
|
|
142
|
+
cookie?: never;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* List every notification type
|
|
146
|
+
* @description The catalogue of everything this platform can notify about, with the default delivery for
|
|
147
|
+
* each type and whether it can be configured. It is the source for a settings interface.
|
|
148
|
+
*
|
|
149
|
+
* This operation does not require authentication: the catalogue is the same for everyone and
|
|
150
|
+
* describes the product rather than any account.
|
|
151
|
+
*/
|
|
152
|
+
get: operations["list-notification-types"];
|
|
153
|
+
put?: never;
|
|
154
|
+
post?: never;
|
|
155
|
+
delete?: never;
|
|
156
|
+
options?: never;
|
|
157
|
+
head?: never;
|
|
158
|
+
patch?: never;
|
|
159
|
+
trace?: never;
|
|
160
|
+
};
|
|
161
|
+
"/api/v1/preferences": {
|
|
162
|
+
parameters: {
|
|
163
|
+
query?: never;
|
|
164
|
+
header?: never;
|
|
165
|
+
path?: never;
|
|
166
|
+
cookie?: never;
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Get your delivery preferences
|
|
170
|
+
* @description Returns the account-wide settings: the language notifications are written in, the time zone
|
|
171
|
+
* times are stated in, and the address email is delivered to.
|
|
172
|
+
*
|
|
173
|
+
* A person who has never configured anything receives the defaults rather than an error.
|
|
174
|
+
*/
|
|
175
|
+
get: operations["get-notification-preferences"];
|
|
176
|
+
put?: never;
|
|
177
|
+
post?: never;
|
|
178
|
+
delete?: never;
|
|
179
|
+
options?: never;
|
|
180
|
+
head?: never;
|
|
181
|
+
/**
|
|
182
|
+
* Update your delivery preferences
|
|
183
|
+
* @description Fields that are omitted are left alone.
|
|
184
|
+
*
|
|
185
|
+
* Setting `email_override` starts verification of that address: email continues to be
|
|
186
|
+
* delivered to the address on the account until the new one is confirmed. Setting it to null
|
|
187
|
+
* returns delivery to the account address.
|
|
188
|
+
*/
|
|
189
|
+
patch: operations["update-notification-preferences"];
|
|
190
|
+
trace?: never;
|
|
191
|
+
};
|
|
192
|
+
"/api/v1/preferences/types": {
|
|
193
|
+
parameters: {
|
|
194
|
+
query?: never;
|
|
195
|
+
header?: never;
|
|
196
|
+
path?: never;
|
|
197
|
+
cookie?: never;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* List your per-type preferences
|
|
201
|
+
* @description Returns one entry per notification type, whether or not it has been configured. Entries
|
|
202
|
+
* that have never been configured are reported with `inherited: true` and carry the defaults
|
|
203
|
+
* from the catalogue.
|
|
204
|
+
*
|
|
205
|
+
* A preference applies either to one project or to every project. Both are returned; the one
|
|
206
|
+
* naming a project takes precedence for that project.
|
|
207
|
+
*/
|
|
208
|
+
get: operations["list-type-preferences"];
|
|
209
|
+
put?: never;
|
|
210
|
+
post?: never;
|
|
211
|
+
delete?: never;
|
|
212
|
+
options?: never;
|
|
213
|
+
head?: never;
|
|
214
|
+
patch?: never;
|
|
215
|
+
trace?: never;
|
|
216
|
+
};
|
|
217
|
+
"/api/v1/preferences/types/{type}": {
|
|
218
|
+
parameters: {
|
|
219
|
+
query?: never;
|
|
220
|
+
header?: never;
|
|
221
|
+
path?: never;
|
|
222
|
+
cookie?: never;
|
|
223
|
+
};
|
|
224
|
+
get?: never;
|
|
225
|
+
/**
|
|
226
|
+
* Set the preference for one type
|
|
227
|
+
* @description States how this type should be delivered, replacing whatever was configured before.
|
|
228
|
+
*
|
|
229
|
+
* Omitting `project_id` configures every project. Naming one configures that project alone
|
|
230
|
+
* and takes precedence there.
|
|
231
|
+
*
|
|
232
|
+
* On a type marked `mandatory`, setting `muted` or omitting `email` from `channels` returns
|
|
233
|
+
* `NOTIFICATION_TYPE_MANDATORY`. Everything else about such a type is configurable, including
|
|
234
|
+
* adding channels and raising `min_severity`.
|
|
235
|
+
*
|
|
236
|
+
* Naming a channel the type does not support returns `NOTIFICATION_CHANNEL_UNSUPPORTED`.
|
|
237
|
+
* `inbox` is accepted but has no effect: every notification is in the inbox regardless.
|
|
238
|
+
*/
|
|
239
|
+
put: operations["update-type-preference"];
|
|
240
|
+
post?: never;
|
|
241
|
+
/**
|
|
242
|
+
* Restore the default for one type
|
|
243
|
+
* @description Removes the configured preference so the type follows the default in the catalogue again.
|
|
244
|
+
*
|
|
245
|
+
* **This does not stop the type from being delivered.** To stop receiving it, set `muted`
|
|
246
|
+
* instead. Deleting a preference that was never configured succeeds and changes nothing.
|
|
247
|
+
*/
|
|
248
|
+
delete: operations["delete-type-preference"];
|
|
249
|
+
options?: never;
|
|
250
|
+
head?: never;
|
|
251
|
+
patch?: never;
|
|
252
|
+
trace?: never;
|
|
253
|
+
};
|
|
254
|
+
"/api/v1/channels": {
|
|
255
|
+
parameters: {
|
|
256
|
+
query?: never;
|
|
257
|
+
header?: never;
|
|
258
|
+
path?: never;
|
|
259
|
+
cookie?: never;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* List outbound channels
|
|
263
|
+
* @description Returns the channels you have registered, and the channels registered for the project in
|
|
264
|
+
* the token. The address of each is not included.
|
|
265
|
+
*/
|
|
266
|
+
get: operations["list-user-channels"];
|
|
267
|
+
put?: never;
|
|
268
|
+
/**
|
|
269
|
+
* Register an outbound channel
|
|
270
|
+
* @description Registering a channel does not contact it and does not make it deliver anything: a new
|
|
271
|
+
* channel is unverified, and unverified channels are skipped. Call verify to send it one
|
|
272
|
+
* message and make it usable.
|
|
273
|
+
*
|
|
274
|
+
* A `project` channel is shared with everyone in the project and requires
|
|
275
|
+
* `notification:channels.manage`. A `user` channel is yours alone.
|
|
276
|
+
*
|
|
277
|
+
* The endpoint must be reachable over the public internet. Addresses that resolve to private
|
|
278
|
+
* or link-local ranges are rejected with `CHANNEL_ENDPOINT_NOT_PUBLIC`, both here and again
|
|
279
|
+
* at delivery time. Registering an endpoint already registered in the same scope returns
|
|
280
|
+
* `CHANNEL_DUPLICATE`.
|
|
281
|
+
*
|
|
282
|
+
* The submitted endpoint is not returned by this or any other operation.
|
|
283
|
+
*/
|
|
284
|
+
post: operations["create-user-channel"];
|
|
285
|
+
delete?: never;
|
|
286
|
+
options?: never;
|
|
287
|
+
head?: never;
|
|
288
|
+
patch?: never;
|
|
289
|
+
trace?: never;
|
|
290
|
+
};
|
|
291
|
+
"/api/v1/channels/{channelId}": {
|
|
292
|
+
parameters: {
|
|
293
|
+
query?: never;
|
|
294
|
+
header?: never;
|
|
295
|
+
path?: never;
|
|
296
|
+
cookie?: never;
|
|
297
|
+
};
|
|
298
|
+
get?: never;
|
|
299
|
+
put?: never;
|
|
300
|
+
post?: never;
|
|
301
|
+
/**
|
|
302
|
+
* Delete an outbound channel
|
|
303
|
+
* @description Deleting a channel stops delivery to it and destroys the stored endpoint. Deliveries
|
|
304
|
+
* already queued for it are abandoned.
|
|
305
|
+
*/
|
|
306
|
+
delete: operations["delete-user-channel"];
|
|
307
|
+
options?: never;
|
|
308
|
+
head?: never;
|
|
309
|
+
/**
|
|
310
|
+
* Rename or re-enable an outbound channel
|
|
311
|
+
* @description Fields that are omitted are left alone.
|
|
312
|
+
*
|
|
313
|
+
* A channel disabled after repeated failures is re-enabled by setting `enabled` to true,
|
|
314
|
+
* which also clears the failure count. It remains verified, so it starts delivering again
|
|
315
|
+
* immediately — verify it first if the cause of the failures is not known to be resolved.
|
|
316
|
+
*
|
|
317
|
+
* Changing the endpoint is not possible; register a new channel and delete this one.
|
|
318
|
+
*/
|
|
319
|
+
patch: operations["update-user-channel"];
|
|
320
|
+
trace?: never;
|
|
321
|
+
};
|
|
322
|
+
"/api/v1/channels/{channelId}/verify": {
|
|
323
|
+
parameters: {
|
|
324
|
+
query?: never;
|
|
325
|
+
header?: never;
|
|
326
|
+
path?: never;
|
|
327
|
+
cookie?: never;
|
|
328
|
+
};
|
|
329
|
+
get?: never;
|
|
330
|
+
put?: never;
|
|
331
|
+
/**
|
|
332
|
+
* Verify an outbound channel
|
|
333
|
+
* @description Sends one message to the channel and marks it verified if the endpoint accepted it.
|
|
334
|
+
*
|
|
335
|
+
* **The endpoint accepting the message is not proof that it arrived where it was meant to.**
|
|
336
|
+
* A webhook URL belonging to the wrong group answers exactly the same way. Confirm the
|
|
337
|
+
* message appeared before relying on the channel.
|
|
338
|
+
*
|
|
339
|
+
* A channel that fails verification is not marked verified and continues to be skipped. The
|
|
340
|
+
* reason is reported in `last_error`; it is the provider's own wording and is not translated.
|
|
341
|
+
*/
|
|
342
|
+
post: operations["verify-user-channel"];
|
|
343
|
+
delete?: never;
|
|
344
|
+
options?: never;
|
|
345
|
+
head?: never;
|
|
346
|
+
patch?: never;
|
|
347
|
+
trace?: never;
|
|
348
|
+
};
|
|
349
|
+
"/api/v1/credentials/{ticketId}": {
|
|
350
|
+
parameters: {
|
|
351
|
+
query?: never;
|
|
352
|
+
header?: never;
|
|
353
|
+
path?: never;
|
|
354
|
+
cookie?: never;
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* Describe a one-time credential
|
|
358
|
+
* @description Reports whether the credential is still available without consuming it. It never contains
|
|
359
|
+
* the credential itself.
|
|
360
|
+
*
|
|
361
|
+
* A ticket addressed to someone else returns `CREDENTIAL_TICKET_NOT_FOUND`, the same answer
|
|
362
|
+
* as one that does not exist.
|
|
363
|
+
*/
|
|
364
|
+
get: operations["describe-credential-ticket"];
|
|
365
|
+
put?: never;
|
|
366
|
+
post?: never;
|
|
367
|
+
delete?: never;
|
|
368
|
+
options?: never;
|
|
369
|
+
head?: never;
|
|
370
|
+
patch?: never;
|
|
371
|
+
trace?: never;
|
|
372
|
+
};
|
|
373
|
+
"/api/v1/credentials/{ticketId}/reveal": {
|
|
374
|
+
parameters: {
|
|
375
|
+
query?: never;
|
|
376
|
+
header?: never;
|
|
377
|
+
path?: never;
|
|
378
|
+
cookie?: never;
|
|
379
|
+
};
|
|
380
|
+
get?: never;
|
|
381
|
+
put?: never;
|
|
382
|
+
/**
|
|
383
|
+
* Reveal a one-time credential
|
|
384
|
+
* @description Returns the credential and destroys it in the same step. **This is the only operation that
|
|
385
|
+
* ever returns it, and it succeeds only once.**
|
|
386
|
+
*
|
|
387
|
+
* Every subsequent request returns `CREDENTIAL_TICKET_CONSUMED`, including one issued
|
|
388
|
+
* concurrently with the first: exactly one caller receives the credential.
|
|
389
|
+
*
|
|
390
|
+
* A ticket that has expired returns `CREDENTIAL_TICKET_EXPIRED`, and one withdrawn by the
|
|
391
|
+
* service that created it returns `CREDENTIAL_TICKET_REVOKED`. In all three cases the
|
|
392
|
+
* credential is already gone and cannot be recovered; obtain a new one from the service that
|
|
393
|
+
* owns the resource.
|
|
394
|
+
*
|
|
395
|
+
* This operation is a POST rather than a GET because a GET would be followed by link
|
|
396
|
+
* scanners in mail clients and by browser prefetching, either of which would consume the
|
|
397
|
+
* credential before the recipient opened it.
|
|
398
|
+
*/
|
|
399
|
+
post: operations["reveal-credential"];
|
|
400
|
+
delete?: never;
|
|
401
|
+
options?: never;
|
|
402
|
+
head?: never;
|
|
403
|
+
patch?: never;
|
|
404
|
+
trace?: never;
|
|
405
|
+
};
|
|
406
|
+
"/api/v1/realtime": {
|
|
407
|
+
parameters: {
|
|
408
|
+
query?: never;
|
|
409
|
+
header?: never;
|
|
410
|
+
path?: never;
|
|
411
|
+
cookie?: never;
|
|
412
|
+
};
|
|
413
|
+
/**
|
|
414
|
+
* Describe the realtime connection
|
|
415
|
+
* @description Returns everything needed to open a realtime connection, and the names of the channels to
|
|
416
|
+
* subscribe to. The parameters are not constants: they differ between environments, so they
|
|
417
|
+
* must be requested rather than compiled in.
|
|
418
|
+
*
|
|
419
|
+
* Realtime delivery is an optimisation. Everything it announces is also readable through the
|
|
420
|
+
* listing operations, so a client that cannot connect stays correct by polling or by
|
|
421
|
+
* refreshing.
|
|
422
|
+
*/
|
|
423
|
+
get: operations["describe-realtime-connection"];
|
|
424
|
+
put?: never;
|
|
425
|
+
post?: never;
|
|
426
|
+
delete?: never;
|
|
427
|
+
options?: never;
|
|
428
|
+
head?: never;
|
|
429
|
+
patch?: never;
|
|
430
|
+
trace?: never;
|
|
431
|
+
};
|
|
432
|
+
"/api/v1/realtime/auth": {
|
|
433
|
+
parameters: {
|
|
434
|
+
query?: never;
|
|
435
|
+
header?: never;
|
|
436
|
+
path?: never;
|
|
437
|
+
cookie?: never;
|
|
438
|
+
};
|
|
439
|
+
get?: never;
|
|
440
|
+
put?: never;
|
|
441
|
+
/**
|
|
442
|
+
* Authorize a realtime channel subscription
|
|
443
|
+
* @description Authorizes one subscription. Realtime clients call this on their own while subscribing; it
|
|
444
|
+
* is not normally called directly.
|
|
445
|
+
*
|
|
446
|
+
* Only two channels are authorized: the one naming you, and the one naming the project in
|
|
447
|
+
* the token. Any other channel returns `REALTIME_CHANNEL_FORBIDDEN`.
|
|
448
|
+
*
|
|
449
|
+
* **Authorization is evaluated once, when the subscription is established.** A subscription
|
|
450
|
+
* already open is not revoked when project membership changes, so realtime events carry
|
|
451
|
+
* identifiers and counts only, never the contents of a notification.
|
|
452
|
+
*/
|
|
453
|
+
post: operations["authorize-realtime-channel"];
|
|
454
|
+
delete?: never;
|
|
455
|
+
options?: never;
|
|
456
|
+
head?: never;
|
|
457
|
+
patch?: never;
|
|
458
|
+
trace?: never;
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
export type webhooks = Record<string, never>;
|
|
462
|
+
export interface components {
|
|
463
|
+
schemas: {
|
|
464
|
+
Error: {
|
|
465
|
+
code?: string;
|
|
466
|
+
message: string;
|
|
467
|
+
meta?: {
|
|
468
|
+
[key: string]: unknown;
|
|
469
|
+
};
|
|
470
|
+
/** Format: int64 */
|
|
471
|
+
status: number;
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* @description `all` covers every project you belong to as well as notifications that belong to no
|
|
475
|
+
* project. `current_project` covers only the project in the token.
|
|
476
|
+
* @enum {string}
|
|
477
|
+
*/
|
|
478
|
+
NotificationScope: "all" | "current_project";
|
|
479
|
+
/**
|
|
480
|
+
* @description How much attention a notification asks for. It is assigned by the type and by the event,
|
|
481
|
+
* not by the recipient.
|
|
482
|
+
*
|
|
483
|
+
* `critical` announces something that is either irreversible or actively costing the
|
|
484
|
+
* recipient something.
|
|
485
|
+
* @enum {string}
|
|
486
|
+
*/
|
|
487
|
+
NotificationSeverity: "info" | "warning" | "error" | "critical";
|
|
488
|
+
/**
|
|
489
|
+
* @description `notification` is addressed to you. `announcement` was published to the whole platform and
|
|
490
|
+
* appears in everyone's inbox.
|
|
491
|
+
* @enum {string}
|
|
492
|
+
*/
|
|
493
|
+
NotificationKind: "notification" | "announcement";
|
|
494
|
+
/**
|
|
495
|
+
* @description Where a notification is delivered.
|
|
496
|
+
*
|
|
497
|
+
* `inbox` is this API. `email` is the address on your preferences. `webhook` covers every
|
|
498
|
+
* outbound channel you have registered — the message is shaped for each one.
|
|
499
|
+
* @enum {string}
|
|
500
|
+
*/
|
|
501
|
+
NotificationChannel: "inbox" | "email" | "webhook";
|
|
502
|
+
/**
|
|
503
|
+
* @description `user` is yours alone. `project` is shared with everyone in the project and requires
|
|
504
|
+
* `notification:channels.manage` to register or delete.
|
|
505
|
+
* @enum {string}
|
|
506
|
+
*/
|
|
507
|
+
ChannelScope: "user" | "project";
|
|
508
|
+
/**
|
|
509
|
+
* @description The kind of endpoint, which determines both how the message is shaped and what the
|
|
510
|
+
* endpoint is.
|
|
511
|
+
*
|
|
512
|
+
* `lark_webhook` and `wecom_webhook` are group robot webhook URLs and receive a card.
|
|
513
|
+
* `bark` is a Bark server URL including the device key and receives a short line of text.
|
|
514
|
+
* `generic_webhook` receives a JSON document and is the option for anything else.
|
|
515
|
+
* @enum {string}
|
|
516
|
+
*/
|
|
517
|
+
ChannelKind: "lark_webhook" | "wecom_webhook" | "bark" | "generic_webhook";
|
|
518
|
+
/**
|
|
519
|
+
* @description Who a type is addressed to. It is a property of the type, so it is the same for every
|
|
520
|
+
* occurrence.
|
|
521
|
+
*
|
|
522
|
+
* `explicit` is whoever the reporting service names, usually the person who asked for the
|
|
523
|
+
* action. `account` is one person, independently of any project. `address` is an email
|
|
524
|
+
* address belonging to someone who may not have an account yet. `broadcast` is everyone.
|
|
525
|
+
* @enum {string}
|
|
526
|
+
*/
|
|
527
|
+
NotificationAudience: "explicit" | "account" | "address" | "project_members" | "project_owner" | "project_admins" | "broadcast";
|
|
528
|
+
/**
|
|
529
|
+
* @description One notification, with its text rendered in the language on your preferences at the moment
|
|
530
|
+
* it was read.
|
|
531
|
+
*/
|
|
532
|
+
NotificationResource: {
|
|
533
|
+
/**
|
|
534
|
+
* Format: date-time
|
|
535
|
+
* @description When you archived it; null if you did not
|
|
536
|
+
*/
|
|
537
|
+
archived_at: string | null;
|
|
538
|
+
/** @description The text, as a fragment of HTML. Contains formatting and links, no scripts and no styles */
|
|
539
|
+
body: string;
|
|
540
|
+
/** @description The same text without markup, for clients that cannot render HTML */
|
|
541
|
+
body_text: string;
|
|
542
|
+
/** Format: date-time */
|
|
543
|
+
created_at: string;
|
|
544
|
+
/** Format: uuid */
|
|
545
|
+
id: string;
|
|
546
|
+
kind: components["schemas"]["NotificationKind"];
|
|
547
|
+
/** @description The language this text was rendered in */
|
|
548
|
+
locale: string;
|
|
549
|
+
/**
|
|
550
|
+
* Format: date-time
|
|
551
|
+
* @description When the event itself happened, which precedes created_at
|
|
552
|
+
*/
|
|
553
|
+
occurred_at: string;
|
|
554
|
+
/**
|
|
555
|
+
* @description The facts the text was rendered from, for clients that want to link to the resource the
|
|
556
|
+
* notification is about. The names are documented per type in the catalogue.
|
|
557
|
+
*/
|
|
558
|
+
params: {
|
|
559
|
+
[key: string]: unknown;
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* Format: uuid
|
|
563
|
+
* @description The project the event belongs to; null for events that belong to no project
|
|
564
|
+
*/
|
|
565
|
+
project_id: string | null;
|
|
566
|
+
/**
|
|
567
|
+
* Format: date-time
|
|
568
|
+
* @description When you read it; null if you have not
|
|
569
|
+
*/
|
|
570
|
+
read_at: string | null;
|
|
571
|
+
severity: components["schemas"]["NotificationSeverity"];
|
|
572
|
+
/** @description A single line, without markup */
|
|
573
|
+
title: string;
|
|
574
|
+
/** @description The type identifier; empty for announcements, which have no type */
|
|
575
|
+
type: string;
|
|
576
|
+
};
|
|
577
|
+
LengthAwarePageNotificationResource: {
|
|
578
|
+
/** @description The contents of this page */
|
|
579
|
+
items: components["schemas"]["NotificationResource"][];
|
|
580
|
+
/**
|
|
581
|
+
* Format: int64
|
|
582
|
+
* @description Maximum items per page, echoing the value in the request
|
|
583
|
+
*/
|
|
584
|
+
limit: number;
|
|
585
|
+
/**
|
|
586
|
+
* Format: int64
|
|
587
|
+
* @description Items skipped, echoing the value in the request
|
|
588
|
+
*/
|
|
589
|
+
offset: number;
|
|
590
|
+
/**
|
|
591
|
+
* Format: int64
|
|
592
|
+
* @description Total number of matching items, not only those in this page
|
|
593
|
+
*/
|
|
594
|
+
total: number;
|
|
595
|
+
/**
|
|
596
|
+
* Format: int64
|
|
597
|
+
* @description Unread notifications in the same scope, not only in this page
|
|
598
|
+
*/
|
|
599
|
+
unread_count: number;
|
|
600
|
+
};
|
|
601
|
+
UnreadCountResource: {
|
|
602
|
+
/** Format: int64 */
|
|
603
|
+
unread_count: number;
|
|
604
|
+
};
|
|
605
|
+
/** @description An empty list marks everything currently unread as read. */
|
|
606
|
+
MarkNotificationsReadRequestBody: {
|
|
607
|
+
notification_ids: string[];
|
|
608
|
+
};
|
|
609
|
+
/** @description One entry in the catalogue of everything the platform can notify about. */
|
|
610
|
+
NotificationTypeDescriptor: {
|
|
611
|
+
audience: components["schemas"]["NotificationAudience"];
|
|
612
|
+
/** @description The channels this type may be delivered on. Configuring any other channel is rejected */
|
|
613
|
+
available_channels: components["schemas"]["NotificationChannel"][];
|
|
614
|
+
/** @description The channels this type is delivered on when nothing has been configured */
|
|
615
|
+
default_channels: components["schemas"]["NotificationChannel"][];
|
|
616
|
+
/**
|
|
617
|
+
* @description True when this type must reach you: it cannot be muted, and email cannot be removed
|
|
618
|
+
* from its channels. Everything else about it is still configurable
|
|
619
|
+
*/
|
|
620
|
+
mandatory: boolean;
|
|
621
|
+
/** @description The names of the facts this type carries, as they appear on NotificationResource.params */
|
|
622
|
+
params: string[];
|
|
623
|
+
/** @description The service that reports this type */
|
|
624
|
+
service: string;
|
|
625
|
+
severity: components["schemas"]["NotificationSeverity"];
|
|
626
|
+
type: string;
|
|
627
|
+
};
|
|
628
|
+
NotificationTypeListResponseBody: {
|
|
629
|
+
items: components["schemas"]["NotificationTypeDescriptor"][];
|
|
630
|
+
};
|
|
631
|
+
PreferencesResource: {
|
|
632
|
+
/** @description Where email is delivered right now, which is the account address unless a verified override replaces it */
|
|
633
|
+
email_address: string;
|
|
634
|
+
/** @description An address to receive email instead of the account address; null when the account address is used */
|
|
635
|
+
email_override: string | null;
|
|
636
|
+
/**
|
|
637
|
+
* Format: date-time
|
|
638
|
+
* @description When the override was confirmed; null while it is pending, during which email still goes to the account address
|
|
639
|
+
*/
|
|
640
|
+
email_override_verified_at: string | null;
|
|
641
|
+
/** @description The language notifications are written in, as an IETF language tag */
|
|
642
|
+
locale: string;
|
|
643
|
+
/** @description The IANA time zone times in notifications are stated in */
|
|
644
|
+
timezone: string;
|
|
645
|
+
};
|
|
646
|
+
/** @description Fields that are omitted are left alone. */
|
|
647
|
+
UpdatePreferencesRequestBody: {
|
|
648
|
+
/** @description An address to receive email instead of the account address. Null returns delivery to the account address */
|
|
649
|
+
email_override?: string | null;
|
|
650
|
+
/** @description An IETF language tag. A language that is not supported is rejected rather than approximated */
|
|
651
|
+
locale?: string;
|
|
652
|
+
/** @description An IANA time zone name, such as Asia/Shanghai */
|
|
653
|
+
timezone?: string;
|
|
654
|
+
};
|
|
655
|
+
TypePreferenceResource: {
|
|
656
|
+
/** @description Where this type is delivered */
|
|
657
|
+
channels: components["schemas"]["NotificationChannel"][];
|
|
658
|
+
/** @description True when nothing has been configured and these are the defaults from the catalogue */
|
|
659
|
+
inherited: boolean;
|
|
660
|
+
/** @description True when this type cannot be muted and email cannot be removed from it */
|
|
661
|
+
mandatory: boolean;
|
|
662
|
+
/**
|
|
663
|
+
* @description Deliver only at or above this severity. Null delivers every severity. It applies to the
|
|
664
|
+
* channels named here and not to the inbox, which always holds everything
|
|
665
|
+
*/
|
|
666
|
+
min_severity: components["schemas"]["NotificationSeverity"] | null;
|
|
667
|
+
/** @description True when this type is not delivered anywhere except the inbox */
|
|
668
|
+
muted: boolean;
|
|
669
|
+
/**
|
|
670
|
+
* Format: uuid
|
|
671
|
+
* @description The project this preference applies to; null when it applies to every project
|
|
672
|
+
*/
|
|
673
|
+
project_id: string | null;
|
|
674
|
+
type: string;
|
|
675
|
+
};
|
|
676
|
+
TypePreferenceListResponseBody: {
|
|
677
|
+
items: components["schemas"]["TypePreferenceResource"][];
|
|
678
|
+
};
|
|
679
|
+
/** @description States how this type should be delivered, replacing whatever was configured before. */
|
|
680
|
+
UpdateTypePreferenceRequestBody: {
|
|
681
|
+
/**
|
|
682
|
+
* @description Where to deliver this type, beyond the inbox. An empty list delivers to the inbox only.
|
|
683
|
+
* `inbox` may be listed and is accepted, but has no effect: every notification is in the
|
|
684
|
+
* inbox whatever this says
|
|
685
|
+
*/
|
|
686
|
+
channels: components["schemas"]["NotificationChannel"][];
|
|
687
|
+
/** @description Deliver only at or above this severity. Null delivers every severity */
|
|
688
|
+
min_severity?: components["schemas"]["NotificationSeverity"] | null;
|
|
689
|
+
/**
|
|
690
|
+
* @description Stop delivering this type anywhere except the inbox
|
|
691
|
+
* @default false
|
|
692
|
+
*/
|
|
693
|
+
muted?: boolean;
|
|
694
|
+
};
|
|
695
|
+
/** @description A registered outbound channel. The endpoint itself is never included. */
|
|
696
|
+
ChannelResource: {
|
|
697
|
+
channel_scope: components["schemas"]["ChannelScope"];
|
|
698
|
+
/**
|
|
699
|
+
* Format: int64
|
|
700
|
+
* @description Deliveries that have failed in a row. Reset by a success, and by re-enabling the channel
|
|
701
|
+
*/
|
|
702
|
+
consecutive_failures: number;
|
|
703
|
+
/** Format: date-time */
|
|
704
|
+
created_at: string;
|
|
705
|
+
/**
|
|
706
|
+
* Format: date-time
|
|
707
|
+
* @description When the channel was disabled after repeated failures; null if it is enabled
|
|
708
|
+
*/
|
|
709
|
+
disabled_at: string | null;
|
|
710
|
+
/** @description Why it was disabled; null if it is enabled */
|
|
711
|
+
disabled_reason: string | null;
|
|
712
|
+
/** Format: uuid */
|
|
713
|
+
id: string;
|
|
714
|
+
kind: components["schemas"]["ChannelKind"];
|
|
715
|
+
/** @description Why the most recent attempt failed, in the endpoint's own wording; null if the most recent attempt succeeded */
|
|
716
|
+
last_error: string | null;
|
|
717
|
+
/** Format: date-time */
|
|
718
|
+
last_failure_at: string | null;
|
|
719
|
+
/** Format: date-time */
|
|
720
|
+
last_success_at: string | null;
|
|
721
|
+
name: string;
|
|
722
|
+
/**
|
|
723
|
+
* Format: uuid
|
|
724
|
+
* @description The project this channel is shared with; null for a channel of scope user
|
|
725
|
+
*/
|
|
726
|
+
project_id: string | null;
|
|
727
|
+
/** @description A partially masked fragment of the endpoint, for visual identification only */
|
|
728
|
+
redacted: string;
|
|
729
|
+
/** Format: date-time */
|
|
730
|
+
updated_at: string;
|
|
731
|
+
/**
|
|
732
|
+
* Format: date-time
|
|
733
|
+
* @description When the endpoint last acknowledged a verification message; null while it never has, during which the channel is skipped
|
|
734
|
+
*/
|
|
735
|
+
verified_at: string | null;
|
|
736
|
+
};
|
|
737
|
+
ChannelListResponseBody: {
|
|
738
|
+
items: components["schemas"]["ChannelResource"][];
|
|
739
|
+
};
|
|
740
|
+
CreateChannelRequestBody: {
|
|
741
|
+
channel_scope: components["schemas"]["ChannelScope"];
|
|
742
|
+
/**
|
|
743
|
+
* @description The address messages are sent to. It must be an https URL reachable over the public
|
|
744
|
+
* internet.
|
|
745
|
+
*
|
|
746
|
+
* For `lark_webhook` and `wecom_webhook` this is the group robot webhook URL. For `bark`
|
|
747
|
+
* it is the push URL including the device key, such as
|
|
748
|
+
* `https://api.day.app/your-device-key`. For `generic_webhook` it is any endpoint
|
|
749
|
+
* accepting a JSON POST.
|
|
750
|
+
*/
|
|
751
|
+
endpoint: string;
|
|
752
|
+
kind: components["schemas"]["ChannelKind"];
|
|
753
|
+
/** @description A display name for this channel */
|
|
754
|
+
name: string;
|
|
755
|
+
/**
|
|
756
|
+
* @description The signing secret, where the endpoint has one. It is required for a Lark group robot
|
|
757
|
+
* configured with signature verification, and optional for `generic_webhook`, where it
|
|
758
|
+
* signs the request so the receiver can confirm the message came from this platform.
|
|
759
|
+
*
|
|
760
|
+
* It is not returned by any operation.
|
|
761
|
+
*/
|
|
762
|
+
secret?: string;
|
|
763
|
+
};
|
|
764
|
+
/** @description Fields that are omitted are left alone. */
|
|
765
|
+
UpdateChannelRequestBody: {
|
|
766
|
+
/** @description Set true to re-enable a channel that was disabled after repeated failures, clearing the failure count */
|
|
767
|
+
enabled?: boolean;
|
|
768
|
+
name?: string;
|
|
769
|
+
};
|
|
770
|
+
/**
|
|
771
|
+
* @description What the credential belongs to.
|
|
772
|
+
* @enum {string}
|
|
773
|
+
*/
|
|
774
|
+
CredentialSubjectKind: "compute_instance";
|
|
775
|
+
/** @description A one-time credential, described without being consumed. */
|
|
776
|
+
CredentialTicketResource: {
|
|
777
|
+
/**
|
|
778
|
+
* @description True when the credential can still be revealed. False once it has been revealed, has
|
|
779
|
+
* expired, or was withdrawn — in all three cases it is already destroyed
|
|
780
|
+
*/
|
|
781
|
+
available: boolean;
|
|
782
|
+
/**
|
|
783
|
+
* Format: date-time
|
|
784
|
+
* @description After this moment the credential is destroyed whether or not it was read
|
|
785
|
+
*/
|
|
786
|
+
expires_at: string;
|
|
787
|
+
/** Format: uuid */
|
|
788
|
+
id: string;
|
|
789
|
+
/**
|
|
790
|
+
* Format: date-time
|
|
791
|
+
* @description When it was revealed; null if it has not been
|
|
792
|
+
*/
|
|
793
|
+
revealed_at: string | null;
|
|
794
|
+
/**
|
|
795
|
+
* Format: date-time
|
|
796
|
+
* @description When the service that issued it withdrew it; null if it did not
|
|
797
|
+
*/
|
|
798
|
+
revoked_at: string | null;
|
|
799
|
+
/** @description The resource the credential belongs to */
|
|
800
|
+
subject_id: string;
|
|
801
|
+
subject_kind: components["schemas"]["CredentialSubjectKind"];
|
|
802
|
+
};
|
|
803
|
+
/**
|
|
804
|
+
* @description The credential itself. This shape is returned by exactly one operation, and that operation
|
|
805
|
+
* succeeds at most once per ticket.
|
|
806
|
+
*/
|
|
807
|
+
RevealedCredentialResource: {
|
|
808
|
+
/** Format: date-time */
|
|
809
|
+
revealed_at: string;
|
|
810
|
+
/** @description The credential. It is destroyed as this response is produced and cannot be obtained again */
|
|
811
|
+
secret: string;
|
|
812
|
+
subject_id: string;
|
|
813
|
+
subject_kind: components["schemas"]["CredentialSubjectKind"];
|
|
814
|
+
/** @description The account the credential belongs to, where the resource has one; null otherwise */
|
|
815
|
+
username: string | null;
|
|
816
|
+
};
|
|
817
|
+
/**
|
|
818
|
+
* @description Everything needed to open a realtime connection. The connection speaks the Pusher channels
|
|
819
|
+
* protocol, so any client library for it works.
|
|
820
|
+
*/
|
|
821
|
+
RealtimeConnectionResource: {
|
|
822
|
+
/** @description The path a client posts to while subscribing, relative to this API */
|
|
823
|
+
auth_path: string;
|
|
824
|
+
/** @description The cluster name some client libraries require; empty when the deployment does not use one */
|
|
825
|
+
cluster: string;
|
|
826
|
+
/** @description False when realtime delivery is not configured in this deployment. Every other field is empty and clients should not attempt to connect */
|
|
827
|
+
enabled: boolean;
|
|
828
|
+
host: string;
|
|
829
|
+
/** @description The application key, which is public and identifies the deployment rather than the caller */
|
|
830
|
+
key: string;
|
|
831
|
+
/** Format: int64 */
|
|
832
|
+
port: number;
|
|
833
|
+
/** @description The channel carrying events about the project in the token; empty when the token names no project */
|
|
834
|
+
project_channel: string;
|
|
835
|
+
/** @description Whether to connect over TLS */
|
|
836
|
+
secure: boolean;
|
|
837
|
+
/** @description The channel carrying events addressed to you */
|
|
838
|
+
user_channel: string;
|
|
839
|
+
};
|
|
840
|
+
AuthorizeRealtimeChannelRequestBody: {
|
|
841
|
+
/** @description The channel being subscribed to */
|
|
842
|
+
channel_name: string;
|
|
843
|
+
/** @description The connection identifier the realtime server assigned to this client */
|
|
844
|
+
socket_id: string;
|
|
845
|
+
};
|
|
846
|
+
RealtimeAuthResource: {
|
|
847
|
+
/** @description The authorization token for this subscription, passed back to the realtime server by the client library */
|
|
848
|
+
auth: string;
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
responses: never;
|
|
852
|
+
parameters: {
|
|
853
|
+
/** @description The notification, or the announcement when kind is announcement */
|
|
854
|
+
NotificationId: string;
|
|
855
|
+
/** @description A notification type identifier, as listed by list-notification-types */
|
|
856
|
+
NotificationType: string;
|
|
857
|
+
/** @description Apply to this project alone; omit to apply to every project */
|
|
858
|
+
PreferenceProjectId: string;
|
|
859
|
+
/** @description The outbound channel */
|
|
860
|
+
ChannelId: string;
|
|
861
|
+
/** @description The one-time credential */
|
|
862
|
+
TicketId: string;
|
|
863
|
+
};
|
|
864
|
+
requestBodies: never;
|
|
865
|
+
headers: never;
|
|
866
|
+
pathItems: never;
|
|
867
|
+
}
|
|
868
|
+
export type $defs = Record<string, never>;
|
|
869
|
+
export interface operations {
|
|
870
|
+
"list-notifications": {
|
|
871
|
+
parameters: {
|
|
872
|
+
query?: {
|
|
873
|
+
/** @description Maximum number of items to return in this page */
|
|
874
|
+
limit?: number;
|
|
875
|
+
/** @description Number of items to skip */
|
|
876
|
+
offset?: number;
|
|
877
|
+
/** @description Which projects to include; defaults to every project */
|
|
878
|
+
scope?: components["schemas"]["NotificationScope"];
|
|
879
|
+
/** @description Return only notifications of this type; omit for all types */
|
|
880
|
+
type?: string;
|
|
881
|
+
/** @description Return only notifications at or above this severity; omit for all severities */
|
|
882
|
+
min_severity?: components["schemas"]["NotificationSeverity"];
|
|
883
|
+
/** @description Restrict to unread, to read, or to neither; omit for both */
|
|
884
|
+
read?: boolean;
|
|
885
|
+
/** @description Include archived notifications; they are excluded by default */
|
|
886
|
+
include_archived?: boolean;
|
|
887
|
+
};
|
|
888
|
+
header?: never;
|
|
889
|
+
path?: never;
|
|
890
|
+
cookie?: never;
|
|
891
|
+
};
|
|
892
|
+
requestBody?: never;
|
|
893
|
+
responses: {
|
|
894
|
+
/** @description OK */
|
|
895
|
+
200: {
|
|
896
|
+
headers: {
|
|
897
|
+
[name: string]: unknown;
|
|
898
|
+
};
|
|
899
|
+
content: {
|
|
900
|
+
"application/json": components["schemas"]["LengthAwarePageNotificationResource"];
|
|
901
|
+
};
|
|
902
|
+
};
|
|
903
|
+
/** @description Error */
|
|
904
|
+
default: {
|
|
905
|
+
headers: {
|
|
906
|
+
[name: string]: unknown;
|
|
907
|
+
};
|
|
908
|
+
content: {
|
|
909
|
+
"application/json": components["schemas"]["Error"];
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
"mark-notifications-read": {
|
|
915
|
+
parameters: {
|
|
916
|
+
query?: never;
|
|
917
|
+
header?: never;
|
|
918
|
+
path?: never;
|
|
919
|
+
cookie?: never;
|
|
920
|
+
};
|
|
921
|
+
requestBody: {
|
|
922
|
+
content: {
|
|
923
|
+
"application/json": components["schemas"]["MarkNotificationsReadRequestBody"];
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
responses: {
|
|
927
|
+
/** @description OK */
|
|
928
|
+
200: {
|
|
929
|
+
headers: {
|
|
930
|
+
[name: string]: unknown;
|
|
931
|
+
};
|
|
932
|
+
content: {
|
|
933
|
+
"application/json": components["schemas"]["UnreadCountResource"];
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
/** @description Error */
|
|
937
|
+
default: {
|
|
938
|
+
headers: {
|
|
939
|
+
[name: string]: unknown;
|
|
940
|
+
};
|
|
941
|
+
content: {
|
|
942
|
+
"application/json": components["schemas"]["Error"];
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
"count-unread-notifications": {
|
|
948
|
+
parameters: {
|
|
949
|
+
query?: {
|
|
950
|
+
/** @description Which projects to include; defaults to every project */
|
|
951
|
+
scope?: components["schemas"]["NotificationScope"];
|
|
952
|
+
};
|
|
953
|
+
header?: never;
|
|
954
|
+
path?: never;
|
|
955
|
+
cookie?: never;
|
|
956
|
+
};
|
|
957
|
+
requestBody?: never;
|
|
958
|
+
responses: {
|
|
959
|
+
/** @description OK */
|
|
960
|
+
200: {
|
|
961
|
+
headers: {
|
|
962
|
+
[name: string]: unknown;
|
|
963
|
+
};
|
|
964
|
+
content: {
|
|
965
|
+
"application/json": components["schemas"]["UnreadCountResource"];
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
/** @description Error */
|
|
969
|
+
default: {
|
|
970
|
+
headers: {
|
|
971
|
+
[name: string]: unknown;
|
|
972
|
+
};
|
|
973
|
+
content: {
|
|
974
|
+
"application/json": components["schemas"]["Error"];
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
"get-notification": {
|
|
980
|
+
parameters: {
|
|
981
|
+
query?: never;
|
|
982
|
+
header?: never;
|
|
983
|
+
path: {
|
|
984
|
+
/** @description The notification, or the announcement when kind is announcement */
|
|
985
|
+
notificationId: components["parameters"]["NotificationId"];
|
|
986
|
+
};
|
|
987
|
+
cookie?: never;
|
|
988
|
+
};
|
|
989
|
+
requestBody?: never;
|
|
990
|
+
responses: {
|
|
991
|
+
/** @description OK */
|
|
992
|
+
200: {
|
|
993
|
+
headers: {
|
|
994
|
+
[name: string]: unknown;
|
|
995
|
+
};
|
|
996
|
+
content: {
|
|
997
|
+
"application/json": components["schemas"]["NotificationResource"];
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
/** @description Error */
|
|
1001
|
+
default: {
|
|
1002
|
+
headers: {
|
|
1003
|
+
[name: string]: unknown;
|
|
1004
|
+
};
|
|
1005
|
+
content: {
|
|
1006
|
+
"application/json": components["schemas"]["Error"];
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
"mark-notification-read": {
|
|
1012
|
+
parameters: {
|
|
1013
|
+
query?: never;
|
|
1014
|
+
header?: never;
|
|
1015
|
+
path: {
|
|
1016
|
+
/** @description The notification, or the announcement when kind is announcement */
|
|
1017
|
+
notificationId: components["parameters"]["NotificationId"];
|
|
1018
|
+
};
|
|
1019
|
+
cookie?: never;
|
|
1020
|
+
};
|
|
1021
|
+
requestBody?: never;
|
|
1022
|
+
responses: {
|
|
1023
|
+
/** @description OK */
|
|
1024
|
+
200: {
|
|
1025
|
+
headers: {
|
|
1026
|
+
[name: string]: unknown;
|
|
1027
|
+
};
|
|
1028
|
+
content: {
|
|
1029
|
+
"application/json": components["schemas"]["NotificationResource"];
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
/** @description Error */
|
|
1033
|
+
default: {
|
|
1034
|
+
headers: {
|
|
1035
|
+
[name: string]: unknown;
|
|
1036
|
+
};
|
|
1037
|
+
content: {
|
|
1038
|
+
"application/json": components["schemas"]["Error"];
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
"archive-notification": {
|
|
1044
|
+
parameters: {
|
|
1045
|
+
query?: never;
|
|
1046
|
+
header?: never;
|
|
1047
|
+
path: {
|
|
1048
|
+
/** @description The notification, or the announcement when kind is announcement */
|
|
1049
|
+
notificationId: components["parameters"]["NotificationId"];
|
|
1050
|
+
};
|
|
1051
|
+
cookie?: never;
|
|
1052
|
+
};
|
|
1053
|
+
requestBody?: never;
|
|
1054
|
+
responses: {
|
|
1055
|
+
/** @description OK */
|
|
1056
|
+
200: {
|
|
1057
|
+
headers: {
|
|
1058
|
+
[name: string]: unknown;
|
|
1059
|
+
};
|
|
1060
|
+
content: {
|
|
1061
|
+
"application/json": components["schemas"]["NotificationResource"];
|
|
1062
|
+
};
|
|
1063
|
+
};
|
|
1064
|
+
/** @description Error */
|
|
1065
|
+
default: {
|
|
1066
|
+
headers: {
|
|
1067
|
+
[name: string]: unknown;
|
|
1068
|
+
};
|
|
1069
|
+
content: {
|
|
1070
|
+
"application/json": components["schemas"]["Error"];
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
"list-notification-types": {
|
|
1076
|
+
parameters: {
|
|
1077
|
+
query?: never;
|
|
1078
|
+
header?: never;
|
|
1079
|
+
path?: never;
|
|
1080
|
+
cookie?: never;
|
|
1081
|
+
};
|
|
1082
|
+
requestBody?: never;
|
|
1083
|
+
responses: {
|
|
1084
|
+
/** @description OK */
|
|
1085
|
+
200: {
|
|
1086
|
+
headers: {
|
|
1087
|
+
[name: string]: unknown;
|
|
1088
|
+
};
|
|
1089
|
+
content: {
|
|
1090
|
+
"application/json": components["schemas"]["NotificationTypeListResponseBody"];
|
|
1091
|
+
};
|
|
1092
|
+
};
|
|
1093
|
+
/** @description Error */
|
|
1094
|
+
default: {
|
|
1095
|
+
headers: {
|
|
1096
|
+
[name: string]: unknown;
|
|
1097
|
+
};
|
|
1098
|
+
content: {
|
|
1099
|
+
"application/json": components["schemas"]["Error"];
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
};
|
|
1104
|
+
"get-notification-preferences": {
|
|
1105
|
+
parameters: {
|
|
1106
|
+
query?: never;
|
|
1107
|
+
header?: never;
|
|
1108
|
+
path?: never;
|
|
1109
|
+
cookie?: never;
|
|
1110
|
+
};
|
|
1111
|
+
requestBody?: never;
|
|
1112
|
+
responses: {
|
|
1113
|
+
/** @description OK */
|
|
1114
|
+
200: {
|
|
1115
|
+
headers: {
|
|
1116
|
+
[name: string]: unknown;
|
|
1117
|
+
};
|
|
1118
|
+
content: {
|
|
1119
|
+
"application/json": components["schemas"]["PreferencesResource"];
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
/** @description Error */
|
|
1123
|
+
default: {
|
|
1124
|
+
headers: {
|
|
1125
|
+
[name: string]: unknown;
|
|
1126
|
+
};
|
|
1127
|
+
content: {
|
|
1128
|
+
"application/json": components["schemas"]["Error"];
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
"update-notification-preferences": {
|
|
1134
|
+
parameters: {
|
|
1135
|
+
query?: never;
|
|
1136
|
+
header?: never;
|
|
1137
|
+
path?: never;
|
|
1138
|
+
cookie?: never;
|
|
1139
|
+
};
|
|
1140
|
+
requestBody: {
|
|
1141
|
+
content: {
|
|
1142
|
+
"application/json": components["schemas"]["UpdatePreferencesRequestBody"];
|
|
1143
|
+
};
|
|
1144
|
+
};
|
|
1145
|
+
responses: {
|
|
1146
|
+
/** @description OK */
|
|
1147
|
+
200: {
|
|
1148
|
+
headers: {
|
|
1149
|
+
[name: string]: unknown;
|
|
1150
|
+
};
|
|
1151
|
+
content: {
|
|
1152
|
+
"application/json": components["schemas"]["PreferencesResource"];
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
/** @description Error */
|
|
1156
|
+
default: {
|
|
1157
|
+
headers: {
|
|
1158
|
+
[name: string]: unknown;
|
|
1159
|
+
};
|
|
1160
|
+
content: {
|
|
1161
|
+
"application/json": components["schemas"]["Error"];
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
"list-type-preferences": {
|
|
1167
|
+
parameters: {
|
|
1168
|
+
query?: {
|
|
1169
|
+
/** @description Return preferences for this project in addition to the account-wide ones; omit for the account-wide ones only */
|
|
1170
|
+
project_id?: string;
|
|
1171
|
+
};
|
|
1172
|
+
header?: never;
|
|
1173
|
+
path?: never;
|
|
1174
|
+
cookie?: never;
|
|
1175
|
+
};
|
|
1176
|
+
requestBody?: never;
|
|
1177
|
+
responses: {
|
|
1178
|
+
/** @description OK */
|
|
1179
|
+
200: {
|
|
1180
|
+
headers: {
|
|
1181
|
+
[name: string]: unknown;
|
|
1182
|
+
};
|
|
1183
|
+
content: {
|
|
1184
|
+
"application/json": components["schemas"]["TypePreferenceListResponseBody"];
|
|
1185
|
+
};
|
|
1186
|
+
};
|
|
1187
|
+
/** @description Error */
|
|
1188
|
+
default: {
|
|
1189
|
+
headers: {
|
|
1190
|
+
[name: string]: unknown;
|
|
1191
|
+
};
|
|
1192
|
+
content: {
|
|
1193
|
+
"application/json": components["schemas"]["Error"];
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
"update-type-preference": {
|
|
1199
|
+
parameters: {
|
|
1200
|
+
query?: {
|
|
1201
|
+
/** @description Apply to this project alone; omit to apply to every project */
|
|
1202
|
+
project_id?: components["parameters"]["PreferenceProjectId"];
|
|
1203
|
+
};
|
|
1204
|
+
header?: never;
|
|
1205
|
+
path: {
|
|
1206
|
+
/** @description A notification type identifier, as listed by list-notification-types */
|
|
1207
|
+
type: components["parameters"]["NotificationType"];
|
|
1208
|
+
};
|
|
1209
|
+
cookie?: never;
|
|
1210
|
+
};
|
|
1211
|
+
requestBody: {
|
|
1212
|
+
content: {
|
|
1213
|
+
"application/json": components["schemas"]["UpdateTypePreferenceRequestBody"];
|
|
1214
|
+
};
|
|
1215
|
+
};
|
|
1216
|
+
responses: {
|
|
1217
|
+
/** @description OK */
|
|
1218
|
+
200: {
|
|
1219
|
+
headers: {
|
|
1220
|
+
[name: string]: unknown;
|
|
1221
|
+
};
|
|
1222
|
+
content: {
|
|
1223
|
+
"application/json": components["schemas"]["TypePreferenceResource"];
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
/** @description Error */
|
|
1227
|
+
default: {
|
|
1228
|
+
headers: {
|
|
1229
|
+
[name: string]: unknown;
|
|
1230
|
+
};
|
|
1231
|
+
content: {
|
|
1232
|
+
"application/json": components["schemas"]["Error"];
|
|
1233
|
+
};
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
"delete-type-preference": {
|
|
1238
|
+
parameters: {
|
|
1239
|
+
query?: {
|
|
1240
|
+
/** @description Apply to this project alone; omit to apply to every project */
|
|
1241
|
+
project_id?: components["parameters"]["PreferenceProjectId"];
|
|
1242
|
+
};
|
|
1243
|
+
header?: never;
|
|
1244
|
+
path: {
|
|
1245
|
+
/** @description A notification type identifier, as listed by list-notification-types */
|
|
1246
|
+
type: components["parameters"]["NotificationType"];
|
|
1247
|
+
};
|
|
1248
|
+
cookie?: never;
|
|
1249
|
+
};
|
|
1250
|
+
requestBody?: never;
|
|
1251
|
+
responses: {
|
|
1252
|
+
/** @description No Content */
|
|
1253
|
+
204: {
|
|
1254
|
+
headers: {
|
|
1255
|
+
[name: string]: unknown;
|
|
1256
|
+
};
|
|
1257
|
+
content?: never;
|
|
1258
|
+
};
|
|
1259
|
+
/** @description Error */
|
|
1260
|
+
default: {
|
|
1261
|
+
headers: {
|
|
1262
|
+
[name: string]: unknown;
|
|
1263
|
+
};
|
|
1264
|
+
content: {
|
|
1265
|
+
"application/json": components["schemas"]["Error"];
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
"list-user-channels": {
|
|
1271
|
+
parameters: {
|
|
1272
|
+
query?: {
|
|
1273
|
+
/** @description Return only channels of this scope; omit for both */
|
|
1274
|
+
channel_scope?: components["schemas"]["ChannelScope"];
|
|
1275
|
+
/** @description Return only channels of this kind; omit for all kinds */
|
|
1276
|
+
kind?: components["schemas"]["ChannelKind"];
|
|
1277
|
+
};
|
|
1278
|
+
header?: never;
|
|
1279
|
+
path?: never;
|
|
1280
|
+
cookie?: never;
|
|
1281
|
+
};
|
|
1282
|
+
requestBody?: never;
|
|
1283
|
+
responses: {
|
|
1284
|
+
/** @description OK */
|
|
1285
|
+
200: {
|
|
1286
|
+
headers: {
|
|
1287
|
+
[name: string]: unknown;
|
|
1288
|
+
};
|
|
1289
|
+
content: {
|
|
1290
|
+
"application/json": components["schemas"]["ChannelListResponseBody"];
|
|
1291
|
+
};
|
|
1292
|
+
};
|
|
1293
|
+
/** @description Error */
|
|
1294
|
+
default: {
|
|
1295
|
+
headers: {
|
|
1296
|
+
[name: string]: unknown;
|
|
1297
|
+
};
|
|
1298
|
+
content: {
|
|
1299
|
+
"application/json": components["schemas"]["Error"];
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
};
|
|
1304
|
+
"create-user-channel": {
|
|
1305
|
+
parameters: {
|
|
1306
|
+
query?: never;
|
|
1307
|
+
header?: never;
|
|
1308
|
+
path?: never;
|
|
1309
|
+
cookie?: never;
|
|
1310
|
+
};
|
|
1311
|
+
requestBody: {
|
|
1312
|
+
content: {
|
|
1313
|
+
"application/json": components["schemas"]["CreateChannelRequestBody"];
|
|
1314
|
+
};
|
|
1315
|
+
};
|
|
1316
|
+
responses: {
|
|
1317
|
+
/** @description Created */
|
|
1318
|
+
201: {
|
|
1319
|
+
headers: {
|
|
1320
|
+
[name: string]: unknown;
|
|
1321
|
+
};
|
|
1322
|
+
content: {
|
|
1323
|
+
"application/json": components["schemas"]["ChannelResource"];
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
1326
|
+
/** @description Error */
|
|
1327
|
+
default: {
|
|
1328
|
+
headers: {
|
|
1329
|
+
[name: string]: unknown;
|
|
1330
|
+
};
|
|
1331
|
+
content: {
|
|
1332
|
+
"application/json": components["schemas"]["Error"];
|
|
1333
|
+
};
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
"delete-user-channel": {
|
|
1338
|
+
parameters: {
|
|
1339
|
+
query?: never;
|
|
1340
|
+
header?: never;
|
|
1341
|
+
path: {
|
|
1342
|
+
/** @description The outbound channel */
|
|
1343
|
+
channelId: components["parameters"]["ChannelId"];
|
|
1344
|
+
};
|
|
1345
|
+
cookie?: never;
|
|
1346
|
+
};
|
|
1347
|
+
requestBody?: never;
|
|
1348
|
+
responses: {
|
|
1349
|
+
/** @description No Content */
|
|
1350
|
+
204: {
|
|
1351
|
+
headers: {
|
|
1352
|
+
[name: string]: unknown;
|
|
1353
|
+
};
|
|
1354
|
+
content?: never;
|
|
1355
|
+
};
|
|
1356
|
+
/** @description Error */
|
|
1357
|
+
default: {
|
|
1358
|
+
headers: {
|
|
1359
|
+
[name: string]: unknown;
|
|
1360
|
+
};
|
|
1361
|
+
content: {
|
|
1362
|
+
"application/json": components["schemas"]["Error"];
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
"update-user-channel": {
|
|
1368
|
+
parameters: {
|
|
1369
|
+
query?: never;
|
|
1370
|
+
header?: never;
|
|
1371
|
+
path: {
|
|
1372
|
+
/** @description The outbound channel */
|
|
1373
|
+
channelId: components["parameters"]["ChannelId"];
|
|
1374
|
+
};
|
|
1375
|
+
cookie?: never;
|
|
1376
|
+
};
|
|
1377
|
+
requestBody: {
|
|
1378
|
+
content: {
|
|
1379
|
+
"application/json": components["schemas"]["UpdateChannelRequestBody"];
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
|
+
responses: {
|
|
1383
|
+
/** @description OK */
|
|
1384
|
+
200: {
|
|
1385
|
+
headers: {
|
|
1386
|
+
[name: string]: unknown;
|
|
1387
|
+
};
|
|
1388
|
+
content: {
|
|
1389
|
+
"application/json": components["schemas"]["ChannelResource"];
|
|
1390
|
+
};
|
|
1391
|
+
};
|
|
1392
|
+
/** @description Error */
|
|
1393
|
+
default: {
|
|
1394
|
+
headers: {
|
|
1395
|
+
[name: string]: unknown;
|
|
1396
|
+
};
|
|
1397
|
+
content: {
|
|
1398
|
+
"application/json": components["schemas"]["Error"];
|
|
1399
|
+
};
|
|
1400
|
+
};
|
|
1401
|
+
};
|
|
1402
|
+
};
|
|
1403
|
+
"verify-user-channel": {
|
|
1404
|
+
parameters: {
|
|
1405
|
+
query?: never;
|
|
1406
|
+
header?: never;
|
|
1407
|
+
path: {
|
|
1408
|
+
/** @description The outbound channel */
|
|
1409
|
+
channelId: components["parameters"]["ChannelId"];
|
|
1410
|
+
};
|
|
1411
|
+
cookie?: never;
|
|
1412
|
+
};
|
|
1413
|
+
requestBody?: never;
|
|
1414
|
+
responses: {
|
|
1415
|
+
/** @description OK */
|
|
1416
|
+
200: {
|
|
1417
|
+
headers: {
|
|
1418
|
+
[name: string]: unknown;
|
|
1419
|
+
};
|
|
1420
|
+
content: {
|
|
1421
|
+
"application/json": components["schemas"]["ChannelResource"];
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
/** @description Error */
|
|
1425
|
+
default: {
|
|
1426
|
+
headers: {
|
|
1427
|
+
[name: string]: unknown;
|
|
1428
|
+
};
|
|
1429
|
+
content: {
|
|
1430
|
+
"application/json": components["schemas"]["Error"];
|
|
1431
|
+
};
|
|
1432
|
+
};
|
|
1433
|
+
};
|
|
1434
|
+
};
|
|
1435
|
+
"describe-credential-ticket": {
|
|
1436
|
+
parameters: {
|
|
1437
|
+
query?: never;
|
|
1438
|
+
header?: never;
|
|
1439
|
+
path: {
|
|
1440
|
+
/** @description The one-time credential */
|
|
1441
|
+
ticketId: components["parameters"]["TicketId"];
|
|
1442
|
+
};
|
|
1443
|
+
cookie?: never;
|
|
1444
|
+
};
|
|
1445
|
+
requestBody?: never;
|
|
1446
|
+
responses: {
|
|
1447
|
+
/** @description OK */
|
|
1448
|
+
200: {
|
|
1449
|
+
headers: {
|
|
1450
|
+
[name: string]: unknown;
|
|
1451
|
+
};
|
|
1452
|
+
content: {
|
|
1453
|
+
"application/json": components["schemas"]["CredentialTicketResource"];
|
|
1454
|
+
};
|
|
1455
|
+
};
|
|
1456
|
+
/** @description Error */
|
|
1457
|
+
default: {
|
|
1458
|
+
headers: {
|
|
1459
|
+
[name: string]: unknown;
|
|
1460
|
+
};
|
|
1461
|
+
content: {
|
|
1462
|
+
"application/json": components["schemas"]["Error"];
|
|
1463
|
+
};
|
|
1464
|
+
};
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1467
|
+
"reveal-credential": {
|
|
1468
|
+
parameters: {
|
|
1469
|
+
query?: never;
|
|
1470
|
+
header?: never;
|
|
1471
|
+
path: {
|
|
1472
|
+
/** @description The one-time credential */
|
|
1473
|
+
ticketId: components["parameters"]["TicketId"];
|
|
1474
|
+
};
|
|
1475
|
+
cookie?: never;
|
|
1476
|
+
};
|
|
1477
|
+
requestBody?: never;
|
|
1478
|
+
responses: {
|
|
1479
|
+
/** @description OK */
|
|
1480
|
+
200: {
|
|
1481
|
+
headers: {
|
|
1482
|
+
[name: string]: unknown;
|
|
1483
|
+
};
|
|
1484
|
+
content: {
|
|
1485
|
+
"application/json": components["schemas"]["RevealedCredentialResource"];
|
|
1486
|
+
};
|
|
1487
|
+
};
|
|
1488
|
+
/** @description Error */
|
|
1489
|
+
default: {
|
|
1490
|
+
headers: {
|
|
1491
|
+
[name: string]: unknown;
|
|
1492
|
+
};
|
|
1493
|
+
content: {
|
|
1494
|
+
"application/json": components["schemas"]["Error"];
|
|
1495
|
+
};
|
|
1496
|
+
};
|
|
1497
|
+
};
|
|
1498
|
+
};
|
|
1499
|
+
"describe-realtime-connection": {
|
|
1500
|
+
parameters: {
|
|
1501
|
+
query?: never;
|
|
1502
|
+
header?: never;
|
|
1503
|
+
path?: never;
|
|
1504
|
+
cookie?: never;
|
|
1505
|
+
};
|
|
1506
|
+
requestBody?: never;
|
|
1507
|
+
responses: {
|
|
1508
|
+
/** @description OK */
|
|
1509
|
+
200: {
|
|
1510
|
+
headers: {
|
|
1511
|
+
[name: string]: unknown;
|
|
1512
|
+
};
|
|
1513
|
+
content: {
|
|
1514
|
+
"application/json": components["schemas"]["RealtimeConnectionResource"];
|
|
1515
|
+
};
|
|
1516
|
+
};
|
|
1517
|
+
/** @description Error */
|
|
1518
|
+
default: {
|
|
1519
|
+
headers: {
|
|
1520
|
+
[name: string]: unknown;
|
|
1521
|
+
};
|
|
1522
|
+
content: {
|
|
1523
|
+
"application/json": components["schemas"]["Error"];
|
|
1524
|
+
};
|
|
1525
|
+
};
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1528
|
+
"authorize-realtime-channel": {
|
|
1529
|
+
parameters: {
|
|
1530
|
+
query?: never;
|
|
1531
|
+
header?: never;
|
|
1532
|
+
path?: never;
|
|
1533
|
+
cookie?: never;
|
|
1534
|
+
};
|
|
1535
|
+
requestBody: {
|
|
1536
|
+
content: {
|
|
1537
|
+
"application/json": components["schemas"]["AuthorizeRealtimeChannelRequestBody"];
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
responses: {
|
|
1541
|
+
/** @description OK */
|
|
1542
|
+
200: {
|
|
1543
|
+
headers: {
|
|
1544
|
+
[name: string]: unknown;
|
|
1545
|
+
};
|
|
1546
|
+
content: {
|
|
1547
|
+
"application/json": components["schemas"]["RealtimeAuthResource"];
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
/** @description Error */
|
|
1551
|
+
default: {
|
|
1552
|
+
headers: {
|
|
1553
|
+
[name: string]: unknown;
|
|
1554
|
+
};
|
|
1555
|
+
content: {
|
|
1556
|
+
"application/json": components["schemas"]["Error"];
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1561
|
+
}
|