@botpress/api 0.39.1 → 0.40.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 +173 -1
- package/dist/src/gen/state.d.ts +157 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +173 -1
package/src/gen/state.ts
CHANGED
|
@@ -2713,6 +2713,41 @@ export const state = {
|
|
|
2713
2713
|
"description": "Configuration definition",
|
|
2714
2714
|
"additionalProperties": false
|
|
2715
2715
|
},
|
|
2716
|
+
"configurations": {
|
|
2717
|
+
"type": "object",
|
|
2718
|
+
"additionalProperties": {
|
|
2719
|
+
"type": "object",
|
|
2720
|
+
"properties": {
|
|
2721
|
+
"identifier": {
|
|
2722
|
+
"type": "object",
|
|
2723
|
+
"properties": {
|
|
2724
|
+
"linkTemplateScript": {
|
|
2725
|
+
"type": "string",
|
|
2726
|
+
"maxLength": 2000
|
|
2727
|
+
},
|
|
2728
|
+
"required": {
|
|
2729
|
+
"type": "boolean"
|
|
2730
|
+
}
|
|
2731
|
+
},
|
|
2732
|
+
"required": [
|
|
2733
|
+
"required"
|
|
2734
|
+
],
|
|
2735
|
+
"description": "Identifier configuration of the [Integration](#schema_integration)",
|
|
2736
|
+
"additionalProperties": false
|
|
2737
|
+
},
|
|
2738
|
+
"schema": {
|
|
2739
|
+
"type": "object",
|
|
2740
|
+
"additionalProperties": true,
|
|
2741
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
2742
|
+
}
|
|
2743
|
+
},
|
|
2744
|
+
"required": [
|
|
2745
|
+
"identifier"
|
|
2746
|
+
],
|
|
2747
|
+
"description": "Configuration definition",
|
|
2748
|
+
"additionalProperties": false
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2716
2751
|
"channels": {
|
|
2717
2752
|
"type": "object",
|
|
2718
2753
|
"additionalProperties": {
|
|
@@ -3099,6 +3134,7 @@ export const state = {
|
|
|
3099
3134
|
"version",
|
|
3100
3135
|
"interfaces",
|
|
3101
3136
|
"configuration",
|
|
3137
|
+
"configurations",
|
|
3102
3138
|
"channels",
|
|
3103
3139
|
"states",
|
|
3104
3140
|
"events",
|
|
@@ -3303,6 +3339,41 @@ export const state = {
|
|
|
3303
3339
|
"description": "Configuration definition",
|
|
3304
3340
|
"additionalProperties": false
|
|
3305
3341
|
},
|
|
3342
|
+
"configurations": {
|
|
3343
|
+
"type": "object",
|
|
3344
|
+
"additionalProperties": {
|
|
3345
|
+
"type": "object",
|
|
3346
|
+
"properties": {
|
|
3347
|
+
"identifier": {
|
|
3348
|
+
"type": "object",
|
|
3349
|
+
"properties": {
|
|
3350
|
+
"linkTemplateScript": {
|
|
3351
|
+
"type": "string",
|
|
3352
|
+
"maxLength": 2000
|
|
3353
|
+
},
|
|
3354
|
+
"required": {
|
|
3355
|
+
"type": "boolean"
|
|
3356
|
+
}
|
|
3357
|
+
},
|
|
3358
|
+
"required": [
|
|
3359
|
+
"required"
|
|
3360
|
+
],
|
|
3361
|
+
"description": "Identifier configuration of the [Integration](#schema_integration)",
|
|
3362
|
+
"additionalProperties": false
|
|
3363
|
+
},
|
|
3364
|
+
"schema": {
|
|
3365
|
+
"type": "object",
|
|
3366
|
+
"additionalProperties": true,
|
|
3367
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
3368
|
+
}
|
|
3369
|
+
},
|
|
3370
|
+
"required": [
|
|
3371
|
+
"identifier"
|
|
3372
|
+
],
|
|
3373
|
+
"description": "Configuration definition",
|
|
3374
|
+
"additionalProperties": false
|
|
3375
|
+
}
|
|
3376
|
+
},
|
|
3306
3377
|
"channels": {
|
|
3307
3378
|
"type": "object",
|
|
3308
3379
|
"additionalProperties": {
|
|
@@ -3689,6 +3760,7 @@ export const state = {
|
|
|
3689
3760
|
"version",
|
|
3690
3761
|
"interfaces",
|
|
3691
3762
|
"configuration",
|
|
3763
|
+
"configurations",
|
|
3692
3764
|
"channels",
|
|
3693
3765
|
"states",
|
|
3694
3766
|
"events",
|
|
@@ -4337,6 +4409,10 @@ export const state = {
|
|
|
4337
4409
|
"enabled": {
|
|
4338
4410
|
"type": "boolean"
|
|
4339
4411
|
},
|
|
4412
|
+
"configurationType": {
|
|
4413
|
+
"type": "string",
|
|
4414
|
+
"description": "Integration's configuration type. Default if not provided"
|
|
4415
|
+
},
|
|
4340
4416
|
"configuration": {
|
|
4341
4417
|
"type": "object",
|
|
4342
4418
|
"additionalProperties": true
|
|
@@ -7468,8 +7544,37 @@ export const state = {
|
|
|
7468
7544
|
"additionalProperties": false
|
|
7469
7545
|
}
|
|
7470
7546
|
},
|
|
7547
|
+
"description": "Default configuration definition of the integration",
|
|
7471
7548
|
"additionalProperties": false
|
|
7472
7549
|
},
|
|
7550
|
+
"configurations": {
|
|
7551
|
+
"type": "object",
|
|
7552
|
+
"additionalProperties": {
|
|
7553
|
+
"type": "object",
|
|
7554
|
+
"properties": {
|
|
7555
|
+
"schema": {
|
|
7556
|
+
"type": "object",
|
|
7557
|
+
"additionalProperties": true,
|
|
7558
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
7559
|
+
},
|
|
7560
|
+
"identifier": {
|
|
7561
|
+
"type": "object",
|
|
7562
|
+
"properties": {
|
|
7563
|
+
"required": {
|
|
7564
|
+
"type": "boolean"
|
|
7565
|
+
},
|
|
7566
|
+
"linkTemplateScript": {
|
|
7567
|
+
"type": "string",
|
|
7568
|
+
"maxLength": 2000
|
|
7569
|
+
}
|
|
7570
|
+
},
|
|
7571
|
+
"additionalProperties": false
|
|
7572
|
+
}
|
|
7573
|
+
},
|
|
7574
|
+
"additionalProperties": false
|
|
7575
|
+
},
|
|
7576
|
+
"description": "Additional configuration definitions of the integration"
|
|
7577
|
+
},
|
|
7473
7578
|
"states": {
|
|
7474
7579
|
"type": "object",
|
|
7475
7580
|
"additionalProperties": {
|
|
@@ -7887,8 +7992,39 @@ export const state = {
|
|
|
7887
7992
|
"additionalProperties": false
|
|
7888
7993
|
}
|
|
7889
7994
|
},
|
|
7995
|
+
"description": "Default configuration definition of the integration",
|
|
7890
7996
|
"additionalProperties": false
|
|
7891
7997
|
},
|
|
7998
|
+
"configurations": {
|
|
7999
|
+
"type": "object",
|
|
8000
|
+
"additionalProperties": {
|
|
8001
|
+
"type": "object",
|
|
8002
|
+
"properties": {
|
|
8003
|
+
"schema": {
|
|
8004
|
+
"type": "object",
|
|
8005
|
+
"additionalProperties": true,
|
|
8006
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
8007
|
+
},
|
|
8008
|
+
"identifier": {
|
|
8009
|
+
"type": "object",
|
|
8010
|
+
"properties": {
|
|
8011
|
+
"linkTemplateScript": {
|
|
8012
|
+
"type": "string",
|
|
8013
|
+
"maxLength": 2000,
|
|
8014
|
+
"nullable": true
|
|
8015
|
+
},
|
|
8016
|
+
"required": {
|
|
8017
|
+
"type": "boolean"
|
|
8018
|
+
}
|
|
8019
|
+
},
|
|
8020
|
+
"additionalProperties": false
|
|
8021
|
+
}
|
|
8022
|
+
},
|
|
8023
|
+
"nullable": true,
|
|
8024
|
+
"additionalProperties": false
|
|
8025
|
+
},
|
|
8026
|
+
"description": "Additional configuration definitions of the integration"
|
|
8027
|
+
},
|
|
7892
8028
|
"channels": {
|
|
7893
8029
|
"type": "object",
|
|
7894
8030
|
"additionalProperties": {
|
|
@@ -11205,7 +11341,7 @@ export const state = {
|
|
|
11205
11341
|
"title": "Botpress API",
|
|
11206
11342
|
"description": "API for Botpress Cloud",
|
|
11207
11343
|
"server": "https://api.botpress.cloud",
|
|
11208
|
-
"version": "0.
|
|
11344
|
+
"version": "0.40.0",
|
|
11209
11345
|
"prefix": "v1"
|
|
11210
11346
|
},
|
|
11211
11347
|
"errors": [
|
|
@@ -12211,6 +12347,41 @@ export const state = {
|
|
|
12211
12347
|
"description": "Configuration definition",
|
|
12212
12348
|
"additionalProperties": false
|
|
12213
12349
|
},
|
|
12350
|
+
"configurations": {
|
|
12351
|
+
"type": "object",
|
|
12352
|
+
"additionalProperties": {
|
|
12353
|
+
"type": "object",
|
|
12354
|
+
"properties": {
|
|
12355
|
+
"identifier": {
|
|
12356
|
+
"type": "object",
|
|
12357
|
+
"properties": {
|
|
12358
|
+
"linkTemplateScript": {
|
|
12359
|
+
"type": "string",
|
|
12360
|
+
"maxLength": 2000
|
|
12361
|
+
},
|
|
12362
|
+
"required": {
|
|
12363
|
+
"type": "boolean"
|
|
12364
|
+
}
|
|
12365
|
+
},
|
|
12366
|
+
"required": [
|
|
12367
|
+
"required"
|
|
12368
|
+
],
|
|
12369
|
+
"description": "Identifier configuration of the [Integration](#schema_integration)",
|
|
12370
|
+
"additionalProperties": false
|
|
12371
|
+
},
|
|
12372
|
+
"schema": {
|
|
12373
|
+
"type": "object",
|
|
12374
|
+
"additionalProperties": true,
|
|
12375
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
12376
|
+
}
|
|
12377
|
+
},
|
|
12378
|
+
"required": [
|
|
12379
|
+
"identifier"
|
|
12380
|
+
],
|
|
12381
|
+
"description": "Configuration definition",
|
|
12382
|
+
"additionalProperties": false
|
|
12383
|
+
}
|
|
12384
|
+
},
|
|
12214
12385
|
"channels": {
|
|
12215
12386
|
"type": "object",
|
|
12216
12387
|
"additionalProperties": {
|
|
@@ -12576,6 +12747,7 @@ export const state = {
|
|
|
12576
12747
|
"version",
|
|
12577
12748
|
"interfaces",
|
|
12578
12749
|
"configuration",
|
|
12750
|
+
"configurations",
|
|
12579
12751
|
"channels",
|
|
12580
12752
|
"states",
|
|
12581
12753
|
"events",
|