@botpress/api 1.67.0 → 1.68.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.68.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": {
@@ -288084,7 +288083,8 @@ var state2 = {
288084
288083
  "enum": [
288085
288084
  "v1",
288086
288085
  "v2",
288087
- "v3"
288086
+ "v3",
288087
+ "v4"
288088
288088
  ]
288089
288089
  },
288090
288090
  "plan": {
@@ -288296,7 +288296,8 @@ var state2 = {
288296
288296
  "enum": [
288297
288297
  "v1",
288298
288298
  "v2",
288299
- "v3"
288299
+ "v3",
288300
+ "v4"
288300
288301
  ]
288301
288302
  },
288302
288303
  "plan": {
@@ -288868,7 +288869,8 @@ var state2 = {
288868
288869
  "enum": [
288869
288870
  "v1",
288870
288871
  "v2",
288871
- "v3"
288872
+ "v3",
288873
+ "v4"
288872
288874
  ]
288873
288875
  },
288874
288876
  "plan": {
@@ -289065,7 +289067,8 @@ var state2 = {
289065
289067
  "enum": [
289066
289068
  "v1",
289067
289069
  "v2",
289068
- "v3"
289070
+ "v3",
289071
+ "v4"
289069
289072
  ]
289070
289073
  },
289071
289074
  "plan": {
@@ -295774,7 +295777,7 @@ var state2 = {
295774
295777
  "title": "Botpress Admin API",
295775
295778
  "description": "API for Botpress Cloud Manager",
295776
295779
  "server": "https://api.botpress.cloud",
295777
- "version": "1.67.0",
295780
+ "version": "1.68.0",
295778
295781
  "prefix": "v1"
295779
295782
  },
295780
295783
  "defaultParameters": {
@@ -295916,6 +295919,11 @@ var state2 = {
295916
295919
  "status": 400,
295917
295920
  "type": "BreakingChanges",
295918
295921
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
295922
+ },
295923
+ {
295924
+ "status": 504,
295925
+ "type": "OperationTimeout",
295926
+ "description": "The operation timed out."
295919
295927
  }
295920
295928
  ],
295921
295929
  "refs": {
@@ -298196,7 +298204,8 @@ var state2 = {
298196
298204
  "enum": [
298197
298205
  "v1",
298198
298206
  "v2",
298199
- "v3"
298207
+ "v3",
298208
+ "v4"
298200
298209
  ]
298201
298210
  },
298202
298211
  "plan": {
@@ -301277,7 +301286,7 @@ var state3 = {
301277
301286
  "title": "Botpress Files API",
301278
301287
  "description": "API for Botpress Files",
301279
301288
  "server": "https://api.botpress.cloud",
301280
- "version": "1.67.0",
301289
+ "version": "1.68.0",
301281
301290
  "prefix": "v1"
301282
301291
  },
301283
301292
  "defaultParameters": {
@@ -301443,6 +301452,11 @@ var state3 = {
301443
301452
  "status": 400,
301444
301453
  "type": "BreakingChanges",
301445
301454
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
301455
+ },
301456
+ {
301457
+ "status": 504,
301458
+ "type": "OperationTimeout",
301459
+ "description": "The operation timed out."
301446
301460
  }
301447
301461
  ],
301448
301462
  "refs": {
@@ -303568,7 +303582,7 @@ var state4 = {
303568
303582
  "title": "Botpress Tables API",
303569
303583
  "description": "API for Botpress Tables",
303570
303584
  "server": "https://api.botpress.cloud",
303571
- "version": "1.67.0",
303585
+ "version": "1.68.0",
303572
303586
  "prefix": "v1"
303573
303587
  },
303574
303588
  "defaultParameters": {
@@ -303734,6 +303748,11 @@ var state4 = {
303734
303748
  "status": 400,
303735
303749
  "type": "BreakingChanges",
303736
303750
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
303751
+ },
303752
+ {
303753
+ "status": 504,
303754
+ "type": "OperationTimeout",
303755
+ "description": "The operation timed out."
303737
303756
  }
303738
303757
  ],
303739
303758
  "refs": {
@@ -314624,7 +314643,8 @@ var state5 = {
314624
314643
  "enum": [
314625
314644
  "v1",
314626
314645
  "v2",
314627
- "v3"
314646
+ "v3",
314647
+ "v4"
314628
314648
  ]
314629
314649
  },
314630
314650
  "plan": {
@@ -314817,7 +314837,8 @@ var state5 = {
314817
314837
  "enum": [
314818
314838
  "v1",
314819
314839
  "v2",
314820
- "v3"
314840
+ "v3",
314841
+ "v4"
314821
314842
  ]
314822
314843
  },
314823
314844
  "plan": {
@@ -315352,7 +315373,8 @@ var state5 = {
315352
315373
  "enum": [
315353
315374
  "v1",
315354
315375
  "v2",
315355
- "v3"
315376
+ "v3",
315377
+ "v4"
315356
315378
  ]
315357
315379
  },
315358
315380
  "plan": {
@@ -315536,7 +315558,8 @@ var state5 = {
315536
315558
  "enum": [
315537
315559
  "v1",
315538
315560
  "v2",
315539
- "v3"
315561
+ "v3",
315562
+ "v4"
315540
315563
  ]
315541
315564
  },
315542
315565
  "plan": {
@@ -324960,7 +324983,7 @@ var state5 = {
324960
324983
  "title": "Botpress API",
324961
324984
  "description": "API for Botpress Cloud",
324962
324985
  "server": "https://api.botpress.cloud",
324963
- "version": "1.67.0",
324986
+ "version": "1.68.0",
324964
324987
  "prefix": "v1"
324965
324988
  },
324966
324989
  "errors": [
@@ -325088,6 +325111,11 @@ var state5 = {
325088
325111
  "status": 400,
325089
325112
  "type": "BreakingChanges",
325090
325113
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
325114
+ },
325115
+ {
325116
+ "status": 504,
325117
+ "type": "OperationTimeout",
325118
+ "description": "The operation timed out."
325091
325119
  }
325092
325120
  ],
325093
325121
  "refs": {
@@ -327501,7 +327529,8 @@ var state5 = {
327501
327529
  "enum": [
327502
327530
  "v1",
327503
327531
  "v2",
327504
- "v3"
327532
+ "v3",
327533
+ "v4"
327505
327534
  ]
327506
327535
  },
327507
327536
  "plan": {
@@ -329156,12 +329185,6 @@ var state5 = {
329156
329185
  "listTagValues"
329157
329186
  ]
329158
329187
  },
329159
- {
329160
- "description": "",
329161
- "title": "Rate Limit",
329162
- "name": "ratelimit",
329163
- "operations": []
329164
- },
329165
329188
  {
329166
329189
  "title": "Bot",
329167
329190
  "description": "",
@@ -330208,7 +330231,7 @@ var state6 = {
330208
330231
  "title": "Botpress Billing Public API",
330209
330232
  "description": "API for Botpress Billing",
330210
330233
  "server": "https://api.botpress.cloud",
330211
- "version": "1.67.0",
330234
+ "version": "1.68.0",
330212
330235
  "prefix": "v2"
330213
330236
  },
330214
330237
  "defaultParameters": {
@@ -330344,6 +330367,11 @@ var state6 = {
330344
330367
  "status": 400,
330345
330368
  "type": "BreakingChanges",
330346
330369
  "description": "Request payload contains breaking changes which is not allowed for this resource without a version increment."
330370
+ },
330371
+ {
330372
+ "status": 504,
330373
+ "type": "OperationTimeout",
330374
+ "description": "The operation timed out."
330347
330375
  }
330348
330376
  ],
330349
330377
  "refs": {
@@ -13702,6 +13702,10 @@ export declare const state: {
13702
13702
  status: 402;
13703
13703
  type: string;
13704
13704
  description: string;
13705
+ } | {
13706
+ status: 504;
13707
+ type: string;
13708
+ description: string;
13705
13709
  })[];
13706
13710
  refs: {
13707
13711
  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: {
@@ -18070,6 +18070,10 @@ export declare const state: {
18070
18070
  status: 402;
18071
18071
  type: string;
18072
18072
  description: string;
18073
+ } | {
18074
+ status: 504;
18075
+ type: string;
18076
+ description: string;
18073
18077
  })[];
18074
18078
  refs: {
18075
18079
  parameters: {};
@@ -21427,12 +21431,6 @@ export declare const state: {
21427
21431
  name: "tag";
21428
21432
  operations: string[];
21429
21433
  schema?: undefined;
21430
- } | {
21431
- description: string;
21432
- title: string;
21433
- name: "ratelimit";
21434
- operations: never[];
21435
- schema?: undefined;
21436
21434
  } | {
21437
21435
  title: string;
21438
21436
  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.68.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {
@@ -11,8 +11,8 @@
11
11
  "@botpress/bridge": "1.8.0",
12
12
  "@botpress/cloud-manager": "0.2.0",
13
13
  "@botpress/common": "0.5.0",
14
- "@botpress/files-api": "0.18.0",
15
14
  "@bpinternal/const": "0.4.1",
15
+ "@botpress/files-api": "0.18.0",
16
16
  "@bpinternal/tables-api": "0.17.2",
17
17
  "@botpress/smaug": "1.0.0"
18
18
  },