@botpress/api 0.52.0 → 0.54.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 +1180 -5
- package/dist/src/gen/state.d.ts +1020 -19
- package/dist/src/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +1181 -6
package/dist/index.js
CHANGED
|
@@ -291870,6 +291870,619 @@ var state = {
|
|
|
291870
291870
|
}
|
|
291871
291871
|
}
|
|
291872
291872
|
},
|
|
291873
|
+
"createPlugin": {
|
|
291874
|
+
"name": "createPlugin",
|
|
291875
|
+
"description": "Create Plugin",
|
|
291876
|
+
"method": "post",
|
|
291877
|
+
"path": "/v1/admin/plugins",
|
|
291878
|
+
"parameters": {},
|
|
291879
|
+
"requestBody": {
|
|
291880
|
+
"description": "Plugin to create",
|
|
291881
|
+
"schema": {
|
|
291882
|
+
"type": "object",
|
|
291883
|
+
"properties": {
|
|
291884
|
+
"name": {
|
|
291885
|
+
"type": "string",
|
|
291886
|
+
"maxLength": 200,
|
|
291887
|
+
"description": "Name of the [Plugin](#schema_plugin)"
|
|
291888
|
+
},
|
|
291889
|
+
"version": {
|
|
291890
|
+
"type": "string",
|
|
291891
|
+
"maxLength": 200,
|
|
291892
|
+
"description": "Version of the [Plugin](#schema_plugin)"
|
|
291893
|
+
},
|
|
291894
|
+
"configuration": {
|
|
291895
|
+
"type": "object",
|
|
291896
|
+
"properties": {
|
|
291897
|
+
"title": {
|
|
291898
|
+
"type": "string",
|
|
291899
|
+
"maxLength": 64,
|
|
291900
|
+
"description": "Title of the configuration"
|
|
291901
|
+
},
|
|
291902
|
+
"description": {
|
|
291903
|
+
"type": "string",
|
|
291904
|
+
"maxLength": 256,
|
|
291905
|
+
"description": "Description of the configuration"
|
|
291906
|
+
},
|
|
291907
|
+
"schema": {
|
|
291908
|
+
"type": "object",
|
|
291909
|
+
"additionalProperties": true,
|
|
291910
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
291911
|
+
}
|
|
291912
|
+
},
|
|
291913
|
+
"required": [
|
|
291914
|
+
"schema"
|
|
291915
|
+
],
|
|
291916
|
+
"description": "Configuration definition",
|
|
291917
|
+
"additionalProperties": false
|
|
291918
|
+
},
|
|
291919
|
+
"states": {
|
|
291920
|
+
"type": "object",
|
|
291921
|
+
"additionalProperties": {
|
|
291922
|
+
"type": "object",
|
|
291923
|
+
"properties": {
|
|
291924
|
+
"type": {
|
|
291925
|
+
"type": "string",
|
|
291926
|
+
"enum": [
|
|
291927
|
+
"conversation",
|
|
291928
|
+
"user",
|
|
291929
|
+
"bot",
|
|
291930
|
+
"task"
|
|
291931
|
+
],
|
|
291932
|
+
"description": "Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)"
|
|
291933
|
+
},
|
|
291934
|
+
"schema": {
|
|
291935
|
+
"type": "object",
|
|
291936
|
+
"additionalProperties": true,
|
|
291937
|
+
"description": "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
|
|
291938
|
+
},
|
|
291939
|
+
"expiry": {
|
|
291940
|
+
"type": "number",
|
|
291941
|
+
"minimum": 1,
|
|
291942
|
+
"description": "Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire."
|
|
291943
|
+
}
|
|
291944
|
+
},
|
|
291945
|
+
"required": [
|
|
291946
|
+
"type",
|
|
291947
|
+
"schema"
|
|
291948
|
+
],
|
|
291949
|
+
"additionalProperties": false
|
|
291950
|
+
}
|
|
291951
|
+
},
|
|
291952
|
+
"events": {
|
|
291953
|
+
"type": "object",
|
|
291954
|
+
"additionalProperties": {
|
|
291955
|
+
"type": "object",
|
|
291956
|
+
"properties": {
|
|
291957
|
+
"title": {
|
|
291958
|
+
"type": "string",
|
|
291959
|
+
"maxLength": 64,
|
|
291960
|
+
"description": "Title of the event"
|
|
291961
|
+
},
|
|
291962
|
+
"description": {
|
|
291963
|
+
"type": "string",
|
|
291964
|
+
"maxLength": 256,
|
|
291965
|
+
"description": "Description of the event"
|
|
291966
|
+
},
|
|
291967
|
+
"schema": {
|
|
291968
|
+
"type": "object",
|
|
291969
|
+
"additionalProperties": true
|
|
291970
|
+
}
|
|
291971
|
+
},
|
|
291972
|
+
"required": [
|
|
291973
|
+
"schema"
|
|
291974
|
+
],
|
|
291975
|
+
"description": "Event Definition",
|
|
291976
|
+
"additionalProperties": false
|
|
291977
|
+
}
|
|
291978
|
+
},
|
|
291979
|
+
"actions": {
|
|
291980
|
+
"type": "object",
|
|
291981
|
+
"additionalProperties": {
|
|
291982
|
+
"type": "object",
|
|
291983
|
+
"properties": {
|
|
291984
|
+
"title": {
|
|
291985
|
+
"type": "string",
|
|
291986
|
+
"maxLength": 64,
|
|
291987
|
+
"description": "Title of the action"
|
|
291988
|
+
},
|
|
291989
|
+
"description": {
|
|
291990
|
+
"type": "string",
|
|
291991
|
+
"maxLength": 256,
|
|
291992
|
+
"description": "Description of the action"
|
|
291993
|
+
},
|
|
291994
|
+
"billable": {
|
|
291995
|
+
"type": "boolean"
|
|
291996
|
+
},
|
|
291997
|
+
"cacheable": {
|
|
291998
|
+
"type": "boolean"
|
|
291999
|
+
},
|
|
292000
|
+
"input": {
|
|
292001
|
+
"type": "object",
|
|
292002
|
+
"properties": {
|
|
292003
|
+
"schema": {
|
|
292004
|
+
"type": "object",
|
|
292005
|
+
"additionalProperties": true
|
|
292006
|
+
}
|
|
292007
|
+
},
|
|
292008
|
+
"required": [
|
|
292009
|
+
"schema"
|
|
292010
|
+
],
|
|
292011
|
+
"additionalProperties": false
|
|
292012
|
+
},
|
|
292013
|
+
"output": {
|
|
292014
|
+
"type": "object",
|
|
292015
|
+
"properties": {
|
|
292016
|
+
"schema": {
|
|
292017
|
+
"type": "object",
|
|
292018
|
+
"additionalProperties": true
|
|
292019
|
+
}
|
|
292020
|
+
},
|
|
292021
|
+
"required": [
|
|
292022
|
+
"schema"
|
|
292023
|
+
],
|
|
292024
|
+
"additionalProperties": false
|
|
292025
|
+
}
|
|
292026
|
+
},
|
|
292027
|
+
"required": [
|
|
292028
|
+
"input",
|
|
292029
|
+
"output"
|
|
292030
|
+
],
|
|
292031
|
+
"description": "Action definition",
|
|
292032
|
+
"additionalProperties": false
|
|
292033
|
+
}
|
|
292034
|
+
},
|
|
292035
|
+
"user": {
|
|
292036
|
+
"type": "object",
|
|
292037
|
+
"properties": {
|
|
292038
|
+
"tags": {
|
|
292039
|
+
"type": "object",
|
|
292040
|
+
"additionalProperties": {
|
|
292041
|
+
"type": "object",
|
|
292042
|
+
"properties": {
|
|
292043
|
+
"title": {
|
|
292044
|
+
"type": "string",
|
|
292045
|
+
"maxLength": 64,
|
|
292046
|
+
"description": "Title of the tag"
|
|
292047
|
+
},
|
|
292048
|
+
"description": {
|
|
292049
|
+
"type": "string",
|
|
292050
|
+
"maxLength": 256,
|
|
292051
|
+
"description": "Description of the tag"
|
|
292052
|
+
}
|
|
292053
|
+
},
|
|
292054
|
+
"description": "Definition of a tag that can be provided on the object",
|
|
292055
|
+
"additionalProperties": false
|
|
292056
|
+
}
|
|
292057
|
+
}
|
|
292058
|
+
},
|
|
292059
|
+
"required": [
|
|
292060
|
+
"tags"
|
|
292061
|
+
],
|
|
292062
|
+
"description": "User object configuration",
|
|
292063
|
+
"additionalProperties": false
|
|
292064
|
+
},
|
|
292065
|
+
"code": {
|
|
292066
|
+
"type": "string"
|
|
292067
|
+
}
|
|
292068
|
+
},
|
|
292069
|
+
"required": [
|
|
292070
|
+
"name",
|
|
292071
|
+
"version",
|
|
292072
|
+
"code"
|
|
292073
|
+
],
|
|
292074
|
+
"title": "createPluginBody",
|
|
292075
|
+
"additionalProperties": false
|
|
292076
|
+
}
|
|
292077
|
+
},
|
|
292078
|
+
"section": "plugin",
|
|
292079
|
+
"response": {
|
|
292080
|
+
"description": "Get an plugin",
|
|
292081
|
+
"schema": {
|
|
292082
|
+
"type": "object",
|
|
292083
|
+
"properties": {
|
|
292084
|
+
"plugin": {
|
|
292085
|
+
"$ref": "#/components/schemas/Plugin"
|
|
292086
|
+
}
|
|
292087
|
+
},
|
|
292088
|
+
"required": [
|
|
292089
|
+
"plugin"
|
|
292090
|
+
],
|
|
292091
|
+
"title": "createPluginResponse",
|
|
292092
|
+
"additionalProperties": false
|
|
292093
|
+
}
|
|
292094
|
+
}
|
|
292095
|
+
},
|
|
292096
|
+
"getPlugin": {
|
|
292097
|
+
"name": "getPlugin",
|
|
292098
|
+
"description": "Get Plugin",
|
|
292099
|
+
"method": "get",
|
|
292100
|
+
"path": "/v1/admin/plugins/{id}",
|
|
292101
|
+
"parameters": {
|
|
292102
|
+
"id": {
|
|
292103
|
+
"in": "path",
|
|
292104
|
+
"type": "string",
|
|
292105
|
+
"description": "Plugin id"
|
|
292106
|
+
}
|
|
292107
|
+
},
|
|
292108
|
+
"section": "plugin",
|
|
292109
|
+
"response": {
|
|
292110
|
+
"description": "Get an plugin",
|
|
292111
|
+
"schema": {
|
|
292112
|
+
"type": "object",
|
|
292113
|
+
"properties": {
|
|
292114
|
+
"plugin": {
|
|
292115
|
+
"$ref": "#/components/schemas/Plugin"
|
|
292116
|
+
}
|
|
292117
|
+
},
|
|
292118
|
+
"required": [
|
|
292119
|
+
"plugin"
|
|
292120
|
+
],
|
|
292121
|
+
"title": "getPluginResponse",
|
|
292122
|
+
"additionalProperties": false
|
|
292123
|
+
}
|
|
292124
|
+
}
|
|
292125
|
+
},
|
|
292126
|
+
"getPluginByName": {
|
|
292127
|
+
"name": "getPluginByName",
|
|
292128
|
+
"description": "Get Plugin by name and version",
|
|
292129
|
+
"method": "get",
|
|
292130
|
+
"path": "/v1/admin/plugins/{name}/{version}",
|
|
292131
|
+
"parameters": {
|
|
292132
|
+
"name": {
|
|
292133
|
+
"in": "path",
|
|
292134
|
+
"type": "string",
|
|
292135
|
+
"description": "Plugin name"
|
|
292136
|
+
},
|
|
292137
|
+
"version": {
|
|
292138
|
+
"in": "path",
|
|
292139
|
+
"type": "string",
|
|
292140
|
+
"description": "Plugin version"
|
|
292141
|
+
}
|
|
292142
|
+
},
|
|
292143
|
+
"section": "plugin",
|
|
292144
|
+
"response": {
|
|
292145
|
+
"description": "Get an plugin",
|
|
292146
|
+
"schema": {
|
|
292147
|
+
"type": "object",
|
|
292148
|
+
"properties": {
|
|
292149
|
+
"plugin": {
|
|
292150
|
+
"$ref": "#/components/schemas/Plugin"
|
|
292151
|
+
}
|
|
292152
|
+
},
|
|
292153
|
+
"required": [
|
|
292154
|
+
"plugin"
|
|
292155
|
+
],
|
|
292156
|
+
"title": "getPluginByNameResponse",
|
|
292157
|
+
"additionalProperties": false
|
|
292158
|
+
}
|
|
292159
|
+
}
|
|
292160
|
+
},
|
|
292161
|
+
"updatePlugin": {
|
|
292162
|
+
"name": "updatePlugin",
|
|
292163
|
+
"description": "Update Plugin",
|
|
292164
|
+
"method": "put",
|
|
292165
|
+
"path": "/v1/admin/plugins/{id}",
|
|
292166
|
+
"parameters": {
|
|
292167
|
+
"id": {
|
|
292168
|
+
"in": "path",
|
|
292169
|
+
"type": "string",
|
|
292170
|
+
"description": "Plugin id"
|
|
292171
|
+
}
|
|
292172
|
+
},
|
|
292173
|
+
"requestBody": {
|
|
292174
|
+
"description": "Plugin to update",
|
|
292175
|
+
"schema": {
|
|
292176
|
+
"type": "object",
|
|
292177
|
+
"properties": {
|
|
292178
|
+
"configuration": {
|
|
292179
|
+
"type": "object",
|
|
292180
|
+
"properties": {
|
|
292181
|
+
"title": {
|
|
292182
|
+
"type": "string",
|
|
292183
|
+
"maxLength": 64,
|
|
292184
|
+
"description": "Title of the configuration"
|
|
292185
|
+
},
|
|
292186
|
+
"description": {
|
|
292187
|
+
"type": "string",
|
|
292188
|
+
"maxLength": 256,
|
|
292189
|
+
"description": "Description of the configuration"
|
|
292190
|
+
},
|
|
292191
|
+
"schema": {
|
|
292192
|
+
"type": "object",
|
|
292193
|
+
"additionalProperties": true,
|
|
292194
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
292195
|
+
}
|
|
292196
|
+
},
|
|
292197
|
+
"required": [
|
|
292198
|
+
"schema"
|
|
292199
|
+
],
|
|
292200
|
+
"description": "Configuration definition",
|
|
292201
|
+
"nullable": true,
|
|
292202
|
+
"additionalProperties": false
|
|
292203
|
+
},
|
|
292204
|
+
"states": {
|
|
292205
|
+
"type": "object",
|
|
292206
|
+
"additionalProperties": {
|
|
292207
|
+
"type": "object",
|
|
292208
|
+
"properties": {
|
|
292209
|
+
"type": {
|
|
292210
|
+
"type": "string",
|
|
292211
|
+
"enum": [
|
|
292212
|
+
"conversation",
|
|
292213
|
+
"user",
|
|
292214
|
+
"bot",
|
|
292215
|
+
"task"
|
|
292216
|
+
],
|
|
292217
|
+
"description": "Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)"
|
|
292218
|
+
},
|
|
292219
|
+
"schema": {
|
|
292220
|
+
"type": "object",
|
|
292221
|
+
"additionalProperties": true,
|
|
292222
|
+
"description": "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
|
|
292223
|
+
},
|
|
292224
|
+
"expiry": {
|
|
292225
|
+
"type": "number",
|
|
292226
|
+
"minimum": 1,
|
|
292227
|
+
"description": "Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire."
|
|
292228
|
+
}
|
|
292229
|
+
},
|
|
292230
|
+
"required": [
|
|
292231
|
+
"type",
|
|
292232
|
+
"schema"
|
|
292233
|
+
],
|
|
292234
|
+
"nullable": true,
|
|
292235
|
+
"additionalProperties": false
|
|
292236
|
+
}
|
|
292237
|
+
},
|
|
292238
|
+
"events": {
|
|
292239
|
+
"type": "object",
|
|
292240
|
+
"additionalProperties": {
|
|
292241
|
+
"type": "object",
|
|
292242
|
+
"properties": {
|
|
292243
|
+
"title": {
|
|
292244
|
+
"type": "string",
|
|
292245
|
+
"maxLength": 64,
|
|
292246
|
+
"description": "Title of the event"
|
|
292247
|
+
},
|
|
292248
|
+
"description": {
|
|
292249
|
+
"type": "string",
|
|
292250
|
+
"maxLength": 256,
|
|
292251
|
+
"description": "Description of the event"
|
|
292252
|
+
},
|
|
292253
|
+
"schema": {
|
|
292254
|
+
"type": "object",
|
|
292255
|
+
"additionalProperties": true
|
|
292256
|
+
}
|
|
292257
|
+
},
|
|
292258
|
+
"required": [
|
|
292259
|
+
"schema"
|
|
292260
|
+
],
|
|
292261
|
+
"description": "Event Definition",
|
|
292262
|
+
"nullable": true,
|
|
292263
|
+
"additionalProperties": false
|
|
292264
|
+
}
|
|
292265
|
+
},
|
|
292266
|
+
"actions": {
|
|
292267
|
+
"type": "object",
|
|
292268
|
+
"additionalProperties": {
|
|
292269
|
+
"type": "object",
|
|
292270
|
+
"properties": {
|
|
292271
|
+
"title": {
|
|
292272
|
+
"type": "string",
|
|
292273
|
+
"maxLength": 64,
|
|
292274
|
+
"description": "Title of the action"
|
|
292275
|
+
},
|
|
292276
|
+
"description": {
|
|
292277
|
+
"type": "string",
|
|
292278
|
+
"maxLength": 256,
|
|
292279
|
+
"description": "Description of the action"
|
|
292280
|
+
},
|
|
292281
|
+
"billable": {
|
|
292282
|
+
"type": "boolean"
|
|
292283
|
+
},
|
|
292284
|
+
"cacheable": {
|
|
292285
|
+
"type": "boolean"
|
|
292286
|
+
},
|
|
292287
|
+
"input": {
|
|
292288
|
+
"type": "object",
|
|
292289
|
+
"properties": {
|
|
292290
|
+
"schema": {
|
|
292291
|
+
"type": "object",
|
|
292292
|
+
"additionalProperties": true
|
|
292293
|
+
}
|
|
292294
|
+
},
|
|
292295
|
+
"required": [
|
|
292296
|
+
"schema"
|
|
292297
|
+
],
|
|
292298
|
+
"additionalProperties": false
|
|
292299
|
+
},
|
|
292300
|
+
"output": {
|
|
292301
|
+
"type": "object",
|
|
292302
|
+
"properties": {
|
|
292303
|
+
"schema": {
|
|
292304
|
+
"type": "object",
|
|
292305
|
+
"additionalProperties": true
|
|
292306
|
+
}
|
|
292307
|
+
},
|
|
292308
|
+
"required": [
|
|
292309
|
+
"schema"
|
|
292310
|
+
],
|
|
292311
|
+
"additionalProperties": false
|
|
292312
|
+
}
|
|
292313
|
+
},
|
|
292314
|
+
"required": [
|
|
292315
|
+
"input",
|
|
292316
|
+
"output"
|
|
292317
|
+
],
|
|
292318
|
+
"description": "Action definition",
|
|
292319
|
+
"nullable": true,
|
|
292320
|
+
"additionalProperties": false
|
|
292321
|
+
}
|
|
292322
|
+
},
|
|
292323
|
+
"user": {
|
|
292324
|
+
"type": "object",
|
|
292325
|
+
"properties": {
|
|
292326
|
+
"tags": {
|
|
292327
|
+
"type": "object",
|
|
292328
|
+
"additionalProperties": {
|
|
292329
|
+
"type": "object",
|
|
292330
|
+
"properties": {
|
|
292331
|
+
"title": {
|
|
292332
|
+
"type": "string",
|
|
292333
|
+
"maxLength": 64,
|
|
292334
|
+
"description": "Title of the tag"
|
|
292335
|
+
},
|
|
292336
|
+
"description": {
|
|
292337
|
+
"type": "string",
|
|
292338
|
+
"maxLength": 256,
|
|
292339
|
+
"description": "Description of the tag"
|
|
292340
|
+
}
|
|
292341
|
+
},
|
|
292342
|
+
"description": "Definition of a tag that can be provided on the object",
|
|
292343
|
+
"additionalProperties": false
|
|
292344
|
+
}
|
|
292345
|
+
}
|
|
292346
|
+
},
|
|
292347
|
+
"required": [
|
|
292348
|
+
"tags"
|
|
292349
|
+
],
|
|
292350
|
+
"description": "User object configuration",
|
|
292351
|
+
"nullable": true,
|
|
292352
|
+
"additionalProperties": false
|
|
292353
|
+
},
|
|
292354
|
+
"code": {
|
|
292355
|
+
"type": "string"
|
|
292356
|
+
}
|
|
292357
|
+
},
|
|
292358
|
+
"title": "updatePluginBody",
|
|
292359
|
+
"additionalProperties": false
|
|
292360
|
+
}
|
|
292361
|
+
},
|
|
292362
|
+
"section": "plugin",
|
|
292363
|
+
"response": {
|
|
292364
|
+
"description": "Update an plugin",
|
|
292365
|
+
"schema": {
|
|
292366
|
+
"type": "object",
|
|
292367
|
+
"properties": {
|
|
292368
|
+
"plugin": {
|
|
292369
|
+
"$ref": "#/components/schemas/Plugin"
|
|
292370
|
+
}
|
|
292371
|
+
},
|
|
292372
|
+
"required": [
|
|
292373
|
+
"plugin"
|
|
292374
|
+
],
|
|
292375
|
+
"title": "updatePluginResponse",
|
|
292376
|
+
"additionalProperties": false
|
|
292377
|
+
}
|
|
292378
|
+
}
|
|
292379
|
+
},
|
|
292380
|
+
"deletePlugin": {
|
|
292381
|
+
"name": "deletePlugin",
|
|
292382
|
+
"description": "Delete Plugin",
|
|
292383
|
+
"method": "delete",
|
|
292384
|
+
"path": "/v1/admin/plugins/{id}",
|
|
292385
|
+
"parameters": {
|
|
292386
|
+
"id": {
|
|
292387
|
+
"in": "path",
|
|
292388
|
+
"type": "string",
|
|
292389
|
+
"description": "Plugin id"
|
|
292390
|
+
}
|
|
292391
|
+
},
|
|
292392
|
+
"section": "plugin",
|
|
292393
|
+
"response": {
|
|
292394
|
+
"description": "Delete an plugin",
|
|
292395
|
+
"schema": {
|
|
292396
|
+
"type": "object",
|
|
292397
|
+
"title": "deletePluginResponse",
|
|
292398
|
+
"additionalProperties": false
|
|
292399
|
+
}
|
|
292400
|
+
}
|
|
292401
|
+
},
|
|
292402
|
+
"listPlugins": {
|
|
292403
|
+
"name": "listPlugins",
|
|
292404
|
+
"description": "List Plugins",
|
|
292405
|
+
"method": "get",
|
|
292406
|
+
"path": "/v1/admin/plugins",
|
|
292407
|
+
"section": "plugin",
|
|
292408
|
+
"parameters": {
|
|
292409
|
+
"nextToken": {
|
|
292410
|
+
"in": "query",
|
|
292411
|
+
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
292412
|
+
"type": "string"
|
|
292413
|
+
},
|
|
292414
|
+
"name": {
|
|
292415
|
+
"in": "query",
|
|
292416
|
+
"type": "string",
|
|
292417
|
+
"description": "Filter all versions of a plugin by name"
|
|
292418
|
+
}
|
|
292419
|
+
},
|
|
292420
|
+
"response": {
|
|
292421
|
+
"description": "List plugins",
|
|
292422
|
+
"schema": {
|
|
292423
|
+
"type": "object",
|
|
292424
|
+
"properties": {
|
|
292425
|
+
"plugins": {
|
|
292426
|
+
"type": "array",
|
|
292427
|
+
"items": {
|
|
292428
|
+
"type": "object",
|
|
292429
|
+
"properties": {
|
|
292430
|
+
"id": {
|
|
292431
|
+
"type": "string",
|
|
292432
|
+
"minLength": 28,
|
|
292433
|
+
"maxLength": 36,
|
|
292434
|
+
"description": "ID of the [Plugin](#schema_plugin)"
|
|
292435
|
+
},
|
|
292436
|
+
"createdAt": {
|
|
292437
|
+
"type": "string",
|
|
292438
|
+
"format": "date-time",
|
|
292439
|
+
"description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
292440
|
+
},
|
|
292441
|
+
"updatedAt": {
|
|
292442
|
+
"type": "string",
|
|
292443
|
+
"format": "date-time",
|
|
292444
|
+
"description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
292445
|
+
},
|
|
292446
|
+
"name": {
|
|
292447
|
+
"type": "string",
|
|
292448
|
+
"maxLength": 200,
|
|
292449
|
+
"description": "Name of the [Plugin](#schema_plugin)"
|
|
292450
|
+
},
|
|
292451
|
+
"version": {
|
|
292452
|
+
"type": "string",
|
|
292453
|
+
"maxLength": 200,
|
|
292454
|
+
"description": "Version of the [Plugin](#schema_plugin)"
|
|
292455
|
+
}
|
|
292456
|
+
},
|
|
292457
|
+
"required": [
|
|
292458
|
+
"id",
|
|
292459
|
+
"createdAt",
|
|
292460
|
+
"updatedAt",
|
|
292461
|
+
"name",
|
|
292462
|
+
"version"
|
|
292463
|
+
]
|
|
292464
|
+
}
|
|
292465
|
+
},
|
|
292466
|
+
"meta": {
|
|
292467
|
+
"type": "object",
|
|
292468
|
+
"properties": {
|
|
292469
|
+
"nextToken": {
|
|
292470
|
+
"type": "string",
|
|
292471
|
+
"description": "The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint."
|
|
292472
|
+
}
|
|
292473
|
+
},
|
|
292474
|
+
"additionalProperties": false
|
|
292475
|
+
}
|
|
292476
|
+
},
|
|
292477
|
+
"required": [
|
|
292478
|
+
"plugins",
|
|
292479
|
+
"meta"
|
|
292480
|
+
],
|
|
292481
|
+
"title": "listPluginsResponse",
|
|
292482
|
+
"additionalProperties": false
|
|
292483
|
+
}
|
|
292484
|
+
}
|
|
292485
|
+
},
|
|
291873
292486
|
"getUsage": {
|
|
291874
292487
|
"name": "getUsage",
|
|
291875
292488
|
"path": "/v1/admin/usages/{id}",
|
|
@@ -293589,10 +294202,320 @@ var state = {
|
|
|
293589
294202
|
}
|
|
293590
294203
|
},
|
|
293591
294204
|
"required": [
|
|
293592
|
-
"table",
|
|
293593
|
-
"rows"
|
|
294205
|
+
"table",
|
|
294206
|
+
"rows"
|
|
294207
|
+
],
|
|
294208
|
+
"title": "duplicateTableResponse",
|
|
294209
|
+
"additionalProperties": false
|
|
294210
|
+
}
|
|
294211
|
+
}
|
|
294212
|
+
},
|
|
294213
|
+
"exportTable": {
|
|
294214
|
+
"name": "exportTable",
|
|
294215
|
+
"path": "/v1/tables/{table}/export",
|
|
294216
|
+
"description": "Starts an export job for the table",
|
|
294217
|
+
"parameters": {
|
|
294218
|
+
"table": {
|
|
294219
|
+
"type": "string",
|
|
294220
|
+
"description": "The table's unique identifier",
|
|
294221
|
+
"in": "path"
|
|
294222
|
+
},
|
|
294223
|
+
"format": {
|
|
294224
|
+
"in": "query",
|
|
294225
|
+
"type": "object",
|
|
294226
|
+
"description": "The format of the exported file. CSV includes only the data while JSON includes the schema.",
|
|
294227
|
+
"schema": {
|
|
294228
|
+
"type": "string",
|
|
294229
|
+
"enum": [
|
|
294230
|
+
"csv",
|
|
294231
|
+
"json"
|
|
294232
|
+
]
|
|
294233
|
+
}
|
|
294234
|
+
},
|
|
294235
|
+
"compress": {
|
|
294236
|
+
"in": "query",
|
|
294237
|
+
"type": "object",
|
|
294238
|
+
"description": "Whether or not the export is compressed (gzipped).",
|
|
294239
|
+
"schema": {
|
|
294240
|
+
"default": true,
|
|
294241
|
+
"type": "boolean"
|
|
294242
|
+
}
|
|
294243
|
+
}
|
|
294244
|
+
},
|
|
294245
|
+
"method": "get",
|
|
294246
|
+
"section": "tables",
|
|
294247
|
+
"response": {
|
|
294248
|
+
"description": "The export job",
|
|
294249
|
+
"schema": {
|
|
294250
|
+
"type": "object",
|
|
294251
|
+
"properties": {
|
|
294252
|
+
"job": {
|
|
294253
|
+
"type": "object",
|
|
294254
|
+
"properties": {
|
|
294255
|
+
"id": {
|
|
294256
|
+
"type": "string"
|
|
294257
|
+
},
|
|
294258
|
+
"botId": {
|
|
294259
|
+
"type": "string"
|
|
294260
|
+
},
|
|
294261
|
+
"tableId": {
|
|
294262
|
+
"type": "string"
|
|
294263
|
+
},
|
|
294264
|
+
"type": {
|
|
294265
|
+
"type": "string",
|
|
294266
|
+
"enum": [
|
|
294267
|
+
"export",
|
|
294268
|
+
"import"
|
|
294269
|
+
]
|
|
294270
|
+
},
|
|
294271
|
+
"status": {
|
|
294272
|
+
"type": "string",
|
|
294273
|
+
"enum": [
|
|
294274
|
+
"pending",
|
|
294275
|
+
"in_progress",
|
|
294276
|
+
"finalizing",
|
|
294277
|
+
"completed",
|
|
294278
|
+
"failed"
|
|
294279
|
+
]
|
|
294280
|
+
},
|
|
294281
|
+
"progress": {
|
|
294282
|
+
"default": 0,
|
|
294283
|
+
"type": "number"
|
|
294284
|
+
},
|
|
294285
|
+
"inputFileId": {
|
|
294286
|
+
"type": "string",
|
|
294287
|
+
"nullable": true
|
|
294288
|
+
},
|
|
294289
|
+
"outputFileId": {
|
|
294290
|
+
"type": "string",
|
|
294291
|
+
"nullable": true
|
|
294292
|
+
},
|
|
294293
|
+
"createdAt": {
|
|
294294
|
+
"type": "string",
|
|
294295
|
+
"format": "date-time"
|
|
294296
|
+
},
|
|
294297
|
+
"updatedAt": {
|
|
294298
|
+
"type": "string",
|
|
294299
|
+
"format": "date-time"
|
|
294300
|
+
}
|
|
294301
|
+
},
|
|
294302
|
+
"required": [
|
|
294303
|
+
"id",
|
|
294304
|
+
"botId",
|
|
294305
|
+
"tableId",
|
|
294306
|
+
"type",
|
|
294307
|
+
"status",
|
|
294308
|
+
"inputFileId",
|
|
294309
|
+
"outputFileId",
|
|
294310
|
+
"createdAt",
|
|
294311
|
+
"updatedAt"
|
|
294312
|
+
],
|
|
294313
|
+
"additionalProperties": false
|
|
294314
|
+
}
|
|
294315
|
+
},
|
|
294316
|
+
"required": [
|
|
294317
|
+
"job"
|
|
294318
|
+
],
|
|
294319
|
+
"title": "exportTableResponse",
|
|
294320
|
+
"additionalProperties": false
|
|
294321
|
+
}
|
|
294322
|
+
}
|
|
294323
|
+
},
|
|
294324
|
+
"getTableJobs": {
|
|
294325
|
+
"name": "getTableJobs",
|
|
294326
|
+
"path": "/v1/tables/{table}/jobs",
|
|
294327
|
+
"description": "Returns a list of recent jobs for the table (export/import operations)",
|
|
294328
|
+
"parameters": {
|
|
294329
|
+
"table": {
|
|
294330
|
+
"type": "string",
|
|
294331
|
+
"description": "The table's unique identifier",
|
|
294332
|
+
"in": "path"
|
|
294333
|
+
}
|
|
294334
|
+
},
|
|
294335
|
+
"method": "get",
|
|
294336
|
+
"section": "tables",
|
|
294337
|
+
"response": {
|
|
294338
|
+
"description": "The most recent jobs",
|
|
294339
|
+
"schema": {
|
|
294340
|
+
"type": "object",
|
|
294341
|
+
"properties": {
|
|
294342
|
+
"jobs": {
|
|
294343
|
+
"type": "array",
|
|
294344
|
+
"items": {
|
|
294345
|
+
"type": "object",
|
|
294346
|
+
"properties": {
|
|
294347
|
+
"id": {
|
|
294348
|
+
"type": "string"
|
|
294349
|
+
},
|
|
294350
|
+
"botId": {
|
|
294351
|
+
"type": "string"
|
|
294352
|
+
},
|
|
294353
|
+
"tableId": {
|
|
294354
|
+
"type": "string"
|
|
294355
|
+
},
|
|
294356
|
+
"type": {
|
|
294357
|
+
"type": "string",
|
|
294358
|
+
"enum": [
|
|
294359
|
+
"export",
|
|
294360
|
+
"import"
|
|
294361
|
+
]
|
|
294362
|
+
},
|
|
294363
|
+
"status": {
|
|
294364
|
+
"type": "string",
|
|
294365
|
+
"enum": [
|
|
294366
|
+
"pending",
|
|
294367
|
+
"in_progress",
|
|
294368
|
+
"finalizing",
|
|
294369
|
+
"completed",
|
|
294370
|
+
"failed"
|
|
294371
|
+
]
|
|
294372
|
+
},
|
|
294373
|
+
"progress": {
|
|
294374
|
+
"default": 0,
|
|
294375
|
+
"type": "number"
|
|
294376
|
+
},
|
|
294377
|
+
"inputFileId": {
|
|
294378
|
+
"type": "string",
|
|
294379
|
+
"nullable": true
|
|
294380
|
+
},
|
|
294381
|
+
"outputFileId": {
|
|
294382
|
+
"type": "string",
|
|
294383
|
+
"nullable": true
|
|
294384
|
+
},
|
|
294385
|
+
"createdAt": {
|
|
294386
|
+
"type": "string",
|
|
294387
|
+
"format": "date-time"
|
|
294388
|
+
},
|
|
294389
|
+
"updatedAt": {
|
|
294390
|
+
"type": "string",
|
|
294391
|
+
"format": "date-time"
|
|
294392
|
+
}
|
|
294393
|
+
},
|
|
294394
|
+
"required": [
|
|
294395
|
+
"id",
|
|
294396
|
+
"botId",
|
|
294397
|
+
"tableId",
|
|
294398
|
+
"type",
|
|
294399
|
+
"status",
|
|
294400
|
+
"inputFileId",
|
|
294401
|
+
"outputFileId",
|
|
294402
|
+
"createdAt",
|
|
294403
|
+
"updatedAt"
|
|
294404
|
+
]
|
|
294405
|
+
}
|
|
294406
|
+
}
|
|
294407
|
+
},
|
|
294408
|
+
"required": [
|
|
294409
|
+
"jobs"
|
|
294410
|
+
],
|
|
294411
|
+
"title": "getTableJobsResponse",
|
|
294412
|
+
"additionalProperties": false
|
|
294413
|
+
}
|
|
294414
|
+
}
|
|
294415
|
+
},
|
|
294416
|
+
"importTable": {
|
|
294417
|
+
"name": "importTable",
|
|
294418
|
+
"path": "/v1/tables/{table}/import",
|
|
294419
|
+
"description": "Import the content of a file into a table. The table must already have been created with the correct schema. Data already in the table will be kept.",
|
|
294420
|
+
"method": "post",
|
|
294421
|
+
"parameters": {
|
|
294422
|
+
"table": {
|
|
294423
|
+
"type": "string",
|
|
294424
|
+
"description": "The table's name or unique identifier for targeting specific table operations.",
|
|
294425
|
+
"in": "path"
|
|
294426
|
+
}
|
|
294427
|
+
},
|
|
294428
|
+
"requestBody": {
|
|
294429
|
+
"description": "Content to import",
|
|
294430
|
+
"schema": {
|
|
294431
|
+
"type": "object",
|
|
294432
|
+
"properties": {
|
|
294433
|
+
"fileId": {
|
|
294434
|
+
"type": "string",
|
|
294435
|
+
"description": "The file ID to import. It must have been uploaded to the Files API before. Supported formats: CSV, JSON (gzipped or not)"
|
|
294436
|
+
}
|
|
294437
|
+
},
|
|
294438
|
+
"required": [
|
|
294439
|
+
"fileId"
|
|
294440
|
+
],
|
|
294441
|
+
"title": "importTableBody",
|
|
294442
|
+
"additionalProperties": false
|
|
294443
|
+
}
|
|
294444
|
+
},
|
|
294445
|
+
"section": "tables",
|
|
294446
|
+
"response": {
|
|
294447
|
+
"description": "The import job",
|
|
294448
|
+
"schema": {
|
|
294449
|
+
"type": "object",
|
|
294450
|
+
"properties": {
|
|
294451
|
+
"job": {
|
|
294452
|
+
"type": "object",
|
|
294453
|
+
"properties": {
|
|
294454
|
+
"id": {
|
|
294455
|
+
"type": "string"
|
|
294456
|
+
},
|
|
294457
|
+
"botId": {
|
|
294458
|
+
"type": "string"
|
|
294459
|
+
},
|
|
294460
|
+
"tableId": {
|
|
294461
|
+
"type": "string"
|
|
294462
|
+
},
|
|
294463
|
+
"type": {
|
|
294464
|
+
"type": "string",
|
|
294465
|
+
"enum": [
|
|
294466
|
+
"export",
|
|
294467
|
+
"import"
|
|
294468
|
+
]
|
|
294469
|
+
},
|
|
294470
|
+
"status": {
|
|
294471
|
+
"type": "string",
|
|
294472
|
+
"enum": [
|
|
294473
|
+
"pending",
|
|
294474
|
+
"in_progress",
|
|
294475
|
+
"finalizing",
|
|
294476
|
+
"completed",
|
|
294477
|
+
"failed"
|
|
294478
|
+
]
|
|
294479
|
+
},
|
|
294480
|
+
"progress": {
|
|
294481
|
+
"default": 0,
|
|
294482
|
+
"type": "number"
|
|
294483
|
+
},
|
|
294484
|
+
"inputFileId": {
|
|
294485
|
+
"type": "string",
|
|
294486
|
+
"nullable": true
|
|
294487
|
+
},
|
|
294488
|
+
"outputFileId": {
|
|
294489
|
+
"type": "string",
|
|
294490
|
+
"nullable": true
|
|
294491
|
+
},
|
|
294492
|
+
"createdAt": {
|
|
294493
|
+
"type": "string",
|
|
294494
|
+
"format": "date-time"
|
|
294495
|
+
},
|
|
294496
|
+
"updatedAt": {
|
|
294497
|
+
"type": "string",
|
|
294498
|
+
"format": "date-time"
|
|
294499
|
+
}
|
|
294500
|
+
},
|
|
294501
|
+
"required": [
|
|
294502
|
+
"id",
|
|
294503
|
+
"botId",
|
|
294504
|
+
"tableId",
|
|
294505
|
+
"type",
|
|
294506
|
+
"status",
|
|
294507
|
+
"inputFileId",
|
|
294508
|
+
"outputFileId",
|
|
294509
|
+
"createdAt",
|
|
294510
|
+
"updatedAt"
|
|
294511
|
+
],
|
|
294512
|
+
"additionalProperties": false
|
|
294513
|
+
}
|
|
294514
|
+
},
|
|
294515
|
+
"required": [
|
|
294516
|
+
"job"
|
|
293594
294517
|
],
|
|
293595
|
-
"title": "
|
|
294518
|
+
"title": "importTableResponse",
|
|
293596
294519
|
"additionalProperties": false
|
|
293597
294520
|
}
|
|
293598
294521
|
}
|
|
@@ -294198,7 +295121,7 @@ var state = {
|
|
|
294198
295121
|
"title": "Botpress API",
|
|
294199
295122
|
"description": "API for Botpress Cloud",
|
|
294200
295123
|
"server": "https://api.botpress.cloud",
|
|
294201
|
-
"version": "0.
|
|
295124
|
+
"version": "0.54.0",
|
|
294202
295125
|
"prefix": "v1"
|
|
294203
295126
|
},
|
|
294204
295127
|
"errors": [
|
|
@@ -294370,6 +295293,8 @@ var state = {
|
|
|
294370
295293
|
"requestIntegrationVerificationBody": true,
|
|
294371
295294
|
"createInterfaceBody": true,
|
|
294372
295295
|
"updateInterfaceBody": true,
|
|
295296
|
+
"createPluginBody": true,
|
|
295297
|
+
"updatePluginBody": true,
|
|
294373
295298
|
"changeAISpendQuotaBody": true,
|
|
294374
295299
|
"introspectBody": true,
|
|
294375
295300
|
"upsertFileBody": true,
|
|
@@ -294377,6 +295302,7 @@ var state = {
|
|
|
294377
295302
|
"getOrCreateTableBody": true,
|
|
294378
295303
|
"createTableBody": true,
|
|
294379
295304
|
"duplicateTableBody": true,
|
|
295305
|
+
"importTableBody": true,
|
|
294380
295306
|
"updateTableBody": true,
|
|
294381
295307
|
"renameTableColumnBody": true,
|
|
294382
295308
|
"findTableRowsBody": true,
|
|
@@ -294497,6 +295423,12 @@ var state = {
|
|
|
294497
295423
|
"updateInterfaceResponse": true,
|
|
294498
295424
|
"deleteInterfaceResponse": true,
|
|
294499
295425
|
"listInterfacesResponse": true,
|
|
295426
|
+
"createPluginResponse": true,
|
|
295427
|
+
"getPluginResponse": true,
|
|
295428
|
+
"getPluginByNameResponse": true,
|
|
295429
|
+
"updatePluginResponse": true,
|
|
295430
|
+
"deletePluginResponse": true,
|
|
295431
|
+
"listPluginsResponse": true,
|
|
294500
295432
|
"getUsageResponse": true,
|
|
294501
295433
|
"getMultipleUsagesResponse": true,
|
|
294502
295434
|
"listUsageHistoryResponse": true,
|
|
@@ -294516,6 +295448,9 @@ var state = {
|
|
|
294516
295448
|
"getOrCreateTableResponse": true,
|
|
294517
295449
|
"createTableResponse": true,
|
|
294518
295450
|
"duplicateTableResponse": true,
|
|
295451
|
+
"exportTableResponse": true,
|
|
295452
|
+
"getTableJobsResponse": true,
|
|
295453
|
+
"importTableResponse": true,
|
|
294519
295454
|
"updateTableResponse": true,
|
|
294520
295455
|
"renameTableColumnResponse": true,
|
|
294521
295456
|
"deleteTableResponse": true,
|
|
@@ -294530,6 +295465,7 @@ var state = {
|
|
|
294530
295465
|
"Bot": true,
|
|
294531
295466
|
"Integration": true,
|
|
294532
295467
|
"Interface": true,
|
|
295468
|
+
"Plugin": true,
|
|
294533
295469
|
"Workspace": true,
|
|
294534
295470
|
"WorkspaceMember": true,
|
|
294535
295471
|
"Account": true,
|
|
@@ -295918,6 +296854,229 @@ var state = {
|
|
|
295918
296854
|
"additionalProperties": false
|
|
295919
296855
|
}
|
|
295920
296856
|
},
|
|
296857
|
+
"Plugin": {
|
|
296858
|
+
"section": "plugin",
|
|
296859
|
+
"schema": {
|
|
296860
|
+
"type": "object",
|
|
296861
|
+
"properties": {
|
|
296862
|
+
"id": {
|
|
296863
|
+
"type": "string",
|
|
296864
|
+
"minLength": 28,
|
|
296865
|
+
"maxLength": 36,
|
|
296866
|
+
"description": "ID of the [Plugin](#schema_plugin)"
|
|
296867
|
+
},
|
|
296868
|
+
"name": {
|
|
296869
|
+
"type": "string",
|
|
296870
|
+
"maxLength": 200,
|
|
296871
|
+
"description": "Name of the [Plugin](#schema_plugin)"
|
|
296872
|
+
},
|
|
296873
|
+
"version": {
|
|
296874
|
+
"type": "string",
|
|
296875
|
+
"maxLength": 200,
|
|
296876
|
+
"description": "Version of the [Plugin](#schema_plugin)"
|
|
296877
|
+
},
|
|
296878
|
+
"createdAt": {
|
|
296879
|
+
"type": "string",
|
|
296880
|
+
"format": "date-time",
|
|
296881
|
+
"description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
296882
|
+
},
|
|
296883
|
+
"updatedAt": {
|
|
296884
|
+
"type": "string",
|
|
296885
|
+
"format": "date-time",
|
|
296886
|
+
"description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
296887
|
+
},
|
|
296888
|
+
"configuration": {
|
|
296889
|
+
"type": "object",
|
|
296890
|
+
"properties": {
|
|
296891
|
+
"title": {
|
|
296892
|
+
"type": "string",
|
|
296893
|
+
"maxLength": 64,
|
|
296894
|
+
"description": "Title of the configuration"
|
|
296895
|
+
},
|
|
296896
|
+
"description": {
|
|
296897
|
+
"type": "string",
|
|
296898
|
+
"maxLength": 256,
|
|
296899
|
+
"description": "Description of the configuration"
|
|
296900
|
+
},
|
|
296901
|
+
"schema": {
|
|
296902
|
+
"type": "object",
|
|
296903
|
+
"additionalProperties": true,
|
|
296904
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
296905
|
+
}
|
|
296906
|
+
},
|
|
296907
|
+
"required": [
|
|
296908
|
+
"schema"
|
|
296909
|
+
],
|
|
296910
|
+
"description": "Configuration definition",
|
|
296911
|
+
"additionalProperties": false
|
|
296912
|
+
},
|
|
296913
|
+
"states": {
|
|
296914
|
+
"type": "object",
|
|
296915
|
+
"additionalProperties": {
|
|
296916
|
+
"type": "object",
|
|
296917
|
+
"properties": {
|
|
296918
|
+
"type": {
|
|
296919
|
+
"type": "string",
|
|
296920
|
+
"enum": [
|
|
296921
|
+
"conversation",
|
|
296922
|
+
"user",
|
|
296923
|
+
"bot",
|
|
296924
|
+
"task"
|
|
296925
|
+
],
|
|
296926
|
+
"description": "Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)"
|
|
296927
|
+
},
|
|
296928
|
+
"schema": {
|
|
296929
|
+
"type": "object",
|
|
296930
|
+
"additionalProperties": true,
|
|
296931
|
+
"description": "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
|
|
296932
|
+
},
|
|
296933
|
+
"expiry": {
|
|
296934
|
+
"type": "number",
|
|
296935
|
+
"minimum": 1,
|
|
296936
|
+
"description": "Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire."
|
|
296937
|
+
}
|
|
296938
|
+
},
|
|
296939
|
+
"required": [
|
|
296940
|
+
"type",
|
|
296941
|
+
"schema"
|
|
296942
|
+
],
|
|
296943
|
+
"additionalProperties": false
|
|
296944
|
+
}
|
|
296945
|
+
},
|
|
296946
|
+
"events": {
|
|
296947
|
+
"type": "object",
|
|
296948
|
+
"additionalProperties": {
|
|
296949
|
+
"type": "object",
|
|
296950
|
+
"properties": {
|
|
296951
|
+
"title": {
|
|
296952
|
+
"type": "string",
|
|
296953
|
+
"maxLength": 64,
|
|
296954
|
+
"description": "Title of the event"
|
|
296955
|
+
},
|
|
296956
|
+
"description": {
|
|
296957
|
+
"type": "string",
|
|
296958
|
+
"maxLength": 256,
|
|
296959
|
+
"description": "Description of the event"
|
|
296960
|
+
},
|
|
296961
|
+
"schema": {
|
|
296962
|
+
"type": "object",
|
|
296963
|
+
"additionalProperties": true
|
|
296964
|
+
}
|
|
296965
|
+
},
|
|
296966
|
+
"required": [
|
|
296967
|
+
"schema"
|
|
296968
|
+
],
|
|
296969
|
+
"description": "Event Definition",
|
|
296970
|
+
"additionalProperties": false
|
|
296971
|
+
}
|
|
296972
|
+
},
|
|
296973
|
+
"actions": {
|
|
296974
|
+
"type": "object",
|
|
296975
|
+
"additionalProperties": {
|
|
296976
|
+
"type": "object",
|
|
296977
|
+
"properties": {
|
|
296978
|
+
"title": {
|
|
296979
|
+
"type": "string",
|
|
296980
|
+
"maxLength": 64,
|
|
296981
|
+
"description": "Title of the action"
|
|
296982
|
+
},
|
|
296983
|
+
"description": {
|
|
296984
|
+
"type": "string",
|
|
296985
|
+
"maxLength": 256,
|
|
296986
|
+
"description": "Description of the action"
|
|
296987
|
+
},
|
|
296988
|
+
"billable": {
|
|
296989
|
+
"type": "boolean"
|
|
296990
|
+
},
|
|
296991
|
+
"cacheable": {
|
|
296992
|
+
"type": "boolean"
|
|
296993
|
+
},
|
|
296994
|
+
"input": {
|
|
296995
|
+
"type": "object",
|
|
296996
|
+
"properties": {
|
|
296997
|
+
"schema": {
|
|
296998
|
+
"type": "object",
|
|
296999
|
+
"additionalProperties": true
|
|
297000
|
+
}
|
|
297001
|
+
},
|
|
297002
|
+
"required": [
|
|
297003
|
+
"schema"
|
|
297004
|
+
],
|
|
297005
|
+
"additionalProperties": false
|
|
297006
|
+
},
|
|
297007
|
+
"output": {
|
|
297008
|
+
"type": "object",
|
|
297009
|
+
"properties": {
|
|
297010
|
+
"schema": {
|
|
297011
|
+
"type": "object",
|
|
297012
|
+
"additionalProperties": true
|
|
297013
|
+
}
|
|
297014
|
+
},
|
|
297015
|
+
"required": [
|
|
297016
|
+
"schema"
|
|
297017
|
+
],
|
|
297018
|
+
"additionalProperties": false
|
|
297019
|
+
}
|
|
297020
|
+
},
|
|
297021
|
+
"required": [
|
|
297022
|
+
"input",
|
|
297023
|
+
"output"
|
|
297024
|
+
],
|
|
297025
|
+
"description": "Action definition",
|
|
297026
|
+
"additionalProperties": false
|
|
297027
|
+
}
|
|
297028
|
+
},
|
|
297029
|
+
"user": {
|
|
297030
|
+
"type": "object",
|
|
297031
|
+
"properties": {
|
|
297032
|
+
"tags": {
|
|
297033
|
+
"type": "object",
|
|
297034
|
+
"additionalProperties": {
|
|
297035
|
+
"type": "object",
|
|
297036
|
+
"properties": {
|
|
297037
|
+
"title": {
|
|
297038
|
+
"type": "string",
|
|
297039
|
+
"maxLength": 64,
|
|
297040
|
+
"description": "Title of the tag"
|
|
297041
|
+
},
|
|
297042
|
+
"description": {
|
|
297043
|
+
"type": "string",
|
|
297044
|
+
"maxLength": 256,
|
|
297045
|
+
"description": "Description of the tag"
|
|
297046
|
+
}
|
|
297047
|
+
},
|
|
297048
|
+
"description": "Definition of a tag that can be provided on the object",
|
|
297049
|
+
"additionalProperties": false
|
|
297050
|
+
}
|
|
297051
|
+
}
|
|
297052
|
+
},
|
|
297053
|
+
"required": [
|
|
297054
|
+
"tags"
|
|
297055
|
+
],
|
|
297056
|
+
"description": "User object configuration",
|
|
297057
|
+
"additionalProperties": false
|
|
297058
|
+
},
|
|
297059
|
+
"code": {
|
|
297060
|
+
"type": "string"
|
|
297061
|
+
}
|
|
297062
|
+
},
|
|
297063
|
+
"required": [
|
|
297064
|
+
"id",
|
|
297065
|
+
"name",
|
|
297066
|
+
"version",
|
|
297067
|
+
"createdAt",
|
|
297068
|
+
"updatedAt",
|
|
297069
|
+
"configuration",
|
|
297070
|
+
"states",
|
|
297071
|
+
"events",
|
|
297072
|
+
"actions",
|
|
297073
|
+
"user",
|
|
297074
|
+
"code"
|
|
297075
|
+
],
|
|
297076
|
+
"description": "Plugin definition",
|
|
297077
|
+
"additionalProperties": false
|
|
297078
|
+
}
|
|
297079
|
+
},
|
|
295921
297080
|
"Workspace": {
|
|
295922
297081
|
"section": "workspace",
|
|
295923
297082
|
"schema": {
|
|
@@ -297098,7 +298257,6 @@ var state = {
|
|
|
297098
298257
|
}
|
|
297099
298258
|
},
|
|
297100
298259
|
"required": [
|
|
297101
|
-
"$schema",
|
|
297102
298260
|
"properties",
|
|
297103
298261
|
"additionalProperties",
|
|
297104
298262
|
"type"
|
|
@@ -297575,6 +298733,20 @@ var state = {
|
|
|
297575
298733
|
],
|
|
297576
298734
|
"schema": "Interface"
|
|
297577
298735
|
},
|
|
298736
|
+
{
|
|
298737
|
+
"title": "Plugin",
|
|
298738
|
+
"description": "",
|
|
298739
|
+
"name": "plugin",
|
|
298740
|
+
"operations": [
|
|
298741
|
+
"createPlugin",
|
|
298742
|
+
"getPlugin",
|
|
298743
|
+
"getPluginByName",
|
|
298744
|
+
"updatePlugin",
|
|
298745
|
+
"deletePlugin",
|
|
298746
|
+
"listPlugins"
|
|
298747
|
+
],
|
|
298748
|
+
"schema": "Plugin"
|
|
298749
|
+
},
|
|
297578
298750
|
{
|
|
297579
298751
|
"title": "Workspace",
|
|
297580
298752
|
"description": "",
|
|
@@ -297673,6 +298845,9 @@ var state = {
|
|
|
297673
298845
|
"getOrCreateTable",
|
|
297674
298846
|
"createTable",
|
|
297675
298847
|
"duplicateTable",
|
|
298848
|
+
"exportTable",
|
|
298849
|
+
"getTableJobs",
|
|
298850
|
+
"importTable",
|
|
297676
298851
|
"updateTable",
|
|
297677
298852
|
"renameTableColumn",
|
|
297678
298853
|
"deleteTable",
|