@zilfu/sdk 0.0.1 → 0.1.1
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/LICENSE +21 -0
- package/README.md +116 -20
- package/dist/index.cjs +733 -661
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +521 -382
- package/dist/index.d.ts +521 -382
- package/dist/index.js +733 -623
- package/dist/index.js.map +1 -1
- package/package.json +15 -18
- package/openapi.json +0 -3541
- package/src/client.ts +0 -38
- package/src/generated/client/client.gen.ts +0 -268
- package/src/generated/client/index.ts +0 -25
- package/src/generated/client/types.gen.ts +0 -268
- package/src/generated/client/utils.gen.ts +0 -331
- package/src/generated/client.gen.ts +0 -18
- package/src/generated/core/auth.gen.ts +0 -42
- package/src/generated/core/bodySerializer.gen.ts +0 -92
- package/src/generated/core/params.gen.ts +0 -153
- package/src/generated/core/pathSerializer.gen.ts +0 -181
- package/src/generated/core/serverSentEvents.gen.ts +0 -264
- package/src/generated/core/types.gen.ts +0 -118
- package/src/generated/core/utils.gen.ts +0 -143
- package/src/generated/index.ts +0 -4
- package/src/generated/sdk.gen.ts +0 -695
- package/src/generated/types.gen.ts +0 -2564
- package/src/index.ts +0 -5
|
@@ -1,2564 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
|
|
3
|
-
export type ClientOptions = {
|
|
4
|
-
baseUrl: 'https://zilfu.app/api' | (string & {});
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* AccountResource
|
|
9
|
-
*/
|
|
10
|
-
export type AccountResource = {
|
|
11
|
-
id: number;
|
|
12
|
-
social: string;
|
|
13
|
-
display_name: string;
|
|
14
|
-
handler: string;
|
|
15
|
-
avatar: string | null;
|
|
16
|
-
is_active: boolean;
|
|
17
|
-
disconnected_at: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* BioBlockResource
|
|
22
|
-
*/
|
|
23
|
-
export type BioBlockResource = {
|
|
24
|
-
id: number;
|
|
25
|
-
type: string;
|
|
26
|
-
content: Array<unknown>;
|
|
27
|
-
sort_order: number;
|
|
28
|
-
is_visible: boolean;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* BioPageResource
|
|
33
|
-
*/
|
|
34
|
-
export type BioPageResource = {
|
|
35
|
-
id: number;
|
|
36
|
-
slug: string;
|
|
37
|
-
title: string | null;
|
|
38
|
-
description: string | null;
|
|
39
|
-
theme: string;
|
|
40
|
-
avatar: string;
|
|
41
|
-
is_enabled: boolean;
|
|
42
|
-
public_url: string;
|
|
43
|
-
created_at: string | null;
|
|
44
|
-
updated_at: string | null;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* MediaResource
|
|
49
|
-
*/
|
|
50
|
-
export type MediaResource = {
|
|
51
|
-
id: string;
|
|
52
|
-
type: string;
|
|
53
|
-
url: string;
|
|
54
|
-
mime: string;
|
|
55
|
-
width: string;
|
|
56
|
-
height: string;
|
|
57
|
-
size: string;
|
|
58
|
-
alt: string;
|
|
59
|
-
order: string;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* PostResource
|
|
64
|
-
*/
|
|
65
|
-
export type PostResource = {
|
|
66
|
-
id: number;
|
|
67
|
-
content: string;
|
|
68
|
-
status: PostStatus;
|
|
69
|
-
order: number;
|
|
70
|
-
scheduled_at: string | null;
|
|
71
|
-
published_at: string | null;
|
|
72
|
-
metadata: Array<unknown> | null;
|
|
73
|
-
cluster_id: string;
|
|
74
|
-
parent_id: number | null;
|
|
75
|
-
user_id: number;
|
|
76
|
-
account_id: number;
|
|
77
|
-
created_at: string | null;
|
|
78
|
-
updated_at: string | null;
|
|
79
|
-
analytics: Array<unknown> | null;
|
|
80
|
-
account?: AccountResource;
|
|
81
|
-
children?: Array<PostResource>;
|
|
82
|
-
media?: Array<MediaResource>;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* PostStatus
|
|
87
|
-
*/
|
|
88
|
-
export type PostStatus = 0 | 1 | 2 | 3 | 4;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* SlotResource
|
|
92
|
-
*/
|
|
93
|
-
export type SlotResource = {
|
|
94
|
-
id: number;
|
|
95
|
-
day_of_week: number;
|
|
96
|
-
time: string;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* SpaceResource
|
|
101
|
-
*/
|
|
102
|
-
export type SpaceResource = {
|
|
103
|
-
id: number;
|
|
104
|
-
name: string;
|
|
105
|
-
created_at: string | null;
|
|
106
|
-
updated_at: string | null;
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* StoreBioBlockRequest
|
|
111
|
-
*/
|
|
112
|
-
export type StoreBioBlockRequest = {
|
|
113
|
-
type: 'link' | 'header' | 'social_icons' | 'text';
|
|
114
|
-
content: Array<string>;
|
|
115
|
-
is_visible?: boolean;
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* StoreBioPageRequest
|
|
120
|
-
*/
|
|
121
|
-
export type StoreBioPageRequest = {
|
|
122
|
-
slug: string;
|
|
123
|
-
title?: string | null;
|
|
124
|
-
description?: string | null;
|
|
125
|
-
theme: 'minimal' | 'bold' | 'neon' | 'soft' | 'classic';
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* StorePostRequest
|
|
130
|
-
*/
|
|
131
|
-
export type StorePostRequest = {
|
|
132
|
-
at?: number | null;
|
|
133
|
-
is_draft?: boolean;
|
|
134
|
-
space_id: number;
|
|
135
|
-
items: Array<{
|
|
136
|
-
account_id: number;
|
|
137
|
-
social: string;
|
|
138
|
-
children?: Array<{
|
|
139
|
-
content: string;
|
|
140
|
-
media?: Array<{
|
|
141
|
-
id: number;
|
|
142
|
-
type: 'image' | 'video';
|
|
143
|
-
}> | null;
|
|
144
|
-
}> | null;
|
|
145
|
-
metadata?: {
|
|
146
|
-
topic_tag?: string | null;
|
|
147
|
-
post_type?: string | null;
|
|
148
|
-
link?: string | null;
|
|
149
|
-
privacy_level?: string | null;
|
|
150
|
-
allow_comments?: boolean | null;
|
|
151
|
-
allow_duet?: boolean | null;
|
|
152
|
-
allow_stitch?: boolean | null;
|
|
153
|
-
branded_content?: boolean | null;
|
|
154
|
-
brand_organic?: boolean | null;
|
|
155
|
-
board_id?: string | null;
|
|
156
|
-
title?: string | null;
|
|
157
|
-
cover_image_url?: string | null;
|
|
158
|
-
} | null;
|
|
159
|
-
main?: {
|
|
160
|
-
content: string;
|
|
161
|
-
media?: Array<{
|
|
162
|
-
id: number;
|
|
163
|
-
type: 'image' | 'video';
|
|
164
|
-
}> | null;
|
|
165
|
-
};
|
|
166
|
-
}>;
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* StoreSlotRequest
|
|
171
|
-
*/
|
|
172
|
-
export type StoreSlotRequest = {
|
|
173
|
-
time: string;
|
|
174
|
-
days_of_week: Array<number>;
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* StoreSpaceRequest
|
|
179
|
-
*/
|
|
180
|
-
export type StoreSpaceRequest = {
|
|
181
|
-
name: string;
|
|
182
|
-
};
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* StoreWebhookRequest
|
|
186
|
-
*/
|
|
187
|
-
export type StoreWebhookRequest = {
|
|
188
|
-
url: string;
|
|
189
|
-
events: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'account.connected' | 'account.disconnected'>;
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* UpdateBioBlockRequest
|
|
194
|
-
*/
|
|
195
|
-
export type UpdateBioBlockRequest = {
|
|
196
|
-
content?: Array<string>;
|
|
197
|
-
is_visible?: boolean;
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* UpdateBioPageRequest
|
|
202
|
-
*/
|
|
203
|
-
export type UpdateBioPageRequest = {
|
|
204
|
-
slug?: string;
|
|
205
|
-
title?: string | null;
|
|
206
|
-
description?: string | null;
|
|
207
|
-
theme?: 'minimal' | 'bold' | 'neon' | 'soft' | 'classic';
|
|
208
|
-
is_enabled?: boolean;
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* UpdateClusterRequest
|
|
213
|
-
*/
|
|
214
|
-
export type UpdateClusterRequest = {
|
|
215
|
-
at?: number | null;
|
|
216
|
-
is_draft?: boolean;
|
|
217
|
-
space_id: number;
|
|
218
|
-
items: Array<{
|
|
219
|
-
account_id: number;
|
|
220
|
-
social: string;
|
|
221
|
-
children?: Array<{
|
|
222
|
-
content: string;
|
|
223
|
-
media?: Array<{
|
|
224
|
-
id: number;
|
|
225
|
-
type: 'image' | 'video';
|
|
226
|
-
}> | null;
|
|
227
|
-
}> | null;
|
|
228
|
-
metadata?: {
|
|
229
|
-
topic_tag?: string | null;
|
|
230
|
-
post_type?: string | null;
|
|
231
|
-
link?: string | null;
|
|
232
|
-
privacy_level?: string | null;
|
|
233
|
-
allow_comments?: boolean | null;
|
|
234
|
-
allow_duet?: boolean | null;
|
|
235
|
-
allow_stitch?: boolean | null;
|
|
236
|
-
branded_content?: boolean | null;
|
|
237
|
-
brand_organic?: boolean | null;
|
|
238
|
-
board_id?: string | null;
|
|
239
|
-
title?: string | null;
|
|
240
|
-
cover_image_url?: string | null;
|
|
241
|
-
} | null;
|
|
242
|
-
main?: {
|
|
243
|
-
content: string;
|
|
244
|
-
media?: Array<{
|
|
245
|
-
id: number;
|
|
246
|
-
type: 'image' | 'video';
|
|
247
|
-
}> | null;
|
|
248
|
-
};
|
|
249
|
-
}>;
|
|
250
|
-
};
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* UpdatePostRequest
|
|
254
|
-
*/
|
|
255
|
-
export type UpdatePostRequest = {
|
|
256
|
-
content?: string;
|
|
257
|
-
status?: PostStatus;
|
|
258
|
-
scheduled_at?: string | null;
|
|
259
|
-
metadata?: Array<string> | null;
|
|
260
|
-
media_ids?: Array<number> | null;
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* UpdateSpaceRequest
|
|
265
|
-
*/
|
|
266
|
-
export type UpdateSpaceRequest = {
|
|
267
|
-
name?: string;
|
|
268
|
-
timezone?: string;
|
|
269
|
-
};
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* UpdateWebhookRequest
|
|
273
|
-
*/
|
|
274
|
-
export type UpdateWebhookRequest = {
|
|
275
|
-
url?: string;
|
|
276
|
-
is_active?: boolean;
|
|
277
|
-
events?: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'account.connected' | 'account.disconnected'>;
|
|
278
|
-
};
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* WebhookResource
|
|
282
|
-
*/
|
|
283
|
-
export type WebhookResource = {
|
|
284
|
-
id: number;
|
|
285
|
-
url: string;
|
|
286
|
-
events: Array<unknown>;
|
|
287
|
-
is_active: boolean;
|
|
288
|
-
created_at: string | null;
|
|
289
|
-
updated_at: string | null;
|
|
290
|
-
};
|
|
291
|
-
|
|
292
|
-
export type AccountsDestroyManyData = {
|
|
293
|
-
body?: never;
|
|
294
|
-
path: {
|
|
295
|
-
/**
|
|
296
|
-
* The space ID
|
|
297
|
-
*/
|
|
298
|
-
space: number;
|
|
299
|
-
};
|
|
300
|
-
query?: {
|
|
301
|
-
'ids[]'?: Array<number>;
|
|
302
|
-
};
|
|
303
|
-
url: '/spaces/{space}/accounts';
|
|
304
|
-
};
|
|
305
|
-
|
|
306
|
-
export type AccountsDestroyManyErrors = {
|
|
307
|
-
/**
|
|
308
|
-
* Unauthenticated
|
|
309
|
-
*/
|
|
310
|
-
401: {
|
|
311
|
-
/**
|
|
312
|
-
* Error overview.
|
|
313
|
-
*/
|
|
314
|
-
message: string;
|
|
315
|
-
};
|
|
316
|
-
/**
|
|
317
|
-
* Authorization error
|
|
318
|
-
*/
|
|
319
|
-
403: {
|
|
320
|
-
/**
|
|
321
|
-
* Error overview.
|
|
322
|
-
*/
|
|
323
|
-
message: string;
|
|
324
|
-
};
|
|
325
|
-
/**
|
|
326
|
-
* Not found
|
|
327
|
-
*/
|
|
328
|
-
404: {
|
|
329
|
-
/**
|
|
330
|
-
* Error overview.
|
|
331
|
-
*/
|
|
332
|
-
message: string;
|
|
333
|
-
};
|
|
334
|
-
/**
|
|
335
|
-
* Validation error
|
|
336
|
-
*/
|
|
337
|
-
422: {
|
|
338
|
-
/**
|
|
339
|
-
* Errors overview.
|
|
340
|
-
*/
|
|
341
|
-
message: string;
|
|
342
|
-
/**
|
|
343
|
-
* A detailed description of each field that failed validation.
|
|
344
|
-
*/
|
|
345
|
-
errors: {
|
|
346
|
-
[key: string]: Array<string>;
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
export type AccountsDestroyManyError = AccountsDestroyManyErrors[keyof AccountsDestroyManyErrors];
|
|
352
|
-
|
|
353
|
-
export type AccountsDestroyManyResponses = {
|
|
354
|
-
200: {
|
|
355
|
-
[key: string]: unknown;
|
|
356
|
-
};
|
|
357
|
-
};
|
|
358
|
-
|
|
359
|
-
export type AccountsDestroyManyResponse = AccountsDestroyManyResponses[keyof AccountsDestroyManyResponses];
|
|
360
|
-
|
|
361
|
-
export type AccountsIndexData = {
|
|
362
|
-
body?: never;
|
|
363
|
-
path: {
|
|
364
|
-
/**
|
|
365
|
-
* The space ID
|
|
366
|
-
*/
|
|
367
|
-
space: number;
|
|
368
|
-
};
|
|
369
|
-
query?: never;
|
|
370
|
-
url: '/spaces/{space}/accounts';
|
|
371
|
-
};
|
|
372
|
-
|
|
373
|
-
export type AccountsIndexErrors = {
|
|
374
|
-
/**
|
|
375
|
-
* Unauthenticated
|
|
376
|
-
*/
|
|
377
|
-
401: {
|
|
378
|
-
/**
|
|
379
|
-
* Error overview.
|
|
380
|
-
*/
|
|
381
|
-
message: string;
|
|
382
|
-
};
|
|
383
|
-
/**
|
|
384
|
-
* Authorization error
|
|
385
|
-
*/
|
|
386
|
-
403: {
|
|
387
|
-
/**
|
|
388
|
-
* Error overview.
|
|
389
|
-
*/
|
|
390
|
-
message: string;
|
|
391
|
-
};
|
|
392
|
-
/**
|
|
393
|
-
* Not found
|
|
394
|
-
*/
|
|
395
|
-
404: {
|
|
396
|
-
/**
|
|
397
|
-
* Error overview.
|
|
398
|
-
*/
|
|
399
|
-
message: string;
|
|
400
|
-
};
|
|
401
|
-
};
|
|
402
|
-
|
|
403
|
-
export type AccountsIndexError = AccountsIndexErrors[keyof AccountsIndexErrors];
|
|
404
|
-
|
|
405
|
-
export type AccountsIndexResponses = {
|
|
406
|
-
/**
|
|
407
|
-
* Array of `AccountResource`
|
|
408
|
-
*/
|
|
409
|
-
200: {
|
|
410
|
-
data: Array<AccountResource>;
|
|
411
|
-
};
|
|
412
|
-
};
|
|
413
|
-
|
|
414
|
-
export type AccountsIndexResponse = AccountsIndexResponses[keyof AccountsIndexResponses];
|
|
415
|
-
|
|
416
|
-
export type AccountsActivateData = {
|
|
417
|
-
body?: never;
|
|
418
|
-
path: {
|
|
419
|
-
/**
|
|
420
|
-
* The space ID
|
|
421
|
-
*/
|
|
422
|
-
space: number;
|
|
423
|
-
/**
|
|
424
|
-
* The account ID
|
|
425
|
-
*/
|
|
426
|
-
account: number;
|
|
427
|
-
};
|
|
428
|
-
query?: never;
|
|
429
|
-
url: '/spaces/{space}/accounts/{account}/activate';
|
|
430
|
-
};
|
|
431
|
-
|
|
432
|
-
export type AccountsActivateErrors = {
|
|
433
|
-
/**
|
|
434
|
-
* Unauthenticated
|
|
435
|
-
*/
|
|
436
|
-
401: {
|
|
437
|
-
/**
|
|
438
|
-
* Error overview.
|
|
439
|
-
*/
|
|
440
|
-
message: string;
|
|
441
|
-
};
|
|
442
|
-
/**
|
|
443
|
-
* Authorization error
|
|
444
|
-
*/
|
|
445
|
-
403: {
|
|
446
|
-
/**
|
|
447
|
-
* Error overview.
|
|
448
|
-
*/
|
|
449
|
-
message: string;
|
|
450
|
-
};
|
|
451
|
-
/**
|
|
452
|
-
* Not found
|
|
453
|
-
*/
|
|
454
|
-
404: {
|
|
455
|
-
/**
|
|
456
|
-
* Error overview.
|
|
457
|
-
*/
|
|
458
|
-
message: string;
|
|
459
|
-
};
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
export type AccountsActivateError = AccountsActivateErrors[keyof AccountsActivateErrors];
|
|
463
|
-
|
|
464
|
-
export type AccountsActivateResponses = {
|
|
465
|
-
/**
|
|
466
|
-
* `AccountResource`
|
|
467
|
-
*/
|
|
468
|
-
200: {
|
|
469
|
-
data: AccountResource;
|
|
470
|
-
} | {
|
|
471
|
-
[key: string]: unknown;
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
export type AccountsActivateResponse = AccountsActivateResponses[keyof AccountsActivateResponses];
|
|
476
|
-
|
|
477
|
-
export type AccountsBoardsData = {
|
|
478
|
-
body?: never;
|
|
479
|
-
path: {
|
|
480
|
-
/**
|
|
481
|
-
* The space ID
|
|
482
|
-
*/
|
|
483
|
-
space: number;
|
|
484
|
-
/**
|
|
485
|
-
* The account ID
|
|
486
|
-
*/
|
|
487
|
-
account: number;
|
|
488
|
-
};
|
|
489
|
-
query?: never;
|
|
490
|
-
url: '/spaces/{space}/accounts/{account}/boards';
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
export type AccountsBoardsErrors = {
|
|
494
|
-
/**
|
|
495
|
-
* Unauthenticated
|
|
496
|
-
*/
|
|
497
|
-
401: {
|
|
498
|
-
/**
|
|
499
|
-
* Error overview.
|
|
500
|
-
*/
|
|
501
|
-
message: string;
|
|
502
|
-
};
|
|
503
|
-
/**
|
|
504
|
-
* Authorization error
|
|
505
|
-
*/
|
|
506
|
-
403: {
|
|
507
|
-
/**
|
|
508
|
-
* Error overview.
|
|
509
|
-
*/
|
|
510
|
-
message: string;
|
|
511
|
-
};
|
|
512
|
-
/**
|
|
513
|
-
* Not found
|
|
514
|
-
*/
|
|
515
|
-
404: {
|
|
516
|
-
/**
|
|
517
|
-
* Error overview.
|
|
518
|
-
*/
|
|
519
|
-
message: string;
|
|
520
|
-
};
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
export type AccountsBoardsError = AccountsBoardsErrors[keyof AccountsBoardsErrors];
|
|
524
|
-
|
|
525
|
-
export type AccountsBoardsResponses = {
|
|
526
|
-
200: {
|
|
527
|
-
data: Array<{
|
|
528
|
-
id: string;
|
|
529
|
-
name: string;
|
|
530
|
-
description: string | null;
|
|
531
|
-
image: string | null;
|
|
532
|
-
}>;
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
|
|
536
|
-
export type AccountsBoardsResponse = AccountsBoardsResponses[keyof AccountsBoardsResponses];
|
|
537
|
-
|
|
538
|
-
export type AccountsDestroyData = {
|
|
539
|
-
body?: never;
|
|
540
|
-
path: {
|
|
541
|
-
/**
|
|
542
|
-
* The space ID
|
|
543
|
-
*/
|
|
544
|
-
space: number;
|
|
545
|
-
/**
|
|
546
|
-
* The account ID
|
|
547
|
-
*/
|
|
548
|
-
account: number;
|
|
549
|
-
};
|
|
550
|
-
query?: never;
|
|
551
|
-
url: '/spaces/{space}/accounts/{account}';
|
|
552
|
-
};
|
|
553
|
-
|
|
554
|
-
export type AccountsDestroyErrors = {
|
|
555
|
-
/**
|
|
556
|
-
* Unauthenticated
|
|
557
|
-
*/
|
|
558
|
-
401: {
|
|
559
|
-
/**
|
|
560
|
-
* Error overview.
|
|
561
|
-
*/
|
|
562
|
-
message: string;
|
|
563
|
-
};
|
|
564
|
-
/**
|
|
565
|
-
* Authorization error
|
|
566
|
-
*/
|
|
567
|
-
403: {
|
|
568
|
-
/**
|
|
569
|
-
* Error overview.
|
|
570
|
-
*/
|
|
571
|
-
message: string;
|
|
572
|
-
};
|
|
573
|
-
/**
|
|
574
|
-
* Not found
|
|
575
|
-
*/
|
|
576
|
-
404: {
|
|
577
|
-
/**
|
|
578
|
-
* Error overview.
|
|
579
|
-
*/
|
|
580
|
-
message: string;
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
|
|
584
|
-
export type AccountsDestroyError = AccountsDestroyErrors[keyof AccountsDestroyErrors];
|
|
585
|
-
|
|
586
|
-
export type AccountsDestroyResponses = {
|
|
587
|
-
200: {
|
|
588
|
-
[key: string]: unknown;
|
|
589
|
-
};
|
|
590
|
-
};
|
|
591
|
-
|
|
592
|
-
export type AccountsDestroyResponse = AccountsDestroyResponses[keyof AccountsDestroyResponses];
|
|
593
|
-
|
|
594
|
-
export type ApiTokensStoreData = {
|
|
595
|
-
body: {
|
|
596
|
-
name: string;
|
|
597
|
-
};
|
|
598
|
-
path?: never;
|
|
599
|
-
query?: never;
|
|
600
|
-
url: '/api-tokens';
|
|
601
|
-
};
|
|
602
|
-
|
|
603
|
-
export type ApiTokensStoreErrors = {
|
|
604
|
-
/**
|
|
605
|
-
* Unauthenticated
|
|
606
|
-
*/
|
|
607
|
-
401: {
|
|
608
|
-
/**
|
|
609
|
-
* Error overview.
|
|
610
|
-
*/
|
|
611
|
-
message: string;
|
|
612
|
-
};
|
|
613
|
-
/**
|
|
614
|
-
* Validation error
|
|
615
|
-
*/
|
|
616
|
-
422: {
|
|
617
|
-
/**
|
|
618
|
-
* Errors overview.
|
|
619
|
-
*/
|
|
620
|
-
message: string;
|
|
621
|
-
/**
|
|
622
|
-
* A detailed description of each field that failed validation.
|
|
623
|
-
*/
|
|
624
|
-
errors: {
|
|
625
|
-
[key: string]: Array<string>;
|
|
626
|
-
};
|
|
627
|
-
};
|
|
628
|
-
};
|
|
629
|
-
|
|
630
|
-
export type ApiTokensStoreError = ApiTokensStoreErrors[keyof ApiTokensStoreErrors];
|
|
631
|
-
|
|
632
|
-
export type ApiTokensStoreResponses = {
|
|
633
|
-
200: unknown;
|
|
634
|
-
};
|
|
635
|
-
|
|
636
|
-
export type ApiTokensDestroyData = {
|
|
637
|
-
body?: never;
|
|
638
|
-
path: {
|
|
639
|
-
tokenId: string;
|
|
640
|
-
};
|
|
641
|
-
query?: never;
|
|
642
|
-
url: '/api-tokens/{tokenId}';
|
|
643
|
-
};
|
|
644
|
-
|
|
645
|
-
export type ApiTokensDestroyErrors = {
|
|
646
|
-
/**
|
|
647
|
-
* Unauthenticated
|
|
648
|
-
*/
|
|
649
|
-
401: {
|
|
650
|
-
/**
|
|
651
|
-
* Error overview.
|
|
652
|
-
*/
|
|
653
|
-
message: string;
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
|
|
657
|
-
export type ApiTokensDestroyError = ApiTokensDestroyErrors[keyof ApiTokensDestroyErrors];
|
|
658
|
-
|
|
659
|
-
export type ApiTokensDestroyResponses = {
|
|
660
|
-
200: unknown;
|
|
661
|
-
};
|
|
662
|
-
|
|
663
|
-
export type BioBlocksIndexData = {
|
|
664
|
-
body?: never;
|
|
665
|
-
path: {
|
|
666
|
-
/**
|
|
667
|
-
* The space ID
|
|
668
|
-
*/
|
|
669
|
-
space: number;
|
|
670
|
-
};
|
|
671
|
-
query?: never;
|
|
672
|
-
url: '/spaces/{space}/bio/blocks';
|
|
673
|
-
};
|
|
674
|
-
|
|
675
|
-
export type BioBlocksIndexErrors = {
|
|
676
|
-
/**
|
|
677
|
-
* Unauthenticated
|
|
678
|
-
*/
|
|
679
|
-
401: {
|
|
680
|
-
/**
|
|
681
|
-
* Error overview.
|
|
682
|
-
*/
|
|
683
|
-
message: string;
|
|
684
|
-
};
|
|
685
|
-
/**
|
|
686
|
-
* Authorization error
|
|
687
|
-
*/
|
|
688
|
-
403: {
|
|
689
|
-
/**
|
|
690
|
-
* Error overview.
|
|
691
|
-
*/
|
|
692
|
-
message: string;
|
|
693
|
-
};
|
|
694
|
-
/**
|
|
695
|
-
* Not found
|
|
696
|
-
*/
|
|
697
|
-
404: {
|
|
698
|
-
/**
|
|
699
|
-
* Error overview.
|
|
700
|
-
*/
|
|
701
|
-
message: string;
|
|
702
|
-
};
|
|
703
|
-
};
|
|
704
|
-
|
|
705
|
-
export type BioBlocksIndexError = BioBlocksIndexErrors[keyof BioBlocksIndexErrors];
|
|
706
|
-
|
|
707
|
-
export type BioBlocksIndexResponses = {
|
|
708
|
-
/**
|
|
709
|
-
* Array of items
|
|
710
|
-
*/
|
|
711
|
-
200: {
|
|
712
|
-
data: Array<string>;
|
|
713
|
-
};
|
|
714
|
-
};
|
|
715
|
-
|
|
716
|
-
export type BioBlocksIndexResponse = BioBlocksIndexResponses[keyof BioBlocksIndexResponses];
|
|
717
|
-
|
|
718
|
-
export type BioBlocksStoreData = {
|
|
719
|
-
body: StoreBioBlockRequest;
|
|
720
|
-
path: {
|
|
721
|
-
/**
|
|
722
|
-
* The space ID
|
|
723
|
-
*/
|
|
724
|
-
space: number;
|
|
725
|
-
};
|
|
726
|
-
query?: never;
|
|
727
|
-
url: '/spaces/{space}/bio/blocks';
|
|
728
|
-
};
|
|
729
|
-
|
|
730
|
-
export type BioBlocksStoreErrors = {
|
|
731
|
-
/**
|
|
732
|
-
* Unauthenticated
|
|
733
|
-
*/
|
|
734
|
-
401: {
|
|
735
|
-
/**
|
|
736
|
-
* Error overview.
|
|
737
|
-
*/
|
|
738
|
-
message: string;
|
|
739
|
-
};
|
|
740
|
-
/**
|
|
741
|
-
* Authorization error
|
|
742
|
-
*/
|
|
743
|
-
403: {
|
|
744
|
-
/**
|
|
745
|
-
* Error overview.
|
|
746
|
-
*/
|
|
747
|
-
message: string;
|
|
748
|
-
};
|
|
749
|
-
/**
|
|
750
|
-
* Not found
|
|
751
|
-
*/
|
|
752
|
-
404: {
|
|
753
|
-
/**
|
|
754
|
-
* Error overview.
|
|
755
|
-
*/
|
|
756
|
-
message: string;
|
|
757
|
-
};
|
|
758
|
-
/**
|
|
759
|
-
* Validation error
|
|
760
|
-
*/
|
|
761
|
-
422: {
|
|
762
|
-
/**
|
|
763
|
-
* Errors overview.
|
|
764
|
-
*/
|
|
765
|
-
message: string;
|
|
766
|
-
/**
|
|
767
|
-
* A detailed description of each field that failed validation.
|
|
768
|
-
*/
|
|
769
|
-
errors: {
|
|
770
|
-
[key: string]: Array<string>;
|
|
771
|
-
};
|
|
772
|
-
};
|
|
773
|
-
};
|
|
774
|
-
|
|
775
|
-
export type BioBlocksStoreError = BioBlocksStoreErrors[keyof BioBlocksStoreErrors];
|
|
776
|
-
|
|
777
|
-
export type BioBlocksStoreResponses = {
|
|
778
|
-
200: {
|
|
779
|
-
[key: string]: unknown;
|
|
780
|
-
};
|
|
781
|
-
};
|
|
782
|
-
|
|
783
|
-
export type BioBlocksStoreResponse = BioBlocksStoreResponses[keyof BioBlocksStoreResponses];
|
|
784
|
-
|
|
785
|
-
export type BioBlocksDestroyData = {
|
|
786
|
-
body?: never;
|
|
787
|
-
path: {
|
|
788
|
-
/**
|
|
789
|
-
* The space ID
|
|
790
|
-
*/
|
|
791
|
-
space: number;
|
|
792
|
-
/**
|
|
793
|
-
* The block ID
|
|
794
|
-
*/
|
|
795
|
-
block: number;
|
|
796
|
-
};
|
|
797
|
-
query?: never;
|
|
798
|
-
url: '/spaces/{space}/bio/blocks/{block}';
|
|
799
|
-
};
|
|
800
|
-
|
|
801
|
-
export type BioBlocksDestroyErrors = {
|
|
802
|
-
/**
|
|
803
|
-
* Unauthenticated
|
|
804
|
-
*/
|
|
805
|
-
401: {
|
|
806
|
-
/**
|
|
807
|
-
* Error overview.
|
|
808
|
-
*/
|
|
809
|
-
message: string;
|
|
810
|
-
};
|
|
811
|
-
/**
|
|
812
|
-
* Authorization error
|
|
813
|
-
*/
|
|
814
|
-
403: {
|
|
815
|
-
/**
|
|
816
|
-
* Error overview.
|
|
817
|
-
*/
|
|
818
|
-
message: string;
|
|
819
|
-
};
|
|
820
|
-
/**
|
|
821
|
-
* Not found
|
|
822
|
-
*/
|
|
823
|
-
404: {
|
|
824
|
-
/**
|
|
825
|
-
* Error overview.
|
|
826
|
-
*/
|
|
827
|
-
message: string;
|
|
828
|
-
};
|
|
829
|
-
};
|
|
830
|
-
|
|
831
|
-
export type BioBlocksDestroyError = BioBlocksDestroyErrors[keyof BioBlocksDestroyErrors];
|
|
832
|
-
|
|
833
|
-
export type BioBlocksDestroyResponses = {
|
|
834
|
-
200: {
|
|
835
|
-
[key: string]: unknown;
|
|
836
|
-
};
|
|
837
|
-
};
|
|
838
|
-
|
|
839
|
-
export type BioBlocksDestroyResponse = BioBlocksDestroyResponses[keyof BioBlocksDestroyResponses];
|
|
840
|
-
|
|
841
|
-
export type BioBlocksUpdateData = {
|
|
842
|
-
body?: UpdateBioBlockRequest;
|
|
843
|
-
path: {
|
|
844
|
-
/**
|
|
845
|
-
* The space ID
|
|
846
|
-
*/
|
|
847
|
-
space: number;
|
|
848
|
-
/**
|
|
849
|
-
* The block ID
|
|
850
|
-
*/
|
|
851
|
-
block: number;
|
|
852
|
-
};
|
|
853
|
-
query?: never;
|
|
854
|
-
url: '/spaces/{space}/bio/blocks/{block}';
|
|
855
|
-
};
|
|
856
|
-
|
|
857
|
-
export type BioBlocksUpdateErrors = {
|
|
858
|
-
/**
|
|
859
|
-
* Unauthenticated
|
|
860
|
-
*/
|
|
861
|
-
401: {
|
|
862
|
-
/**
|
|
863
|
-
* Error overview.
|
|
864
|
-
*/
|
|
865
|
-
message: string;
|
|
866
|
-
};
|
|
867
|
-
/**
|
|
868
|
-
* Authorization error
|
|
869
|
-
*/
|
|
870
|
-
403: {
|
|
871
|
-
/**
|
|
872
|
-
* Error overview.
|
|
873
|
-
*/
|
|
874
|
-
message: string;
|
|
875
|
-
};
|
|
876
|
-
/**
|
|
877
|
-
* Not found
|
|
878
|
-
*/
|
|
879
|
-
404: {
|
|
880
|
-
/**
|
|
881
|
-
* Error overview.
|
|
882
|
-
*/
|
|
883
|
-
message: string;
|
|
884
|
-
};
|
|
885
|
-
/**
|
|
886
|
-
* Validation error
|
|
887
|
-
*/
|
|
888
|
-
422: {
|
|
889
|
-
/**
|
|
890
|
-
* Errors overview.
|
|
891
|
-
*/
|
|
892
|
-
message: string;
|
|
893
|
-
/**
|
|
894
|
-
* A detailed description of each field that failed validation.
|
|
895
|
-
*/
|
|
896
|
-
errors: {
|
|
897
|
-
[key: string]: Array<string>;
|
|
898
|
-
};
|
|
899
|
-
};
|
|
900
|
-
};
|
|
901
|
-
|
|
902
|
-
export type BioBlocksUpdateError = BioBlocksUpdateErrors[keyof BioBlocksUpdateErrors];
|
|
903
|
-
|
|
904
|
-
export type BioBlocksUpdateResponses = {
|
|
905
|
-
/**
|
|
906
|
-
* `BioBlockResource`
|
|
907
|
-
*/
|
|
908
|
-
200: {
|
|
909
|
-
data: BioBlockResource;
|
|
910
|
-
} | {
|
|
911
|
-
[key: string]: unknown;
|
|
912
|
-
};
|
|
913
|
-
};
|
|
914
|
-
|
|
915
|
-
export type BioBlocksUpdateResponse = BioBlocksUpdateResponses[keyof BioBlocksUpdateResponses];
|
|
916
|
-
|
|
917
|
-
export type BioBlocksReorderData = {
|
|
918
|
-
body: {
|
|
919
|
-
direction: 'up' | 'down';
|
|
920
|
-
};
|
|
921
|
-
path: {
|
|
922
|
-
/**
|
|
923
|
-
* The space ID
|
|
924
|
-
*/
|
|
925
|
-
space: number;
|
|
926
|
-
/**
|
|
927
|
-
* The block ID
|
|
928
|
-
*/
|
|
929
|
-
block: number;
|
|
930
|
-
};
|
|
931
|
-
query?: never;
|
|
932
|
-
url: '/spaces/{space}/bio/blocks/{block}/reorder';
|
|
933
|
-
};
|
|
934
|
-
|
|
935
|
-
export type BioBlocksReorderErrors = {
|
|
936
|
-
/**
|
|
937
|
-
* Unauthenticated
|
|
938
|
-
*/
|
|
939
|
-
401: {
|
|
940
|
-
/**
|
|
941
|
-
* Error overview.
|
|
942
|
-
*/
|
|
943
|
-
message: string;
|
|
944
|
-
};
|
|
945
|
-
/**
|
|
946
|
-
* Authorization error
|
|
947
|
-
*/
|
|
948
|
-
403: {
|
|
949
|
-
/**
|
|
950
|
-
* Error overview.
|
|
951
|
-
*/
|
|
952
|
-
message: string;
|
|
953
|
-
};
|
|
954
|
-
/**
|
|
955
|
-
* Not found
|
|
956
|
-
*/
|
|
957
|
-
404: {
|
|
958
|
-
/**
|
|
959
|
-
* Error overview.
|
|
960
|
-
*/
|
|
961
|
-
message: string;
|
|
962
|
-
};
|
|
963
|
-
/**
|
|
964
|
-
* Validation error
|
|
965
|
-
*/
|
|
966
|
-
422: {
|
|
967
|
-
/**
|
|
968
|
-
* Errors overview.
|
|
969
|
-
*/
|
|
970
|
-
message: string;
|
|
971
|
-
/**
|
|
972
|
-
* A detailed description of each field that failed validation.
|
|
973
|
-
*/
|
|
974
|
-
errors: {
|
|
975
|
-
[key: string]: Array<string>;
|
|
976
|
-
};
|
|
977
|
-
};
|
|
978
|
-
};
|
|
979
|
-
|
|
980
|
-
export type BioBlocksReorderError = BioBlocksReorderErrors[keyof BioBlocksReorderErrors];
|
|
981
|
-
|
|
982
|
-
export type BioBlocksReorderResponses = {
|
|
983
|
-
200: {
|
|
984
|
-
[key: string]: unknown;
|
|
985
|
-
};
|
|
986
|
-
};
|
|
987
|
-
|
|
988
|
-
export type BioBlocksReorderResponse = BioBlocksReorderResponses[keyof BioBlocksReorderResponses];
|
|
989
|
-
|
|
990
|
-
export type BioShowData = {
|
|
991
|
-
body?: never;
|
|
992
|
-
path: {
|
|
993
|
-
/**
|
|
994
|
-
* The space ID
|
|
995
|
-
*/
|
|
996
|
-
space: number;
|
|
997
|
-
};
|
|
998
|
-
query?: never;
|
|
999
|
-
url: '/spaces/{space}/bio';
|
|
1000
|
-
};
|
|
1001
|
-
|
|
1002
|
-
export type BioShowErrors = {
|
|
1003
|
-
/**
|
|
1004
|
-
* Unauthenticated
|
|
1005
|
-
*/
|
|
1006
|
-
401: {
|
|
1007
|
-
/**
|
|
1008
|
-
* Error overview.
|
|
1009
|
-
*/
|
|
1010
|
-
message: string;
|
|
1011
|
-
};
|
|
1012
|
-
/**
|
|
1013
|
-
* Authorization error
|
|
1014
|
-
*/
|
|
1015
|
-
403: {
|
|
1016
|
-
/**
|
|
1017
|
-
* Error overview.
|
|
1018
|
-
*/
|
|
1019
|
-
message: string;
|
|
1020
|
-
};
|
|
1021
|
-
/**
|
|
1022
|
-
* Not found
|
|
1023
|
-
*/
|
|
1024
|
-
404: {
|
|
1025
|
-
/**
|
|
1026
|
-
* Error overview.
|
|
1027
|
-
*/
|
|
1028
|
-
message: string;
|
|
1029
|
-
};
|
|
1030
|
-
};
|
|
1031
|
-
|
|
1032
|
-
export type BioShowError = BioShowErrors[keyof BioShowErrors];
|
|
1033
|
-
|
|
1034
|
-
export type BioShowResponses = {
|
|
1035
|
-
/**
|
|
1036
|
-
* `BioPageResource`
|
|
1037
|
-
*/
|
|
1038
|
-
200: {
|
|
1039
|
-
data: BioPageResource;
|
|
1040
|
-
};
|
|
1041
|
-
};
|
|
1042
|
-
|
|
1043
|
-
export type BioShowResponse = BioShowResponses[keyof BioShowResponses];
|
|
1044
|
-
|
|
1045
|
-
export type BioStoreData = {
|
|
1046
|
-
body: StoreBioPageRequest;
|
|
1047
|
-
path: {
|
|
1048
|
-
/**
|
|
1049
|
-
* The space ID
|
|
1050
|
-
*/
|
|
1051
|
-
space: number;
|
|
1052
|
-
};
|
|
1053
|
-
query?: never;
|
|
1054
|
-
url: '/spaces/{space}/bio';
|
|
1055
|
-
};
|
|
1056
|
-
|
|
1057
|
-
export type BioStoreErrors = {
|
|
1058
|
-
/**
|
|
1059
|
-
* Unauthenticated
|
|
1060
|
-
*/
|
|
1061
|
-
401: {
|
|
1062
|
-
/**
|
|
1063
|
-
* Error overview.
|
|
1064
|
-
*/
|
|
1065
|
-
message: string;
|
|
1066
|
-
};
|
|
1067
|
-
/**
|
|
1068
|
-
* Authorization error
|
|
1069
|
-
*/
|
|
1070
|
-
403: {
|
|
1071
|
-
/**
|
|
1072
|
-
* Error overview.
|
|
1073
|
-
*/
|
|
1074
|
-
message: string;
|
|
1075
|
-
};
|
|
1076
|
-
/**
|
|
1077
|
-
* Not found
|
|
1078
|
-
*/
|
|
1079
|
-
404: {
|
|
1080
|
-
/**
|
|
1081
|
-
* Error overview.
|
|
1082
|
-
*/
|
|
1083
|
-
message: string;
|
|
1084
|
-
};
|
|
1085
|
-
/**
|
|
1086
|
-
* Validation error
|
|
1087
|
-
*/
|
|
1088
|
-
422: {
|
|
1089
|
-
/**
|
|
1090
|
-
* Errors overview.
|
|
1091
|
-
*/
|
|
1092
|
-
message: string;
|
|
1093
|
-
/**
|
|
1094
|
-
* A detailed description of each field that failed validation.
|
|
1095
|
-
*/
|
|
1096
|
-
errors: {
|
|
1097
|
-
[key: string]: Array<string>;
|
|
1098
|
-
};
|
|
1099
|
-
};
|
|
1100
|
-
};
|
|
1101
|
-
|
|
1102
|
-
export type BioStoreError = BioStoreErrors[keyof BioStoreErrors];
|
|
1103
|
-
|
|
1104
|
-
export type BioStoreResponses = {
|
|
1105
|
-
200: {
|
|
1106
|
-
[key: string]: unknown;
|
|
1107
|
-
};
|
|
1108
|
-
};
|
|
1109
|
-
|
|
1110
|
-
export type BioStoreResponse = BioStoreResponses[keyof BioStoreResponses];
|
|
1111
|
-
|
|
1112
|
-
export type BioUpdateData = {
|
|
1113
|
-
body?: UpdateBioPageRequest;
|
|
1114
|
-
path: {
|
|
1115
|
-
/**
|
|
1116
|
-
* The space ID
|
|
1117
|
-
*/
|
|
1118
|
-
space: number;
|
|
1119
|
-
};
|
|
1120
|
-
query?: never;
|
|
1121
|
-
url: '/spaces/{space}/bio';
|
|
1122
|
-
};
|
|
1123
|
-
|
|
1124
|
-
export type BioUpdateErrors = {
|
|
1125
|
-
/**
|
|
1126
|
-
* Unauthenticated
|
|
1127
|
-
*/
|
|
1128
|
-
401: {
|
|
1129
|
-
/**
|
|
1130
|
-
* Error overview.
|
|
1131
|
-
*/
|
|
1132
|
-
message: string;
|
|
1133
|
-
};
|
|
1134
|
-
/**
|
|
1135
|
-
* Authorization error
|
|
1136
|
-
*/
|
|
1137
|
-
403: {
|
|
1138
|
-
/**
|
|
1139
|
-
* Error overview.
|
|
1140
|
-
*/
|
|
1141
|
-
message: string;
|
|
1142
|
-
};
|
|
1143
|
-
/**
|
|
1144
|
-
* Not found
|
|
1145
|
-
*/
|
|
1146
|
-
404: {
|
|
1147
|
-
/**
|
|
1148
|
-
* Error overview.
|
|
1149
|
-
*/
|
|
1150
|
-
message: string;
|
|
1151
|
-
};
|
|
1152
|
-
/**
|
|
1153
|
-
* Validation error
|
|
1154
|
-
*/
|
|
1155
|
-
422: {
|
|
1156
|
-
/**
|
|
1157
|
-
* Errors overview.
|
|
1158
|
-
*/
|
|
1159
|
-
message: string;
|
|
1160
|
-
/**
|
|
1161
|
-
* A detailed description of each field that failed validation.
|
|
1162
|
-
*/
|
|
1163
|
-
errors: {
|
|
1164
|
-
[key: string]: Array<string>;
|
|
1165
|
-
};
|
|
1166
|
-
};
|
|
1167
|
-
};
|
|
1168
|
-
|
|
1169
|
-
export type BioUpdateError = BioUpdateErrors[keyof BioUpdateErrors];
|
|
1170
|
-
|
|
1171
|
-
export type BioUpdateResponses = {
|
|
1172
|
-
/**
|
|
1173
|
-
* `BioPageResource`
|
|
1174
|
-
*/
|
|
1175
|
-
200: {
|
|
1176
|
-
data: BioPageResource;
|
|
1177
|
-
} | {
|
|
1178
|
-
[key: string]: unknown;
|
|
1179
|
-
};
|
|
1180
|
-
};
|
|
1181
|
-
|
|
1182
|
-
export type BioUpdateResponse = BioUpdateResponses[keyof BioUpdateResponses];
|
|
1183
|
-
|
|
1184
|
-
export type BioAvatarData = {
|
|
1185
|
-
body: {
|
|
1186
|
-
file: Blob | File;
|
|
1187
|
-
};
|
|
1188
|
-
path: {
|
|
1189
|
-
/**
|
|
1190
|
-
* The space ID
|
|
1191
|
-
*/
|
|
1192
|
-
space: number;
|
|
1193
|
-
};
|
|
1194
|
-
query?: never;
|
|
1195
|
-
url: '/spaces/{space}/bio/avatar';
|
|
1196
|
-
};
|
|
1197
|
-
|
|
1198
|
-
export type BioAvatarErrors = {
|
|
1199
|
-
/**
|
|
1200
|
-
* Unauthenticated
|
|
1201
|
-
*/
|
|
1202
|
-
401: {
|
|
1203
|
-
/**
|
|
1204
|
-
* Error overview.
|
|
1205
|
-
*/
|
|
1206
|
-
message: string;
|
|
1207
|
-
};
|
|
1208
|
-
/**
|
|
1209
|
-
* Authorization error
|
|
1210
|
-
*/
|
|
1211
|
-
403: {
|
|
1212
|
-
/**
|
|
1213
|
-
* Error overview.
|
|
1214
|
-
*/
|
|
1215
|
-
message: string;
|
|
1216
|
-
};
|
|
1217
|
-
/**
|
|
1218
|
-
* Not found
|
|
1219
|
-
*/
|
|
1220
|
-
404: {
|
|
1221
|
-
/**
|
|
1222
|
-
* Error overview.
|
|
1223
|
-
*/
|
|
1224
|
-
message: string;
|
|
1225
|
-
};
|
|
1226
|
-
/**
|
|
1227
|
-
* Validation error
|
|
1228
|
-
*/
|
|
1229
|
-
422: {
|
|
1230
|
-
/**
|
|
1231
|
-
* Errors overview.
|
|
1232
|
-
*/
|
|
1233
|
-
message: string;
|
|
1234
|
-
/**
|
|
1235
|
-
* A detailed description of each field that failed validation.
|
|
1236
|
-
*/
|
|
1237
|
-
errors: {
|
|
1238
|
-
[key: string]: Array<string>;
|
|
1239
|
-
};
|
|
1240
|
-
};
|
|
1241
|
-
};
|
|
1242
|
-
|
|
1243
|
-
export type BioAvatarError = BioAvatarErrors[keyof BioAvatarErrors];
|
|
1244
|
-
|
|
1245
|
-
export type BioAvatarResponses = {
|
|
1246
|
-
200: {
|
|
1247
|
-
[key: string]: unknown;
|
|
1248
|
-
};
|
|
1249
|
-
};
|
|
1250
|
-
|
|
1251
|
-
export type BioAvatarResponse = BioAvatarResponses[keyof BioAvatarResponses];
|
|
1252
|
-
|
|
1253
|
-
export type MediaStoreData = {
|
|
1254
|
-
body: {
|
|
1255
|
-
file: Blob | File;
|
|
1256
|
-
};
|
|
1257
|
-
path?: never;
|
|
1258
|
-
query?: never;
|
|
1259
|
-
url: '/media';
|
|
1260
|
-
};
|
|
1261
|
-
|
|
1262
|
-
export type MediaStoreErrors = {
|
|
1263
|
-
/**
|
|
1264
|
-
* Unauthenticated
|
|
1265
|
-
*/
|
|
1266
|
-
401: {
|
|
1267
|
-
/**
|
|
1268
|
-
* Error overview.
|
|
1269
|
-
*/
|
|
1270
|
-
message: string;
|
|
1271
|
-
};
|
|
1272
|
-
/**
|
|
1273
|
-
* Validation error
|
|
1274
|
-
*/
|
|
1275
|
-
422: {
|
|
1276
|
-
/**
|
|
1277
|
-
* Errors overview.
|
|
1278
|
-
*/
|
|
1279
|
-
message: string;
|
|
1280
|
-
/**
|
|
1281
|
-
* A detailed description of each field that failed validation.
|
|
1282
|
-
*/
|
|
1283
|
-
errors: {
|
|
1284
|
-
[key: string]: Array<string>;
|
|
1285
|
-
};
|
|
1286
|
-
};
|
|
1287
|
-
};
|
|
1288
|
-
|
|
1289
|
-
export type MediaStoreError = MediaStoreErrors[keyof MediaStoreErrors];
|
|
1290
|
-
|
|
1291
|
-
export type MediaStoreResponses = {
|
|
1292
|
-
/**
|
|
1293
|
-
* `MediaResource`
|
|
1294
|
-
*/
|
|
1295
|
-
201: {
|
|
1296
|
-
data: MediaResource;
|
|
1297
|
-
};
|
|
1298
|
-
};
|
|
1299
|
-
|
|
1300
|
-
export type MediaStoreResponse = MediaStoreResponses[keyof MediaStoreResponses];
|
|
1301
|
-
|
|
1302
|
-
export type MediaDestroyData = {
|
|
1303
|
-
body?: never;
|
|
1304
|
-
path: {
|
|
1305
|
-
/**
|
|
1306
|
-
* The media ID
|
|
1307
|
-
*/
|
|
1308
|
-
media: number;
|
|
1309
|
-
};
|
|
1310
|
-
query?: never;
|
|
1311
|
-
url: '/media/{media}';
|
|
1312
|
-
};
|
|
1313
|
-
|
|
1314
|
-
export type MediaDestroyErrors = {
|
|
1315
|
-
/**
|
|
1316
|
-
* Unauthenticated
|
|
1317
|
-
*/
|
|
1318
|
-
401: {
|
|
1319
|
-
/**
|
|
1320
|
-
* Error overview.
|
|
1321
|
-
*/
|
|
1322
|
-
message: string;
|
|
1323
|
-
};
|
|
1324
|
-
/**
|
|
1325
|
-
* Authorization error
|
|
1326
|
-
*/
|
|
1327
|
-
403: {
|
|
1328
|
-
/**
|
|
1329
|
-
* Error overview.
|
|
1330
|
-
*/
|
|
1331
|
-
message: string;
|
|
1332
|
-
};
|
|
1333
|
-
/**
|
|
1334
|
-
* Not found
|
|
1335
|
-
*/
|
|
1336
|
-
404: {
|
|
1337
|
-
/**
|
|
1338
|
-
* Error overview.
|
|
1339
|
-
*/
|
|
1340
|
-
message: string;
|
|
1341
|
-
};
|
|
1342
|
-
};
|
|
1343
|
-
|
|
1344
|
-
export type MediaDestroyError = MediaDestroyErrors[keyof MediaDestroyErrors];
|
|
1345
|
-
|
|
1346
|
-
export type MediaDestroyResponses = {
|
|
1347
|
-
200: {
|
|
1348
|
-
[key: string]: unknown;
|
|
1349
|
-
};
|
|
1350
|
-
};
|
|
1351
|
-
|
|
1352
|
-
export type MediaDestroyResponse = MediaDestroyResponses[keyof MediaDestroyResponses];
|
|
1353
|
-
|
|
1354
|
-
export type PostsIndexData = {
|
|
1355
|
-
body?: never;
|
|
1356
|
-
path: {
|
|
1357
|
-
/**
|
|
1358
|
-
* The space ID
|
|
1359
|
-
*/
|
|
1360
|
-
space: number;
|
|
1361
|
-
};
|
|
1362
|
-
query?: {
|
|
1363
|
-
status?: string;
|
|
1364
|
-
account_id?: string;
|
|
1365
|
-
from?: string;
|
|
1366
|
-
to?: string;
|
|
1367
|
-
};
|
|
1368
|
-
url: '/spaces/{space}/posts';
|
|
1369
|
-
};
|
|
1370
|
-
|
|
1371
|
-
export type PostsIndexErrors = {
|
|
1372
|
-
/**
|
|
1373
|
-
* Unauthenticated
|
|
1374
|
-
*/
|
|
1375
|
-
401: {
|
|
1376
|
-
/**
|
|
1377
|
-
* Error overview.
|
|
1378
|
-
*/
|
|
1379
|
-
message: string;
|
|
1380
|
-
};
|
|
1381
|
-
/**
|
|
1382
|
-
* Authorization error
|
|
1383
|
-
*/
|
|
1384
|
-
403: {
|
|
1385
|
-
/**
|
|
1386
|
-
* Error overview.
|
|
1387
|
-
*/
|
|
1388
|
-
message: string;
|
|
1389
|
-
};
|
|
1390
|
-
/**
|
|
1391
|
-
* Not found
|
|
1392
|
-
*/
|
|
1393
|
-
404: {
|
|
1394
|
-
/**
|
|
1395
|
-
* Error overview.
|
|
1396
|
-
*/
|
|
1397
|
-
message: string;
|
|
1398
|
-
};
|
|
1399
|
-
};
|
|
1400
|
-
|
|
1401
|
-
export type PostsIndexError = PostsIndexErrors[keyof PostsIndexErrors];
|
|
1402
|
-
|
|
1403
|
-
export type PostsIndexResponses = {
|
|
1404
|
-
/**
|
|
1405
|
-
* Paginated set of `PostResource`
|
|
1406
|
-
*/
|
|
1407
|
-
200: {
|
|
1408
|
-
data: Array<PostResource>;
|
|
1409
|
-
links: {
|
|
1410
|
-
first: string | null;
|
|
1411
|
-
last: string | null;
|
|
1412
|
-
prev: string | null;
|
|
1413
|
-
next: string | null;
|
|
1414
|
-
};
|
|
1415
|
-
meta: {
|
|
1416
|
-
current_page: number;
|
|
1417
|
-
from: number | null;
|
|
1418
|
-
last_page: number;
|
|
1419
|
-
/**
|
|
1420
|
-
* Generated paginator links.
|
|
1421
|
-
*/
|
|
1422
|
-
links: Array<{
|
|
1423
|
-
url: string | null;
|
|
1424
|
-
label: string;
|
|
1425
|
-
active: boolean;
|
|
1426
|
-
}>;
|
|
1427
|
-
/**
|
|
1428
|
-
* Base path for paginator generated URLs.
|
|
1429
|
-
*/
|
|
1430
|
-
path: string | null;
|
|
1431
|
-
/**
|
|
1432
|
-
* Number of items shown per page.
|
|
1433
|
-
*/
|
|
1434
|
-
per_page: number;
|
|
1435
|
-
/**
|
|
1436
|
-
* Number of the last item in the slice.
|
|
1437
|
-
*/
|
|
1438
|
-
to: number | null;
|
|
1439
|
-
/**
|
|
1440
|
-
* Total number of items being paginated.
|
|
1441
|
-
*/
|
|
1442
|
-
total: number;
|
|
1443
|
-
};
|
|
1444
|
-
};
|
|
1445
|
-
};
|
|
1446
|
-
|
|
1447
|
-
export type PostsIndexResponse = PostsIndexResponses[keyof PostsIndexResponses];
|
|
1448
|
-
|
|
1449
|
-
export type PostsStoreData = {
|
|
1450
|
-
body: StorePostRequest;
|
|
1451
|
-
path: {
|
|
1452
|
-
space: string;
|
|
1453
|
-
};
|
|
1454
|
-
query?: never;
|
|
1455
|
-
url: '/spaces/{space}/posts';
|
|
1456
|
-
};
|
|
1457
|
-
|
|
1458
|
-
export type PostsStoreErrors = {
|
|
1459
|
-
/**
|
|
1460
|
-
* Unauthenticated
|
|
1461
|
-
*/
|
|
1462
|
-
401: {
|
|
1463
|
-
/**
|
|
1464
|
-
* Error overview.
|
|
1465
|
-
*/
|
|
1466
|
-
message: string;
|
|
1467
|
-
};
|
|
1468
|
-
/**
|
|
1469
|
-
* Authorization error
|
|
1470
|
-
*/
|
|
1471
|
-
403: {
|
|
1472
|
-
/**
|
|
1473
|
-
* Error overview.
|
|
1474
|
-
*/
|
|
1475
|
-
message: string;
|
|
1476
|
-
};
|
|
1477
|
-
/**
|
|
1478
|
-
* Validation error
|
|
1479
|
-
*/
|
|
1480
|
-
422: {
|
|
1481
|
-
/**
|
|
1482
|
-
* Errors overview.
|
|
1483
|
-
*/
|
|
1484
|
-
message: string;
|
|
1485
|
-
/**
|
|
1486
|
-
* A detailed description of each field that failed validation.
|
|
1487
|
-
*/
|
|
1488
|
-
errors: {
|
|
1489
|
-
[key: string]: Array<string>;
|
|
1490
|
-
};
|
|
1491
|
-
};
|
|
1492
|
-
};
|
|
1493
|
-
|
|
1494
|
-
export type PostsStoreError = PostsStoreErrors[keyof PostsStoreErrors];
|
|
1495
|
-
|
|
1496
|
-
export type PostsStoreResponses = {
|
|
1497
|
-
200: {
|
|
1498
|
-
[key: string]: unknown;
|
|
1499
|
-
};
|
|
1500
|
-
};
|
|
1501
|
-
|
|
1502
|
-
export type PostsStoreResponse = PostsStoreResponses[keyof PostsStoreResponses];
|
|
1503
|
-
|
|
1504
|
-
export type PostsDestroyData = {
|
|
1505
|
-
body?: never;
|
|
1506
|
-
path: {
|
|
1507
|
-
/**
|
|
1508
|
-
* The space ID
|
|
1509
|
-
*/
|
|
1510
|
-
space: number;
|
|
1511
|
-
/**
|
|
1512
|
-
* The post ID
|
|
1513
|
-
*/
|
|
1514
|
-
post: number;
|
|
1515
|
-
};
|
|
1516
|
-
query?: never;
|
|
1517
|
-
url: '/spaces/{space}/posts/{post}';
|
|
1518
|
-
};
|
|
1519
|
-
|
|
1520
|
-
export type PostsDestroyErrors = {
|
|
1521
|
-
/**
|
|
1522
|
-
* Unauthenticated
|
|
1523
|
-
*/
|
|
1524
|
-
401: {
|
|
1525
|
-
/**
|
|
1526
|
-
* Error overview.
|
|
1527
|
-
*/
|
|
1528
|
-
message: string;
|
|
1529
|
-
};
|
|
1530
|
-
/**
|
|
1531
|
-
* Authorization error
|
|
1532
|
-
*/
|
|
1533
|
-
403: {
|
|
1534
|
-
/**
|
|
1535
|
-
* Error overview.
|
|
1536
|
-
*/
|
|
1537
|
-
message: string;
|
|
1538
|
-
};
|
|
1539
|
-
/**
|
|
1540
|
-
* Not found
|
|
1541
|
-
*/
|
|
1542
|
-
404: {
|
|
1543
|
-
/**
|
|
1544
|
-
* Error overview.
|
|
1545
|
-
*/
|
|
1546
|
-
message: string;
|
|
1547
|
-
};
|
|
1548
|
-
};
|
|
1549
|
-
|
|
1550
|
-
export type PostsDestroyError = PostsDestroyErrors[keyof PostsDestroyErrors];
|
|
1551
|
-
|
|
1552
|
-
export type PostsDestroyResponses = {
|
|
1553
|
-
200: {
|
|
1554
|
-
[key: string]: unknown;
|
|
1555
|
-
};
|
|
1556
|
-
};
|
|
1557
|
-
|
|
1558
|
-
export type PostsDestroyResponse = PostsDestroyResponses[keyof PostsDestroyResponses];
|
|
1559
|
-
|
|
1560
|
-
export type PostsShowData = {
|
|
1561
|
-
body?: never;
|
|
1562
|
-
path: {
|
|
1563
|
-
/**
|
|
1564
|
-
* The space ID
|
|
1565
|
-
*/
|
|
1566
|
-
space: number;
|
|
1567
|
-
/**
|
|
1568
|
-
* The post ID
|
|
1569
|
-
*/
|
|
1570
|
-
post: number;
|
|
1571
|
-
};
|
|
1572
|
-
query?: never;
|
|
1573
|
-
url: '/spaces/{space}/posts/{post}';
|
|
1574
|
-
};
|
|
1575
|
-
|
|
1576
|
-
export type PostsShowErrors = {
|
|
1577
|
-
/**
|
|
1578
|
-
* Unauthenticated
|
|
1579
|
-
*/
|
|
1580
|
-
401: {
|
|
1581
|
-
/**
|
|
1582
|
-
* Error overview.
|
|
1583
|
-
*/
|
|
1584
|
-
message: string;
|
|
1585
|
-
};
|
|
1586
|
-
/**
|
|
1587
|
-
* Authorization error
|
|
1588
|
-
*/
|
|
1589
|
-
403: {
|
|
1590
|
-
/**
|
|
1591
|
-
* Error overview.
|
|
1592
|
-
*/
|
|
1593
|
-
message: string;
|
|
1594
|
-
};
|
|
1595
|
-
/**
|
|
1596
|
-
* Not found
|
|
1597
|
-
*/
|
|
1598
|
-
404: {
|
|
1599
|
-
/**
|
|
1600
|
-
* Error overview.
|
|
1601
|
-
*/
|
|
1602
|
-
message: string;
|
|
1603
|
-
};
|
|
1604
|
-
};
|
|
1605
|
-
|
|
1606
|
-
export type PostsShowError = PostsShowErrors[keyof PostsShowErrors];
|
|
1607
|
-
|
|
1608
|
-
export type PostsShowResponses = {
|
|
1609
|
-
/**
|
|
1610
|
-
* `PostResource`
|
|
1611
|
-
*/
|
|
1612
|
-
200: {
|
|
1613
|
-
data: PostResource;
|
|
1614
|
-
};
|
|
1615
|
-
};
|
|
1616
|
-
|
|
1617
|
-
export type PostsShowResponse = PostsShowResponses[keyof PostsShowResponses];
|
|
1618
|
-
|
|
1619
|
-
export type PostsUpdateData = {
|
|
1620
|
-
body?: UpdatePostRequest;
|
|
1621
|
-
path: {
|
|
1622
|
-
/**
|
|
1623
|
-
* The space ID
|
|
1624
|
-
*/
|
|
1625
|
-
space: number;
|
|
1626
|
-
/**
|
|
1627
|
-
* The post ID
|
|
1628
|
-
*/
|
|
1629
|
-
post: number;
|
|
1630
|
-
};
|
|
1631
|
-
query?: never;
|
|
1632
|
-
url: '/spaces/{space}/posts/{post}';
|
|
1633
|
-
};
|
|
1634
|
-
|
|
1635
|
-
export type PostsUpdateErrors = {
|
|
1636
|
-
/**
|
|
1637
|
-
* Unauthenticated
|
|
1638
|
-
*/
|
|
1639
|
-
401: {
|
|
1640
|
-
/**
|
|
1641
|
-
* Error overview.
|
|
1642
|
-
*/
|
|
1643
|
-
message: string;
|
|
1644
|
-
};
|
|
1645
|
-
/**
|
|
1646
|
-
* Authorization error
|
|
1647
|
-
*/
|
|
1648
|
-
403: {
|
|
1649
|
-
/**
|
|
1650
|
-
* Error overview.
|
|
1651
|
-
*/
|
|
1652
|
-
message: string;
|
|
1653
|
-
};
|
|
1654
|
-
/**
|
|
1655
|
-
* Not found
|
|
1656
|
-
*/
|
|
1657
|
-
404: {
|
|
1658
|
-
/**
|
|
1659
|
-
* Error overview.
|
|
1660
|
-
*/
|
|
1661
|
-
message: string;
|
|
1662
|
-
};
|
|
1663
|
-
/**
|
|
1664
|
-
* Validation error
|
|
1665
|
-
*/
|
|
1666
|
-
422: {
|
|
1667
|
-
/**
|
|
1668
|
-
* Errors overview.
|
|
1669
|
-
*/
|
|
1670
|
-
message: string;
|
|
1671
|
-
/**
|
|
1672
|
-
* A detailed description of each field that failed validation.
|
|
1673
|
-
*/
|
|
1674
|
-
errors: {
|
|
1675
|
-
[key: string]: Array<string>;
|
|
1676
|
-
};
|
|
1677
|
-
};
|
|
1678
|
-
};
|
|
1679
|
-
|
|
1680
|
-
export type PostsUpdateError = PostsUpdateErrors[keyof PostsUpdateErrors];
|
|
1681
|
-
|
|
1682
|
-
export type PostsUpdateResponses = {
|
|
1683
|
-
/**
|
|
1684
|
-
* `PostResource`
|
|
1685
|
-
*/
|
|
1686
|
-
200: {
|
|
1687
|
-
data: PostResource;
|
|
1688
|
-
} | {
|
|
1689
|
-
[key: string]: unknown;
|
|
1690
|
-
};
|
|
1691
|
-
};
|
|
1692
|
-
|
|
1693
|
-
export type PostsUpdateResponse = PostsUpdateResponses[keyof PostsUpdateResponses];
|
|
1694
|
-
|
|
1695
|
-
export type ClustersUpdateData = {
|
|
1696
|
-
body: UpdateClusterRequest;
|
|
1697
|
-
path: {
|
|
1698
|
-
/**
|
|
1699
|
-
* The space ID
|
|
1700
|
-
*/
|
|
1701
|
-
space: number;
|
|
1702
|
-
cluster_id: string;
|
|
1703
|
-
};
|
|
1704
|
-
query?: never;
|
|
1705
|
-
url: '/spaces/{space}/clusters/{cluster_id}';
|
|
1706
|
-
};
|
|
1707
|
-
|
|
1708
|
-
export type ClustersUpdateErrors = {
|
|
1709
|
-
/**
|
|
1710
|
-
* Unauthenticated
|
|
1711
|
-
*/
|
|
1712
|
-
401: {
|
|
1713
|
-
/**
|
|
1714
|
-
* Error overview.
|
|
1715
|
-
*/
|
|
1716
|
-
message: string;
|
|
1717
|
-
};
|
|
1718
|
-
/**
|
|
1719
|
-
* Authorization error
|
|
1720
|
-
*/
|
|
1721
|
-
403: {
|
|
1722
|
-
/**
|
|
1723
|
-
* Error overview.
|
|
1724
|
-
*/
|
|
1725
|
-
message: string;
|
|
1726
|
-
};
|
|
1727
|
-
/**
|
|
1728
|
-
* Not found
|
|
1729
|
-
*/
|
|
1730
|
-
404: {
|
|
1731
|
-
/**
|
|
1732
|
-
* Error overview.
|
|
1733
|
-
*/
|
|
1734
|
-
message: string;
|
|
1735
|
-
};
|
|
1736
|
-
/**
|
|
1737
|
-
* Validation error
|
|
1738
|
-
*/
|
|
1739
|
-
422: {
|
|
1740
|
-
/**
|
|
1741
|
-
* Errors overview.
|
|
1742
|
-
*/
|
|
1743
|
-
message: string;
|
|
1744
|
-
/**
|
|
1745
|
-
* A detailed description of each field that failed validation.
|
|
1746
|
-
*/
|
|
1747
|
-
errors: {
|
|
1748
|
-
[key: string]: Array<string>;
|
|
1749
|
-
};
|
|
1750
|
-
};
|
|
1751
|
-
};
|
|
1752
|
-
|
|
1753
|
-
export type ClustersUpdateError = ClustersUpdateErrors[keyof ClustersUpdateErrors];
|
|
1754
|
-
|
|
1755
|
-
export type ClustersUpdateResponses = {
|
|
1756
|
-
/**
|
|
1757
|
-
* Array of items
|
|
1758
|
-
*/
|
|
1759
|
-
200: {
|
|
1760
|
-
data: Array<string>;
|
|
1761
|
-
} | {
|
|
1762
|
-
[key: string]: unknown;
|
|
1763
|
-
};
|
|
1764
|
-
};
|
|
1765
|
-
|
|
1766
|
-
export type ClustersUpdateResponse = ClustersUpdateResponses[keyof ClustersUpdateResponses];
|
|
1767
|
-
|
|
1768
|
-
export type QueueIndexData = {
|
|
1769
|
-
body?: never;
|
|
1770
|
-
path: {
|
|
1771
|
-
/**
|
|
1772
|
-
* The space ID
|
|
1773
|
-
*/
|
|
1774
|
-
space: number;
|
|
1775
|
-
};
|
|
1776
|
-
query?: never;
|
|
1777
|
-
url: '/spaces/{space}/queue';
|
|
1778
|
-
};
|
|
1779
|
-
|
|
1780
|
-
export type QueueIndexErrors = {
|
|
1781
|
-
/**
|
|
1782
|
-
* Unauthenticated
|
|
1783
|
-
*/
|
|
1784
|
-
401: {
|
|
1785
|
-
/**
|
|
1786
|
-
* Error overview.
|
|
1787
|
-
*/
|
|
1788
|
-
message: string;
|
|
1789
|
-
};
|
|
1790
|
-
/**
|
|
1791
|
-
* Authorization error
|
|
1792
|
-
*/
|
|
1793
|
-
403: {
|
|
1794
|
-
/**
|
|
1795
|
-
* Error overview.
|
|
1796
|
-
*/
|
|
1797
|
-
message: string;
|
|
1798
|
-
};
|
|
1799
|
-
/**
|
|
1800
|
-
* Not found
|
|
1801
|
-
*/
|
|
1802
|
-
404: {
|
|
1803
|
-
/**
|
|
1804
|
-
* Error overview.
|
|
1805
|
-
*/
|
|
1806
|
-
message: string;
|
|
1807
|
-
};
|
|
1808
|
-
};
|
|
1809
|
-
|
|
1810
|
-
export type QueueIndexError = QueueIndexErrors[keyof QueueIndexErrors];
|
|
1811
|
-
|
|
1812
|
-
export type QueueIndexResponses = {
|
|
1813
|
-
200: {
|
|
1814
|
-
data: Array<{
|
|
1815
|
-
datetime: string;
|
|
1816
|
-
timestamp_ms: string;
|
|
1817
|
-
label: string;
|
|
1818
|
-
}>;
|
|
1819
|
-
} | {
|
|
1820
|
-
data: Array<string>;
|
|
1821
|
-
};
|
|
1822
|
-
};
|
|
1823
|
-
|
|
1824
|
-
export type QueueIndexResponse = QueueIndexResponses[keyof QueueIndexResponses];
|
|
1825
|
-
|
|
1826
|
-
export type SlotsIndexData = {
|
|
1827
|
-
body?: never;
|
|
1828
|
-
path: {
|
|
1829
|
-
/**
|
|
1830
|
-
* The space ID
|
|
1831
|
-
*/
|
|
1832
|
-
space: number;
|
|
1833
|
-
};
|
|
1834
|
-
query?: never;
|
|
1835
|
-
url: '/spaces/{space}/slots';
|
|
1836
|
-
};
|
|
1837
|
-
|
|
1838
|
-
export type SlotsIndexErrors = {
|
|
1839
|
-
/**
|
|
1840
|
-
* Unauthenticated
|
|
1841
|
-
*/
|
|
1842
|
-
401: {
|
|
1843
|
-
/**
|
|
1844
|
-
* Error overview.
|
|
1845
|
-
*/
|
|
1846
|
-
message: string;
|
|
1847
|
-
};
|
|
1848
|
-
/**
|
|
1849
|
-
* Authorization error
|
|
1850
|
-
*/
|
|
1851
|
-
403: {
|
|
1852
|
-
/**
|
|
1853
|
-
* Error overview.
|
|
1854
|
-
*/
|
|
1855
|
-
message: string;
|
|
1856
|
-
};
|
|
1857
|
-
/**
|
|
1858
|
-
* Not found
|
|
1859
|
-
*/
|
|
1860
|
-
404: {
|
|
1861
|
-
/**
|
|
1862
|
-
* Error overview.
|
|
1863
|
-
*/
|
|
1864
|
-
message: string;
|
|
1865
|
-
};
|
|
1866
|
-
};
|
|
1867
|
-
|
|
1868
|
-
export type SlotsIndexError = SlotsIndexErrors[keyof SlotsIndexErrors];
|
|
1869
|
-
|
|
1870
|
-
export type SlotsIndexResponses = {
|
|
1871
|
-
/**
|
|
1872
|
-
* Array of `SlotResource`
|
|
1873
|
-
*/
|
|
1874
|
-
200: {
|
|
1875
|
-
data: Array<SlotResource>;
|
|
1876
|
-
};
|
|
1877
|
-
};
|
|
1878
|
-
|
|
1879
|
-
export type SlotsIndexResponse = SlotsIndexResponses[keyof SlotsIndexResponses];
|
|
1880
|
-
|
|
1881
|
-
export type SlotsStoreData = {
|
|
1882
|
-
body: StoreSlotRequest;
|
|
1883
|
-
path: {
|
|
1884
|
-
/**
|
|
1885
|
-
* The space ID
|
|
1886
|
-
*/
|
|
1887
|
-
space: number;
|
|
1888
|
-
};
|
|
1889
|
-
query?: never;
|
|
1890
|
-
url: '/spaces/{space}/slots';
|
|
1891
|
-
};
|
|
1892
|
-
|
|
1893
|
-
export type SlotsStoreErrors = {
|
|
1894
|
-
/**
|
|
1895
|
-
* Unauthenticated
|
|
1896
|
-
*/
|
|
1897
|
-
401: {
|
|
1898
|
-
/**
|
|
1899
|
-
* Error overview.
|
|
1900
|
-
*/
|
|
1901
|
-
message: string;
|
|
1902
|
-
};
|
|
1903
|
-
/**
|
|
1904
|
-
* Authorization error
|
|
1905
|
-
*/
|
|
1906
|
-
403: {
|
|
1907
|
-
/**
|
|
1908
|
-
* Error overview.
|
|
1909
|
-
*/
|
|
1910
|
-
message: string;
|
|
1911
|
-
};
|
|
1912
|
-
/**
|
|
1913
|
-
* Not found
|
|
1914
|
-
*/
|
|
1915
|
-
404: {
|
|
1916
|
-
/**
|
|
1917
|
-
* Error overview.
|
|
1918
|
-
*/
|
|
1919
|
-
message: string;
|
|
1920
|
-
};
|
|
1921
|
-
/**
|
|
1922
|
-
* Validation error
|
|
1923
|
-
*/
|
|
1924
|
-
422: {
|
|
1925
|
-
/**
|
|
1926
|
-
* Errors overview.
|
|
1927
|
-
*/
|
|
1928
|
-
message: string;
|
|
1929
|
-
/**
|
|
1930
|
-
* A detailed description of each field that failed validation.
|
|
1931
|
-
*/
|
|
1932
|
-
errors: {
|
|
1933
|
-
[key: string]: Array<string>;
|
|
1934
|
-
};
|
|
1935
|
-
};
|
|
1936
|
-
};
|
|
1937
|
-
|
|
1938
|
-
export type SlotsStoreError = SlotsStoreErrors[keyof SlotsStoreErrors];
|
|
1939
|
-
|
|
1940
|
-
export type SlotsStoreResponses = {
|
|
1941
|
-
200: {
|
|
1942
|
-
[key: string]: unknown;
|
|
1943
|
-
};
|
|
1944
|
-
};
|
|
1945
|
-
|
|
1946
|
-
export type SlotsStoreResponse = SlotsStoreResponses[keyof SlotsStoreResponses];
|
|
1947
|
-
|
|
1948
|
-
export type SlotsDestroyData = {
|
|
1949
|
-
body?: never;
|
|
1950
|
-
path: {
|
|
1951
|
-
/**
|
|
1952
|
-
* The space ID
|
|
1953
|
-
*/
|
|
1954
|
-
space: number;
|
|
1955
|
-
/**
|
|
1956
|
-
* The slot ID
|
|
1957
|
-
*/
|
|
1958
|
-
slot: number;
|
|
1959
|
-
};
|
|
1960
|
-
query?: never;
|
|
1961
|
-
url: '/spaces/{space}/slots/{slot}';
|
|
1962
|
-
};
|
|
1963
|
-
|
|
1964
|
-
export type SlotsDestroyErrors = {
|
|
1965
|
-
/**
|
|
1966
|
-
* Unauthenticated
|
|
1967
|
-
*/
|
|
1968
|
-
401: {
|
|
1969
|
-
/**
|
|
1970
|
-
* Error overview.
|
|
1971
|
-
*/
|
|
1972
|
-
message: string;
|
|
1973
|
-
};
|
|
1974
|
-
/**
|
|
1975
|
-
* Authorization error
|
|
1976
|
-
*/
|
|
1977
|
-
403: {
|
|
1978
|
-
/**
|
|
1979
|
-
* Error overview.
|
|
1980
|
-
*/
|
|
1981
|
-
message: string;
|
|
1982
|
-
};
|
|
1983
|
-
/**
|
|
1984
|
-
* Not found
|
|
1985
|
-
*/
|
|
1986
|
-
404: {
|
|
1987
|
-
/**
|
|
1988
|
-
* Error overview.
|
|
1989
|
-
*/
|
|
1990
|
-
message: string;
|
|
1991
|
-
};
|
|
1992
|
-
};
|
|
1993
|
-
|
|
1994
|
-
export type SlotsDestroyError = SlotsDestroyErrors[keyof SlotsDestroyErrors];
|
|
1995
|
-
|
|
1996
|
-
export type SlotsDestroyResponses = {
|
|
1997
|
-
200: {
|
|
1998
|
-
[key: string]: unknown;
|
|
1999
|
-
};
|
|
2000
|
-
};
|
|
2001
|
-
|
|
2002
|
-
export type SlotsDestroyResponse = SlotsDestroyResponses[keyof SlotsDestroyResponses];
|
|
2003
|
-
|
|
2004
|
-
export type SpacesIndexData = {
|
|
2005
|
-
body?: never;
|
|
2006
|
-
path?: never;
|
|
2007
|
-
query?: never;
|
|
2008
|
-
url: '/spaces';
|
|
2009
|
-
};
|
|
2010
|
-
|
|
2011
|
-
export type SpacesIndexErrors = {
|
|
2012
|
-
/**
|
|
2013
|
-
* Unauthenticated
|
|
2014
|
-
*/
|
|
2015
|
-
401: {
|
|
2016
|
-
/**
|
|
2017
|
-
* Error overview.
|
|
2018
|
-
*/
|
|
2019
|
-
message: string;
|
|
2020
|
-
};
|
|
2021
|
-
};
|
|
2022
|
-
|
|
2023
|
-
export type SpacesIndexError = SpacesIndexErrors[keyof SpacesIndexErrors];
|
|
2024
|
-
|
|
2025
|
-
export type SpacesIndexResponses = {
|
|
2026
|
-
/**
|
|
2027
|
-
* Array of `SpaceResource`
|
|
2028
|
-
*/
|
|
2029
|
-
200: {
|
|
2030
|
-
data: Array<SpaceResource>;
|
|
2031
|
-
};
|
|
2032
|
-
};
|
|
2033
|
-
|
|
2034
|
-
export type SpacesIndexResponse = SpacesIndexResponses[keyof SpacesIndexResponses];
|
|
2035
|
-
|
|
2036
|
-
export type SpacesStoreData = {
|
|
2037
|
-
body: StoreSpaceRequest;
|
|
2038
|
-
path?: never;
|
|
2039
|
-
query?: never;
|
|
2040
|
-
url: '/spaces';
|
|
2041
|
-
};
|
|
2042
|
-
|
|
2043
|
-
export type SpacesStoreErrors = {
|
|
2044
|
-
/**
|
|
2045
|
-
* Unauthenticated
|
|
2046
|
-
*/
|
|
2047
|
-
401: {
|
|
2048
|
-
/**
|
|
2049
|
-
* Error overview.
|
|
2050
|
-
*/
|
|
2051
|
-
message: string;
|
|
2052
|
-
};
|
|
2053
|
-
/**
|
|
2054
|
-
* Authorization error
|
|
2055
|
-
*/
|
|
2056
|
-
403: {
|
|
2057
|
-
/**
|
|
2058
|
-
* Error overview.
|
|
2059
|
-
*/
|
|
2060
|
-
message: string;
|
|
2061
|
-
};
|
|
2062
|
-
/**
|
|
2063
|
-
* Validation error
|
|
2064
|
-
*/
|
|
2065
|
-
422: {
|
|
2066
|
-
/**
|
|
2067
|
-
* Errors overview.
|
|
2068
|
-
*/
|
|
2069
|
-
message: string;
|
|
2070
|
-
/**
|
|
2071
|
-
* A detailed description of each field that failed validation.
|
|
2072
|
-
*/
|
|
2073
|
-
errors: {
|
|
2074
|
-
[key: string]: Array<string>;
|
|
2075
|
-
};
|
|
2076
|
-
};
|
|
2077
|
-
};
|
|
2078
|
-
|
|
2079
|
-
export type SpacesStoreError = SpacesStoreErrors[keyof SpacesStoreErrors];
|
|
2080
|
-
|
|
2081
|
-
export type SpacesStoreResponses = {
|
|
2082
|
-
200: {
|
|
2083
|
-
[key: string]: unknown;
|
|
2084
|
-
};
|
|
2085
|
-
};
|
|
2086
|
-
|
|
2087
|
-
export type SpacesStoreResponse = SpacesStoreResponses[keyof SpacesStoreResponses];
|
|
2088
|
-
|
|
2089
|
-
export type SpacesDestroyData = {
|
|
2090
|
-
body?: never;
|
|
2091
|
-
path: {
|
|
2092
|
-
/**
|
|
2093
|
-
* The space ID
|
|
2094
|
-
*/
|
|
2095
|
-
space: number;
|
|
2096
|
-
};
|
|
2097
|
-
query?: never;
|
|
2098
|
-
url: '/spaces/{space}';
|
|
2099
|
-
};
|
|
2100
|
-
|
|
2101
|
-
export type SpacesDestroyErrors = {
|
|
2102
|
-
/**
|
|
2103
|
-
* Unauthenticated
|
|
2104
|
-
*/
|
|
2105
|
-
401: {
|
|
2106
|
-
/**
|
|
2107
|
-
* Error overview.
|
|
2108
|
-
*/
|
|
2109
|
-
message: string;
|
|
2110
|
-
};
|
|
2111
|
-
/**
|
|
2112
|
-
* Authorization error
|
|
2113
|
-
*/
|
|
2114
|
-
403: {
|
|
2115
|
-
/**
|
|
2116
|
-
* Error overview.
|
|
2117
|
-
*/
|
|
2118
|
-
message: string;
|
|
2119
|
-
};
|
|
2120
|
-
/**
|
|
2121
|
-
* Not found
|
|
2122
|
-
*/
|
|
2123
|
-
404: {
|
|
2124
|
-
/**
|
|
2125
|
-
* Error overview.
|
|
2126
|
-
*/
|
|
2127
|
-
message: string;
|
|
2128
|
-
};
|
|
2129
|
-
};
|
|
2130
|
-
|
|
2131
|
-
export type SpacesDestroyError = SpacesDestroyErrors[keyof SpacesDestroyErrors];
|
|
2132
|
-
|
|
2133
|
-
export type SpacesDestroyResponses = {
|
|
2134
|
-
200: {
|
|
2135
|
-
[key: string]: unknown;
|
|
2136
|
-
};
|
|
2137
|
-
};
|
|
2138
|
-
|
|
2139
|
-
export type SpacesDestroyResponse = SpacesDestroyResponses[keyof SpacesDestroyResponses];
|
|
2140
|
-
|
|
2141
|
-
export type SpacesShowData = {
|
|
2142
|
-
body?: never;
|
|
2143
|
-
path: {
|
|
2144
|
-
/**
|
|
2145
|
-
* The space ID
|
|
2146
|
-
*/
|
|
2147
|
-
space: number;
|
|
2148
|
-
};
|
|
2149
|
-
query?: never;
|
|
2150
|
-
url: '/spaces/{space}';
|
|
2151
|
-
};
|
|
2152
|
-
|
|
2153
|
-
export type SpacesShowErrors = {
|
|
2154
|
-
/**
|
|
2155
|
-
* Unauthenticated
|
|
2156
|
-
*/
|
|
2157
|
-
401: {
|
|
2158
|
-
/**
|
|
2159
|
-
* Error overview.
|
|
2160
|
-
*/
|
|
2161
|
-
message: string;
|
|
2162
|
-
};
|
|
2163
|
-
/**
|
|
2164
|
-
* Authorization error
|
|
2165
|
-
*/
|
|
2166
|
-
403: {
|
|
2167
|
-
/**
|
|
2168
|
-
* Error overview.
|
|
2169
|
-
*/
|
|
2170
|
-
message: string;
|
|
2171
|
-
};
|
|
2172
|
-
/**
|
|
2173
|
-
* Not found
|
|
2174
|
-
*/
|
|
2175
|
-
404: {
|
|
2176
|
-
/**
|
|
2177
|
-
* Error overview.
|
|
2178
|
-
*/
|
|
2179
|
-
message: string;
|
|
2180
|
-
};
|
|
2181
|
-
};
|
|
2182
|
-
|
|
2183
|
-
export type SpacesShowError = SpacesShowErrors[keyof SpacesShowErrors];
|
|
2184
|
-
|
|
2185
|
-
export type SpacesShowResponses = {
|
|
2186
|
-
/**
|
|
2187
|
-
* `SpaceResource`
|
|
2188
|
-
*/
|
|
2189
|
-
200: {
|
|
2190
|
-
data: SpaceResource;
|
|
2191
|
-
};
|
|
2192
|
-
};
|
|
2193
|
-
|
|
2194
|
-
export type SpacesShowResponse = SpacesShowResponses[keyof SpacesShowResponses];
|
|
2195
|
-
|
|
2196
|
-
export type SpacesUpdateData = {
|
|
2197
|
-
body?: UpdateSpaceRequest;
|
|
2198
|
-
path: {
|
|
2199
|
-
/**
|
|
2200
|
-
* The space ID
|
|
2201
|
-
*/
|
|
2202
|
-
space: number;
|
|
2203
|
-
};
|
|
2204
|
-
query?: never;
|
|
2205
|
-
url: '/spaces/{space}';
|
|
2206
|
-
};
|
|
2207
|
-
|
|
2208
|
-
export type SpacesUpdateErrors = {
|
|
2209
|
-
/**
|
|
2210
|
-
* Unauthenticated
|
|
2211
|
-
*/
|
|
2212
|
-
401: {
|
|
2213
|
-
/**
|
|
2214
|
-
* Error overview.
|
|
2215
|
-
*/
|
|
2216
|
-
message: string;
|
|
2217
|
-
};
|
|
2218
|
-
/**
|
|
2219
|
-
* Authorization error
|
|
2220
|
-
*/
|
|
2221
|
-
403: {
|
|
2222
|
-
/**
|
|
2223
|
-
* Error overview.
|
|
2224
|
-
*/
|
|
2225
|
-
message: string;
|
|
2226
|
-
};
|
|
2227
|
-
/**
|
|
2228
|
-
* Not found
|
|
2229
|
-
*/
|
|
2230
|
-
404: {
|
|
2231
|
-
/**
|
|
2232
|
-
* Error overview.
|
|
2233
|
-
*/
|
|
2234
|
-
message: string;
|
|
2235
|
-
};
|
|
2236
|
-
/**
|
|
2237
|
-
* Validation error
|
|
2238
|
-
*/
|
|
2239
|
-
422: {
|
|
2240
|
-
/**
|
|
2241
|
-
* Errors overview.
|
|
2242
|
-
*/
|
|
2243
|
-
message: string;
|
|
2244
|
-
/**
|
|
2245
|
-
* A detailed description of each field that failed validation.
|
|
2246
|
-
*/
|
|
2247
|
-
errors: {
|
|
2248
|
-
[key: string]: Array<string>;
|
|
2249
|
-
};
|
|
2250
|
-
};
|
|
2251
|
-
};
|
|
2252
|
-
|
|
2253
|
-
export type SpacesUpdateError = SpacesUpdateErrors[keyof SpacesUpdateErrors];
|
|
2254
|
-
|
|
2255
|
-
export type SpacesUpdateResponses = {
|
|
2256
|
-
/**
|
|
2257
|
-
* `SpaceResource`
|
|
2258
|
-
*/
|
|
2259
|
-
200: {
|
|
2260
|
-
data: SpaceResource;
|
|
2261
|
-
} | {
|
|
2262
|
-
[key: string]: unknown;
|
|
2263
|
-
};
|
|
2264
|
-
};
|
|
2265
|
-
|
|
2266
|
-
export type SpacesUpdateResponse = SpacesUpdateResponses[keyof SpacesUpdateResponses];
|
|
2267
|
-
|
|
2268
|
-
export type SubscriptionShowData = {
|
|
2269
|
-
body?: never;
|
|
2270
|
-
path?: never;
|
|
2271
|
-
query?: never;
|
|
2272
|
-
url: '/subscription';
|
|
2273
|
-
};
|
|
2274
|
-
|
|
2275
|
-
export type SubscriptionShowErrors = {
|
|
2276
|
-
/**
|
|
2277
|
-
* Unauthenticated
|
|
2278
|
-
*/
|
|
2279
|
-
401: {
|
|
2280
|
-
/**
|
|
2281
|
-
* Error overview.
|
|
2282
|
-
*/
|
|
2283
|
-
message: string;
|
|
2284
|
-
};
|
|
2285
|
-
};
|
|
2286
|
-
|
|
2287
|
-
export type SubscriptionShowError = SubscriptionShowErrors[keyof SubscriptionShowErrors];
|
|
2288
|
-
|
|
2289
|
-
export type SubscriptionShowResponses = {
|
|
2290
|
-
200: {
|
|
2291
|
-
plan: string;
|
|
2292
|
-
is_gifted: boolean;
|
|
2293
|
-
limits: {
|
|
2294
|
-
max_spaces: 2 | 10 | 50;
|
|
2295
|
-
max_posts_per_month: 20 | 200;
|
|
2296
|
-
has_analytics: boolean;
|
|
2297
|
-
remaining_spaces: number | null;
|
|
2298
|
-
remaining_posts: number | null;
|
|
2299
|
-
posts_this_month: number;
|
|
2300
|
-
};
|
|
2301
|
-
trial: {
|
|
2302
|
-
on_trial: string | boolean;
|
|
2303
|
-
ends_at: string;
|
|
2304
|
-
};
|
|
2305
|
-
cancelled: string | boolean;
|
|
2306
|
-
ends_at: string;
|
|
2307
|
-
};
|
|
2308
|
-
};
|
|
2309
|
-
|
|
2310
|
-
export type SubscriptionShowResponse = SubscriptionShowResponses[keyof SubscriptionShowResponses];
|
|
2311
|
-
|
|
2312
|
-
export type WebhooksIndexData = {
|
|
2313
|
-
body?: never;
|
|
2314
|
-
path: {
|
|
2315
|
-
/**
|
|
2316
|
-
* The space ID
|
|
2317
|
-
*/
|
|
2318
|
-
space: number;
|
|
2319
|
-
};
|
|
2320
|
-
query?: never;
|
|
2321
|
-
url: '/spaces/{space}/webhooks';
|
|
2322
|
-
};
|
|
2323
|
-
|
|
2324
|
-
export type WebhooksIndexErrors = {
|
|
2325
|
-
/**
|
|
2326
|
-
* Unauthenticated
|
|
2327
|
-
*/
|
|
2328
|
-
401: {
|
|
2329
|
-
/**
|
|
2330
|
-
* Error overview.
|
|
2331
|
-
*/
|
|
2332
|
-
message: string;
|
|
2333
|
-
};
|
|
2334
|
-
/**
|
|
2335
|
-
* Authorization error
|
|
2336
|
-
*/
|
|
2337
|
-
403: {
|
|
2338
|
-
/**
|
|
2339
|
-
* Error overview.
|
|
2340
|
-
*/
|
|
2341
|
-
message: string;
|
|
2342
|
-
};
|
|
2343
|
-
/**
|
|
2344
|
-
* Not found
|
|
2345
|
-
*/
|
|
2346
|
-
404: {
|
|
2347
|
-
/**
|
|
2348
|
-
* Error overview.
|
|
2349
|
-
*/
|
|
2350
|
-
message: string;
|
|
2351
|
-
};
|
|
2352
|
-
};
|
|
2353
|
-
|
|
2354
|
-
export type WebhooksIndexError = WebhooksIndexErrors[keyof WebhooksIndexErrors];
|
|
2355
|
-
|
|
2356
|
-
export type WebhooksIndexResponses = {
|
|
2357
|
-
/**
|
|
2358
|
-
* Array of `WebhookResource`
|
|
2359
|
-
*/
|
|
2360
|
-
200: {
|
|
2361
|
-
data: Array<WebhookResource>;
|
|
2362
|
-
};
|
|
2363
|
-
};
|
|
2364
|
-
|
|
2365
|
-
export type WebhooksIndexResponse = WebhooksIndexResponses[keyof WebhooksIndexResponses];
|
|
2366
|
-
|
|
2367
|
-
export type WebhooksStoreData = {
|
|
2368
|
-
body: StoreWebhookRequest;
|
|
2369
|
-
path: {
|
|
2370
|
-
/**
|
|
2371
|
-
* The space ID
|
|
2372
|
-
*/
|
|
2373
|
-
space: number;
|
|
2374
|
-
};
|
|
2375
|
-
query?: never;
|
|
2376
|
-
url: '/spaces/{space}/webhooks';
|
|
2377
|
-
};
|
|
2378
|
-
|
|
2379
|
-
export type WebhooksStoreErrors = {
|
|
2380
|
-
/**
|
|
2381
|
-
* Unauthenticated
|
|
2382
|
-
*/
|
|
2383
|
-
401: {
|
|
2384
|
-
/**
|
|
2385
|
-
* Error overview.
|
|
2386
|
-
*/
|
|
2387
|
-
message: string;
|
|
2388
|
-
};
|
|
2389
|
-
/**
|
|
2390
|
-
* Authorization error
|
|
2391
|
-
*/
|
|
2392
|
-
403: {
|
|
2393
|
-
/**
|
|
2394
|
-
* Error overview.
|
|
2395
|
-
*/
|
|
2396
|
-
message: string;
|
|
2397
|
-
};
|
|
2398
|
-
/**
|
|
2399
|
-
* Not found
|
|
2400
|
-
*/
|
|
2401
|
-
404: {
|
|
2402
|
-
/**
|
|
2403
|
-
* Error overview.
|
|
2404
|
-
*/
|
|
2405
|
-
message: string;
|
|
2406
|
-
};
|
|
2407
|
-
/**
|
|
2408
|
-
* Validation error
|
|
2409
|
-
*/
|
|
2410
|
-
422: {
|
|
2411
|
-
/**
|
|
2412
|
-
* Errors overview.
|
|
2413
|
-
*/
|
|
2414
|
-
message: string;
|
|
2415
|
-
/**
|
|
2416
|
-
* A detailed description of each field that failed validation.
|
|
2417
|
-
*/
|
|
2418
|
-
errors: {
|
|
2419
|
-
[key: string]: Array<string>;
|
|
2420
|
-
};
|
|
2421
|
-
};
|
|
2422
|
-
};
|
|
2423
|
-
|
|
2424
|
-
export type WebhooksStoreError = WebhooksStoreErrors[keyof WebhooksStoreErrors];
|
|
2425
|
-
|
|
2426
|
-
export type WebhooksStoreResponses = {
|
|
2427
|
-
200: {
|
|
2428
|
-
[key: string]: unknown;
|
|
2429
|
-
};
|
|
2430
|
-
};
|
|
2431
|
-
|
|
2432
|
-
export type WebhooksStoreResponse = WebhooksStoreResponses[keyof WebhooksStoreResponses];
|
|
2433
|
-
|
|
2434
|
-
export type WebhooksDestroyData = {
|
|
2435
|
-
body?: never;
|
|
2436
|
-
path: {
|
|
2437
|
-
/**
|
|
2438
|
-
* The space ID
|
|
2439
|
-
*/
|
|
2440
|
-
space: number;
|
|
2441
|
-
/**
|
|
2442
|
-
* The webhook ID
|
|
2443
|
-
*/
|
|
2444
|
-
webhook: number;
|
|
2445
|
-
};
|
|
2446
|
-
query?: never;
|
|
2447
|
-
url: '/spaces/{space}/webhooks/{webhook}';
|
|
2448
|
-
};
|
|
2449
|
-
|
|
2450
|
-
export type WebhooksDestroyErrors = {
|
|
2451
|
-
/**
|
|
2452
|
-
* Unauthenticated
|
|
2453
|
-
*/
|
|
2454
|
-
401: {
|
|
2455
|
-
/**
|
|
2456
|
-
* Error overview.
|
|
2457
|
-
*/
|
|
2458
|
-
message: string;
|
|
2459
|
-
};
|
|
2460
|
-
/**
|
|
2461
|
-
* Authorization error
|
|
2462
|
-
*/
|
|
2463
|
-
403: {
|
|
2464
|
-
/**
|
|
2465
|
-
* Error overview.
|
|
2466
|
-
*/
|
|
2467
|
-
message: string;
|
|
2468
|
-
};
|
|
2469
|
-
/**
|
|
2470
|
-
* Not found
|
|
2471
|
-
*/
|
|
2472
|
-
404: {
|
|
2473
|
-
/**
|
|
2474
|
-
* Error overview.
|
|
2475
|
-
*/
|
|
2476
|
-
message: string;
|
|
2477
|
-
};
|
|
2478
|
-
};
|
|
2479
|
-
|
|
2480
|
-
export type WebhooksDestroyError = WebhooksDestroyErrors[keyof WebhooksDestroyErrors];
|
|
2481
|
-
|
|
2482
|
-
export type WebhooksDestroyResponses = {
|
|
2483
|
-
200: {
|
|
2484
|
-
[key: string]: unknown;
|
|
2485
|
-
};
|
|
2486
|
-
};
|
|
2487
|
-
|
|
2488
|
-
export type WebhooksDestroyResponse = WebhooksDestroyResponses[keyof WebhooksDestroyResponses];
|
|
2489
|
-
|
|
2490
|
-
export type WebhooksUpdateData = {
|
|
2491
|
-
body?: UpdateWebhookRequest;
|
|
2492
|
-
path: {
|
|
2493
|
-
/**
|
|
2494
|
-
* The space ID
|
|
2495
|
-
*/
|
|
2496
|
-
space: number;
|
|
2497
|
-
/**
|
|
2498
|
-
* The webhook ID
|
|
2499
|
-
*/
|
|
2500
|
-
webhook: number;
|
|
2501
|
-
};
|
|
2502
|
-
query?: never;
|
|
2503
|
-
url: '/spaces/{space}/webhooks/{webhook}';
|
|
2504
|
-
};
|
|
2505
|
-
|
|
2506
|
-
export type WebhooksUpdateErrors = {
|
|
2507
|
-
/**
|
|
2508
|
-
* Unauthenticated
|
|
2509
|
-
*/
|
|
2510
|
-
401: {
|
|
2511
|
-
/**
|
|
2512
|
-
* Error overview.
|
|
2513
|
-
*/
|
|
2514
|
-
message: string;
|
|
2515
|
-
};
|
|
2516
|
-
/**
|
|
2517
|
-
* Authorization error
|
|
2518
|
-
*/
|
|
2519
|
-
403: {
|
|
2520
|
-
/**
|
|
2521
|
-
* Error overview.
|
|
2522
|
-
*/
|
|
2523
|
-
message: string;
|
|
2524
|
-
};
|
|
2525
|
-
/**
|
|
2526
|
-
* Not found
|
|
2527
|
-
*/
|
|
2528
|
-
404: {
|
|
2529
|
-
/**
|
|
2530
|
-
* Error overview.
|
|
2531
|
-
*/
|
|
2532
|
-
message: string;
|
|
2533
|
-
};
|
|
2534
|
-
/**
|
|
2535
|
-
* Validation error
|
|
2536
|
-
*/
|
|
2537
|
-
422: {
|
|
2538
|
-
/**
|
|
2539
|
-
* Errors overview.
|
|
2540
|
-
*/
|
|
2541
|
-
message: string;
|
|
2542
|
-
/**
|
|
2543
|
-
* A detailed description of each field that failed validation.
|
|
2544
|
-
*/
|
|
2545
|
-
errors: {
|
|
2546
|
-
[key: string]: Array<string>;
|
|
2547
|
-
};
|
|
2548
|
-
};
|
|
2549
|
-
};
|
|
2550
|
-
|
|
2551
|
-
export type WebhooksUpdateError = WebhooksUpdateErrors[keyof WebhooksUpdateErrors];
|
|
2552
|
-
|
|
2553
|
-
export type WebhooksUpdateResponses = {
|
|
2554
|
-
/**
|
|
2555
|
-
* `WebhookResource`
|
|
2556
|
-
*/
|
|
2557
|
-
200: {
|
|
2558
|
-
data: WebhookResource;
|
|
2559
|
-
} | {
|
|
2560
|
-
[key: string]: unknown;
|
|
2561
|
-
};
|
|
2562
|
-
};
|
|
2563
|
-
|
|
2564
|
-
export type WebhooksUpdateResponse = WebhooksUpdateResponses[keyof WebhooksUpdateResponses];
|