@botpress/api 0.19.2 → 0.19.3
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 +62 -193
- package/dist/src/gen/state.d.ts +43 -179
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +62 -193
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -7075,7 +7075,7 @@ export declare const state: {
|
|
|
7075
7075
|
};
|
|
7076
7076
|
};
|
|
7077
7077
|
parameters: {
|
|
7078
|
-
"x-
|
|
7078
|
+
"x-name": {
|
|
7079
7079
|
type: "string";
|
|
7080
7080
|
description: string;
|
|
7081
7081
|
in: "header";
|
|
@@ -7106,30 +7106,6 @@ export declare const state: {
|
|
|
7106
7106
|
description: string;
|
|
7107
7107
|
in: "header";
|
|
7108
7108
|
};
|
|
7109
|
-
"x-bot-id": {
|
|
7110
|
-
in: "header";
|
|
7111
|
-
description: string;
|
|
7112
|
-
type: "string";
|
|
7113
|
-
required: true;
|
|
7114
|
-
};
|
|
7115
|
-
"x-integration-id": {
|
|
7116
|
-
in: "header";
|
|
7117
|
-
description: string;
|
|
7118
|
-
type: "string";
|
|
7119
|
-
required: false;
|
|
7120
|
-
};
|
|
7121
|
-
"x-user-id": {
|
|
7122
|
-
in: "header";
|
|
7123
|
-
description: string;
|
|
7124
|
-
type: "string";
|
|
7125
|
-
required: false;
|
|
7126
|
-
};
|
|
7127
|
-
"x-user-role": {
|
|
7128
|
-
in: "header";
|
|
7129
|
-
description: string;
|
|
7130
|
-
type: "string";
|
|
7131
|
-
required: false;
|
|
7132
|
-
};
|
|
7133
7109
|
};
|
|
7134
7110
|
contentType: "*/*";
|
|
7135
7111
|
section: "files";
|
|
@@ -7147,13 +7123,16 @@ export declare const state: {
|
|
|
7147
7123
|
botId: {
|
|
7148
7124
|
type: "string";
|
|
7149
7125
|
};
|
|
7150
|
-
|
|
7126
|
+
name: {
|
|
7151
7127
|
type: "string";
|
|
7152
7128
|
};
|
|
7153
|
-
|
|
7129
|
+
size: {
|
|
7154
7130
|
type: "number";
|
|
7155
7131
|
nullable: true;
|
|
7156
7132
|
};
|
|
7133
|
+
contentType: {
|
|
7134
|
+
type: "string";
|
|
7135
|
+
};
|
|
7157
7136
|
tags: {
|
|
7158
7137
|
type: "object";
|
|
7159
7138
|
additionalProperties: {
|
|
@@ -7204,30 +7183,6 @@ export declare const state: {
|
|
|
7204
7183
|
description: string;
|
|
7205
7184
|
in: "path";
|
|
7206
7185
|
};
|
|
7207
|
-
"x-bot-id": {
|
|
7208
|
-
in: "header";
|
|
7209
|
-
description: string;
|
|
7210
|
-
type: "string";
|
|
7211
|
-
required: true;
|
|
7212
|
-
};
|
|
7213
|
-
"x-integration-id": {
|
|
7214
|
-
in: "header";
|
|
7215
|
-
description: string;
|
|
7216
|
-
type: "string";
|
|
7217
|
-
required: false;
|
|
7218
|
-
};
|
|
7219
|
-
"x-user-id": {
|
|
7220
|
-
in: "header";
|
|
7221
|
-
description: string;
|
|
7222
|
-
type: "string";
|
|
7223
|
-
required: false;
|
|
7224
|
-
};
|
|
7225
|
-
"x-user-role": {
|
|
7226
|
-
in: "header";
|
|
7227
|
-
description: string;
|
|
7228
|
-
type: "string";
|
|
7229
|
-
required: false;
|
|
7230
|
-
};
|
|
7231
7186
|
};
|
|
7232
7187
|
response: {
|
|
7233
7188
|
description: string;
|
|
@@ -7250,39 +7205,21 @@ export declare const state: {
|
|
|
7250
7205
|
description: string;
|
|
7251
7206
|
type: "string";
|
|
7252
7207
|
};
|
|
7253
|
-
"x-bot-id": {
|
|
7254
|
-
in: "header";
|
|
7255
|
-
description: string;
|
|
7256
|
-
type: "string";
|
|
7257
|
-
required: true;
|
|
7258
|
-
};
|
|
7259
|
-
"x-integration-id": {
|
|
7260
|
-
in: "header";
|
|
7261
|
-
description: string;
|
|
7262
|
-
type: "string";
|
|
7263
|
-
required: false;
|
|
7264
|
-
};
|
|
7265
|
-
"x-user-id": {
|
|
7266
|
-
in: "header";
|
|
7267
|
-
description: string;
|
|
7268
|
-
type: "string";
|
|
7269
|
-
required: false;
|
|
7270
|
-
};
|
|
7271
|
-
"x-user-role": {
|
|
7272
|
-
in: "header";
|
|
7273
|
-
description: string;
|
|
7274
|
-
type: "string";
|
|
7275
|
-
required: false;
|
|
7276
|
-
};
|
|
7277
7208
|
botId: {
|
|
7278
7209
|
type: "string";
|
|
7279
7210
|
description: string;
|
|
7280
7211
|
in: "path";
|
|
7281
7212
|
};
|
|
7282
7213
|
tags: {
|
|
7283
|
-
type: "string";
|
|
7284
7214
|
in: "query";
|
|
7285
7215
|
description: string;
|
|
7216
|
+
type: "object";
|
|
7217
|
+
schema: {
|
|
7218
|
+
type: "object";
|
|
7219
|
+
additionalProperties: {
|
|
7220
|
+
type: "string";
|
|
7221
|
+
};
|
|
7222
|
+
};
|
|
7286
7223
|
};
|
|
7287
7224
|
};
|
|
7288
7225
|
response: {
|
|
@@ -7301,13 +7238,24 @@ export declare const state: {
|
|
|
7301
7238
|
botId: {
|
|
7302
7239
|
type: "string";
|
|
7303
7240
|
};
|
|
7304
|
-
|
|
7241
|
+
name: {
|
|
7305
7242
|
type: "string";
|
|
7306
7243
|
};
|
|
7307
|
-
|
|
7244
|
+
size: {
|
|
7308
7245
|
type: "number";
|
|
7309
7246
|
nullable: true;
|
|
7310
7247
|
};
|
|
7248
|
+
contentType: {
|
|
7249
|
+
type: "string";
|
|
7250
|
+
};
|
|
7251
|
+
tags: {
|
|
7252
|
+
type: "object";
|
|
7253
|
+
additionalProperties: {
|
|
7254
|
+
type: "string";
|
|
7255
|
+
maxLength: number;
|
|
7256
|
+
};
|
|
7257
|
+
description: string;
|
|
7258
|
+
};
|
|
7311
7259
|
createdAt: {
|
|
7312
7260
|
type: "string";
|
|
7313
7261
|
};
|
|
@@ -7360,30 +7308,6 @@ export declare const state: {
|
|
|
7360
7308
|
description: string;
|
|
7361
7309
|
in: "path";
|
|
7362
7310
|
};
|
|
7363
|
-
"x-bot-id": {
|
|
7364
|
-
in: "header";
|
|
7365
|
-
description: string;
|
|
7366
|
-
type: "string";
|
|
7367
|
-
required: true;
|
|
7368
|
-
};
|
|
7369
|
-
"x-integration-id": {
|
|
7370
|
-
in: "header";
|
|
7371
|
-
description: string;
|
|
7372
|
-
type: "string";
|
|
7373
|
-
required: false;
|
|
7374
|
-
};
|
|
7375
|
-
"x-user-id": {
|
|
7376
|
-
in: "header";
|
|
7377
|
-
description: string;
|
|
7378
|
-
type: "string";
|
|
7379
|
-
required: false;
|
|
7380
|
-
};
|
|
7381
|
-
"x-user-role": {
|
|
7382
|
-
in: "header";
|
|
7383
|
-
description: string;
|
|
7384
|
-
type: "string";
|
|
7385
|
-
required: false;
|
|
7386
|
-
};
|
|
7387
7311
|
};
|
|
7388
7312
|
response: {
|
|
7389
7313
|
description: string;
|
|
@@ -7399,13 +7323,16 @@ export declare const state: {
|
|
|
7399
7323
|
botId: {
|
|
7400
7324
|
type: "string";
|
|
7401
7325
|
};
|
|
7402
|
-
|
|
7326
|
+
name: {
|
|
7403
7327
|
type: "string";
|
|
7404
7328
|
};
|
|
7405
|
-
|
|
7329
|
+
size: {
|
|
7406
7330
|
type: "number";
|
|
7407
7331
|
nullable: true;
|
|
7408
7332
|
};
|
|
7333
|
+
contentType: {
|
|
7334
|
+
type: "string";
|
|
7335
|
+
};
|
|
7409
7336
|
tags: {
|
|
7410
7337
|
type: "object";
|
|
7411
7338
|
additionalProperties: {
|
|
@@ -7456,30 +7383,6 @@ export declare const state: {
|
|
|
7456
7383
|
description: string;
|
|
7457
7384
|
in: "path";
|
|
7458
7385
|
};
|
|
7459
|
-
"x-bot-id": {
|
|
7460
|
-
in: "header";
|
|
7461
|
-
description: string;
|
|
7462
|
-
type: "string";
|
|
7463
|
-
required: true;
|
|
7464
|
-
};
|
|
7465
|
-
"x-integration-id": {
|
|
7466
|
-
in: "header";
|
|
7467
|
-
description: string;
|
|
7468
|
-
type: "string";
|
|
7469
|
-
required: false;
|
|
7470
|
-
};
|
|
7471
|
-
"x-user-id": {
|
|
7472
|
-
in: "header";
|
|
7473
|
-
description: string;
|
|
7474
|
-
type: "string";
|
|
7475
|
-
required: false;
|
|
7476
|
-
};
|
|
7477
|
-
"x-user-role": {
|
|
7478
|
-
in: "header";
|
|
7479
|
-
description: string;
|
|
7480
|
-
type: "string";
|
|
7481
|
-
required: false;
|
|
7482
|
-
};
|
|
7483
7386
|
};
|
|
7484
7387
|
response: {
|
|
7485
7388
|
description: string;
|
|
@@ -7509,30 +7412,6 @@ export declare const state: {
|
|
|
7509
7412
|
description: string;
|
|
7510
7413
|
in: "path";
|
|
7511
7414
|
};
|
|
7512
|
-
"x-bot-id": {
|
|
7513
|
-
in: "header";
|
|
7514
|
-
description: string;
|
|
7515
|
-
type: "string";
|
|
7516
|
-
required: true;
|
|
7517
|
-
};
|
|
7518
|
-
"x-integration-id": {
|
|
7519
|
-
in: "header";
|
|
7520
|
-
description: string;
|
|
7521
|
-
type: "string";
|
|
7522
|
-
required: false;
|
|
7523
|
-
};
|
|
7524
|
-
"x-user-id": {
|
|
7525
|
-
in: "header";
|
|
7526
|
-
description: string;
|
|
7527
|
-
type: "string";
|
|
7528
|
-
required: false;
|
|
7529
|
-
};
|
|
7530
|
-
"x-user-role": {
|
|
7531
|
-
in: "header";
|
|
7532
|
-
description: string;
|
|
7533
|
-
type: "string";
|
|
7534
|
-
required: false;
|
|
7535
|
-
};
|
|
7536
7415
|
};
|
|
7537
7416
|
requestBody: {
|
|
7538
7417
|
description: string;
|
|
@@ -7580,39 +7459,21 @@ export declare const state: {
|
|
|
7580
7459
|
method: "get";
|
|
7581
7460
|
section: "files";
|
|
7582
7461
|
parameters: {
|
|
7583
|
-
"x-bot-id": {
|
|
7584
|
-
in: "header";
|
|
7585
|
-
description: string;
|
|
7586
|
-
type: "string";
|
|
7587
|
-
required: true;
|
|
7588
|
-
};
|
|
7589
|
-
"x-integration-id": {
|
|
7590
|
-
in: "header";
|
|
7591
|
-
description: string;
|
|
7592
|
-
type: "string";
|
|
7593
|
-
required: false;
|
|
7594
|
-
};
|
|
7595
|
-
"x-user-id": {
|
|
7596
|
-
in: "header";
|
|
7597
|
-
description: string;
|
|
7598
|
-
type: "string";
|
|
7599
|
-
required: false;
|
|
7600
|
-
};
|
|
7601
|
-
"x-user-role": {
|
|
7602
|
-
in: "header";
|
|
7603
|
-
description: string;
|
|
7604
|
-
type: "string";
|
|
7605
|
-
required: false;
|
|
7606
|
-
};
|
|
7607
7462
|
botId: {
|
|
7608
7463
|
type: "string";
|
|
7609
7464
|
description: string;
|
|
7610
7465
|
in: "path";
|
|
7611
7466
|
};
|
|
7612
7467
|
tags: {
|
|
7613
|
-
type: "string";
|
|
7614
7468
|
in: "query";
|
|
7615
7469
|
description: string;
|
|
7470
|
+
type: "object";
|
|
7471
|
+
schema: {
|
|
7472
|
+
type: "object";
|
|
7473
|
+
additionalProperties: {
|
|
7474
|
+
type: "string";
|
|
7475
|
+
};
|
|
7476
|
+
};
|
|
7616
7477
|
};
|
|
7617
7478
|
query: {
|
|
7618
7479
|
in: "query";
|
|
@@ -10200,13 +10061,16 @@ export declare const state: {
|
|
|
10200
10061
|
botId: {
|
|
10201
10062
|
type: "string";
|
|
10202
10063
|
};
|
|
10203
|
-
|
|
10064
|
+
name: {
|
|
10204
10065
|
type: "string";
|
|
10205
10066
|
};
|
|
10206
|
-
|
|
10067
|
+
size: {
|
|
10207
10068
|
type: "number";
|
|
10208
10069
|
nullable: true;
|
|
10209
10070
|
};
|
|
10071
|
+
contentType: {
|
|
10072
|
+
type: "string";
|
|
10073
|
+
};
|
|
10210
10074
|
tags: {
|
|
10211
10075
|
type: "object";
|
|
10212
10076
|
additionalProperties: {
|