@botpress/api 0.39.1 → 0.40.1

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/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,11 @@ export const state = {
4337
4409
  "enabled": {
4338
4410
  "type": "boolean"
4339
4411
  },
4412
+ "configurationType": {
4413
+ "type": "string",
4414
+ "nullable": true,
4415
+ "description": "Integration's configuration type. Set to default if null."
4416
+ },
4340
4417
  "configuration": {
4341
4418
  "type": "object",
4342
4419
  "additionalProperties": true
@@ -7468,8 +7545,37 @@ export const state = {
7468
7545
  "additionalProperties": false
7469
7546
  }
7470
7547
  },
7548
+ "description": "Default configuration definition of the integration",
7471
7549
  "additionalProperties": false
7472
7550
  },
7551
+ "configurations": {
7552
+ "type": "object",
7553
+ "additionalProperties": {
7554
+ "type": "object",
7555
+ "properties": {
7556
+ "schema": {
7557
+ "type": "object",
7558
+ "additionalProperties": true,
7559
+ "description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
7560
+ },
7561
+ "identifier": {
7562
+ "type": "object",
7563
+ "properties": {
7564
+ "required": {
7565
+ "type": "boolean"
7566
+ },
7567
+ "linkTemplateScript": {
7568
+ "type": "string",
7569
+ "maxLength": 2000
7570
+ }
7571
+ },
7572
+ "additionalProperties": false
7573
+ }
7574
+ },
7575
+ "additionalProperties": false
7576
+ },
7577
+ "description": "Additional configuration definitions of the integration"
7578
+ },
7473
7579
  "states": {
7474
7580
  "type": "object",
7475
7581
  "additionalProperties": {
@@ -7887,8 +7993,39 @@ export const state = {
7887
7993
  "additionalProperties": false
7888
7994
  }
7889
7995
  },
7996
+ "description": "Default configuration definition of the integration",
7890
7997
  "additionalProperties": false
7891
7998
  },
7999
+ "configurations": {
8000
+ "type": "object",
8001
+ "additionalProperties": {
8002
+ "type": "object",
8003
+ "properties": {
8004
+ "schema": {
8005
+ "type": "object",
8006
+ "additionalProperties": true,
8007
+ "description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
8008
+ },
8009
+ "identifier": {
8010
+ "type": "object",
8011
+ "properties": {
8012
+ "linkTemplateScript": {
8013
+ "type": "string",
8014
+ "maxLength": 2000,
8015
+ "nullable": true
8016
+ },
8017
+ "required": {
8018
+ "type": "boolean"
8019
+ }
8020
+ },
8021
+ "additionalProperties": false
8022
+ }
8023
+ },
8024
+ "nullable": true,
8025
+ "additionalProperties": false
8026
+ },
8027
+ "description": "Additional configuration definitions of the integration"
8028
+ },
7892
8029
  "channels": {
7893
8030
  "type": "object",
7894
8031
  "additionalProperties": {
@@ -11205,7 +11342,7 @@ export const state = {
11205
11342
  "title": "Botpress API",
11206
11343
  "description": "API for Botpress Cloud",
11207
11344
  "server": "https://api.botpress.cloud",
11208
- "version": "0.39.1",
11345
+ "version": "0.40.1",
11209
11346
  "prefix": "v1"
11210
11347
  },
11211
11348
  "errors": [
@@ -12211,6 +12348,41 @@ export const state = {
12211
12348
  "description": "Configuration definition",
12212
12349
  "additionalProperties": false
12213
12350
  },
12351
+ "configurations": {
12352
+ "type": "object",
12353
+ "additionalProperties": {
12354
+ "type": "object",
12355
+ "properties": {
12356
+ "identifier": {
12357
+ "type": "object",
12358
+ "properties": {
12359
+ "linkTemplateScript": {
12360
+ "type": "string",
12361
+ "maxLength": 2000
12362
+ },
12363
+ "required": {
12364
+ "type": "boolean"
12365
+ }
12366
+ },
12367
+ "required": [
12368
+ "required"
12369
+ ],
12370
+ "description": "Identifier configuration of the [Integration](#schema_integration)",
12371
+ "additionalProperties": false
12372
+ },
12373
+ "schema": {
12374
+ "type": "object",
12375
+ "additionalProperties": true,
12376
+ "description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
12377
+ }
12378
+ },
12379
+ "required": [
12380
+ "identifier"
12381
+ ],
12382
+ "description": "Configuration definition",
12383
+ "additionalProperties": false
12384
+ }
12385
+ },
12214
12386
  "channels": {
12215
12387
  "type": "object",
12216
12388
  "additionalProperties": {
@@ -12576,6 +12748,7 @@ export const state = {
12576
12748
  "version",
12577
12749
  "interfaces",
12578
12750
  "configuration",
12751
+ "configurations",
12579
12752
  "channels",
12580
12753
  "states",
12581
12754
  "events",