@botpress/api 0.31.0 → 0.32.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/dist/index.js +699 -41
- package/dist/src/gen/state.d.ts +671 -92
- package/dist/src/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +700 -42
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' | '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'>;
|
|
2
|
+
export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | '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' | 'interface' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
|
|
3
3
|
export declare const state: {
|
|
4
4
|
operations: {
|
|
5
5
|
createConversation: {
|
|
@@ -3942,6 +3942,18 @@ export declare const state: {
|
|
|
3942
3942
|
description: string;
|
|
3943
3943
|
type: "string";
|
|
3944
3944
|
};
|
|
3945
|
+
sortField: {
|
|
3946
|
+
in: "query";
|
|
3947
|
+
description: string;
|
|
3948
|
+
type: "string";
|
|
3949
|
+
enum: string[];
|
|
3950
|
+
};
|
|
3951
|
+
sortDirection: {
|
|
3952
|
+
in: "query";
|
|
3953
|
+
description: string;
|
|
3954
|
+
type: "string";
|
|
3955
|
+
enum: string[];
|
|
3956
|
+
};
|
|
3945
3957
|
};
|
|
3946
3958
|
section: "bot";
|
|
3947
3959
|
response: {
|
|
@@ -7174,63 +7186,517 @@ export declare const state: {
|
|
|
7174
7186
|
};
|
|
7175
7187
|
};
|
|
7176
7188
|
};
|
|
7177
|
-
getIntegration: {
|
|
7189
|
+
getIntegration: {
|
|
7190
|
+
name: string;
|
|
7191
|
+
description: string;
|
|
7192
|
+
method: "get";
|
|
7193
|
+
section: "integration";
|
|
7194
|
+
path: string;
|
|
7195
|
+
parameters: {
|
|
7196
|
+
id: {
|
|
7197
|
+
type: "string";
|
|
7198
|
+
description: string;
|
|
7199
|
+
in: "path";
|
|
7200
|
+
};
|
|
7201
|
+
};
|
|
7202
|
+
response: {
|
|
7203
|
+
description: string;
|
|
7204
|
+
schema: {
|
|
7205
|
+
type: "object";
|
|
7206
|
+
properties: {
|
|
7207
|
+
integration: {
|
|
7208
|
+
$ref: string;
|
|
7209
|
+
};
|
|
7210
|
+
};
|
|
7211
|
+
required: string[];
|
|
7212
|
+
title: string;
|
|
7213
|
+
additionalProperties: false;
|
|
7214
|
+
};
|
|
7215
|
+
};
|
|
7216
|
+
};
|
|
7217
|
+
getIntegrationLogs: {
|
|
7218
|
+
name: string;
|
|
7219
|
+
description: string;
|
|
7220
|
+
method: "get";
|
|
7221
|
+
section: "integration";
|
|
7222
|
+
path: string;
|
|
7223
|
+
parameters: {
|
|
7224
|
+
id: {
|
|
7225
|
+
type: "string";
|
|
7226
|
+
description: string;
|
|
7227
|
+
in: "path";
|
|
7228
|
+
};
|
|
7229
|
+
timeStart: {
|
|
7230
|
+
in: "query";
|
|
7231
|
+
description: string;
|
|
7232
|
+
type: "string";
|
|
7233
|
+
required: true;
|
|
7234
|
+
};
|
|
7235
|
+
timeEnd: {
|
|
7236
|
+
in: "query";
|
|
7237
|
+
description: string;
|
|
7238
|
+
type: "string";
|
|
7239
|
+
required: true;
|
|
7240
|
+
};
|
|
7241
|
+
nextToken: {
|
|
7242
|
+
in: "query";
|
|
7243
|
+
description: string;
|
|
7244
|
+
type: "string";
|
|
7245
|
+
required: false;
|
|
7246
|
+
};
|
|
7247
|
+
};
|
|
7248
|
+
response: {
|
|
7249
|
+
description: string;
|
|
7250
|
+
schema: {
|
|
7251
|
+
type: "object";
|
|
7252
|
+
properties: {
|
|
7253
|
+
logs: {
|
|
7254
|
+
type: "array";
|
|
7255
|
+
items: {
|
|
7256
|
+
type: "object";
|
|
7257
|
+
properties: {
|
|
7258
|
+
timestamp: {
|
|
7259
|
+
type: "string";
|
|
7260
|
+
};
|
|
7261
|
+
level: {
|
|
7262
|
+
type: "string";
|
|
7263
|
+
};
|
|
7264
|
+
message: {
|
|
7265
|
+
type: "string";
|
|
7266
|
+
};
|
|
7267
|
+
};
|
|
7268
|
+
required: string[];
|
|
7269
|
+
};
|
|
7270
|
+
};
|
|
7271
|
+
nextToken: {
|
|
7272
|
+
type: "string";
|
|
7273
|
+
};
|
|
7274
|
+
};
|
|
7275
|
+
required: string[];
|
|
7276
|
+
title: string;
|
|
7277
|
+
additionalProperties: false;
|
|
7278
|
+
};
|
|
7279
|
+
};
|
|
7280
|
+
};
|
|
7281
|
+
getIntegrationByName: {
|
|
7282
|
+
name: string;
|
|
7283
|
+
description: string;
|
|
7284
|
+
method: "get";
|
|
7285
|
+
section: "integration";
|
|
7286
|
+
path: string;
|
|
7287
|
+
parameters: {
|
|
7288
|
+
name: {
|
|
7289
|
+
type: "string";
|
|
7290
|
+
description: string;
|
|
7291
|
+
in: "path";
|
|
7292
|
+
};
|
|
7293
|
+
version: {
|
|
7294
|
+
type: "string";
|
|
7295
|
+
description: string;
|
|
7296
|
+
in: "path";
|
|
7297
|
+
};
|
|
7298
|
+
};
|
|
7299
|
+
response: {
|
|
7300
|
+
description: string;
|
|
7301
|
+
schema: {
|
|
7302
|
+
type: "object";
|
|
7303
|
+
properties: {
|
|
7304
|
+
integration: {
|
|
7305
|
+
$ref: string;
|
|
7306
|
+
};
|
|
7307
|
+
};
|
|
7308
|
+
required: string[];
|
|
7309
|
+
title: string;
|
|
7310
|
+
additionalProperties: false;
|
|
7311
|
+
};
|
|
7312
|
+
};
|
|
7313
|
+
};
|
|
7314
|
+
deleteIntegration: {
|
|
7315
|
+
name: string;
|
|
7316
|
+
description: string;
|
|
7317
|
+
method: "delete";
|
|
7318
|
+
section: "integration";
|
|
7319
|
+
path: string;
|
|
7320
|
+
parameters: {
|
|
7321
|
+
id: {
|
|
7322
|
+
type: "string";
|
|
7323
|
+
description: string;
|
|
7324
|
+
in: "path";
|
|
7325
|
+
};
|
|
7326
|
+
};
|
|
7327
|
+
response: {
|
|
7328
|
+
description: string;
|
|
7329
|
+
schema: {
|
|
7330
|
+
type: "object";
|
|
7331
|
+
title: string;
|
|
7332
|
+
additionalProperties: false;
|
|
7333
|
+
};
|
|
7334
|
+
};
|
|
7335
|
+
};
|
|
7336
|
+
createInterface: {
|
|
7337
|
+
name: string;
|
|
7338
|
+
description: string;
|
|
7339
|
+
method: "post";
|
|
7340
|
+
path: string;
|
|
7341
|
+
parameters: {};
|
|
7342
|
+
requestBody: {
|
|
7343
|
+
description: string;
|
|
7344
|
+
schema: {
|
|
7345
|
+
type: "object";
|
|
7346
|
+
properties: {
|
|
7347
|
+
name: {
|
|
7348
|
+
type: "string";
|
|
7349
|
+
maxLength: number;
|
|
7350
|
+
description: string;
|
|
7351
|
+
};
|
|
7352
|
+
version: {
|
|
7353
|
+
type: "string";
|
|
7354
|
+
maxLength: number;
|
|
7355
|
+
description: string;
|
|
7356
|
+
};
|
|
7357
|
+
events: {
|
|
7358
|
+
type: "object";
|
|
7359
|
+
additionalProperties: {
|
|
7360
|
+
type: "object";
|
|
7361
|
+
properties: {
|
|
7362
|
+
title: {
|
|
7363
|
+
type: "string";
|
|
7364
|
+
maxLength: number;
|
|
7365
|
+
description: string;
|
|
7366
|
+
};
|
|
7367
|
+
description: {
|
|
7368
|
+
type: "string";
|
|
7369
|
+
maxLength: number;
|
|
7370
|
+
description: string;
|
|
7371
|
+
};
|
|
7372
|
+
schema: {
|
|
7373
|
+
type: "object";
|
|
7374
|
+
additionalProperties: true;
|
|
7375
|
+
};
|
|
7376
|
+
};
|
|
7377
|
+
required: string[];
|
|
7378
|
+
description: string;
|
|
7379
|
+
additionalProperties: false;
|
|
7380
|
+
};
|
|
7381
|
+
};
|
|
7382
|
+
actions: {
|
|
7383
|
+
type: "object";
|
|
7384
|
+
additionalProperties: {
|
|
7385
|
+
type: "object";
|
|
7386
|
+
properties: {
|
|
7387
|
+
title: {
|
|
7388
|
+
type: "string";
|
|
7389
|
+
maxLength: number;
|
|
7390
|
+
description: string;
|
|
7391
|
+
};
|
|
7392
|
+
description: {
|
|
7393
|
+
type: "string";
|
|
7394
|
+
maxLength: number;
|
|
7395
|
+
description: string;
|
|
7396
|
+
};
|
|
7397
|
+
input: {
|
|
7398
|
+
type: "object";
|
|
7399
|
+
properties: {
|
|
7400
|
+
schema: {
|
|
7401
|
+
type: "object";
|
|
7402
|
+
additionalProperties: true;
|
|
7403
|
+
};
|
|
7404
|
+
};
|
|
7405
|
+
required: string[];
|
|
7406
|
+
additionalProperties: false;
|
|
7407
|
+
};
|
|
7408
|
+
output: {
|
|
7409
|
+
type: "object";
|
|
7410
|
+
properties: {
|
|
7411
|
+
schema: {
|
|
7412
|
+
type: "object";
|
|
7413
|
+
additionalProperties: true;
|
|
7414
|
+
};
|
|
7415
|
+
};
|
|
7416
|
+
required: string[];
|
|
7417
|
+
additionalProperties: false;
|
|
7418
|
+
};
|
|
7419
|
+
};
|
|
7420
|
+
required: string[];
|
|
7421
|
+
description: string;
|
|
7422
|
+
additionalProperties: false;
|
|
7423
|
+
};
|
|
7424
|
+
};
|
|
7425
|
+
entities: {
|
|
7426
|
+
type: "object";
|
|
7427
|
+
additionalProperties: {
|
|
7428
|
+
type: "object";
|
|
7429
|
+
properties: {
|
|
7430
|
+
title: {
|
|
7431
|
+
type: "string";
|
|
7432
|
+
maxLength: number;
|
|
7433
|
+
description: string;
|
|
7434
|
+
};
|
|
7435
|
+
description: {
|
|
7436
|
+
type: "string";
|
|
7437
|
+
maxLength: number;
|
|
7438
|
+
description: string;
|
|
7439
|
+
};
|
|
7440
|
+
schema: {
|
|
7441
|
+
type: "object";
|
|
7442
|
+
additionalProperties: true;
|
|
7443
|
+
};
|
|
7444
|
+
};
|
|
7445
|
+
required: string[];
|
|
7446
|
+
description: string;
|
|
7447
|
+
additionalProperties: false;
|
|
7448
|
+
};
|
|
7449
|
+
};
|
|
7450
|
+
};
|
|
7451
|
+
required: string[];
|
|
7452
|
+
title: string;
|
|
7453
|
+
additionalProperties: false;
|
|
7454
|
+
};
|
|
7455
|
+
};
|
|
7456
|
+
section: "interface";
|
|
7457
|
+
response: {
|
|
7458
|
+
description: string;
|
|
7459
|
+
schema: {
|
|
7460
|
+
type: "object";
|
|
7461
|
+
properties: {
|
|
7462
|
+
interface: {
|
|
7463
|
+
$ref: string;
|
|
7464
|
+
};
|
|
7465
|
+
};
|
|
7466
|
+
required: string[];
|
|
7467
|
+
title: string;
|
|
7468
|
+
additionalProperties: false;
|
|
7469
|
+
};
|
|
7470
|
+
};
|
|
7471
|
+
};
|
|
7472
|
+
getInterface: {
|
|
7473
|
+
name: string;
|
|
7474
|
+
description: string;
|
|
7475
|
+
method: "get";
|
|
7476
|
+
path: string;
|
|
7477
|
+
parameters: {
|
|
7478
|
+
id: {
|
|
7479
|
+
in: "path";
|
|
7480
|
+
type: "string";
|
|
7481
|
+
description: string;
|
|
7482
|
+
};
|
|
7483
|
+
};
|
|
7484
|
+
section: "interface";
|
|
7485
|
+
response: {
|
|
7486
|
+
description: string;
|
|
7487
|
+
schema: {
|
|
7488
|
+
type: "object";
|
|
7489
|
+
properties: {
|
|
7490
|
+
interface: {
|
|
7491
|
+
$ref: string;
|
|
7492
|
+
};
|
|
7493
|
+
};
|
|
7494
|
+
required: string[];
|
|
7495
|
+
title: string;
|
|
7496
|
+
additionalProperties: false;
|
|
7497
|
+
};
|
|
7498
|
+
};
|
|
7499
|
+
};
|
|
7500
|
+
getInterfaceByName: {
|
|
7501
|
+
name: string;
|
|
7502
|
+
description: string;
|
|
7503
|
+
method: "get";
|
|
7504
|
+
path: string;
|
|
7505
|
+
parameters: {
|
|
7506
|
+
name: {
|
|
7507
|
+
in: "path";
|
|
7508
|
+
type: "string";
|
|
7509
|
+
description: string;
|
|
7510
|
+
};
|
|
7511
|
+
version: {
|
|
7512
|
+
in: "path";
|
|
7513
|
+
type: "string";
|
|
7514
|
+
description: string;
|
|
7515
|
+
};
|
|
7516
|
+
};
|
|
7517
|
+
section: "interface";
|
|
7518
|
+
response: {
|
|
7519
|
+
description: string;
|
|
7520
|
+
schema: {
|
|
7521
|
+
type: "object";
|
|
7522
|
+
properties: {
|
|
7523
|
+
interface: {
|
|
7524
|
+
$ref: string;
|
|
7525
|
+
};
|
|
7526
|
+
};
|
|
7527
|
+
required: string[];
|
|
7528
|
+
title: string;
|
|
7529
|
+
additionalProperties: false;
|
|
7530
|
+
};
|
|
7531
|
+
};
|
|
7532
|
+
};
|
|
7533
|
+
updateInterface: {
|
|
7534
|
+
name: string;
|
|
7535
|
+
description: string;
|
|
7536
|
+
method: "put";
|
|
7537
|
+
path: string;
|
|
7538
|
+
parameters: {
|
|
7539
|
+
id: {
|
|
7540
|
+
in: "path";
|
|
7541
|
+
type: "string";
|
|
7542
|
+
description: string;
|
|
7543
|
+
};
|
|
7544
|
+
};
|
|
7545
|
+
requestBody: {
|
|
7546
|
+
description: string;
|
|
7547
|
+
schema: {
|
|
7548
|
+
type: "object";
|
|
7549
|
+
properties: {
|
|
7550
|
+
events: {
|
|
7551
|
+
type: "object";
|
|
7552
|
+
additionalProperties: {
|
|
7553
|
+
type: "object";
|
|
7554
|
+
properties: {
|
|
7555
|
+
title: {
|
|
7556
|
+
type: "string";
|
|
7557
|
+
maxLength: number;
|
|
7558
|
+
description: string;
|
|
7559
|
+
};
|
|
7560
|
+
description: {
|
|
7561
|
+
type: "string";
|
|
7562
|
+
maxLength: number;
|
|
7563
|
+
description: string;
|
|
7564
|
+
};
|
|
7565
|
+
schema: {
|
|
7566
|
+
type: "object";
|
|
7567
|
+
additionalProperties: true;
|
|
7568
|
+
};
|
|
7569
|
+
};
|
|
7570
|
+
required: string[];
|
|
7571
|
+
description: string;
|
|
7572
|
+
nullable: true;
|
|
7573
|
+
additionalProperties: false;
|
|
7574
|
+
};
|
|
7575
|
+
};
|
|
7576
|
+
actions: {
|
|
7577
|
+
type: "object";
|
|
7578
|
+
additionalProperties: {
|
|
7579
|
+
type: "object";
|
|
7580
|
+
properties: {
|
|
7581
|
+
title: {
|
|
7582
|
+
type: "string";
|
|
7583
|
+
maxLength: number;
|
|
7584
|
+
description: string;
|
|
7585
|
+
};
|
|
7586
|
+
description: {
|
|
7587
|
+
type: "string";
|
|
7588
|
+
maxLength: number;
|
|
7589
|
+
description: string;
|
|
7590
|
+
};
|
|
7591
|
+
input: {
|
|
7592
|
+
type: "object";
|
|
7593
|
+
properties: {
|
|
7594
|
+
schema: {
|
|
7595
|
+
type: "object";
|
|
7596
|
+
additionalProperties: true;
|
|
7597
|
+
};
|
|
7598
|
+
};
|
|
7599
|
+
required: string[];
|
|
7600
|
+
additionalProperties: false;
|
|
7601
|
+
};
|
|
7602
|
+
output: {
|
|
7603
|
+
type: "object";
|
|
7604
|
+
properties: {
|
|
7605
|
+
schema: {
|
|
7606
|
+
type: "object";
|
|
7607
|
+
additionalProperties: true;
|
|
7608
|
+
};
|
|
7609
|
+
};
|
|
7610
|
+
required: string[];
|
|
7611
|
+
additionalProperties: false;
|
|
7612
|
+
};
|
|
7613
|
+
};
|
|
7614
|
+
required: string[];
|
|
7615
|
+
description: string;
|
|
7616
|
+
nullable: true;
|
|
7617
|
+
additionalProperties: false;
|
|
7618
|
+
};
|
|
7619
|
+
};
|
|
7620
|
+
entities: {
|
|
7621
|
+
type: "object";
|
|
7622
|
+
additionalProperties: {
|
|
7623
|
+
type: "object";
|
|
7624
|
+
properties: {
|
|
7625
|
+
title: {
|
|
7626
|
+
type: "string";
|
|
7627
|
+
maxLength: number;
|
|
7628
|
+
description: string;
|
|
7629
|
+
};
|
|
7630
|
+
description: {
|
|
7631
|
+
type: "string";
|
|
7632
|
+
maxLength: number;
|
|
7633
|
+
description: string;
|
|
7634
|
+
};
|
|
7635
|
+
schema: {
|
|
7636
|
+
type: "object";
|
|
7637
|
+
additionalProperties: true;
|
|
7638
|
+
};
|
|
7639
|
+
};
|
|
7640
|
+
required: string[];
|
|
7641
|
+
description: string;
|
|
7642
|
+
nullable: true;
|
|
7643
|
+
additionalProperties: false;
|
|
7644
|
+
};
|
|
7645
|
+
};
|
|
7646
|
+
};
|
|
7647
|
+
title: string;
|
|
7648
|
+
additionalProperties: false;
|
|
7649
|
+
};
|
|
7650
|
+
};
|
|
7651
|
+
section: "interface";
|
|
7652
|
+
response: {
|
|
7653
|
+
description: string;
|
|
7654
|
+
schema: {
|
|
7655
|
+
type: "object";
|
|
7656
|
+
properties: {
|
|
7657
|
+
interface: {
|
|
7658
|
+
$ref: string;
|
|
7659
|
+
};
|
|
7660
|
+
};
|
|
7661
|
+
required: string[];
|
|
7662
|
+
title: string;
|
|
7663
|
+
additionalProperties: false;
|
|
7664
|
+
};
|
|
7665
|
+
};
|
|
7666
|
+
};
|
|
7667
|
+
deleteInterface: {
|
|
7178
7668
|
name: string;
|
|
7179
7669
|
description: string;
|
|
7180
|
-
method: "
|
|
7181
|
-
section: "integration";
|
|
7670
|
+
method: "delete";
|
|
7182
7671
|
path: string;
|
|
7183
7672
|
parameters: {
|
|
7184
7673
|
id: {
|
|
7674
|
+
in: "path";
|
|
7185
7675
|
type: "string";
|
|
7186
7676
|
description: string;
|
|
7187
|
-
in: "path";
|
|
7188
7677
|
};
|
|
7189
7678
|
};
|
|
7679
|
+
section: "interface";
|
|
7190
7680
|
response: {
|
|
7191
7681
|
description: string;
|
|
7192
7682
|
schema: {
|
|
7193
7683
|
type: "object";
|
|
7194
|
-
properties: {
|
|
7195
|
-
integration: {
|
|
7196
|
-
$ref: string;
|
|
7197
|
-
};
|
|
7198
|
-
};
|
|
7199
|
-
required: string[];
|
|
7200
7684
|
title: string;
|
|
7201
7685
|
additionalProperties: false;
|
|
7202
7686
|
};
|
|
7203
7687
|
};
|
|
7204
7688
|
};
|
|
7205
|
-
|
|
7689
|
+
listInterfaces: {
|
|
7206
7690
|
name: string;
|
|
7207
7691
|
description: string;
|
|
7208
7692
|
method: "get";
|
|
7209
|
-
section: "integration";
|
|
7210
7693
|
path: string;
|
|
7694
|
+
section: "interface";
|
|
7211
7695
|
parameters: {
|
|
7212
|
-
id: {
|
|
7213
|
-
type: "string";
|
|
7214
|
-
description: string;
|
|
7215
|
-
in: "path";
|
|
7216
|
-
};
|
|
7217
|
-
timeStart: {
|
|
7218
|
-
in: "query";
|
|
7219
|
-
description: string;
|
|
7220
|
-
type: "string";
|
|
7221
|
-
required: true;
|
|
7222
|
-
};
|
|
7223
|
-
timeEnd: {
|
|
7224
|
-
in: "query";
|
|
7225
|
-
description: string;
|
|
7226
|
-
type: "string";
|
|
7227
|
-
required: true;
|
|
7228
|
-
};
|
|
7229
7696
|
nextToken: {
|
|
7230
7697
|
in: "query";
|
|
7231
7698
|
description: string;
|
|
7232
7699
|
type: "string";
|
|
7233
|
-
required: false;
|
|
7234
7700
|
};
|
|
7235
7701
|
};
|
|
7236
7702
|
response: {
|
|
@@ -7238,59 +7704,50 @@ export declare const state: {
|
|
|
7238
7704
|
schema: {
|
|
7239
7705
|
type: "object";
|
|
7240
7706
|
properties: {
|
|
7241
|
-
|
|
7707
|
+
interfaces: {
|
|
7242
7708
|
type: "array";
|
|
7243
7709
|
items: {
|
|
7244
7710
|
type: "object";
|
|
7245
7711
|
properties: {
|
|
7246
|
-
|
|
7712
|
+
id: {
|
|
7247
7713
|
type: "string";
|
|
7714
|
+
minLength: number;
|
|
7715
|
+
maxLength: number;
|
|
7716
|
+
description: string;
|
|
7248
7717
|
};
|
|
7249
|
-
|
|
7718
|
+
createdAt: {
|
|
7250
7719
|
type: "string";
|
|
7720
|
+
format: string;
|
|
7721
|
+
description: string;
|
|
7251
7722
|
};
|
|
7252
|
-
|
|
7723
|
+
updatedAt: {
|
|
7724
|
+
type: "string";
|
|
7725
|
+
format: string;
|
|
7726
|
+
description: string;
|
|
7727
|
+
};
|
|
7728
|
+
name: {
|
|
7729
|
+
type: "string";
|
|
7730
|
+
maxLength: number;
|
|
7731
|
+
description: string;
|
|
7732
|
+
};
|
|
7733
|
+
version: {
|
|
7253
7734
|
type: "string";
|
|
7735
|
+
maxLength: number;
|
|
7736
|
+
description: string;
|
|
7254
7737
|
};
|
|
7255
7738
|
};
|
|
7256
7739
|
required: string[];
|
|
7257
7740
|
};
|
|
7258
7741
|
};
|
|
7259
|
-
|
|
7260
|
-
type: "
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
};
|
|
7269
|
-
getIntegrationByName: {
|
|
7270
|
-
name: string;
|
|
7271
|
-
description: string;
|
|
7272
|
-
method: "get";
|
|
7273
|
-
section: "integration";
|
|
7274
|
-
path: string;
|
|
7275
|
-
parameters: {
|
|
7276
|
-
name: {
|
|
7277
|
-
type: "string";
|
|
7278
|
-
description: string;
|
|
7279
|
-
in: "path";
|
|
7280
|
-
};
|
|
7281
|
-
version: {
|
|
7282
|
-
type: "string";
|
|
7283
|
-
description: string;
|
|
7284
|
-
in: "path";
|
|
7285
|
-
};
|
|
7286
|
-
};
|
|
7287
|
-
response: {
|
|
7288
|
-
description: string;
|
|
7289
|
-
schema: {
|
|
7290
|
-
type: "object";
|
|
7291
|
-
properties: {
|
|
7292
|
-
integration: {
|
|
7293
|
-
$ref: string;
|
|
7742
|
+
meta: {
|
|
7743
|
+
type: "object";
|
|
7744
|
+
properties: {
|
|
7745
|
+
nextToken: {
|
|
7746
|
+
type: "string";
|
|
7747
|
+
description: string;
|
|
7748
|
+
};
|
|
7749
|
+
};
|
|
7750
|
+
additionalProperties: false;
|
|
7294
7751
|
};
|
|
7295
7752
|
};
|
|
7296
7753
|
required: string[];
|
|
@@ -7299,28 +7756,6 @@ export declare const state: {
|
|
|
7299
7756
|
};
|
|
7300
7757
|
};
|
|
7301
7758
|
};
|
|
7302
|
-
deleteIntegration: {
|
|
7303
|
-
name: string;
|
|
7304
|
-
description: string;
|
|
7305
|
-
method: "delete";
|
|
7306
|
-
section: "integration";
|
|
7307
|
-
path: string;
|
|
7308
|
-
parameters: {
|
|
7309
|
-
id: {
|
|
7310
|
-
type: "string";
|
|
7311
|
-
description: string;
|
|
7312
|
-
in: "path";
|
|
7313
|
-
};
|
|
7314
|
-
};
|
|
7315
|
-
response: {
|
|
7316
|
-
description: string;
|
|
7317
|
-
schema: {
|
|
7318
|
-
type: "object";
|
|
7319
|
-
title: string;
|
|
7320
|
-
additionalProperties: false;
|
|
7321
|
-
};
|
|
7322
|
-
};
|
|
7323
|
-
};
|
|
7324
7759
|
getUsage: {
|
|
7325
7760
|
name: string;
|
|
7326
7761
|
path: string;
|
|
@@ -9087,6 +9522,8 @@ export declare const state: {
|
|
|
9087
9522
|
createIntegrationApiKeyBody: true;
|
|
9088
9523
|
createIntegrationBody: true;
|
|
9089
9524
|
updateIntegrationBody: true;
|
|
9525
|
+
createInterfaceBody: true;
|
|
9526
|
+
updateInterfaceBody: true;
|
|
9090
9527
|
changeAISpendQuotaBody: true;
|
|
9091
9528
|
introspectBody: true;
|
|
9092
9529
|
upsertFileBody: true;
|
|
@@ -9197,6 +9634,12 @@ export declare const state: {
|
|
|
9197
9634
|
getIntegrationLogsResponse: true;
|
|
9198
9635
|
getIntegrationByNameResponse: true;
|
|
9199
9636
|
deleteIntegrationResponse: true;
|
|
9637
|
+
createInterfaceResponse: true;
|
|
9638
|
+
getInterfaceResponse: true;
|
|
9639
|
+
getInterfaceByNameResponse: true;
|
|
9640
|
+
updateInterfaceResponse: true;
|
|
9641
|
+
deleteInterfaceResponse: true;
|
|
9642
|
+
listInterfacesResponse: true;
|
|
9200
9643
|
getUsageResponse: true;
|
|
9201
9644
|
getMultipleUsagesResponse: true;
|
|
9202
9645
|
listUsageHistoryResponse: true;
|
|
@@ -9227,6 +9670,7 @@ export declare const state: {
|
|
|
9227
9670
|
schemas: {
|
|
9228
9671
|
Bot: true;
|
|
9229
9672
|
Integration: true;
|
|
9673
|
+
Interface: true;
|
|
9230
9674
|
Workspace: true;
|
|
9231
9675
|
WorkspaceMember: true;
|
|
9232
9676
|
Account: true;
|
|
@@ -10110,6 +10554,135 @@ export declare const state: {
|
|
|
10110
10554
|
additionalProperties: false;
|
|
10111
10555
|
};
|
|
10112
10556
|
};
|
|
10557
|
+
Interface: {
|
|
10558
|
+
section: "interface";
|
|
10559
|
+
schema: {
|
|
10560
|
+
type: "object";
|
|
10561
|
+
properties: {
|
|
10562
|
+
id: {
|
|
10563
|
+
type: "string";
|
|
10564
|
+
minLength: number;
|
|
10565
|
+
maxLength: number;
|
|
10566
|
+
description: string;
|
|
10567
|
+
};
|
|
10568
|
+
createdAt: {
|
|
10569
|
+
type: "string";
|
|
10570
|
+
format: string;
|
|
10571
|
+
description: string;
|
|
10572
|
+
};
|
|
10573
|
+
updatedAt: {
|
|
10574
|
+
type: "string";
|
|
10575
|
+
format: string;
|
|
10576
|
+
description: string;
|
|
10577
|
+
};
|
|
10578
|
+
name: {
|
|
10579
|
+
type: "string";
|
|
10580
|
+
maxLength: number;
|
|
10581
|
+
description: string;
|
|
10582
|
+
};
|
|
10583
|
+
version: {
|
|
10584
|
+
type: "string";
|
|
10585
|
+
maxLength: number;
|
|
10586
|
+
description: string;
|
|
10587
|
+
};
|
|
10588
|
+
events: {
|
|
10589
|
+
type: "object";
|
|
10590
|
+
additionalProperties: {
|
|
10591
|
+
type: "object";
|
|
10592
|
+
properties: {
|
|
10593
|
+
title: {
|
|
10594
|
+
type: "string";
|
|
10595
|
+
maxLength: number;
|
|
10596
|
+
description: string;
|
|
10597
|
+
};
|
|
10598
|
+
description: {
|
|
10599
|
+
type: "string";
|
|
10600
|
+
maxLength: number;
|
|
10601
|
+
description: string;
|
|
10602
|
+
};
|
|
10603
|
+
schema: {
|
|
10604
|
+
type: "object";
|
|
10605
|
+
additionalProperties: true;
|
|
10606
|
+
};
|
|
10607
|
+
};
|
|
10608
|
+
required: string[];
|
|
10609
|
+
description: string;
|
|
10610
|
+
additionalProperties: false;
|
|
10611
|
+
};
|
|
10612
|
+
};
|
|
10613
|
+
actions: {
|
|
10614
|
+
type: "object";
|
|
10615
|
+
additionalProperties: {
|
|
10616
|
+
type: "object";
|
|
10617
|
+
properties: {
|
|
10618
|
+
title: {
|
|
10619
|
+
type: "string";
|
|
10620
|
+
maxLength: number;
|
|
10621
|
+
description: string;
|
|
10622
|
+
};
|
|
10623
|
+
description: {
|
|
10624
|
+
type: "string";
|
|
10625
|
+
maxLength: number;
|
|
10626
|
+
description: string;
|
|
10627
|
+
};
|
|
10628
|
+
input: {
|
|
10629
|
+
type: "object";
|
|
10630
|
+
properties: {
|
|
10631
|
+
schema: {
|
|
10632
|
+
type: "object";
|
|
10633
|
+
additionalProperties: true;
|
|
10634
|
+
};
|
|
10635
|
+
};
|
|
10636
|
+
required: string[];
|
|
10637
|
+
additionalProperties: false;
|
|
10638
|
+
};
|
|
10639
|
+
output: {
|
|
10640
|
+
type: "object";
|
|
10641
|
+
properties: {
|
|
10642
|
+
schema: {
|
|
10643
|
+
type: "object";
|
|
10644
|
+
additionalProperties: true;
|
|
10645
|
+
};
|
|
10646
|
+
};
|
|
10647
|
+
required: string[];
|
|
10648
|
+
additionalProperties: false;
|
|
10649
|
+
};
|
|
10650
|
+
};
|
|
10651
|
+
required: string[];
|
|
10652
|
+
description: string;
|
|
10653
|
+
additionalProperties: false;
|
|
10654
|
+
};
|
|
10655
|
+
};
|
|
10656
|
+
entities: {
|
|
10657
|
+
type: "object";
|
|
10658
|
+
additionalProperties: {
|
|
10659
|
+
type: "object";
|
|
10660
|
+
properties: {
|
|
10661
|
+
title: {
|
|
10662
|
+
type: "string";
|
|
10663
|
+
maxLength: number;
|
|
10664
|
+
description: string;
|
|
10665
|
+
};
|
|
10666
|
+
description: {
|
|
10667
|
+
type: "string";
|
|
10668
|
+
maxLength: number;
|
|
10669
|
+
description: string;
|
|
10670
|
+
};
|
|
10671
|
+
schema: {
|
|
10672
|
+
type: "object";
|
|
10673
|
+
additionalProperties: true;
|
|
10674
|
+
};
|
|
10675
|
+
};
|
|
10676
|
+
required: string[];
|
|
10677
|
+
description: string;
|
|
10678
|
+
additionalProperties: false;
|
|
10679
|
+
};
|
|
10680
|
+
};
|
|
10681
|
+
};
|
|
10682
|
+
required: string[];
|
|
10683
|
+
additionalProperties: false;
|
|
10684
|
+
};
|
|
10685
|
+
};
|
|
10113
10686
|
Workspace: {
|
|
10114
10687
|
section: "workspace";
|
|
10115
10688
|
schema: {
|
|
@@ -11199,6 +11772,12 @@ export declare const state: {
|
|
|
11199
11772
|
name: "integration";
|
|
11200
11773
|
operations: string[];
|
|
11201
11774
|
schema: string;
|
|
11775
|
+
} | {
|
|
11776
|
+
title: string;
|
|
11777
|
+
description: string;
|
|
11778
|
+
name: "interface";
|
|
11779
|
+
operations: string[];
|
|
11780
|
+
schema: string;
|
|
11202
11781
|
} | {
|
|
11203
11782
|
title: string;
|
|
11204
11783
|
description: string;
|