@botpress/api 0.18.4 → 0.19.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/index.js +734 -171
- package/dist/src/gen/state.d.ts +615 -112
- package/dist/src/index.d.ts +2 -2
- package/package.json +4 -4
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +709 -158
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as opapi from '@bpinternal/opapi';
|
|
2
|
-
export type State = opapi.State<'Bot' | 'Integration' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | '
|
|
2
|
+
export type State = opapi.State<'Bot' | 'Integration' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'file' | 'state' | 'hub' | 'action' | 'task' | 'bot' | 'integration' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
|
|
3
3
|
export declare const state: {
|
|
4
4
|
operations: {
|
|
5
5
|
createConversation: {
|
|
@@ -2365,6 +2365,50 @@ export declare const state: {
|
|
|
2365
2365
|
description: string;
|
|
2366
2366
|
additionalProperties: false;
|
|
2367
2367
|
};
|
|
2368
|
+
actions: {
|
|
2369
|
+
type: "object";
|
|
2370
|
+
additionalProperties: {
|
|
2371
|
+
type: "object";
|
|
2372
|
+
properties: {
|
|
2373
|
+
title: {
|
|
2374
|
+
type: "string";
|
|
2375
|
+
maxLength: number;
|
|
2376
|
+
description: string;
|
|
2377
|
+
};
|
|
2378
|
+
description: {
|
|
2379
|
+
type: "string";
|
|
2380
|
+
maxLength: number;
|
|
2381
|
+
description: string;
|
|
2382
|
+
};
|
|
2383
|
+
input: {
|
|
2384
|
+
type: "object";
|
|
2385
|
+
properties: {
|
|
2386
|
+
schema: {
|
|
2387
|
+
type: "object";
|
|
2388
|
+
additionalProperties: true;
|
|
2389
|
+
};
|
|
2390
|
+
};
|
|
2391
|
+
required: string[];
|
|
2392
|
+
additionalProperties: false;
|
|
2393
|
+
};
|
|
2394
|
+
output: {
|
|
2395
|
+
type: "object";
|
|
2396
|
+
properties: {
|
|
2397
|
+
schema: {
|
|
2398
|
+
type: "object";
|
|
2399
|
+
additionalProperties: true;
|
|
2400
|
+
};
|
|
2401
|
+
};
|
|
2402
|
+
required: string[];
|
|
2403
|
+
additionalProperties: false;
|
|
2404
|
+
};
|
|
2405
|
+
};
|
|
2406
|
+
required: string[];
|
|
2407
|
+
description: string;
|
|
2408
|
+
additionalProperties: false;
|
|
2409
|
+
};
|
|
2410
|
+
description: string;
|
|
2411
|
+
};
|
|
2368
2412
|
configuration: {
|
|
2369
2413
|
type: "object";
|
|
2370
2414
|
properties: {
|
|
@@ -2670,6 +2714,50 @@ export declare const state: {
|
|
|
2670
2714
|
additionalProperties: false;
|
|
2671
2715
|
};
|
|
2672
2716
|
};
|
|
2717
|
+
actions: {
|
|
2718
|
+
type: "object";
|
|
2719
|
+
additionalProperties: {
|
|
2720
|
+
type: "object";
|
|
2721
|
+
properties: {
|
|
2722
|
+
title: {
|
|
2723
|
+
type: "string";
|
|
2724
|
+
maxLength: number;
|
|
2725
|
+
description: string;
|
|
2726
|
+
};
|
|
2727
|
+
description: {
|
|
2728
|
+
type: "string";
|
|
2729
|
+
maxLength: number;
|
|
2730
|
+
description: string;
|
|
2731
|
+
};
|
|
2732
|
+
input: {
|
|
2733
|
+
type: "object";
|
|
2734
|
+
properties: {
|
|
2735
|
+
schema: {
|
|
2736
|
+
type: "object";
|
|
2737
|
+
additionalProperties: true;
|
|
2738
|
+
};
|
|
2739
|
+
};
|
|
2740
|
+
required: string[];
|
|
2741
|
+
additionalProperties: false;
|
|
2742
|
+
};
|
|
2743
|
+
output: {
|
|
2744
|
+
type: "object";
|
|
2745
|
+
properties: {
|
|
2746
|
+
schema: {
|
|
2747
|
+
type: "object";
|
|
2748
|
+
additionalProperties: true;
|
|
2749
|
+
};
|
|
2750
|
+
};
|
|
2751
|
+
required: string[];
|
|
2752
|
+
additionalProperties: false;
|
|
2753
|
+
};
|
|
2754
|
+
};
|
|
2755
|
+
required: string[];
|
|
2756
|
+
description: string;
|
|
2757
|
+
nullable: true;
|
|
2758
|
+
additionalProperties: false;
|
|
2759
|
+
};
|
|
2760
|
+
};
|
|
2673
2761
|
states: {
|
|
2674
2762
|
type: "object";
|
|
2675
2763
|
additionalProperties: {
|
|
@@ -3580,6 +3668,42 @@ export declare const state: {
|
|
|
3580
3668
|
};
|
|
3581
3669
|
};
|
|
3582
3670
|
};
|
|
3671
|
+
getUpcomingInvoice: {
|
|
3672
|
+
name: string;
|
|
3673
|
+
description: string;
|
|
3674
|
+
method: "get";
|
|
3675
|
+
path: string;
|
|
3676
|
+
disableDefaultParameters: {
|
|
3677
|
+
"x-workspace-id": boolean;
|
|
3678
|
+
};
|
|
3679
|
+
parameters: {
|
|
3680
|
+
id: {
|
|
3681
|
+
type: "string";
|
|
3682
|
+
description: string;
|
|
3683
|
+
in: "path";
|
|
3684
|
+
};
|
|
3685
|
+
};
|
|
3686
|
+
section: "workspace";
|
|
3687
|
+
response: {
|
|
3688
|
+
description: string;
|
|
3689
|
+
schema: {
|
|
3690
|
+
type: "object";
|
|
3691
|
+
properties: {
|
|
3692
|
+
id: {
|
|
3693
|
+
type: "string";
|
|
3694
|
+
description: string;
|
|
3695
|
+
};
|
|
3696
|
+
total: {
|
|
3697
|
+
type: "number";
|
|
3698
|
+
description: string;
|
|
3699
|
+
};
|
|
3700
|
+
};
|
|
3701
|
+
required: string[];
|
|
3702
|
+
title: string;
|
|
3703
|
+
additionalProperties: false;
|
|
3704
|
+
};
|
|
3705
|
+
};
|
|
3706
|
+
};
|
|
3583
3707
|
chargeWorkspaceUnpaidInvoices: {
|
|
3584
3708
|
name: string;
|
|
3585
3709
|
description: string;
|
|
@@ -6129,46 +6253,121 @@ export declare const state: {
|
|
|
6129
6253
|
};
|
|
6130
6254
|
createFile: {
|
|
6131
6255
|
name: string;
|
|
6256
|
+
path: string;
|
|
6132
6257
|
description: string;
|
|
6133
6258
|
method: "post";
|
|
6134
|
-
path: string;
|
|
6135
|
-
section: "file";
|
|
6136
6259
|
requestBody: {
|
|
6137
6260
|
description: string;
|
|
6138
6261
|
schema: {
|
|
6139
6262
|
type: "object";
|
|
6140
6263
|
properties: {
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
format: string;
|
|
6144
|
-
description: string;
|
|
6145
|
-
};
|
|
6146
|
-
contents: {
|
|
6147
|
-
type: "string";
|
|
6148
|
-
description: string;
|
|
6149
|
-
};
|
|
6150
|
-
name: {
|
|
6151
|
-
type: "string";
|
|
6152
|
-
description: string;
|
|
6153
|
-
};
|
|
6154
|
-
accessType: {
|
|
6155
|
-
type: "string";
|
|
6156
|
-
enum: string[];
|
|
6157
|
-
description: string;
|
|
6264
|
+
data: {
|
|
6265
|
+
nullable: true;
|
|
6158
6266
|
};
|
|
6159
6267
|
};
|
|
6160
|
-
required: string[];
|
|
6161
6268
|
title: string;
|
|
6269
|
+
format: string;
|
|
6162
6270
|
additionalProperties: false;
|
|
6163
6271
|
};
|
|
6164
6272
|
};
|
|
6273
|
+
parameters: {
|
|
6274
|
+
"x-filename": {
|
|
6275
|
+
type: "string";
|
|
6276
|
+
description: string;
|
|
6277
|
+
in: "header";
|
|
6278
|
+
required: true;
|
|
6279
|
+
};
|
|
6280
|
+
"x-tags": {
|
|
6281
|
+
type: "string";
|
|
6282
|
+
description: string;
|
|
6283
|
+
in: "header";
|
|
6284
|
+
};
|
|
6285
|
+
"x-access-policies": {
|
|
6286
|
+
type: "string";
|
|
6287
|
+
description: string;
|
|
6288
|
+
in: "header";
|
|
6289
|
+
};
|
|
6290
|
+
"Content-Type": {
|
|
6291
|
+
type: "string";
|
|
6292
|
+
description: string;
|
|
6293
|
+
in: "header";
|
|
6294
|
+
};
|
|
6295
|
+
"Content-Length": {
|
|
6296
|
+
type: "string";
|
|
6297
|
+
description: string;
|
|
6298
|
+
in: "header";
|
|
6299
|
+
};
|
|
6300
|
+
"x-bot-id": {
|
|
6301
|
+
in: "header";
|
|
6302
|
+
description: string;
|
|
6303
|
+
type: "string";
|
|
6304
|
+
required: true;
|
|
6305
|
+
};
|
|
6306
|
+
"x-integration-id": {
|
|
6307
|
+
in: "header";
|
|
6308
|
+
description: string;
|
|
6309
|
+
type: "string";
|
|
6310
|
+
required: false;
|
|
6311
|
+
};
|
|
6312
|
+
"x-user-id": {
|
|
6313
|
+
in: "header";
|
|
6314
|
+
description: string;
|
|
6315
|
+
type: "string";
|
|
6316
|
+
required: false;
|
|
6317
|
+
};
|
|
6318
|
+
"x-user-role": {
|
|
6319
|
+
in: "header";
|
|
6320
|
+
description: string;
|
|
6321
|
+
type: "string";
|
|
6322
|
+
required: false;
|
|
6323
|
+
};
|
|
6324
|
+
};
|
|
6325
|
+
contentType: "*/*";
|
|
6326
|
+
section: "files";
|
|
6165
6327
|
response: {
|
|
6166
6328
|
description: string;
|
|
6167
6329
|
schema: {
|
|
6168
6330
|
type: "object";
|
|
6169
6331
|
properties: {
|
|
6170
6332
|
file: {
|
|
6171
|
-
|
|
6333
|
+
type: "object";
|
|
6334
|
+
properties: {
|
|
6335
|
+
id: {
|
|
6336
|
+
type: "string";
|
|
6337
|
+
};
|
|
6338
|
+
botId: {
|
|
6339
|
+
type: "string";
|
|
6340
|
+
};
|
|
6341
|
+
filename: {
|
|
6342
|
+
type: "string";
|
|
6343
|
+
};
|
|
6344
|
+
bytes: {
|
|
6345
|
+
type: "number";
|
|
6346
|
+
nullable: true;
|
|
6347
|
+
};
|
|
6348
|
+
tags: {
|
|
6349
|
+
type: "object";
|
|
6350
|
+
additionalProperties: {
|
|
6351
|
+
type: "string";
|
|
6352
|
+
maxLength: number;
|
|
6353
|
+
};
|
|
6354
|
+
description: string;
|
|
6355
|
+
};
|
|
6356
|
+
createdAt: {
|
|
6357
|
+
type: "string";
|
|
6358
|
+
};
|
|
6359
|
+
updatedAt: {
|
|
6360
|
+
type: "string";
|
|
6361
|
+
};
|
|
6362
|
+
accessPolicies: {
|
|
6363
|
+
type: "array";
|
|
6364
|
+
items: {
|
|
6365
|
+
type: "string";
|
|
6366
|
+
};
|
|
6367
|
+
};
|
|
6368
|
+
};
|
|
6369
|
+
required: string[];
|
|
6370
|
+
additionalProperties: false;
|
|
6172
6371
|
};
|
|
6173
6372
|
};
|
|
6174
6373
|
required: string[];
|
|
@@ -6176,118 +6375,366 @@ export declare const state: {
|
|
|
6176
6375
|
additionalProperties: false;
|
|
6177
6376
|
};
|
|
6178
6377
|
};
|
|
6179
|
-
parameters: {};
|
|
6180
6378
|
};
|
|
6181
|
-
|
|
6379
|
+
deleteFile: {
|
|
6182
6380
|
name: string;
|
|
6183
|
-
description: string;
|
|
6184
|
-
method: "get";
|
|
6185
6381
|
path: string;
|
|
6186
|
-
|
|
6382
|
+
description: string;
|
|
6383
|
+
method: "delete";
|
|
6384
|
+
section: "files";
|
|
6187
6385
|
parameters: {
|
|
6188
6386
|
id: {
|
|
6189
6387
|
type: "string";
|
|
6190
6388
|
description: string;
|
|
6191
6389
|
in: "path";
|
|
6192
6390
|
};
|
|
6391
|
+
"x-bot-id": {
|
|
6392
|
+
in: "header";
|
|
6393
|
+
description: string;
|
|
6394
|
+
type: "string";
|
|
6395
|
+
required: true;
|
|
6396
|
+
};
|
|
6397
|
+
"x-integration-id": {
|
|
6398
|
+
in: "header";
|
|
6399
|
+
description: string;
|
|
6400
|
+
type: "string";
|
|
6401
|
+
required: false;
|
|
6402
|
+
};
|
|
6403
|
+
"x-user-id": {
|
|
6404
|
+
in: "header";
|
|
6405
|
+
description: string;
|
|
6406
|
+
type: "string";
|
|
6407
|
+
required: false;
|
|
6408
|
+
};
|
|
6409
|
+
"x-user-role": {
|
|
6410
|
+
in: "header";
|
|
6411
|
+
description: string;
|
|
6412
|
+
type: "string";
|
|
6413
|
+
required: false;
|
|
6414
|
+
};
|
|
6193
6415
|
};
|
|
6194
6416
|
response: {
|
|
6195
6417
|
description: string;
|
|
6196
6418
|
schema: {
|
|
6197
6419
|
type: "object";
|
|
6198
|
-
properties: {
|
|
6199
|
-
file: {
|
|
6200
|
-
$ref: string;
|
|
6201
|
-
};
|
|
6202
|
-
};
|
|
6203
|
-
required: string[];
|
|
6204
6420
|
title: string;
|
|
6205
6421
|
additionalProperties: false;
|
|
6206
6422
|
};
|
|
6207
6423
|
};
|
|
6208
6424
|
};
|
|
6209
|
-
|
|
6425
|
+
listFiles: {
|
|
6210
6426
|
name: string;
|
|
6427
|
+
path: string;
|
|
6211
6428
|
description: string;
|
|
6212
6429
|
method: "get";
|
|
6213
|
-
|
|
6214
|
-
section: "file";
|
|
6430
|
+
section: "files";
|
|
6215
6431
|
parameters: {
|
|
6216
|
-
|
|
6432
|
+
nextToken: {
|
|
6433
|
+
in: "query";
|
|
6434
|
+
description: string;
|
|
6217
6435
|
type: "string";
|
|
6436
|
+
};
|
|
6437
|
+
"x-bot-id": {
|
|
6438
|
+
in: "header";
|
|
6218
6439
|
description: string;
|
|
6219
|
-
|
|
6440
|
+
type: "string";
|
|
6441
|
+
required: true;
|
|
6220
6442
|
};
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6443
|
+
"x-integration-id": {
|
|
6444
|
+
in: "header";
|
|
6445
|
+
description: string;
|
|
6446
|
+
type: "string";
|
|
6447
|
+
required: false;
|
|
6448
|
+
};
|
|
6449
|
+
"x-user-id": {
|
|
6450
|
+
in: "header";
|
|
6451
|
+
description: string;
|
|
6452
|
+
type: "string";
|
|
6453
|
+
required: false;
|
|
6454
|
+
};
|
|
6455
|
+
"x-user-role": {
|
|
6456
|
+
in: "header";
|
|
6457
|
+
description: string;
|
|
6458
|
+
type: "string";
|
|
6459
|
+
required: false;
|
|
6460
|
+
};
|
|
6461
|
+
botId: {
|
|
6462
|
+
type: "string";
|
|
6463
|
+
description: string;
|
|
6464
|
+
in: "path";
|
|
6465
|
+
};
|
|
6466
|
+
tags: {
|
|
6467
|
+
in: "query";
|
|
6468
|
+
type: "string";
|
|
6469
|
+
description: string;
|
|
6470
|
+
};
|
|
6471
|
+
};
|
|
6472
|
+
response: {
|
|
6473
|
+
description: string;
|
|
6474
|
+
schema: {
|
|
6475
|
+
type: "object";
|
|
6476
|
+
properties: {
|
|
6477
|
+
files: {
|
|
6478
|
+
type: "array";
|
|
6479
|
+
items: {
|
|
6480
|
+
type: "object";
|
|
6481
|
+
properties: {
|
|
6482
|
+
id: {
|
|
6483
|
+
type: "string";
|
|
6484
|
+
};
|
|
6485
|
+
botId: {
|
|
6486
|
+
type: "string";
|
|
6487
|
+
};
|
|
6488
|
+
filename: {
|
|
6489
|
+
type: "string";
|
|
6490
|
+
};
|
|
6491
|
+
bytes: {
|
|
6492
|
+
type: "number";
|
|
6493
|
+
nullable: true;
|
|
6494
|
+
};
|
|
6495
|
+
createdAt: {
|
|
6496
|
+
type: "string";
|
|
6497
|
+
};
|
|
6498
|
+
updatedAt: {
|
|
6499
|
+
type: "string";
|
|
6500
|
+
};
|
|
6501
|
+
accessPolicies: {
|
|
6502
|
+
type: "array";
|
|
6503
|
+
items: {
|
|
6504
|
+
type: "string";
|
|
6505
|
+
};
|
|
6506
|
+
};
|
|
6507
|
+
};
|
|
6508
|
+
required: string[];
|
|
6509
|
+
};
|
|
6510
|
+
};
|
|
6511
|
+
meta: {
|
|
6512
|
+
type: "object";
|
|
6513
|
+
properties: {
|
|
6514
|
+
nextToken: {
|
|
6515
|
+
type: "string";
|
|
6516
|
+
description: string;
|
|
6517
|
+
};
|
|
6518
|
+
};
|
|
6519
|
+
additionalProperties: false;
|
|
6520
|
+
};
|
|
6521
|
+
};
|
|
6522
|
+
required: string[];
|
|
6523
|
+
title: string;
|
|
6524
|
+
additionalProperties: false;
|
|
6227
6525
|
};
|
|
6228
6526
|
};
|
|
6229
6527
|
};
|
|
6230
|
-
|
|
6528
|
+
getFileMetadata: {
|
|
6231
6529
|
name: string;
|
|
6232
|
-
description: string;
|
|
6233
|
-
method: "delete";
|
|
6234
6530
|
path: string;
|
|
6235
|
-
|
|
6531
|
+
description: string;
|
|
6532
|
+
method: "get";
|
|
6533
|
+
section: "files";
|
|
6236
6534
|
parameters: {
|
|
6237
6535
|
id: {
|
|
6238
6536
|
type: "string";
|
|
6239
6537
|
description: string;
|
|
6240
6538
|
in: "path";
|
|
6241
6539
|
};
|
|
6540
|
+
"x-bot-id": {
|
|
6541
|
+
in: "header";
|
|
6542
|
+
description: string;
|
|
6543
|
+
type: "string";
|
|
6544
|
+
required: true;
|
|
6545
|
+
};
|
|
6546
|
+
"x-integration-id": {
|
|
6547
|
+
in: "header";
|
|
6548
|
+
description: string;
|
|
6549
|
+
type: "string";
|
|
6550
|
+
required: false;
|
|
6551
|
+
};
|
|
6552
|
+
"x-user-id": {
|
|
6553
|
+
in: "header";
|
|
6554
|
+
description: string;
|
|
6555
|
+
type: "string";
|
|
6556
|
+
required: false;
|
|
6557
|
+
};
|
|
6558
|
+
"x-user-role": {
|
|
6559
|
+
in: "header";
|
|
6560
|
+
description: string;
|
|
6561
|
+
type: "string";
|
|
6562
|
+
required: false;
|
|
6563
|
+
};
|
|
6242
6564
|
};
|
|
6243
6565
|
response: {
|
|
6244
6566
|
description: string;
|
|
6245
6567
|
schema: {
|
|
6246
6568
|
type: "object";
|
|
6569
|
+
properties: {
|
|
6570
|
+
file: {
|
|
6571
|
+
type: "object";
|
|
6572
|
+
properties: {
|
|
6573
|
+
id: {
|
|
6574
|
+
type: "string";
|
|
6575
|
+
};
|
|
6576
|
+
botId: {
|
|
6577
|
+
type: "string";
|
|
6578
|
+
};
|
|
6579
|
+
filename: {
|
|
6580
|
+
type: "string";
|
|
6581
|
+
};
|
|
6582
|
+
bytes: {
|
|
6583
|
+
type: "number";
|
|
6584
|
+
nullable: true;
|
|
6585
|
+
};
|
|
6586
|
+
tags: {
|
|
6587
|
+
type: "object";
|
|
6588
|
+
additionalProperties: {
|
|
6589
|
+
type: "string";
|
|
6590
|
+
maxLength: number;
|
|
6591
|
+
};
|
|
6592
|
+
description: string;
|
|
6593
|
+
};
|
|
6594
|
+
createdAt: {
|
|
6595
|
+
type: "string";
|
|
6596
|
+
};
|
|
6597
|
+
updatedAt: {
|
|
6598
|
+
type: "string";
|
|
6599
|
+
};
|
|
6600
|
+
accessPolicies: {
|
|
6601
|
+
type: "array";
|
|
6602
|
+
items: {
|
|
6603
|
+
type: "string";
|
|
6604
|
+
};
|
|
6605
|
+
};
|
|
6606
|
+
};
|
|
6607
|
+
required: string[];
|
|
6608
|
+
additionalProperties: false;
|
|
6609
|
+
};
|
|
6610
|
+
};
|
|
6611
|
+
required: string[];
|
|
6247
6612
|
title: string;
|
|
6248
6613
|
additionalProperties: false;
|
|
6249
6614
|
};
|
|
6250
6615
|
};
|
|
6251
6616
|
};
|
|
6252
|
-
|
|
6617
|
+
getFileContent: {
|
|
6253
6618
|
name: string;
|
|
6619
|
+
path: string;
|
|
6254
6620
|
description: string;
|
|
6255
6621
|
method: "get";
|
|
6256
|
-
|
|
6257
|
-
section: "file";
|
|
6622
|
+
section: "files";
|
|
6258
6623
|
parameters: {
|
|
6259
|
-
|
|
6260
|
-
|
|
6624
|
+
id: {
|
|
6625
|
+
type: "string";
|
|
6626
|
+
description: string;
|
|
6627
|
+
in: "path";
|
|
6628
|
+
};
|
|
6629
|
+
"x-bot-id": {
|
|
6630
|
+
in: "header";
|
|
6261
6631
|
description: string;
|
|
6262
6632
|
type: "string";
|
|
6633
|
+
required: true;
|
|
6263
6634
|
};
|
|
6264
|
-
|
|
6265
|
-
in: "
|
|
6635
|
+
"x-integration-id": {
|
|
6636
|
+
in: "header";
|
|
6637
|
+
description: string;
|
|
6638
|
+
type: "string";
|
|
6639
|
+
required: false;
|
|
6640
|
+
};
|
|
6641
|
+
"x-user-id": {
|
|
6642
|
+
in: "header";
|
|
6643
|
+
description: string;
|
|
6266
6644
|
type: "string";
|
|
6645
|
+
required: false;
|
|
6646
|
+
};
|
|
6647
|
+
"x-user-role": {
|
|
6648
|
+
in: "header";
|
|
6267
6649
|
description: string;
|
|
6268
|
-
|
|
6650
|
+
type: "string";
|
|
6651
|
+
required: false;
|
|
6269
6652
|
};
|
|
6270
6653
|
};
|
|
6271
6654
|
response: {
|
|
6272
6655
|
description: string;
|
|
6656
|
+
status: 302;
|
|
6273
6657
|
schema: {
|
|
6274
6658
|
type: "object";
|
|
6275
6659
|
properties: {
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6660
|
+
data: {
|
|
6661
|
+
nullable: true;
|
|
6662
|
+
};
|
|
6663
|
+
};
|
|
6664
|
+
title: string;
|
|
6665
|
+
format: string;
|
|
6666
|
+
additionalProperties: false;
|
|
6667
|
+
};
|
|
6668
|
+
};
|
|
6669
|
+
};
|
|
6670
|
+
updateFileMetadata: {
|
|
6671
|
+
name: string;
|
|
6672
|
+
path: string;
|
|
6673
|
+
description: string;
|
|
6674
|
+
method: "put";
|
|
6675
|
+
section: "files";
|
|
6676
|
+
parameters: {
|
|
6677
|
+
id: {
|
|
6678
|
+
type: "string";
|
|
6679
|
+
description: string;
|
|
6680
|
+
in: "path";
|
|
6681
|
+
};
|
|
6682
|
+
"x-bot-id": {
|
|
6683
|
+
in: "header";
|
|
6684
|
+
description: string;
|
|
6685
|
+
type: "string";
|
|
6686
|
+
required: true;
|
|
6687
|
+
};
|
|
6688
|
+
"x-integration-id": {
|
|
6689
|
+
in: "header";
|
|
6690
|
+
description: string;
|
|
6691
|
+
type: "string";
|
|
6692
|
+
required: false;
|
|
6693
|
+
};
|
|
6694
|
+
"x-user-id": {
|
|
6695
|
+
in: "header";
|
|
6696
|
+
description: string;
|
|
6697
|
+
type: "string";
|
|
6698
|
+
required: false;
|
|
6699
|
+
};
|
|
6700
|
+
"x-user-role": {
|
|
6701
|
+
in: "header";
|
|
6702
|
+
description: string;
|
|
6703
|
+
type: "string";
|
|
6704
|
+
required: false;
|
|
6705
|
+
};
|
|
6706
|
+
};
|
|
6707
|
+
requestBody: {
|
|
6708
|
+
description: string;
|
|
6709
|
+
schema: {
|
|
6710
|
+
type: "object";
|
|
6711
|
+
properties: {
|
|
6712
|
+
tags: {
|
|
6713
|
+
type: "object";
|
|
6714
|
+
additionalProperties: {
|
|
6715
|
+
type: "string";
|
|
6716
|
+
maxLength: number;
|
|
6280
6717
|
};
|
|
6718
|
+
description: string;
|
|
6281
6719
|
};
|
|
6282
|
-
|
|
6720
|
+
};
|
|
6721
|
+
required: string[];
|
|
6722
|
+
title: string;
|
|
6723
|
+
additionalProperties: false;
|
|
6724
|
+
};
|
|
6725
|
+
};
|
|
6726
|
+
response: {
|
|
6727
|
+
description: string;
|
|
6728
|
+
schema: {
|
|
6729
|
+
type: "object";
|
|
6730
|
+
properties: {
|
|
6731
|
+
tags: {
|
|
6283
6732
|
type: "object";
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
description: string;
|
|
6288
|
-
};
|
|
6733
|
+
additionalProperties: {
|
|
6734
|
+
type: "string";
|
|
6735
|
+
maxLength: number;
|
|
6289
6736
|
};
|
|
6290
|
-
|
|
6737
|
+
description: string;
|
|
6291
6738
|
};
|
|
6292
6739
|
};
|
|
6293
6740
|
required: string[];
|
|
@@ -7048,6 +7495,7 @@ export declare const state: {
|
|
|
7048
7495
|
changeAISpendQuotaBody: true;
|
|
7049
7496
|
introspectBody: true;
|
|
7050
7497
|
createFileBody: true;
|
|
7498
|
+
updateFileMetadataBody: true;
|
|
7051
7499
|
createTableBody: true;
|
|
7052
7500
|
updateTableBody: true;
|
|
7053
7501
|
renameTableColumnBody: true;
|
|
@@ -7120,6 +7568,7 @@ export declare const state: {
|
|
|
7120
7568
|
getWorkspaceBillingDetailsResponse: true;
|
|
7121
7569
|
setWorkspacePaymentMethodResponse: true;
|
|
7122
7570
|
listWorkspaceInvoicesResponse: true;
|
|
7571
|
+
getUpcomingInvoiceResponse: true;
|
|
7123
7572
|
chargeWorkspaceUnpaidInvoicesResponse: true;
|
|
7124
7573
|
createWorkspaceResponse: true;
|
|
7125
7574
|
getPublicWorkspaceResponse: true;
|
|
@@ -7152,10 +7601,11 @@ export declare const state: {
|
|
|
7152
7601
|
listActivitiesResponse: true;
|
|
7153
7602
|
introspectResponse: true;
|
|
7154
7603
|
createFileResponse: true;
|
|
7155
|
-
getFileResponse: true;
|
|
7156
|
-
downloadFileResponse: true;
|
|
7157
7604
|
deleteFileResponse: true;
|
|
7158
7605
|
listFilesResponse: true;
|
|
7606
|
+
getFileMetadataResponse: true;
|
|
7607
|
+
getFileContentResponse: true;
|
|
7608
|
+
updateFileMetadataResponse: true;
|
|
7159
7609
|
listTablesResponse: true;
|
|
7160
7610
|
getTableResponse: true;
|
|
7161
7611
|
createTableResponse: true;
|
|
@@ -7185,10 +7635,10 @@ export declare const state: {
|
|
|
7185
7635
|
Message: true;
|
|
7186
7636
|
State: true;
|
|
7187
7637
|
Task: true;
|
|
7188
|
-
File: true;
|
|
7189
7638
|
Table: true;
|
|
7190
7639
|
Column: true;
|
|
7191
7640
|
Row: true;
|
|
7641
|
+
File: true;
|
|
7192
7642
|
};
|
|
7193
7643
|
};
|
|
7194
7644
|
schemas: {
|
|
@@ -7517,6 +7967,50 @@ export declare const state: {
|
|
|
7517
7967
|
description: string;
|
|
7518
7968
|
additionalProperties: false;
|
|
7519
7969
|
};
|
|
7970
|
+
actions: {
|
|
7971
|
+
type: "object";
|
|
7972
|
+
additionalProperties: {
|
|
7973
|
+
type: "object";
|
|
7974
|
+
properties: {
|
|
7975
|
+
title: {
|
|
7976
|
+
type: "string";
|
|
7977
|
+
maxLength: number;
|
|
7978
|
+
description: string;
|
|
7979
|
+
};
|
|
7980
|
+
description: {
|
|
7981
|
+
type: "string";
|
|
7982
|
+
maxLength: number;
|
|
7983
|
+
description: string;
|
|
7984
|
+
};
|
|
7985
|
+
input: {
|
|
7986
|
+
type: "object";
|
|
7987
|
+
properties: {
|
|
7988
|
+
schema: {
|
|
7989
|
+
type: "object";
|
|
7990
|
+
additionalProperties: true;
|
|
7991
|
+
};
|
|
7992
|
+
};
|
|
7993
|
+
required: string[];
|
|
7994
|
+
additionalProperties: false;
|
|
7995
|
+
};
|
|
7996
|
+
output: {
|
|
7997
|
+
type: "object";
|
|
7998
|
+
properties: {
|
|
7999
|
+
schema: {
|
|
8000
|
+
type: "object";
|
|
8001
|
+
additionalProperties: true;
|
|
8002
|
+
};
|
|
8003
|
+
};
|
|
8004
|
+
required: string[];
|
|
8005
|
+
additionalProperties: false;
|
|
8006
|
+
};
|
|
8007
|
+
};
|
|
8008
|
+
required: string[];
|
|
8009
|
+
description: string;
|
|
8010
|
+
additionalProperties: false;
|
|
8011
|
+
};
|
|
8012
|
+
description: string;
|
|
8013
|
+
};
|
|
7520
8014
|
name: {
|
|
7521
8015
|
type: "string";
|
|
7522
8016
|
description: string;
|
|
@@ -8587,46 +9081,6 @@ export declare const state: {
|
|
|
8587
9081
|
additionalProperties: false;
|
|
8588
9082
|
};
|
|
8589
9083
|
};
|
|
8590
|
-
File: {
|
|
8591
|
-
section: "file";
|
|
8592
|
-
schema: {
|
|
8593
|
-
type: "object";
|
|
8594
|
-
properties: {
|
|
8595
|
-
botId: {
|
|
8596
|
-
type: "string";
|
|
8597
|
-
format: string;
|
|
8598
|
-
description: string;
|
|
8599
|
-
};
|
|
8600
|
-
name: {
|
|
8601
|
-
type: "string";
|
|
8602
|
-
description: string;
|
|
8603
|
-
};
|
|
8604
|
-
accessType: {
|
|
8605
|
-
type: "string";
|
|
8606
|
-
enum: string[];
|
|
8607
|
-
description: string;
|
|
8608
|
-
};
|
|
8609
|
-
id: {
|
|
8610
|
-
type: "string";
|
|
8611
|
-
description: string;
|
|
8612
|
-
};
|
|
8613
|
-
createdAt: {
|
|
8614
|
-
type: "string";
|
|
8615
|
-
description: string;
|
|
8616
|
-
};
|
|
8617
|
-
size: {
|
|
8618
|
-
type: "number";
|
|
8619
|
-
description: string;
|
|
8620
|
-
};
|
|
8621
|
-
publicUrl: {
|
|
8622
|
-
type: "string";
|
|
8623
|
-
description: string;
|
|
8624
|
-
};
|
|
8625
|
-
};
|
|
8626
|
-
required: string[];
|
|
8627
|
-
additionalProperties: false;
|
|
8628
|
-
};
|
|
8629
|
-
};
|
|
8630
9084
|
Table: {
|
|
8631
9085
|
section: "tables";
|
|
8632
9086
|
schema: {
|
|
@@ -8813,6 +9267,49 @@ export declare const state: {
|
|
|
8813
9267
|
additionalProperties: true;
|
|
8814
9268
|
};
|
|
8815
9269
|
};
|
|
9270
|
+
File: {
|
|
9271
|
+
section: "files";
|
|
9272
|
+
schema: {
|
|
9273
|
+
type: "object";
|
|
9274
|
+
properties: {
|
|
9275
|
+
id: {
|
|
9276
|
+
type: "string";
|
|
9277
|
+
};
|
|
9278
|
+
botId: {
|
|
9279
|
+
type: "string";
|
|
9280
|
+
};
|
|
9281
|
+
filename: {
|
|
9282
|
+
type: "string";
|
|
9283
|
+
};
|
|
9284
|
+
bytes: {
|
|
9285
|
+
type: "number";
|
|
9286
|
+
nullable: true;
|
|
9287
|
+
};
|
|
9288
|
+
tags: {
|
|
9289
|
+
type: "object";
|
|
9290
|
+
additionalProperties: {
|
|
9291
|
+
type: "string";
|
|
9292
|
+
maxLength: number;
|
|
9293
|
+
};
|
|
9294
|
+
description: string;
|
|
9295
|
+
};
|
|
9296
|
+
createdAt: {
|
|
9297
|
+
type: "string";
|
|
9298
|
+
};
|
|
9299
|
+
updatedAt: {
|
|
9300
|
+
type: "string";
|
|
9301
|
+
};
|
|
9302
|
+
accessPolicies: {
|
|
9303
|
+
type: "array";
|
|
9304
|
+
items: {
|
|
9305
|
+
type: "string";
|
|
9306
|
+
};
|
|
9307
|
+
};
|
|
9308
|
+
};
|
|
9309
|
+
required: string[];
|
|
9310
|
+
additionalProperties: false;
|
|
9311
|
+
};
|
|
9312
|
+
};
|
|
8816
9313
|
};
|
|
8817
9314
|
sections: ({
|
|
8818
9315
|
description: string;
|
|
@@ -8842,8 +9339,8 @@ export declare const state: {
|
|
|
8842
9339
|
description: string;
|
|
8843
9340
|
title: string;
|
|
8844
9341
|
name: "file";
|
|
8845
|
-
operations:
|
|
8846
|
-
schema
|
|
9342
|
+
operations: never[];
|
|
9343
|
+
schema?: undefined;
|
|
8847
9344
|
} | {
|
|
8848
9345
|
description: string;
|
|
8849
9346
|
title: string;
|
|
@@ -8928,6 +9425,12 @@ export declare const state: {
|
|
|
8928
9425
|
name: "tables";
|
|
8929
9426
|
operations: string[];
|
|
8930
9427
|
schema: string;
|
|
9428
|
+
} | {
|
|
9429
|
+
title: string;
|
|
9430
|
+
description: string;
|
|
9431
|
+
name: "files";
|
|
9432
|
+
operations: string[];
|
|
9433
|
+
schema: string;
|
|
8931
9434
|
})[];
|
|
8932
9435
|
options: {
|
|
8933
9436
|
allowUnions: false;
|