@botpress/api 1.67.0 → 1.69.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 CHANGED
@@ -279363,7 +279363,7 @@ var state = {
279363
279363
  "title": "Botpress Runtime API",
279364
279364
  "description": "API for Botpress Runtime",
279365
279365
  "server": "https://api.botpress.cloud",
279366
- "version": "1.67.0",
279366
+ "version": "1.69.0",
279367
279367
  "prefix": "v1"
279368
279368
  },
279369
279369
  "defaultParameters": {
@@ -279511,6 +279511,11 @@ var state = {
279511
279511
  "status": 400,
279512
279512
  "type": "BreakingChanges",
279513
279513
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
279514
+ },
279515
+ {
279516
+ "status": 504,
279517
+ "type": "OperationTimeout",
279518
+ "description": "The operation timed out."
279514
279519
  }
279515
279520
  ],
279516
279521
  "refs": {
@@ -280278,12 +280283,6 @@ var state = {
280278
280283
  "operations": [
280279
280284
  "listTagValues"
280280
280285
  ]
280281
- },
280282
- {
280283
- "description": "",
280284
- "title": "Rate Limit",
280285
- "name": "ratelimit",
280286
- "operations": []
280287
280286
  }
280288
280287
  ],
280289
280288
  "options": {
@@ -286454,6 +286453,10 @@ var state2 = {
286454
286453
  "additionalProperties": true,
286455
286454
  "description": "Input of the action"
286456
286455
  },
286456
+ "inputTruncated": {
286457
+ "type": "boolean",
286458
+ "description": "Present if the length of the action's input exceeds 190 KB."
286459
+ },
286457
286460
  "output": {
286458
286461
  "type": "object",
286459
286462
  "properties": {},
@@ -286461,6 +286464,10 @@ var state2 = {
286461
286464
  "nullable": true,
286462
286465
  "description": "Output of the action"
286463
286466
  },
286467
+ "outputTruncated": {
286468
+ "type": "boolean",
286469
+ "description": "Present if the length of the action's output exceeds 190 KB."
286470
+ },
286464
286471
  "status": {
286465
286472
  "type": "string",
286466
286473
  "enum": [
@@ -288084,7 +288091,8 @@ var state2 = {
288084
288091
  "enum": [
288085
288092
  "v1",
288086
288093
  "v2",
288087
- "v3"
288094
+ "v3",
288095
+ "v4"
288088
288096
  ]
288089
288097
  },
288090
288098
  "plan": {
@@ -288296,7 +288304,8 @@ var state2 = {
288296
288304
  "enum": [
288297
288305
  "v1",
288298
288306
  "v2",
288299
- "v3"
288307
+ "v3",
288308
+ "v4"
288300
288309
  ]
288301
288310
  },
288302
288311
  "plan": {
@@ -288868,7 +288877,8 @@ var state2 = {
288868
288877
  "enum": [
288869
288878
  "v1",
288870
288879
  "v2",
288871
- "v3"
288880
+ "v3",
288881
+ "v4"
288872
288882
  ]
288873
288883
  },
288874
288884
  "plan": {
@@ -289065,7 +289075,8 @@ var state2 = {
289065
289075
  "enum": [
289066
289076
  "v1",
289067
289077
  "v2",
289068
- "v3"
289078
+ "v3",
289079
+ "v4"
289069
289080
  ]
289070
289081
  },
289071
289082
  "plan": {
@@ -295774,7 +295785,7 @@ var state2 = {
295774
295785
  "title": "Botpress Admin API",
295775
295786
  "description": "API for Botpress Cloud Manager",
295776
295787
  "server": "https://api.botpress.cloud",
295777
- "version": "1.67.0",
295788
+ "version": "1.69.0",
295778
295789
  "prefix": "v1"
295779
295790
  },
295780
295791
  "defaultParameters": {
@@ -295916,6 +295927,11 @@ var state2 = {
295916
295927
  "status": 400,
295917
295928
  "type": "BreakingChanges",
295918
295929
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
295930
+ },
295931
+ {
295932
+ "status": 504,
295933
+ "type": "OperationTimeout",
295934
+ "description": "The operation timed out."
295919
295935
  }
295920
295936
  ],
295921
295937
  "refs": {
@@ -298196,7 +298212,8 @@ var state2 = {
298196
298212
  "enum": [
298197
298213
  "v1",
298198
298214
  "v2",
298199
- "v3"
298215
+ "v3",
298216
+ "v4"
298200
298217
  ]
298201
298218
  },
298202
298219
  "plan": {
@@ -301277,7 +301294,7 @@ var state3 = {
301277
301294
  "title": "Botpress Files API",
301278
301295
  "description": "API for Botpress Files",
301279
301296
  "server": "https://api.botpress.cloud",
301280
- "version": "1.67.0",
301297
+ "version": "1.69.0",
301281
301298
  "prefix": "v1"
301282
301299
  },
301283
301300
  "defaultParameters": {
@@ -301443,6 +301460,11 @@ var state3 = {
301443
301460
  "status": 400,
301444
301461
  "type": "BreakingChanges",
301445
301462
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
301463
+ },
301464
+ {
301465
+ "status": 504,
301466
+ "type": "OperationTimeout",
301467
+ "description": "The operation timed out."
301446
301468
  }
301447
301469
  ],
301448
301470
  "refs": {
@@ -303568,7 +303590,7 @@ var state4 = {
303568
303590
  "title": "Botpress Tables API",
303569
303591
  "description": "API for Botpress Tables",
303570
303592
  "server": "https://api.botpress.cloud",
303571
- "version": "1.67.0",
303593
+ "version": "1.69.0",
303572
303594
  "prefix": "v1"
303573
303595
  },
303574
303596
  "defaultParameters": {
@@ -303734,6 +303756,11 @@ var state4 = {
303734
303756
  "status": 400,
303735
303757
  "type": "BreakingChanges",
303736
303758
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
303759
+ },
303760
+ {
303761
+ "status": 504,
303762
+ "type": "OperationTimeout",
303763
+ "description": "The operation timed out."
303737
303764
  }
303738
303765
  ],
303739
303766
  "refs": {
@@ -313241,6 +313268,10 @@ var state5 = {
313241
313268
  "additionalProperties": true,
313242
313269
  "description": "Input of the action"
313243
313270
  },
313271
+ "inputTruncated": {
313272
+ "type": "boolean",
313273
+ "description": "Present if the length of the action's input exceeds 190 KB."
313274
+ },
313244
313275
  "output": {
313245
313276
  "type": "object",
313246
313277
  "properties": {},
@@ -313248,6 +313279,10 @@ var state5 = {
313248
313279
  "nullable": true,
313249
313280
  "description": "Output of the action"
313250
313281
  },
313282
+ "outputTruncated": {
313283
+ "type": "boolean",
313284
+ "description": "Present if the length of the action's output exceeds 190 KB."
313285
+ },
313251
313286
  "status": {
313252
313287
  "type": "string",
313253
313288
  "enum": [
@@ -314624,7 +314659,8 @@ var state5 = {
314624
314659
  "enum": [
314625
314660
  "v1",
314626
314661
  "v2",
314627
- "v3"
314662
+ "v3",
314663
+ "v4"
314628
314664
  ]
314629
314665
  },
314630
314666
  "plan": {
@@ -314817,7 +314853,8 @@ var state5 = {
314817
314853
  "enum": [
314818
314854
  "v1",
314819
314855
  "v2",
314820
- "v3"
314856
+ "v3",
314857
+ "v4"
314821
314858
  ]
314822
314859
  },
314823
314860
  "plan": {
@@ -315352,7 +315389,8 @@ var state5 = {
315352
315389
  "enum": [
315353
315390
  "v1",
315354
315391
  "v2",
315355
- "v3"
315392
+ "v3",
315393
+ "v4"
315356
315394
  ]
315357
315395
  },
315358
315396
  "plan": {
@@ -315536,7 +315574,8 @@ var state5 = {
315536
315574
  "enum": [
315537
315575
  "v1",
315538
315576
  "v2",
315539
- "v3"
315577
+ "v3",
315578
+ "v4"
315540
315579
  ]
315541
315580
  },
315542
315581
  "plan": {
@@ -324960,7 +324999,7 @@ var state5 = {
324960
324999
  "title": "Botpress API",
324961
325000
  "description": "API for Botpress Cloud",
324962
325001
  "server": "https://api.botpress.cloud",
324963
- "version": "1.67.0",
325002
+ "version": "1.69.0",
324964
325003
  "prefix": "v1"
324965
325004
  },
324966
325005
  "errors": [
@@ -325088,6 +325127,11 @@ var state5 = {
325088
325127
  "status": 400,
325089
325128
  "type": "BreakingChanges",
325090
325129
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
325130
+ },
325131
+ {
325132
+ "status": 504,
325133
+ "type": "OperationTimeout",
325134
+ "description": "The operation timed out."
325091
325135
  }
325092
325136
  ],
325093
325137
  "refs": {
@@ -327501,7 +327545,8 @@ var state5 = {
327501
327545
  "enum": [
327502
327546
  "v1",
327503
327547
  "v2",
327504
- "v3"
327548
+ "v3",
327549
+ "v4"
327505
327550
  ]
327506
327551
  },
327507
327552
  "plan": {
@@ -329156,12 +329201,6 @@ var state5 = {
329156
329201
  "listTagValues"
329157
329202
  ]
329158
329203
  },
329159
- {
329160
- "description": "",
329161
- "title": "Rate Limit",
329162
- "name": "ratelimit",
329163
- "operations": []
329164
- },
329165
329204
  {
329166
329205
  "title": "Bot",
329167
329206
  "description": "",
@@ -330208,7 +330247,7 @@ var state6 = {
330208
330247
  "title": "Botpress Billing Public API",
330209
330248
  "description": "API for Botpress Billing",
330210
330249
  "server": "https://api.botpress.cloud",
330211
- "version": "1.67.0",
330250
+ "version": "1.69.0",
330212
330251
  "prefix": "v2"
330213
330252
  },
330214
330253
  "defaultParameters": {
@@ -330344,6 +330383,11 @@ var state6 = {
330344
330383
  "status": 400,
330345
330384
  "type": "BreakingChanges",
330346
330385
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
330386
+ },
330387
+ {
330388
+ "status": 504,
330389
+ "type": "OperationTimeout",
330390
+ "description": "The operation timed out."
330347
330391
  }
330348
330392
  ],
330349
330393
  "refs": {
@@ -5377,6 +5377,10 @@ export declare const state: {
5377
5377
  additionalProperties: true;
5378
5378
  description: string;
5379
5379
  };
5380
+ inputTruncated: {
5381
+ type: "boolean";
5382
+ description: string;
5383
+ };
5380
5384
  output: {
5381
5385
  type: "object";
5382
5386
  properties: {};
@@ -5384,6 +5388,10 @@ export declare const state: {
5384
5388
  nullable: true;
5385
5389
  description: string;
5386
5390
  };
5391
+ outputTruncated: {
5392
+ type: "boolean";
5393
+ description: string;
5394
+ };
5387
5395
  status: {
5388
5396
  type: "string";
5389
5397
  enum: string[];
@@ -13702,6 +13710,10 @@ export declare const state: {
13702
13710
  status: 402;
13703
13711
  type: string;
13704
13712
  description: string;
13713
+ } | {
13714
+ status: 504;
13715
+ type: string;
13716
+ description: string;
13705
13717
  })[];
13706
13718
  refs: {
13707
13719
  parameters: {};
@@ -709,6 +709,10 @@ export declare const state: {
709
709
  status: 402;
710
710
  type: string;
711
711
  description: string;
712
+ } | {
713
+ status: 504;
714
+ type: string;
715
+ description: string;
712
716
  })[];
713
717
  refs: {
714
718
  parameters: {};
@@ -2232,6 +2232,10 @@ export declare const state: {
2232
2232
  status: 402;
2233
2233
  type: string;
2234
2234
  description: string;
2235
+ } | {
2236
+ status: 504;
2237
+ type: string;
2238
+ description: string;
2235
2239
  })[];
2236
2240
  refs: {
2237
2241
  parameters: {};
@@ -1,5 +1,5 @@
1
1
  import * as opapi from '@bpinternal/opapi';
2
- export type State = opapi.State<'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow', 'x-bot-id' | 'x-integration-id' | 'x-integration-alias', 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag' | 'ratelimit'>;
2
+ export type State = opapi.State<'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow', 'x-bot-id' | 'x-integration-id' | 'x-integration-alias', 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag'>;
3
3
  export declare const state: {
4
4
  operations: {
5
5
  createConversation: {
@@ -3687,6 +3687,10 @@ export declare const state: {
3687
3687
  status: 402;
3688
3688
  type: string;
3689
3689
  description: string;
3690
+ } | {
3691
+ status: 504;
3692
+ type: string;
3693
+ description: string;
3690
3694
  })[];
3691
3695
  refs: {
3692
3696
  parameters: {};
@@ -4296,12 +4300,6 @@ export declare const state: {
4296
4300
  name: "tag";
4297
4301
  operations: string[];
4298
4302
  schema?: undefined;
4299
- } | {
4300
- description: string;
4301
- title: string;
4302
- name: "ratelimit";
4303
- operations: never[];
4304
- schema?: undefined;
4305
4303
  })[];
4306
4304
  options: {
4307
4305
  allowUnions: false;
@@ -1,5 +1,5 @@
1
1
  import * as opapi from '@bpinternal/opapi';
2
- export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag' | 'ratelimit' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
2
+ export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
3
3
  export declare const state: {
4
4
  operations: {
5
5
  createConversation: {
@@ -7854,6 +7854,10 @@ export declare const state: {
7854
7854
  additionalProperties: true;
7855
7855
  description: string;
7856
7856
  };
7857
+ inputTruncated: {
7858
+ type: "boolean";
7859
+ description: string;
7860
+ };
7857
7861
  output: {
7858
7862
  type: "object";
7859
7863
  properties: {};
@@ -7861,6 +7865,10 @@ export declare const state: {
7861
7865
  nullable: true;
7862
7866
  description: string;
7863
7867
  };
7868
+ outputTruncated: {
7869
+ type: "boolean";
7870
+ description: string;
7871
+ };
7864
7872
  status: {
7865
7873
  type: "string";
7866
7874
  enum: string[];
@@ -18070,6 +18078,10 @@ export declare const state: {
18070
18078
  status: 402;
18071
18079
  type: string;
18072
18080
  description: string;
18081
+ } | {
18082
+ status: 504;
18083
+ type: string;
18084
+ description: string;
18073
18085
  })[];
18074
18086
  refs: {
18075
18087
  parameters: {};
@@ -21427,12 +21439,6 @@ export declare const state: {
21427
21439
  name: "tag";
21428
21440
  operations: string[];
21429
21441
  schema?: undefined;
21430
- } | {
21431
- description: string;
21432
- title: string;
21433
- name: "ratelimit";
21434
- operations: never[];
21435
- schema?: undefined;
21436
21442
  } | {
21437
21443
  title: string;
21438
21444
  description: string;
@@ -1837,6 +1837,10 @@ export declare const state: {
1837
1837
  status: 402;
1838
1838
  type: string;
1839
1839
  description: string;
1840
+ } | {
1841
+ status: 504;
1842
+ type: string;
1843
+ description: string;
1840
1844
  })[];
1841
1845
  refs: {
1842
1846
  parameters: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.67.0",
3
+ "version": "1.69.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {