@botpress/api 1.43.0 → 1.44.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.
@@ -2635,7 +2635,7 @@ export const state = {
2635
2635
  "title": "Botpress API",
2636
2636
  "description": "API for Botpress Cloud",
2637
2637
  "server": "https://api.botpress.cloud",
2638
- "version": "1.43.0",
2638
+ "version": "1.44.0",
2639
2639
  "prefix": "v1"
2640
2640
  },
2641
2641
  "errors": [
@@ -3063,6 +3063,14 @@ export const state = {
3063
3063
  "minLength": 28,
3064
3064
  "maxLength": 36
3065
3065
  },
3066
+ "integrationAlias": {
3067
+ "type": "string",
3068
+ "maxLength": 200
3069
+ },
3070
+ "integrationInterfaceAlias": {
3071
+ "type": "string",
3072
+ "maxLength": 200
3073
+ },
3066
3074
  "interfaceId": {
3067
3075
  "type": "string",
3068
3076
  "minLength": 28,
@@ -3071,12 +3079,36 @@ export const state = {
3071
3079
  },
3072
3080
  "required": [
3073
3081
  "integrationId",
3082
+ "integrationAlias",
3074
3083
  "interfaceId"
3075
3084
  ],
3076
3085
  "additionalProperties": false
3077
3086
  },
3078
3087
  "description": "A mapping of plugin interface aliases to their backing integrations"
3079
3088
  },
3089
+ "integrations": {
3090
+ "type": "object",
3091
+ "additionalProperties": {
3092
+ "type": "object",
3093
+ "properties": {
3094
+ "integrationId": {
3095
+ "type": "string",
3096
+ "minLength": 28,
3097
+ "maxLength": 36
3098
+ },
3099
+ "integrationAlias": {
3100
+ "type": "string",
3101
+ "maxLength": 200
3102
+ }
3103
+ },
3104
+ "required": [
3105
+ "integrationId",
3106
+ "integrationAlias"
3107
+ ],
3108
+ "additionalProperties": false
3109
+ },
3110
+ "description": "A mapping of plugin integration aliases to their backing integrations"
3111
+ },
3080
3112
  "id": {
3081
3113
  "type": "string",
3082
3114
  "minLength": 28,
package/src/gen/state.ts CHANGED
@@ -7621,6 +7621,14 @@ export const state = {
7621
7621
  "properties": {
7622
7622
  "integrationId": {
7623
7623
  "type": "string"
7624
+ },
7625
+ "integrationAlias": {
7626
+ "type": "string",
7627
+ "description": "When an alias is provided, the plugin will use the integration corresponding to this alias. If not provided, the first integration matching the integrationId will be used."
7628
+ },
7629
+ "integrationInterfaceAlias": {
7630
+ "type": "string",
7631
+ "description": "When an alias is provided, the plugin will use the integration interface corresponding to this alias."
7624
7632
  }
7625
7633
  },
7626
7634
  "required": [
@@ -7629,6 +7637,26 @@ export const state = {
7629
7637
  "additionalProperties": false
7630
7638
  },
7631
7639
  "description": "A mapping of plugin interface aliases to their backing integrations"
7640
+ },
7641
+ "integrations": {
7642
+ "type": "object",
7643
+ "additionalProperties": {
7644
+ "type": "object",
7645
+ "properties": {
7646
+ "integrationId": {
7647
+ "type": "string"
7648
+ },
7649
+ "integrationAlias": {
7650
+ "type": "string"
7651
+ }
7652
+ },
7653
+ "required": [
7654
+ "integrationId",
7655
+ "integrationAlias"
7656
+ ],
7657
+ "additionalProperties": false
7658
+ },
7659
+ "description": "A mapping of plugin integration aliases to their backing integrations"
7632
7660
  }
7633
7661
  },
7634
7662
  "required": [
@@ -19703,7 +19731,7 @@ export const state = {
19703
19731
  "title": "Botpress API",
19704
19732
  "description": "API for Botpress Cloud",
19705
19733
  "server": "https://api.botpress.cloud",
19706
- "version": "1.43.0",
19734
+ "version": "1.44.0",
19707
19735
  "prefix": "v1"
19708
19736
  },
19709
19737
  "errors": [
@@ -20321,6 +20349,14 @@ export const state = {
20321
20349
  "minLength": 28,
20322
20350
  "maxLength": 36
20323
20351
  },
20352
+ "integrationAlias": {
20353
+ "type": "string",
20354
+ "maxLength": 200
20355
+ },
20356
+ "integrationInterfaceAlias": {
20357
+ "type": "string",
20358
+ "maxLength": 200
20359
+ },
20324
20360
  "interfaceId": {
20325
20361
  "type": "string",
20326
20362
  "minLength": 28,
@@ -20329,12 +20365,36 @@ export const state = {
20329
20365
  },
20330
20366
  "required": [
20331
20367
  "integrationId",
20368
+ "integrationAlias",
20332
20369
  "interfaceId"
20333
20370
  ],
20334
20371
  "additionalProperties": false
20335
20372
  },
20336
20373
  "description": "A mapping of plugin interface aliases to their backing integrations"
20337
20374
  },
20375
+ "integrations": {
20376
+ "type": "object",
20377
+ "additionalProperties": {
20378
+ "type": "object",
20379
+ "properties": {
20380
+ "integrationId": {
20381
+ "type": "string",
20382
+ "minLength": 28,
20383
+ "maxLength": 36
20384
+ },
20385
+ "integrationAlias": {
20386
+ "type": "string",
20387
+ "maxLength": 200
20388
+ }
20389
+ },
20390
+ "required": [
20391
+ "integrationId",
20392
+ "integrationAlias"
20393
+ ],
20394
+ "additionalProperties": false
20395
+ },
20396
+ "description": "A mapping of plugin integration aliases to their backing integrations"
20397
+ },
20338
20398
  "id": {
20339
20399
  "type": "string",
20340
20400
  "minLength": 28,