@botpress/api 0.65.0 → 0.67.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 +171 -9
- package/dist/src/gen/state.d.ts +150 -6
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +171 -9
package/src/gen/state.ts
CHANGED
|
@@ -10496,8 +10496,53 @@ export const state = {
|
|
|
10496
10496
|
"description": "User object configuration",
|
|
10497
10497
|
"additionalProperties": false
|
|
10498
10498
|
},
|
|
10499
|
+
"conversation": {
|
|
10500
|
+
"type": "object",
|
|
10501
|
+
"properties": {
|
|
10502
|
+
"tags": {
|
|
10503
|
+
"type": "object",
|
|
10504
|
+
"additionalProperties": {
|
|
10505
|
+
"type": "object",
|
|
10506
|
+
"properties": {
|
|
10507
|
+
"title": {
|
|
10508
|
+
"type": "string",
|
|
10509
|
+
"maxLength": 64,
|
|
10510
|
+
"description": "Title of the tag"
|
|
10511
|
+
},
|
|
10512
|
+
"description": {
|
|
10513
|
+
"type": "string",
|
|
10514
|
+
"maxLength": 256,
|
|
10515
|
+
"description": "Description of the tag"
|
|
10516
|
+
}
|
|
10517
|
+
},
|
|
10518
|
+
"description": "Definition of a tag that can be provided on the object",
|
|
10519
|
+
"additionalProperties": false
|
|
10520
|
+
}
|
|
10521
|
+
}
|
|
10522
|
+
},
|
|
10523
|
+
"required": [
|
|
10524
|
+
"tags"
|
|
10525
|
+
],
|
|
10526
|
+
"description": "Conversation object configuration",
|
|
10527
|
+
"additionalProperties": false
|
|
10528
|
+
},
|
|
10499
10529
|
"code": {
|
|
10500
|
-
"type": "
|
|
10530
|
+
"type": "object",
|
|
10531
|
+
"properties": {
|
|
10532
|
+
"node": {
|
|
10533
|
+
"type": "string",
|
|
10534
|
+
"description": "Code of plugin bundled for Node.JS"
|
|
10535
|
+
},
|
|
10536
|
+
"browser": {
|
|
10537
|
+
"type": "string",
|
|
10538
|
+
"description": "Code of plugin bundled for the browser"
|
|
10539
|
+
}
|
|
10540
|
+
},
|
|
10541
|
+
"required": [
|
|
10542
|
+
"node",
|
|
10543
|
+
"browser"
|
|
10544
|
+
],
|
|
10545
|
+
"additionalProperties": false
|
|
10501
10546
|
},
|
|
10502
10547
|
"dependencies": {
|
|
10503
10548
|
"type": "object",
|
|
@@ -10810,6 +10855,37 @@ export const state = {
|
|
|
10810
10855
|
}
|
|
10811
10856
|
},
|
|
10812
10857
|
"description": "Definition of a tag that can be provided on the object",
|
|
10858
|
+
"nullable": true,
|
|
10859
|
+
"additionalProperties": false
|
|
10860
|
+
}
|
|
10861
|
+
}
|
|
10862
|
+
},
|
|
10863
|
+
"required": [
|
|
10864
|
+
"tags"
|
|
10865
|
+
],
|
|
10866
|
+
"additionalProperties": false
|
|
10867
|
+
},
|
|
10868
|
+
"conversation": {
|
|
10869
|
+
"type": "object",
|
|
10870
|
+
"properties": {
|
|
10871
|
+
"tags": {
|
|
10872
|
+
"type": "object",
|
|
10873
|
+
"additionalProperties": {
|
|
10874
|
+
"type": "object",
|
|
10875
|
+
"properties": {
|
|
10876
|
+
"title": {
|
|
10877
|
+
"type": "string",
|
|
10878
|
+
"maxLength": 64,
|
|
10879
|
+
"description": "Title of the tag"
|
|
10880
|
+
},
|
|
10881
|
+
"description": {
|
|
10882
|
+
"type": "string",
|
|
10883
|
+
"maxLength": 256,
|
|
10884
|
+
"description": "Description of the tag"
|
|
10885
|
+
}
|
|
10886
|
+
},
|
|
10887
|
+
"description": "Definition of a tag that can be provided on the object",
|
|
10888
|
+
"nullable": true,
|
|
10813
10889
|
"additionalProperties": false
|
|
10814
10890
|
}
|
|
10815
10891
|
}
|
|
@@ -10817,12 +10893,25 @@ export const state = {
|
|
|
10817
10893
|
"required": [
|
|
10818
10894
|
"tags"
|
|
10819
10895
|
],
|
|
10820
|
-
"description": "User object configuration",
|
|
10821
|
-
"nullable": true,
|
|
10822
10896
|
"additionalProperties": false
|
|
10823
10897
|
},
|
|
10824
10898
|
"code": {
|
|
10825
|
-
"type": "
|
|
10899
|
+
"type": "object",
|
|
10900
|
+
"properties": {
|
|
10901
|
+
"node": {
|
|
10902
|
+
"type": "string",
|
|
10903
|
+
"description": "Code of plugin bundled for Node.JS"
|
|
10904
|
+
},
|
|
10905
|
+
"browser": {
|
|
10906
|
+
"type": "string",
|
|
10907
|
+
"description": "Code of plugin bundled for the browser"
|
|
10908
|
+
}
|
|
10909
|
+
},
|
|
10910
|
+
"required": [
|
|
10911
|
+
"node",
|
|
10912
|
+
"browser"
|
|
10913
|
+
],
|
|
10914
|
+
"additionalProperties": false
|
|
10826
10915
|
},
|
|
10827
10916
|
"dependencies": {
|
|
10828
10917
|
"type": "object",
|
|
@@ -10991,6 +11080,50 @@ export const state = {
|
|
|
10991
11080
|
}
|
|
10992
11081
|
}
|
|
10993
11082
|
},
|
|
11083
|
+
"getPluginCode": {
|
|
11084
|
+
"name": "getPluginCode",
|
|
11085
|
+
"description": "Get Plugin Code",
|
|
11086
|
+
"method": "get",
|
|
11087
|
+
"path": "/v1/admin/plugins/{id}/code/{platform}",
|
|
11088
|
+
"section": "plugin",
|
|
11089
|
+
"parameters": {
|
|
11090
|
+
"nextToken": {
|
|
11091
|
+
"in": "query",
|
|
11092
|
+
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
11093
|
+
"type": "string"
|
|
11094
|
+
},
|
|
11095
|
+
"id": {
|
|
11096
|
+
"in": "path",
|
|
11097
|
+
"type": "string",
|
|
11098
|
+
"description": "Plugin id"
|
|
11099
|
+
},
|
|
11100
|
+
"platform": {
|
|
11101
|
+
"in": "path",
|
|
11102
|
+
"type": "string",
|
|
11103
|
+
"enum": [
|
|
11104
|
+
"node",
|
|
11105
|
+
"browser"
|
|
11106
|
+
],
|
|
11107
|
+
"description": "Platform"
|
|
11108
|
+
}
|
|
11109
|
+
},
|
|
11110
|
+
"response": {
|
|
11111
|
+
"description": "Plugin code",
|
|
11112
|
+
"schema": {
|
|
11113
|
+
"type": "object",
|
|
11114
|
+
"properties": {
|
|
11115
|
+
"code": {
|
|
11116
|
+
"type": "string"
|
|
11117
|
+
}
|
|
11118
|
+
},
|
|
11119
|
+
"required": [
|
|
11120
|
+
"code"
|
|
11121
|
+
],
|
|
11122
|
+
"title": "getPluginCodeResponse",
|
|
11123
|
+
"additionalProperties": false
|
|
11124
|
+
}
|
|
11125
|
+
}
|
|
11126
|
+
},
|
|
10994
11127
|
"getUsage": {
|
|
10995
11128
|
"name": "getUsage",
|
|
10996
11129
|
"path": "/v1/admin/usages/{id}",
|
|
@@ -13994,7 +14127,7 @@ export const state = {
|
|
|
13994
14127
|
"title": "Botpress API",
|
|
13995
14128
|
"description": "API for Botpress Cloud",
|
|
13996
14129
|
"server": "https://api.botpress.cloud",
|
|
13997
|
-
"version": "0.
|
|
14130
|
+
"version": "0.67.0",
|
|
13998
14131
|
"prefix": "v1"
|
|
13999
14132
|
},
|
|
14000
14133
|
"errors": [
|
|
@@ -14304,6 +14437,7 @@ export const state = {
|
|
|
14304
14437
|
"updatePluginResponse": true,
|
|
14305
14438
|
"deletePluginResponse": true,
|
|
14306
14439
|
"listPluginsResponse": true,
|
|
14440
|
+
"getPluginCodeResponse": true,
|
|
14307
14441
|
"getUsageResponse": true,
|
|
14308
14442
|
"getMultipleUsagesResponse": true,
|
|
14309
14443
|
"listUsageHistoryResponse": true,
|
|
@@ -16007,8 +16141,35 @@ export const state = {
|
|
|
16007
16141
|
"description": "User object configuration",
|
|
16008
16142
|
"additionalProperties": false
|
|
16009
16143
|
},
|
|
16010
|
-
"
|
|
16011
|
-
"type": "
|
|
16144
|
+
"conversation": {
|
|
16145
|
+
"type": "object",
|
|
16146
|
+
"properties": {
|
|
16147
|
+
"tags": {
|
|
16148
|
+
"type": "object",
|
|
16149
|
+
"additionalProperties": {
|
|
16150
|
+
"type": "object",
|
|
16151
|
+
"properties": {
|
|
16152
|
+
"title": {
|
|
16153
|
+
"type": "string",
|
|
16154
|
+
"maxLength": 64,
|
|
16155
|
+
"description": "Title of the tag"
|
|
16156
|
+
},
|
|
16157
|
+
"description": {
|
|
16158
|
+
"type": "string",
|
|
16159
|
+
"maxLength": 256,
|
|
16160
|
+
"description": "Description of the tag"
|
|
16161
|
+
}
|
|
16162
|
+
},
|
|
16163
|
+
"description": "Definition of a tag that can be provided on the object",
|
|
16164
|
+
"additionalProperties": false
|
|
16165
|
+
}
|
|
16166
|
+
}
|
|
16167
|
+
},
|
|
16168
|
+
"required": [
|
|
16169
|
+
"tags"
|
|
16170
|
+
],
|
|
16171
|
+
"description": "Conversation object configuration",
|
|
16172
|
+
"additionalProperties": false
|
|
16012
16173
|
}
|
|
16013
16174
|
},
|
|
16014
16175
|
"required": [
|
|
@@ -16023,7 +16184,7 @@ export const state = {
|
|
|
16023
16184
|
"actions",
|
|
16024
16185
|
"dependencies",
|
|
16025
16186
|
"user",
|
|
16026
|
-
"
|
|
16187
|
+
"conversation"
|
|
16027
16188
|
],
|
|
16028
16189
|
"description": "Plugin definition",
|
|
16029
16190
|
"additionalProperties": false
|
|
@@ -17704,7 +17865,8 @@ export const state = {
|
|
|
17704
17865
|
"getPluginByName",
|
|
17705
17866
|
"updatePlugin",
|
|
17706
17867
|
"deletePlugin",
|
|
17707
|
-
"listPlugins"
|
|
17868
|
+
"listPlugins",
|
|
17869
|
+
"getPluginCode"
|
|
17708
17870
|
],
|
|
17709
17871
|
"schema": "Plugin"
|
|
17710
17872
|
},
|