@botpress/api 0.30.3 → 0.32.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 +692 -43
- package/dist/src/gen/state.d.ts +664 -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 +693 -44
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: {
|
|
@@ -4636,6 +4636,11 @@ export declare const state: {
|
|
|
4636
4636
|
paymentStatus: {
|
|
4637
4637
|
type: "string";
|
|
4638
4638
|
enum: string[];
|
|
4639
|
+
nullable: true;
|
|
4640
|
+
};
|
|
4641
|
+
dueDate: {
|
|
4642
|
+
type: "string";
|
|
4643
|
+
description: string;
|
|
4639
4644
|
};
|
|
4640
4645
|
paymentAttemptCount: {
|
|
4641
4646
|
type: "number";
|
|
@@ -7169,63 +7174,517 @@ export declare const state: {
|
|
|
7169
7174
|
};
|
|
7170
7175
|
};
|
|
7171
7176
|
};
|
|
7172
|
-
getIntegration: {
|
|
7177
|
+
getIntegration: {
|
|
7178
|
+
name: string;
|
|
7179
|
+
description: string;
|
|
7180
|
+
method: "get";
|
|
7181
|
+
section: "integration";
|
|
7182
|
+
path: string;
|
|
7183
|
+
parameters: {
|
|
7184
|
+
id: {
|
|
7185
|
+
type: "string";
|
|
7186
|
+
description: string;
|
|
7187
|
+
in: "path";
|
|
7188
|
+
};
|
|
7189
|
+
};
|
|
7190
|
+
response: {
|
|
7191
|
+
description: string;
|
|
7192
|
+
schema: {
|
|
7193
|
+
type: "object";
|
|
7194
|
+
properties: {
|
|
7195
|
+
integration: {
|
|
7196
|
+
$ref: string;
|
|
7197
|
+
};
|
|
7198
|
+
};
|
|
7199
|
+
required: string[];
|
|
7200
|
+
title: string;
|
|
7201
|
+
additionalProperties: false;
|
|
7202
|
+
};
|
|
7203
|
+
};
|
|
7204
|
+
};
|
|
7205
|
+
getIntegrationLogs: {
|
|
7206
|
+
name: string;
|
|
7207
|
+
description: string;
|
|
7208
|
+
method: "get";
|
|
7209
|
+
section: "integration";
|
|
7210
|
+
path: string;
|
|
7211
|
+
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
|
+
nextToken: {
|
|
7230
|
+
in: "query";
|
|
7231
|
+
description: string;
|
|
7232
|
+
type: "string";
|
|
7233
|
+
required: false;
|
|
7234
|
+
};
|
|
7235
|
+
};
|
|
7236
|
+
response: {
|
|
7237
|
+
description: string;
|
|
7238
|
+
schema: {
|
|
7239
|
+
type: "object";
|
|
7240
|
+
properties: {
|
|
7241
|
+
logs: {
|
|
7242
|
+
type: "array";
|
|
7243
|
+
items: {
|
|
7244
|
+
type: "object";
|
|
7245
|
+
properties: {
|
|
7246
|
+
timestamp: {
|
|
7247
|
+
type: "string";
|
|
7248
|
+
};
|
|
7249
|
+
level: {
|
|
7250
|
+
type: "string";
|
|
7251
|
+
};
|
|
7252
|
+
message: {
|
|
7253
|
+
type: "string";
|
|
7254
|
+
};
|
|
7255
|
+
};
|
|
7256
|
+
required: string[];
|
|
7257
|
+
};
|
|
7258
|
+
};
|
|
7259
|
+
nextToken: {
|
|
7260
|
+
type: "string";
|
|
7261
|
+
};
|
|
7262
|
+
};
|
|
7263
|
+
required: string[];
|
|
7264
|
+
title: string;
|
|
7265
|
+
additionalProperties: false;
|
|
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;
|
|
7294
|
+
};
|
|
7295
|
+
};
|
|
7296
|
+
required: string[];
|
|
7297
|
+
title: string;
|
|
7298
|
+
additionalProperties: false;
|
|
7299
|
+
};
|
|
7300
|
+
};
|
|
7301
|
+
};
|
|
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
|
+
createInterface: {
|
|
7325
|
+
name: string;
|
|
7326
|
+
description: string;
|
|
7327
|
+
method: "post";
|
|
7328
|
+
path: string;
|
|
7329
|
+
parameters: {};
|
|
7330
|
+
requestBody: {
|
|
7331
|
+
description: string;
|
|
7332
|
+
schema: {
|
|
7333
|
+
type: "object";
|
|
7334
|
+
properties: {
|
|
7335
|
+
name: {
|
|
7336
|
+
type: "string";
|
|
7337
|
+
maxLength: number;
|
|
7338
|
+
description: string;
|
|
7339
|
+
};
|
|
7340
|
+
version: {
|
|
7341
|
+
type: "string";
|
|
7342
|
+
maxLength: number;
|
|
7343
|
+
description: string;
|
|
7344
|
+
};
|
|
7345
|
+
events: {
|
|
7346
|
+
type: "object";
|
|
7347
|
+
additionalProperties: {
|
|
7348
|
+
type: "object";
|
|
7349
|
+
properties: {
|
|
7350
|
+
title: {
|
|
7351
|
+
type: "string";
|
|
7352
|
+
maxLength: number;
|
|
7353
|
+
description: string;
|
|
7354
|
+
};
|
|
7355
|
+
description: {
|
|
7356
|
+
type: "string";
|
|
7357
|
+
maxLength: number;
|
|
7358
|
+
description: string;
|
|
7359
|
+
};
|
|
7360
|
+
schema: {
|
|
7361
|
+
type: "object";
|
|
7362
|
+
additionalProperties: true;
|
|
7363
|
+
};
|
|
7364
|
+
};
|
|
7365
|
+
required: string[];
|
|
7366
|
+
description: string;
|
|
7367
|
+
additionalProperties: false;
|
|
7368
|
+
};
|
|
7369
|
+
};
|
|
7370
|
+
actions: {
|
|
7371
|
+
type: "object";
|
|
7372
|
+
additionalProperties: {
|
|
7373
|
+
type: "object";
|
|
7374
|
+
properties: {
|
|
7375
|
+
title: {
|
|
7376
|
+
type: "string";
|
|
7377
|
+
maxLength: number;
|
|
7378
|
+
description: string;
|
|
7379
|
+
};
|
|
7380
|
+
description: {
|
|
7381
|
+
type: "string";
|
|
7382
|
+
maxLength: number;
|
|
7383
|
+
description: string;
|
|
7384
|
+
};
|
|
7385
|
+
input: {
|
|
7386
|
+
type: "object";
|
|
7387
|
+
properties: {
|
|
7388
|
+
schema: {
|
|
7389
|
+
type: "object";
|
|
7390
|
+
additionalProperties: true;
|
|
7391
|
+
};
|
|
7392
|
+
};
|
|
7393
|
+
required: string[];
|
|
7394
|
+
additionalProperties: false;
|
|
7395
|
+
};
|
|
7396
|
+
output: {
|
|
7397
|
+
type: "object";
|
|
7398
|
+
properties: {
|
|
7399
|
+
schema: {
|
|
7400
|
+
type: "object";
|
|
7401
|
+
additionalProperties: true;
|
|
7402
|
+
};
|
|
7403
|
+
};
|
|
7404
|
+
required: string[];
|
|
7405
|
+
additionalProperties: false;
|
|
7406
|
+
};
|
|
7407
|
+
};
|
|
7408
|
+
required: string[];
|
|
7409
|
+
description: string;
|
|
7410
|
+
additionalProperties: false;
|
|
7411
|
+
};
|
|
7412
|
+
};
|
|
7413
|
+
entities: {
|
|
7414
|
+
type: "object";
|
|
7415
|
+
additionalProperties: {
|
|
7416
|
+
type: "object";
|
|
7417
|
+
properties: {
|
|
7418
|
+
title: {
|
|
7419
|
+
type: "string";
|
|
7420
|
+
maxLength: number;
|
|
7421
|
+
description: string;
|
|
7422
|
+
};
|
|
7423
|
+
description: {
|
|
7424
|
+
type: "string";
|
|
7425
|
+
maxLength: number;
|
|
7426
|
+
description: string;
|
|
7427
|
+
};
|
|
7428
|
+
schema: {
|
|
7429
|
+
type: "object";
|
|
7430
|
+
additionalProperties: true;
|
|
7431
|
+
};
|
|
7432
|
+
};
|
|
7433
|
+
required: string[];
|
|
7434
|
+
description: string;
|
|
7435
|
+
additionalProperties: false;
|
|
7436
|
+
};
|
|
7437
|
+
};
|
|
7438
|
+
};
|
|
7439
|
+
required: string[];
|
|
7440
|
+
title: string;
|
|
7441
|
+
additionalProperties: false;
|
|
7442
|
+
};
|
|
7443
|
+
};
|
|
7444
|
+
section: "interface";
|
|
7445
|
+
response: {
|
|
7446
|
+
description: string;
|
|
7447
|
+
schema: {
|
|
7448
|
+
type: "object";
|
|
7449
|
+
properties: {
|
|
7450
|
+
interface: {
|
|
7451
|
+
$ref: string;
|
|
7452
|
+
};
|
|
7453
|
+
};
|
|
7454
|
+
required: string[];
|
|
7455
|
+
title: string;
|
|
7456
|
+
additionalProperties: false;
|
|
7457
|
+
};
|
|
7458
|
+
};
|
|
7459
|
+
};
|
|
7460
|
+
getInterface: {
|
|
7461
|
+
name: string;
|
|
7462
|
+
description: string;
|
|
7463
|
+
method: "get";
|
|
7464
|
+
path: string;
|
|
7465
|
+
parameters: {
|
|
7466
|
+
id: {
|
|
7467
|
+
in: "path";
|
|
7468
|
+
type: "string";
|
|
7469
|
+
description: string;
|
|
7470
|
+
};
|
|
7471
|
+
};
|
|
7472
|
+
section: "interface";
|
|
7473
|
+
response: {
|
|
7474
|
+
description: string;
|
|
7475
|
+
schema: {
|
|
7476
|
+
type: "object";
|
|
7477
|
+
properties: {
|
|
7478
|
+
interface: {
|
|
7479
|
+
$ref: string;
|
|
7480
|
+
};
|
|
7481
|
+
};
|
|
7482
|
+
required: string[];
|
|
7483
|
+
title: string;
|
|
7484
|
+
additionalProperties: false;
|
|
7485
|
+
};
|
|
7486
|
+
};
|
|
7487
|
+
};
|
|
7488
|
+
getInterfaceByName: {
|
|
7489
|
+
name: string;
|
|
7490
|
+
description: string;
|
|
7491
|
+
method: "get";
|
|
7492
|
+
path: string;
|
|
7493
|
+
parameters: {
|
|
7494
|
+
name: {
|
|
7495
|
+
in: "path";
|
|
7496
|
+
type: "string";
|
|
7497
|
+
description: string;
|
|
7498
|
+
};
|
|
7499
|
+
version: {
|
|
7500
|
+
in: "path";
|
|
7501
|
+
type: "string";
|
|
7502
|
+
description: string;
|
|
7503
|
+
};
|
|
7504
|
+
};
|
|
7505
|
+
section: "interface";
|
|
7506
|
+
response: {
|
|
7507
|
+
description: string;
|
|
7508
|
+
schema: {
|
|
7509
|
+
type: "object";
|
|
7510
|
+
properties: {
|
|
7511
|
+
interface: {
|
|
7512
|
+
$ref: string;
|
|
7513
|
+
};
|
|
7514
|
+
};
|
|
7515
|
+
required: string[];
|
|
7516
|
+
title: string;
|
|
7517
|
+
additionalProperties: false;
|
|
7518
|
+
};
|
|
7519
|
+
};
|
|
7520
|
+
};
|
|
7521
|
+
updateInterface: {
|
|
7522
|
+
name: string;
|
|
7523
|
+
description: string;
|
|
7524
|
+
method: "put";
|
|
7525
|
+
path: string;
|
|
7526
|
+
parameters: {
|
|
7527
|
+
id: {
|
|
7528
|
+
in: "path";
|
|
7529
|
+
type: "string";
|
|
7530
|
+
description: string;
|
|
7531
|
+
};
|
|
7532
|
+
};
|
|
7533
|
+
requestBody: {
|
|
7534
|
+
description: string;
|
|
7535
|
+
schema: {
|
|
7536
|
+
type: "object";
|
|
7537
|
+
properties: {
|
|
7538
|
+
events: {
|
|
7539
|
+
type: "object";
|
|
7540
|
+
additionalProperties: {
|
|
7541
|
+
type: "object";
|
|
7542
|
+
properties: {
|
|
7543
|
+
title: {
|
|
7544
|
+
type: "string";
|
|
7545
|
+
maxLength: number;
|
|
7546
|
+
description: string;
|
|
7547
|
+
};
|
|
7548
|
+
description: {
|
|
7549
|
+
type: "string";
|
|
7550
|
+
maxLength: number;
|
|
7551
|
+
description: string;
|
|
7552
|
+
};
|
|
7553
|
+
schema: {
|
|
7554
|
+
type: "object";
|
|
7555
|
+
additionalProperties: true;
|
|
7556
|
+
};
|
|
7557
|
+
};
|
|
7558
|
+
required: string[];
|
|
7559
|
+
description: string;
|
|
7560
|
+
nullable: true;
|
|
7561
|
+
additionalProperties: false;
|
|
7562
|
+
};
|
|
7563
|
+
};
|
|
7564
|
+
actions: {
|
|
7565
|
+
type: "object";
|
|
7566
|
+
additionalProperties: {
|
|
7567
|
+
type: "object";
|
|
7568
|
+
properties: {
|
|
7569
|
+
title: {
|
|
7570
|
+
type: "string";
|
|
7571
|
+
maxLength: number;
|
|
7572
|
+
description: string;
|
|
7573
|
+
};
|
|
7574
|
+
description: {
|
|
7575
|
+
type: "string";
|
|
7576
|
+
maxLength: number;
|
|
7577
|
+
description: string;
|
|
7578
|
+
};
|
|
7579
|
+
input: {
|
|
7580
|
+
type: "object";
|
|
7581
|
+
properties: {
|
|
7582
|
+
schema: {
|
|
7583
|
+
type: "object";
|
|
7584
|
+
additionalProperties: true;
|
|
7585
|
+
};
|
|
7586
|
+
};
|
|
7587
|
+
required: string[];
|
|
7588
|
+
additionalProperties: false;
|
|
7589
|
+
};
|
|
7590
|
+
output: {
|
|
7591
|
+
type: "object";
|
|
7592
|
+
properties: {
|
|
7593
|
+
schema: {
|
|
7594
|
+
type: "object";
|
|
7595
|
+
additionalProperties: true;
|
|
7596
|
+
};
|
|
7597
|
+
};
|
|
7598
|
+
required: string[];
|
|
7599
|
+
additionalProperties: false;
|
|
7600
|
+
};
|
|
7601
|
+
};
|
|
7602
|
+
required: string[];
|
|
7603
|
+
description: string;
|
|
7604
|
+
nullable: true;
|
|
7605
|
+
additionalProperties: false;
|
|
7606
|
+
};
|
|
7607
|
+
};
|
|
7608
|
+
entities: {
|
|
7609
|
+
type: "object";
|
|
7610
|
+
additionalProperties: {
|
|
7611
|
+
type: "object";
|
|
7612
|
+
properties: {
|
|
7613
|
+
title: {
|
|
7614
|
+
type: "string";
|
|
7615
|
+
maxLength: number;
|
|
7616
|
+
description: string;
|
|
7617
|
+
};
|
|
7618
|
+
description: {
|
|
7619
|
+
type: "string";
|
|
7620
|
+
maxLength: number;
|
|
7621
|
+
description: string;
|
|
7622
|
+
};
|
|
7623
|
+
schema: {
|
|
7624
|
+
type: "object";
|
|
7625
|
+
additionalProperties: true;
|
|
7626
|
+
};
|
|
7627
|
+
};
|
|
7628
|
+
required: string[];
|
|
7629
|
+
description: string;
|
|
7630
|
+
nullable: true;
|
|
7631
|
+
additionalProperties: false;
|
|
7632
|
+
};
|
|
7633
|
+
};
|
|
7634
|
+
};
|
|
7635
|
+
title: string;
|
|
7636
|
+
additionalProperties: false;
|
|
7637
|
+
};
|
|
7638
|
+
};
|
|
7639
|
+
section: "interface";
|
|
7640
|
+
response: {
|
|
7641
|
+
description: string;
|
|
7642
|
+
schema: {
|
|
7643
|
+
type: "object";
|
|
7644
|
+
properties: {
|
|
7645
|
+
interface: {
|
|
7646
|
+
$ref: string;
|
|
7647
|
+
};
|
|
7648
|
+
};
|
|
7649
|
+
required: string[];
|
|
7650
|
+
title: string;
|
|
7651
|
+
additionalProperties: false;
|
|
7652
|
+
};
|
|
7653
|
+
};
|
|
7654
|
+
};
|
|
7655
|
+
deleteInterface: {
|
|
7173
7656
|
name: string;
|
|
7174
7657
|
description: string;
|
|
7175
|
-
method: "
|
|
7176
|
-
section: "integration";
|
|
7658
|
+
method: "delete";
|
|
7177
7659
|
path: string;
|
|
7178
7660
|
parameters: {
|
|
7179
7661
|
id: {
|
|
7662
|
+
in: "path";
|
|
7180
7663
|
type: "string";
|
|
7181
7664
|
description: string;
|
|
7182
|
-
in: "path";
|
|
7183
7665
|
};
|
|
7184
7666
|
};
|
|
7667
|
+
section: "interface";
|
|
7185
7668
|
response: {
|
|
7186
7669
|
description: string;
|
|
7187
7670
|
schema: {
|
|
7188
7671
|
type: "object";
|
|
7189
|
-
properties: {
|
|
7190
|
-
integration: {
|
|
7191
|
-
$ref: string;
|
|
7192
|
-
};
|
|
7193
|
-
};
|
|
7194
|
-
required: string[];
|
|
7195
7672
|
title: string;
|
|
7196
7673
|
additionalProperties: false;
|
|
7197
7674
|
};
|
|
7198
7675
|
};
|
|
7199
7676
|
};
|
|
7200
|
-
|
|
7677
|
+
listInterfaces: {
|
|
7201
7678
|
name: string;
|
|
7202
7679
|
description: string;
|
|
7203
7680
|
method: "get";
|
|
7204
|
-
section: "integration";
|
|
7205
7681
|
path: string;
|
|
7682
|
+
section: "interface";
|
|
7206
7683
|
parameters: {
|
|
7207
|
-
id: {
|
|
7208
|
-
type: "string";
|
|
7209
|
-
description: string;
|
|
7210
|
-
in: "path";
|
|
7211
|
-
};
|
|
7212
|
-
timeStart: {
|
|
7213
|
-
in: "query";
|
|
7214
|
-
description: string;
|
|
7215
|
-
type: "string";
|
|
7216
|
-
required: true;
|
|
7217
|
-
};
|
|
7218
|
-
timeEnd: {
|
|
7219
|
-
in: "query";
|
|
7220
|
-
description: string;
|
|
7221
|
-
type: "string";
|
|
7222
|
-
required: true;
|
|
7223
|
-
};
|
|
7224
7684
|
nextToken: {
|
|
7225
7685
|
in: "query";
|
|
7226
7686
|
description: string;
|
|
7227
7687
|
type: "string";
|
|
7228
|
-
required: false;
|
|
7229
7688
|
};
|
|
7230
7689
|
};
|
|
7231
7690
|
response: {
|
|
@@ -7233,59 +7692,50 @@ export declare const state: {
|
|
|
7233
7692
|
schema: {
|
|
7234
7693
|
type: "object";
|
|
7235
7694
|
properties: {
|
|
7236
|
-
|
|
7695
|
+
interfaces: {
|
|
7237
7696
|
type: "array";
|
|
7238
7697
|
items: {
|
|
7239
7698
|
type: "object";
|
|
7240
7699
|
properties: {
|
|
7241
|
-
|
|
7700
|
+
id: {
|
|
7242
7701
|
type: "string";
|
|
7702
|
+
minLength: number;
|
|
7703
|
+
maxLength: number;
|
|
7704
|
+
description: string;
|
|
7243
7705
|
};
|
|
7244
|
-
|
|
7706
|
+
createdAt: {
|
|
7245
7707
|
type: "string";
|
|
7708
|
+
format: string;
|
|
7709
|
+
description: string;
|
|
7246
7710
|
};
|
|
7247
|
-
|
|
7711
|
+
updatedAt: {
|
|
7712
|
+
type: "string";
|
|
7713
|
+
format: string;
|
|
7714
|
+
description: string;
|
|
7715
|
+
};
|
|
7716
|
+
name: {
|
|
7717
|
+
type: "string";
|
|
7718
|
+
maxLength: number;
|
|
7719
|
+
description: string;
|
|
7720
|
+
};
|
|
7721
|
+
version: {
|
|
7248
7722
|
type: "string";
|
|
7723
|
+
maxLength: number;
|
|
7724
|
+
description: string;
|
|
7249
7725
|
};
|
|
7250
7726
|
};
|
|
7251
7727
|
required: string[];
|
|
7252
7728
|
};
|
|
7253
7729
|
};
|
|
7254
|
-
|
|
7255
|
-
type: "
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
};
|
|
7264
|
-
getIntegrationByName: {
|
|
7265
|
-
name: string;
|
|
7266
|
-
description: string;
|
|
7267
|
-
method: "get";
|
|
7268
|
-
section: "integration";
|
|
7269
|
-
path: string;
|
|
7270
|
-
parameters: {
|
|
7271
|
-
name: {
|
|
7272
|
-
type: "string";
|
|
7273
|
-
description: string;
|
|
7274
|
-
in: "path";
|
|
7275
|
-
};
|
|
7276
|
-
version: {
|
|
7277
|
-
type: "string";
|
|
7278
|
-
description: string;
|
|
7279
|
-
in: "path";
|
|
7280
|
-
};
|
|
7281
|
-
};
|
|
7282
|
-
response: {
|
|
7283
|
-
description: string;
|
|
7284
|
-
schema: {
|
|
7285
|
-
type: "object";
|
|
7286
|
-
properties: {
|
|
7287
|
-
integration: {
|
|
7288
|
-
$ref: string;
|
|
7730
|
+
meta: {
|
|
7731
|
+
type: "object";
|
|
7732
|
+
properties: {
|
|
7733
|
+
nextToken: {
|
|
7734
|
+
type: "string";
|
|
7735
|
+
description: string;
|
|
7736
|
+
};
|
|
7737
|
+
};
|
|
7738
|
+
additionalProperties: false;
|
|
7289
7739
|
};
|
|
7290
7740
|
};
|
|
7291
7741
|
required: string[];
|
|
@@ -7294,28 +7744,6 @@ export declare const state: {
|
|
|
7294
7744
|
};
|
|
7295
7745
|
};
|
|
7296
7746
|
};
|
|
7297
|
-
deleteIntegration: {
|
|
7298
|
-
name: string;
|
|
7299
|
-
description: string;
|
|
7300
|
-
method: "delete";
|
|
7301
|
-
section: "integration";
|
|
7302
|
-
path: string;
|
|
7303
|
-
parameters: {
|
|
7304
|
-
id: {
|
|
7305
|
-
type: "string";
|
|
7306
|
-
description: string;
|
|
7307
|
-
in: "path";
|
|
7308
|
-
};
|
|
7309
|
-
};
|
|
7310
|
-
response: {
|
|
7311
|
-
description: string;
|
|
7312
|
-
schema: {
|
|
7313
|
-
type: "object";
|
|
7314
|
-
title: string;
|
|
7315
|
-
additionalProperties: false;
|
|
7316
|
-
};
|
|
7317
|
-
};
|
|
7318
|
-
};
|
|
7319
7747
|
getUsage: {
|
|
7320
7748
|
name: string;
|
|
7321
7749
|
path: string;
|
|
@@ -9082,6 +9510,8 @@ export declare const state: {
|
|
|
9082
9510
|
createIntegrationApiKeyBody: true;
|
|
9083
9511
|
createIntegrationBody: true;
|
|
9084
9512
|
updateIntegrationBody: true;
|
|
9513
|
+
createInterfaceBody: true;
|
|
9514
|
+
updateInterfaceBody: true;
|
|
9085
9515
|
changeAISpendQuotaBody: true;
|
|
9086
9516
|
introspectBody: true;
|
|
9087
9517
|
upsertFileBody: true;
|
|
@@ -9192,6 +9622,12 @@ export declare const state: {
|
|
|
9192
9622
|
getIntegrationLogsResponse: true;
|
|
9193
9623
|
getIntegrationByNameResponse: true;
|
|
9194
9624
|
deleteIntegrationResponse: true;
|
|
9625
|
+
createInterfaceResponse: true;
|
|
9626
|
+
getInterfaceResponse: true;
|
|
9627
|
+
getInterfaceByNameResponse: true;
|
|
9628
|
+
updateInterfaceResponse: true;
|
|
9629
|
+
deleteInterfaceResponse: true;
|
|
9630
|
+
listInterfacesResponse: true;
|
|
9195
9631
|
getUsageResponse: true;
|
|
9196
9632
|
getMultipleUsagesResponse: true;
|
|
9197
9633
|
listUsageHistoryResponse: true;
|
|
@@ -9222,6 +9658,7 @@ export declare const state: {
|
|
|
9222
9658
|
schemas: {
|
|
9223
9659
|
Bot: true;
|
|
9224
9660
|
Integration: true;
|
|
9661
|
+
Interface: true;
|
|
9225
9662
|
Workspace: true;
|
|
9226
9663
|
WorkspaceMember: true;
|
|
9227
9664
|
Account: true;
|
|
@@ -10105,6 +10542,135 @@ export declare const state: {
|
|
|
10105
10542
|
additionalProperties: false;
|
|
10106
10543
|
};
|
|
10107
10544
|
};
|
|
10545
|
+
Interface: {
|
|
10546
|
+
section: "interface";
|
|
10547
|
+
schema: {
|
|
10548
|
+
type: "object";
|
|
10549
|
+
properties: {
|
|
10550
|
+
id: {
|
|
10551
|
+
type: "string";
|
|
10552
|
+
minLength: number;
|
|
10553
|
+
maxLength: number;
|
|
10554
|
+
description: string;
|
|
10555
|
+
};
|
|
10556
|
+
createdAt: {
|
|
10557
|
+
type: "string";
|
|
10558
|
+
format: string;
|
|
10559
|
+
description: string;
|
|
10560
|
+
};
|
|
10561
|
+
updatedAt: {
|
|
10562
|
+
type: "string";
|
|
10563
|
+
format: string;
|
|
10564
|
+
description: string;
|
|
10565
|
+
};
|
|
10566
|
+
name: {
|
|
10567
|
+
type: "string";
|
|
10568
|
+
maxLength: number;
|
|
10569
|
+
description: string;
|
|
10570
|
+
};
|
|
10571
|
+
version: {
|
|
10572
|
+
type: "string";
|
|
10573
|
+
maxLength: number;
|
|
10574
|
+
description: string;
|
|
10575
|
+
};
|
|
10576
|
+
events: {
|
|
10577
|
+
type: "object";
|
|
10578
|
+
additionalProperties: {
|
|
10579
|
+
type: "object";
|
|
10580
|
+
properties: {
|
|
10581
|
+
title: {
|
|
10582
|
+
type: "string";
|
|
10583
|
+
maxLength: number;
|
|
10584
|
+
description: string;
|
|
10585
|
+
};
|
|
10586
|
+
description: {
|
|
10587
|
+
type: "string";
|
|
10588
|
+
maxLength: number;
|
|
10589
|
+
description: string;
|
|
10590
|
+
};
|
|
10591
|
+
schema: {
|
|
10592
|
+
type: "object";
|
|
10593
|
+
additionalProperties: true;
|
|
10594
|
+
};
|
|
10595
|
+
};
|
|
10596
|
+
required: string[];
|
|
10597
|
+
description: string;
|
|
10598
|
+
additionalProperties: false;
|
|
10599
|
+
};
|
|
10600
|
+
};
|
|
10601
|
+
actions: {
|
|
10602
|
+
type: "object";
|
|
10603
|
+
additionalProperties: {
|
|
10604
|
+
type: "object";
|
|
10605
|
+
properties: {
|
|
10606
|
+
title: {
|
|
10607
|
+
type: "string";
|
|
10608
|
+
maxLength: number;
|
|
10609
|
+
description: string;
|
|
10610
|
+
};
|
|
10611
|
+
description: {
|
|
10612
|
+
type: "string";
|
|
10613
|
+
maxLength: number;
|
|
10614
|
+
description: string;
|
|
10615
|
+
};
|
|
10616
|
+
input: {
|
|
10617
|
+
type: "object";
|
|
10618
|
+
properties: {
|
|
10619
|
+
schema: {
|
|
10620
|
+
type: "object";
|
|
10621
|
+
additionalProperties: true;
|
|
10622
|
+
};
|
|
10623
|
+
};
|
|
10624
|
+
required: string[];
|
|
10625
|
+
additionalProperties: false;
|
|
10626
|
+
};
|
|
10627
|
+
output: {
|
|
10628
|
+
type: "object";
|
|
10629
|
+
properties: {
|
|
10630
|
+
schema: {
|
|
10631
|
+
type: "object";
|
|
10632
|
+
additionalProperties: true;
|
|
10633
|
+
};
|
|
10634
|
+
};
|
|
10635
|
+
required: string[];
|
|
10636
|
+
additionalProperties: false;
|
|
10637
|
+
};
|
|
10638
|
+
};
|
|
10639
|
+
required: string[];
|
|
10640
|
+
description: string;
|
|
10641
|
+
additionalProperties: false;
|
|
10642
|
+
};
|
|
10643
|
+
};
|
|
10644
|
+
entities: {
|
|
10645
|
+
type: "object";
|
|
10646
|
+
additionalProperties: {
|
|
10647
|
+
type: "object";
|
|
10648
|
+
properties: {
|
|
10649
|
+
title: {
|
|
10650
|
+
type: "string";
|
|
10651
|
+
maxLength: number;
|
|
10652
|
+
description: string;
|
|
10653
|
+
};
|
|
10654
|
+
description: {
|
|
10655
|
+
type: "string";
|
|
10656
|
+
maxLength: number;
|
|
10657
|
+
description: string;
|
|
10658
|
+
};
|
|
10659
|
+
schema: {
|
|
10660
|
+
type: "object";
|
|
10661
|
+
additionalProperties: true;
|
|
10662
|
+
};
|
|
10663
|
+
};
|
|
10664
|
+
required: string[];
|
|
10665
|
+
description: string;
|
|
10666
|
+
additionalProperties: false;
|
|
10667
|
+
};
|
|
10668
|
+
};
|
|
10669
|
+
};
|
|
10670
|
+
required: string[];
|
|
10671
|
+
additionalProperties: false;
|
|
10672
|
+
};
|
|
10673
|
+
};
|
|
10108
10674
|
Workspace: {
|
|
10109
10675
|
section: "workspace";
|
|
10110
10676
|
schema: {
|
|
@@ -11194,6 +11760,12 @@ export declare const state: {
|
|
|
11194
11760
|
name: "integration";
|
|
11195
11761
|
operations: string[];
|
|
11196
11762
|
schema: string;
|
|
11763
|
+
} | {
|
|
11764
|
+
title: string;
|
|
11765
|
+
description: string;
|
|
11766
|
+
name: "interface";
|
|
11767
|
+
operations: string[];
|
|
11768
|
+
schema: string;
|
|
11197
11769
|
} | {
|
|
11198
11770
|
title: string;
|
|
11199
11771
|
description: string;
|