@botpress/api 1.46.0 → 1.47.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @botpress/api@1.46.0 openapi /home/runner/work/skynet/skynet/packages/public-api
2
+ > @botpress/api@1.47.0 openapi /home/runner/work/skynet/skynet/packages/public-api
3
3
  > es-node openapi/generator.ts && pnpm run build
4
4
 
5
5
  Generating openapi content
@@ -34,18 +34,18 @@ Saving openapi.json file
34
34
 
35
35
  info: Exit with code {"category":"system","code":0,"label":"Shutdown"}
36
36
 
37
- > @botpress/api@1.46.0 build /home/runner/work/skynet/skynet/packages/public-api
37
+ > @botpress/api@1.47.0 build /home/runner/work/skynet/skynet/packages/public-api
38
38
  > pnpm run build:type && pnpm run build:impl
39
39
 
40
40
 
41
- > @botpress/api@1.46.0 build:type /home/runner/work/skynet/skynet/packages/public-api
41
+ > @botpress/api@1.47.0 build:type /home/runner/work/skynet/skynet/packages/public-api
42
42
  > tsc -p tsconfig.package.json --emitDeclarationOnly
43
43
 
44
44
 
45
- > @botpress/api@1.46.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
45
+ > @botpress/api@1.47.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
46
46
  > esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts
47
47
 
48
48
 
49
49
  dist/index.js 14.1mb ⚠️
50
50
 
51
- ⚡ Done in 917ms
51
+ ⚡ Done in 927ms
package/dist/index.js CHANGED
@@ -283818,7 +283818,7 @@ var state = {
283818
283818
  "type": {
283819
283819
  "in": "path",
283820
283820
  "type": "string",
283821
- "description": "State type",
283821
+ "description": "Represents the resource type that the state is related to",
283822
283822
  "enum": [
283823
283823
  "conversation",
283824
283824
  "user",
@@ -283831,12 +283831,12 @@ var state = {
283831
283831
  "id": {
283832
283832
  "in": "path",
283833
283833
  "type": "string",
283834
- "description": "State id"
283834
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
283835
283835
  },
283836
283836
  "name": {
283837
283837
  "in": "path",
283838
283838
  "type": "string",
283839
- "description": "State name"
283839
+ "description": "Name of the State which is declared inside the bot definition"
283840
283840
  }
283841
283841
  },
283842
283842
  "requestBody": {
@@ -283886,7 +283886,7 @@ var state = {
283886
283886
  "type": {
283887
283887
  "in": "path",
283888
283888
  "type": "string",
283889
- "description": "State type",
283889
+ "description": "Represents the resource type that the state is related to",
283890
283890
  "enum": [
283891
283891
  "conversation",
283892
283892
  "user",
@@ -283899,12 +283899,12 @@ var state = {
283899
283899
  "id": {
283900
283900
  "in": "path",
283901
283901
  "type": "string",
283902
- "description": "State id"
283902
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
283903
283903
  },
283904
283904
  "name": {
283905
283905
  "in": "path",
283906
283906
  "type": "string",
283907
- "description": "State name"
283907
+ "description": "Name of the State which is declared inside the bot definition"
283908
283908
  }
283909
283909
  },
283910
283910
  "section": "state",
@@ -283947,7 +283947,7 @@ var state = {
283947
283947
  "type": {
283948
283948
  "in": "path",
283949
283949
  "type": "string",
283950
- "description": "State type",
283950
+ "description": "Represents the resource type that the state is related to",
283951
283951
  "enum": [
283952
283952
  "conversation",
283953
283953
  "user",
@@ -283960,12 +283960,12 @@ var state = {
283960
283960
  "id": {
283961
283961
  "in": "path",
283962
283962
  "type": "string",
283963
- "description": "State id"
283963
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
283964
283964
  },
283965
283965
  "name": {
283966
283966
  "in": "path",
283967
283967
  "type": "string",
283968
- "description": "State name"
283968
+ "description": "Name of the State which is declared inside the bot definition"
283969
283969
  }
283970
283970
  },
283971
283971
  "requestBody": {
@@ -284021,7 +284021,7 @@ var state = {
284021
284021
  "type": {
284022
284022
  "in": "path",
284023
284023
  "type": "string",
284024
- "description": "State type",
284024
+ "description": "Represents the resource type that the state is related to",
284025
284025
  "enum": [
284026
284026
  "conversation",
284027
284027
  "user",
@@ -284034,12 +284034,12 @@ var state = {
284034
284034
  "id": {
284035
284035
  "in": "path",
284036
284036
  "type": "string",
284037
- "description": "State id"
284037
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
284038
284038
  },
284039
284039
  "name": {
284040
284040
  "in": "path",
284041
284041
  "type": "string",
284042
- "description": "State name"
284042
+ "description": "Name of the State which is declared inside the bot definition"
284043
284043
  }
284044
284044
  },
284045
284045
  "requestBody": {
@@ -284107,7 +284107,7 @@ var state = {
284107
284107
  "type": {
284108
284108
  "in": "path",
284109
284109
  "type": "string",
284110
- "description": "State type",
284110
+ "description": "Represents the resource type that the state is related to",
284111
284111
  "enum": [
284112
284112
  "conversation",
284113
284113
  "user",
@@ -284120,12 +284120,12 @@ var state = {
284120
284120
  "id": {
284121
284121
  "in": "path",
284122
284122
  "type": "string",
284123
- "description": "State id"
284123
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
284124
284124
  },
284125
284125
  "name": {
284126
284126
  "in": "path",
284127
284127
  "type": "string",
284128
- "description": "State name"
284128
+ "description": "Name of the State which is declared inside the bot definition"
284129
284129
  }
284130
284130
  },
284131
284131
  "requestBody": {
@@ -285106,7 +285106,7 @@ var state = {
285106
285106
  "title": "Botpress API",
285107
285107
  "description": "API for Botpress Cloud",
285108
285108
  "server": "https://api.botpress.cloud",
285109
- "version": "1.46.0",
285109
+ "version": "1.47.0",
285110
285110
  "prefix": "v1"
285111
285111
  },
285112
285112
  "errors": [
@@ -295494,6 +295494,11 @@ var state2 = {
295494
295494
  "type": "string",
295495
295495
  "description": "Integration Version ID",
295496
295496
  "in": "path"
295497
+ },
295498
+ "integrationInstanceAlias": {
295499
+ "in": "query",
295500
+ "type": "string",
295501
+ "description": "Integration instance alias. If provided, integrationId is ignored."
295497
295502
  }
295498
295503
  },
295499
295504
  "requestBody": {
@@ -295537,6 +295542,11 @@ var state2 = {
295537
295542
  "type": "string",
295538
295543
  "description": "Integration Version ID",
295539
295544
  "in": "path"
295545
+ },
295546
+ "integrationInstanceAlias": {
295547
+ "in": "query",
295548
+ "type": "string",
295549
+ "description": "Integration instance alias. If provided, integrationId is ignored."
295540
295550
  }
295541
295551
  },
295542
295552
  "response": {
@@ -295564,6 +295574,11 @@ var state2 = {
295564
295574
  "type": "string",
295565
295575
  "description": "Integration Version ID",
295566
295576
  "in": "path"
295577
+ },
295578
+ "integrationInstanceAlias": {
295579
+ "in": "query",
295580
+ "type": "string",
295581
+ "description": "Integration instance alias. If provided, integrationId is ignored."
295567
295582
  }
295568
295583
  },
295569
295584
  "response": {
@@ -295603,6 +295618,11 @@ var state2 = {
295603
295618
  "type": "string",
295604
295619
  "description": "Integration Version ID",
295605
295620
  "in": "path"
295621
+ },
295622
+ "integrationInstanceAlias": {
295623
+ "in": "query",
295624
+ "type": "string",
295625
+ "description": "Integration instance alias. If provided, integrationId is ignored."
295606
295626
  }
295607
295627
  },
295608
295628
  "response": {
@@ -303150,7 +303170,7 @@ var state2 = {
303150
303170
  "title": "Botpress API",
303151
303171
  "description": "API for Botpress Cloud",
303152
303172
  "server": "https://api.botpress.cloud",
303153
- "version": "1.46.0",
303173
+ "version": "1.47.0",
303154
303174
  "prefix": "v1"
303155
303175
  },
303156
303176
  "errors": [
@@ -309157,7 +309177,7 @@ var state3 = {
309157
309177
  "title": "Botpress API",
309158
309178
  "description": "API for Botpress Cloud",
309159
309179
  "server": "https://api.botpress.cloud",
309160
- "version": "1.46.0",
309180
+ "version": "1.47.0",
309161
309181
  "prefix": "v1"
309162
309182
  },
309163
309183
  "errors": [
@@ -314300,7 +314320,7 @@ var state4 = {
314300
314320
  "title": "Botpress API",
314301
314321
  "description": "API for Botpress Cloud",
314302
314322
  "server": "https://api.botpress.cloud",
314303
- "version": "1.46.0",
314323
+ "version": "1.47.0",
314304
314324
  "prefix": "v1"
314305
314325
  },
314306
314326
  "errors": [
@@ -319580,7 +319600,7 @@ var state5 = {
319580
319600
  "type": {
319581
319601
  "in": "path",
319582
319602
  "type": "string",
319583
- "description": "State type",
319603
+ "description": "Represents the resource type that the state is related to",
319584
319604
  "enum": [
319585
319605
  "conversation",
319586
319606
  "user",
@@ -319593,12 +319613,12 @@ var state5 = {
319593
319613
  "id": {
319594
319614
  "in": "path",
319595
319615
  "type": "string",
319596
- "description": "State id"
319616
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
319597
319617
  },
319598
319618
  "name": {
319599
319619
  "in": "path",
319600
319620
  "type": "string",
319601
- "description": "State name"
319621
+ "description": "Name of the State which is declared inside the bot definition"
319602
319622
  }
319603
319623
  },
319604
319624
  "requestBody": {
@@ -319648,7 +319668,7 @@ var state5 = {
319648
319668
  "type": {
319649
319669
  "in": "path",
319650
319670
  "type": "string",
319651
- "description": "State type",
319671
+ "description": "Represents the resource type that the state is related to",
319652
319672
  "enum": [
319653
319673
  "conversation",
319654
319674
  "user",
@@ -319661,12 +319681,12 @@ var state5 = {
319661
319681
  "id": {
319662
319682
  "in": "path",
319663
319683
  "type": "string",
319664
- "description": "State id"
319684
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
319665
319685
  },
319666
319686
  "name": {
319667
319687
  "in": "path",
319668
319688
  "type": "string",
319669
- "description": "State name"
319689
+ "description": "Name of the State which is declared inside the bot definition"
319670
319690
  }
319671
319691
  },
319672
319692
  "section": "state",
@@ -319709,7 +319729,7 @@ var state5 = {
319709
319729
  "type": {
319710
319730
  "in": "path",
319711
319731
  "type": "string",
319712
- "description": "State type",
319732
+ "description": "Represents the resource type that the state is related to",
319713
319733
  "enum": [
319714
319734
  "conversation",
319715
319735
  "user",
@@ -319722,12 +319742,12 @@ var state5 = {
319722
319742
  "id": {
319723
319743
  "in": "path",
319724
319744
  "type": "string",
319725
- "description": "State id"
319745
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
319726
319746
  },
319727
319747
  "name": {
319728
319748
  "in": "path",
319729
319749
  "type": "string",
319730
- "description": "State name"
319750
+ "description": "Name of the State which is declared inside the bot definition"
319731
319751
  }
319732
319752
  },
319733
319753
  "requestBody": {
@@ -319783,7 +319803,7 @@ var state5 = {
319783
319803
  "type": {
319784
319804
  "in": "path",
319785
319805
  "type": "string",
319786
- "description": "State type",
319806
+ "description": "Represents the resource type that the state is related to",
319787
319807
  "enum": [
319788
319808
  "conversation",
319789
319809
  "user",
@@ -319796,12 +319816,12 @@ var state5 = {
319796
319816
  "id": {
319797
319817
  "in": "path",
319798
319818
  "type": "string",
319799
- "description": "State id"
319819
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
319800
319820
  },
319801
319821
  "name": {
319802
319822
  "in": "path",
319803
319823
  "type": "string",
319804
- "description": "State name"
319824
+ "description": "Name of the State which is declared inside the bot definition"
319805
319825
  }
319806
319826
  },
319807
319827
  "requestBody": {
@@ -319869,7 +319889,7 @@ var state5 = {
319869
319889
  "type": {
319870
319890
  "in": "path",
319871
319891
  "type": "string",
319872
- "description": "State type",
319892
+ "description": "Represents the resource type that the state is related to",
319873
319893
  "enum": [
319874
319894
  "conversation",
319875
319895
  "user",
@@ -319882,12 +319902,12 @@ var state5 = {
319882
319902
  "id": {
319883
319903
  "in": "path",
319884
319904
  "type": "string",
319885
- "description": "State id"
319905
+ "description": "Id of the State which will be either the botId, the userId or the conversationId"
319886
319906
  },
319887
319907
  "name": {
319888
319908
  "in": "path",
319889
319909
  "type": "string",
319890
- "description": "State name"
319910
+ "description": "Name of the State which is declared inside the bot definition"
319891
319911
  }
319892
319912
  },
319893
319913
  "requestBody": {
@@ -327245,6 +327265,11 @@ var state5 = {
327245
327265
  "type": "string",
327246
327266
  "description": "Integration Version ID",
327247
327267
  "in": "path"
327268
+ },
327269
+ "integrationInstanceAlias": {
327270
+ "in": "query",
327271
+ "type": "string",
327272
+ "description": "Integration instance alias. If provided, integrationId is ignored."
327248
327273
  }
327249
327274
  },
327250
327275
  "requestBody": {
@@ -327288,6 +327313,11 @@ var state5 = {
327288
327313
  "type": "string",
327289
327314
  "description": "Integration Version ID",
327290
327315
  "in": "path"
327316
+ },
327317
+ "integrationInstanceAlias": {
327318
+ "in": "query",
327319
+ "type": "string",
327320
+ "description": "Integration instance alias. If provided, integrationId is ignored."
327291
327321
  }
327292
327322
  },
327293
327323
  "response": {
@@ -327315,6 +327345,11 @@ var state5 = {
327315
327345
  "type": "string",
327316
327346
  "description": "Integration Version ID",
327317
327347
  "in": "path"
327348
+ },
327349
+ "integrationInstanceAlias": {
327350
+ "in": "query",
327351
+ "type": "string",
327352
+ "description": "Integration instance alias. If provided, integrationId is ignored."
327318
327353
  }
327319
327354
  },
327320
327355
  "response": {
@@ -327354,6 +327389,11 @@ var state5 = {
327354
327389
  "type": "string",
327355
327390
  "description": "Integration Version ID",
327356
327391
  "in": "path"
327392
+ },
327393
+ "integrationInstanceAlias": {
327394
+ "in": "query",
327395
+ "type": "string",
327396
+ "description": "Integration instance alias. If provided, integrationId is ignored."
327357
327397
  }
327358
327398
  },
327359
327399
  "response": {
@@ -337973,7 +338013,7 @@ var state5 = {
337973
338013
  "title": "Botpress API",
337974
338014
  "description": "API for Botpress Cloud",
337975
338015
  "server": "https://api.botpress.cloud",
337976
- "version": "1.46.0",
338016
+ "version": "1.47.0",
337977
338017
  "prefix": "v1"
337978
338018
  },
337979
338019
  "errors": [
@@ -5598,6 +5598,11 @@ export declare const state: {
5598
5598
  description: string;
5599
5599
  in: "path";
5600
5600
  };
5601
+ integrationInstanceAlias: {
5602
+ in: "query";
5603
+ type: "string";
5604
+ description: string;
5605
+ };
5601
5606
  };
5602
5607
  requestBody: {
5603
5608
  description: string;
@@ -5639,6 +5644,11 @@ export declare const state: {
5639
5644
  description: string;
5640
5645
  in: "path";
5641
5646
  };
5647
+ integrationInstanceAlias: {
5648
+ in: "query";
5649
+ type: "string";
5650
+ description: string;
5651
+ };
5642
5652
  };
5643
5653
  response: {
5644
5654
  description: string;
@@ -5666,6 +5676,11 @@ export declare const state: {
5666
5676
  description: string;
5667
5677
  in: "path";
5668
5678
  };
5679
+ integrationInstanceAlias: {
5680
+ in: "query";
5681
+ type: "string";
5682
+ description: string;
5683
+ };
5669
5684
  };
5670
5685
  response: {
5671
5686
  description: string;
@@ -5702,6 +5717,11 @@ export declare const state: {
5702
5717
  description: string;
5703
5718
  in: "path";
5704
5719
  };
5720
+ integrationInstanceAlias: {
5721
+ in: "query";
5722
+ type: "string";
5723
+ description: string;
5724
+ };
5705
5725
  };
5706
5726
  response: {
5707
5727
  description: string;
@@ -7977,6 +7977,11 @@ export declare const state: {
7977
7977
  description: string;
7978
7978
  in: "path";
7979
7979
  };
7980
+ integrationInstanceAlias: {
7981
+ in: "query";
7982
+ type: "string";
7983
+ description: string;
7984
+ };
7980
7985
  };
7981
7986
  requestBody: {
7982
7987
  description: string;
@@ -8018,6 +8023,11 @@ export declare const state: {
8018
8023
  description: string;
8019
8024
  in: "path";
8020
8025
  };
8026
+ integrationInstanceAlias: {
8027
+ in: "query";
8028
+ type: "string";
8029
+ description: string;
8030
+ };
8021
8031
  };
8022
8032
  response: {
8023
8033
  description: string;
@@ -8045,6 +8055,11 @@ export declare const state: {
8045
8055
  description: string;
8046
8056
  in: "path";
8047
8057
  };
8058
+ integrationInstanceAlias: {
8059
+ in: "query";
8060
+ type: "string";
8061
+ description: string;
8062
+ };
8048
8063
  };
8049
8064
  response: {
8050
8065
  description: string;
@@ -8081,6 +8096,11 @@ export declare const state: {
8081
8096
  description: string;
8082
8097
  in: "path";
8083
8098
  };
8099
+ integrationInstanceAlias: {
8100
+ in: "query";
8101
+ type: "string";
8102
+ description: string;
8103
+ };
8084
8104
  };
8085
8105
  response: {
8086
8106
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.46.0",
3
+ "version": "1.47.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {