@botpress/api 1.42.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.42.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,
@@ -4927,6 +4959,10 @@ export const state = {
4927
4959
  },
4928
4960
  "handle": {
4929
4961
  "type": "string"
4962
+ },
4963
+ "activeTrialId": {
4964
+ "type": "string",
4965
+ "nullable": true
4930
4966
  }
4931
4967
  },
4932
4968
  "required": [
@@ -4939,7 +4975,8 @@ export const state = {
4939
4975
  "billingVersion",
4940
4976
  "plan",
4941
4977
  "blocked",
4942
- "spendingLimit"
4978
+ "spendingLimit",
4979
+ "activeTrialId"
4943
4980
  ],
4944
4981
  "additionalProperties": false
4945
4982
  }
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": [
@@ -9734,6 +9762,10 @@ export const state = {
9734
9762
  },
9735
9763
  "handle": {
9736
9764
  "type": "string"
9765
+ },
9766
+ "activeTrialId": {
9767
+ "type": "string",
9768
+ "nullable": true
9737
9769
  }
9738
9770
  },
9739
9771
  "required": [
@@ -9746,7 +9778,8 @@ export const state = {
9746
9778
  "billingVersion",
9747
9779
  "plan",
9748
9780
  "blocked",
9749
- "spendingLimit"
9781
+ "spendingLimit",
9782
+ "activeTrialId"
9750
9783
  ],
9751
9784
  "title": "createWorkspaceResponse",
9752
9785
  "additionalProperties": false
@@ -9916,6 +9949,10 @@ export const state = {
9916
9949
  },
9917
9950
  "handle": {
9918
9951
  "type": "string"
9952
+ },
9953
+ "activeTrialId": {
9954
+ "type": "string",
9955
+ "nullable": true
9919
9956
  }
9920
9957
  },
9921
9958
  "required": [
@@ -9928,7 +9965,8 @@ export const state = {
9928
9965
  "billingVersion",
9929
9966
  "plan",
9930
9967
  "blocked",
9931
- "spendingLimit"
9968
+ "spendingLimit",
9969
+ "activeTrialId"
9932
9970
  ],
9933
9971
  "title": "getWorkspaceResponse",
9934
9972
  "additionalProperties": false
@@ -10431,6 +10469,10 @@ export const state = {
10431
10469
  },
10432
10470
  "handle": {
10433
10471
  "type": "string"
10472
+ },
10473
+ "activeTrialId": {
10474
+ "type": "string",
10475
+ "nullable": true
10434
10476
  }
10435
10477
  },
10436
10478
  "required": [
@@ -10443,7 +10485,8 @@ export const state = {
10443
10485
  "billingVersion",
10444
10486
  "plan",
10445
10487
  "blocked",
10446
- "spendingLimit"
10488
+ "spendingLimit",
10489
+ "activeTrialId"
10447
10490
  ],
10448
10491
  "title": "updateWorkspaceResponse",
10449
10492
  "additionalProperties": false
@@ -10607,6 +10650,10 @@ export const state = {
10607
10650
  },
10608
10651
  "handle": {
10609
10652
  "type": "string"
10653
+ },
10654
+ "activeTrialId": {
10655
+ "type": "string",
10656
+ "nullable": true
10610
10657
  }
10611
10658
  },
10612
10659
  "required": [
@@ -10619,7 +10666,8 @@ export const state = {
10619
10666
  "billingVersion",
10620
10667
  "plan",
10621
10668
  "blocked",
10622
- "spendingLimit"
10669
+ "spendingLimit",
10670
+ "activeTrialId"
10623
10671
  ],
10624
10672
  "title": "updateWorkspaceResponse"
10625
10673
  }
@@ -19683,7 +19731,7 @@ export const state = {
19683
19731
  "title": "Botpress API",
19684
19732
  "description": "API for Botpress Cloud",
19685
19733
  "server": "https://api.botpress.cloud",
19686
- "version": "1.42.0",
19734
+ "version": "1.44.0",
19687
19735
  "prefix": "v1"
19688
19736
  },
19689
19737
  "errors": [
@@ -20301,6 +20349,14 @@ export const state = {
20301
20349
  "minLength": 28,
20302
20350
  "maxLength": 36
20303
20351
  },
20352
+ "integrationAlias": {
20353
+ "type": "string",
20354
+ "maxLength": 200
20355
+ },
20356
+ "integrationInterfaceAlias": {
20357
+ "type": "string",
20358
+ "maxLength": 200
20359
+ },
20304
20360
  "interfaceId": {
20305
20361
  "type": "string",
20306
20362
  "minLength": 28,
@@ -20309,12 +20365,36 @@ export const state = {
20309
20365
  },
20310
20366
  "required": [
20311
20367
  "integrationId",
20368
+ "integrationAlias",
20312
20369
  "interfaceId"
20313
20370
  ],
20314
20371
  "additionalProperties": false
20315
20372
  },
20316
20373
  "description": "A mapping of plugin interface aliases to their backing integrations"
20317
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
+ },
20318
20398
  "id": {
20319
20399
  "type": "string",
20320
20400
  "minLength": 28,
@@ -22165,6 +22245,10 @@ export const state = {
22165
22245
  },
22166
22246
  "handle": {
22167
22247
  "type": "string"
22248
+ },
22249
+ "activeTrialId": {
22250
+ "type": "string",
22251
+ "nullable": true
22168
22252
  }
22169
22253
  },
22170
22254
  "required": [
@@ -22177,7 +22261,8 @@ export const state = {
22177
22261
  "billingVersion",
22178
22262
  "plan",
22179
22263
  "blocked",
22180
- "spendingLimit"
22264
+ "spendingLimit",
22265
+ "activeTrialId"
22181
22266
  ],
22182
22267
  "title": "updateWorkspaceResponse",
22183
22268
  "additionalProperties": false