@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/dist/index.js
CHANGED
|
@@ -285303,6 +285303,41 @@ var state = {
|
|
|
285303
285303
|
"description": "Configuration definition",
|
|
285304
285304
|
"additionalProperties": false
|
|
285305
285305
|
},
|
|
285306
|
+
"configurations": {
|
|
285307
|
+
"type": "object",
|
|
285308
|
+
"additionalProperties": {
|
|
285309
|
+
"type": "object",
|
|
285310
|
+
"properties": {
|
|
285311
|
+
"identifier": {
|
|
285312
|
+
"type": "object",
|
|
285313
|
+
"properties": {
|
|
285314
|
+
"linkTemplateScript": {
|
|
285315
|
+
"type": "string",
|
|
285316
|
+
"maxLength": 2e3
|
|
285317
|
+
},
|
|
285318
|
+
"required": {
|
|
285319
|
+
"type": "boolean"
|
|
285320
|
+
}
|
|
285321
|
+
},
|
|
285322
|
+
"required": [
|
|
285323
|
+
"required"
|
|
285324
|
+
],
|
|
285325
|
+
"description": "Identifier configuration of the [Integration](#schema_integration)",
|
|
285326
|
+
"additionalProperties": false
|
|
285327
|
+
},
|
|
285328
|
+
"schema": {
|
|
285329
|
+
"type": "object",
|
|
285330
|
+
"additionalProperties": true,
|
|
285331
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
285332
|
+
}
|
|
285333
|
+
},
|
|
285334
|
+
"required": [
|
|
285335
|
+
"identifier"
|
|
285336
|
+
],
|
|
285337
|
+
"description": "Configuration definition",
|
|
285338
|
+
"additionalProperties": false
|
|
285339
|
+
}
|
|
285340
|
+
},
|
|
285306
285341
|
"channels": {
|
|
285307
285342
|
"type": "object",
|
|
285308
285343
|
"additionalProperties": {
|
|
@@ -285689,6 +285724,7 @@ var state = {
|
|
|
285689
285724
|
"version",
|
|
285690
285725
|
"interfaces",
|
|
285691
285726
|
"configuration",
|
|
285727
|
+
"configurations",
|
|
285692
285728
|
"channels",
|
|
285693
285729
|
"states",
|
|
285694
285730
|
"events",
|
|
@@ -285893,6 +285929,41 @@ var state = {
|
|
|
285893
285929
|
"description": "Configuration definition",
|
|
285894
285930
|
"additionalProperties": false
|
|
285895
285931
|
},
|
|
285932
|
+
"configurations": {
|
|
285933
|
+
"type": "object",
|
|
285934
|
+
"additionalProperties": {
|
|
285935
|
+
"type": "object",
|
|
285936
|
+
"properties": {
|
|
285937
|
+
"identifier": {
|
|
285938
|
+
"type": "object",
|
|
285939
|
+
"properties": {
|
|
285940
|
+
"linkTemplateScript": {
|
|
285941
|
+
"type": "string",
|
|
285942
|
+
"maxLength": 2e3
|
|
285943
|
+
},
|
|
285944
|
+
"required": {
|
|
285945
|
+
"type": "boolean"
|
|
285946
|
+
}
|
|
285947
|
+
},
|
|
285948
|
+
"required": [
|
|
285949
|
+
"required"
|
|
285950
|
+
],
|
|
285951
|
+
"description": "Identifier configuration of the [Integration](#schema_integration)",
|
|
285952
|
+
"additionalProperties": false
|
|
285953
|
+
},
|
|
285954
|
+
"schema": {
|
|
285955
|
+
"type": "object",
|
|
285956
|
+
"additionalProperties": true,
|
|
285957
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
285958
|
+
}
|
|
285959
|
+
},
|
|
285960
|
+
"required": [
|
|
285961
|
+
"identifier"
|
|
285962
|
+
],
|
|
285963
|
+
"description": "Configuration definition",
|
|
285964
|
+
"additionalProperties": false
|
|
285965
|
+
}
|
|
285966
|
+
},
|
|
285896
285967
|
"channels": {
|
|
285897
285968
|
"type": "object",
|
|
285898
285969
|
"additionalProperties": {
|
|
@@ -286279,6 +286350,7 @@ var state = {
|
|
|
286279
286350
|
"version",
|
|
286280
286351
|
"interfaces",
|
|
286281
286352
|
"configuration",
|
|
286353
|
+
"configurations",
|
|
286282
286354
|
"channels",
|
|
286283
286355
|
"states",
|
|
286284
286356
|
"events",
|
|
@@ -286927,6 +286999,10 @@ var state = {
|
|
|
286927
286999
|
"enabled": {
|
|
286928
287000
|
"type": "boolean"
|
|
286929
287001
|
},
|
|
287002
|
+
"configurationType": {
|
|
287003
|
+
"type": "string",
|
|
287004
|
+
"description": "Integration's configuration type. Default if not provided"
|
|
287005
|
+
},
|
|
286930
287006
|
"configuration": {
|
|
286931
287007
|
"type": "object",
|
|
286932
287008
|
"additionalProperties": true
|
|
@@ -290058,8 +290134,37 @@ var state = {
|
|
|
290058
290134
|
"additionalProperties": false
|
|
290059
290135
|
}
|
|
290060
290136
|
},
|
|
290137
|
+
"description": "Default configuration definition of the integration",
|
|
290061
290138
|
"additionalProperties": false
|
|
290062
290139
|
},
|
|
290140
|
+
"configurations": {
|
|
290141
|
+
"type": "object",
|
|
290142
|
+
"additionalProperties": {
|
|
290143
|
+
"type": "object",
|
|
290144
|
+
"properties": {
|
|
290145
|
+
"schema": {
|
|
290146
|
+
"type": "object",
|
|
290147
|
+
"additionalProperties": true,
|
|
290148
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
290149
|
+
},
|
|
290150
|
+
"identifier": {
|
|
290151
|
+
"type": "object",
|
|
290152
|
+
"properties": {
|
|
290153
|
+
"required": {
|
|
290154
|
+
"type": "boolean"
|
|
290155
|
+
},
|
|
290156
|
+
"linkTemplateScript": {
|
|
290157
|
+
"type": "string",
|
|
290158
|
+
"maxLength": 2e3
|
|
290159
|
+
}
|
|
290160
|
+
},
|
|
290161
|
+
"additionalProperties": false
|
|
290162
|
+
}
|
|
290163
|
+
},
|
|
290164
|
+
"additionalProperties": false
|
|
290165
|
+
},
|
|
290166
|
+
"description": "Additional configuration definitions of the integration"
|
|
290167
|
+
},
|
|
290063
290168
|
"states": {
|
|
290064
290169
|
"type": "object",
|
|
290065
290170
|
"additionalProperties": {
|
|
@@ -290477,8 +290582,39 @@ var state = {
|
|
|
290477
290582
|
"additionalProperties": false
|
|
290478
290583
|
}
|
|
290479
290584
|
},
|
|
290585
|
+
"description": "Default configuration definition of the integration",
|
|
290480
290586
|
"additionalProperties": false
|
|
290481
290587
|
},
|
|
290588
|
+
"configurations": {
|
|
290589
|
+
"type": "object",
|
|
290590
|
+
"additionalProperties": {
|
|
290591
|
+
"type": "object",
|
|
290592
|
+
"properties": {
|
|
290593
|
+
"schema": {
|
|
290594
|
+
"type": "object",
|
|
290595
|
+
"additionalProperties": true,
|
|
290596
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
290597
|
+
},
|
|
290598
|
+
"identifier": {
|
|
290599
|
+
"type": "object",
|
|
290600
|
+
"properties": {
|
|
290601
|
+
"linkTemplateScript": {
|
|
290602
|
+
"type": "string",
|
|
290603
|
+
"maxLength": 2e3,
|
|
290604
|
+
"nullable": true
|
|
290605
|
+
},
|
|
290606
|
+
"required": {
|
|
290607
|
+
"type": "boolean"
|
|
290608
|
+
}
|
|
290609
|
+
},
|
|
290610
|
+
"additionalProperties": false
|
|
290611
|
+
}
|
|
290612
|
+
},
|
|
290613
|
+
"nullable": true,
|
|
290614
|
+
"additionalProperties": false
|
|
290615
|
+
},
|
|
290616
|
+
"description": "Additional configuration definitions of the integration"
|
|
290617
|
+
},
|
|
290482
290618
|
"channels": {
|
|
290483
290619
|
"type": "object",
|
|
290484
290620
|
"additionalProperties": {
|
|
@@ -293795,7 +293931,7 @@ var state = {
|
|
|
293795
293931
|
"title": "Botpress API",
|
|
293796
293932
|
"description": "API for Botpress Cloud",
|
|
293797
293933
|
"server": "https://api.botpress.cloud",
|
|
293798
|
-
"version": "0.
|
|
293934
|
+
"version": "0.40.0",
|
|
293799
293935
|
"prefix": "v1"
|
|
293800
293936
|
},
|
|
293801
293937
|
"errors": [
|
|
@@ -294801,6 +294937,41 @@ var state = {
|
|
|
294801
294937
|
"description": "Configuration definition",
|
|
294802
294938
|
"additionalProperties": false
|
|
294803
294939
|
},
|
|
294940
|
+
"configurations": {
|
|
294941
|
+
"type": "object",
|
|
294942
|
+
"additionalProperties": {
|
|
294943
|
+
"type": "object",
|
|
294944
|
+
"properties": {
|
|
294945
|
+
"identifier": {
|
|
294946
|
+
"type": "object",
|
|
294947
|
+
"properties": {
|
|
294948
|
+
"linkTemplateScript": {
|
|
294949
|
+
"type": "string",
|
|
294950
|
+
"maxLength": 2e3
|
|
294951
|
+
},
|
|
294952
|
+
"required": {
|
|
294953
|
+
"type": "boolean"
|
|
294954
|
+
}
|
|
294955
|
+
},
|
|
294956
|
+
"required": [
|
|
294957
|
+
"required"
|
|
294958
|
+
],
|
|
294959
|
+
"description": "Identifier configuration of the [Integration](#schema_integration)",
|
|
294960
|
+
"additionalProperties": false
|
|
294961
|
+
},
|
|
294962
|
+
"schema": {
|
|
294963
|
+
"type": "object",
|
|
294964
|
+
"additionalProperties": true,
|
|
294965
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
294966
|
+
}
|
|
294967
|
+
},
|
|
294968
|
+
"required": [
|
|
294969
|
+
"identifier"
|
|
294970
|
+
],
|
|
294971
|
+
"description": "Configuration definition",
|
|
294972
|
+
"additionalProperties": false
|
|
294973
|
+
}
|
|
294974
|
+
},
|
|
294804
294975
|
"channels": {
|
|
294805
294976
|
"type": "object",
|
|
294806
294977
|
"additionalProperties": {
|
|
@@ -295166,6 +295337,7 @@ var state = {
|
|
|
295166
295337
|
"version",
|
|
295167
295338
|
"interfaces",
|
|
295168
295339
|
"configuration",
|
|
295340
|
+
"configurations",
|
|
295169
295341
|
"channels",
|
|
295170
295342
|
"states",
|
|
295171
295343
|
"events",
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -2468,6 +2468,37 @@ export declare const state: {
|
|
|
2468
2468
|
description: string;
|
|
2469
2469
|
additionalProperties: false;
|
|
2470
2470
|
};
|
|
2471
|
+
configurations: {
|
|
2472
|
+
type: "object";
|
|
2473
|
+
additionalProperties: {
|
|
2474
|
+
type: "object";
|
|
2475
|
+
properties: {
|
|
2476
|
+
identifier: {
|
|
2477
|
+
type: "object";
|
|
2478
|
+
properties: {
|
|
2479
|
+
linkTemplateScript: {
|
|
2480
|
+
type: "string";
|
|
2481
|
+
maxLength: number;
|
|
2482
|
+
};
|
|
2483
|
+
required: {
|
|
2484
|
+
type: "boolean";
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2487
|
+
required: string[];
|
|
2488
|
+
description: string;
|
|
2489
|
+
additionalProperties: false;
|
|
2490
|
+
};
|
|
2491
|
+
schema: {
|
|
2492
|
+
type: "object";
|
|
2493
|
+
additionalProperties: true;
|
|
2494
|
+
description: string;
|
|
2495
|
+
};
|
|
2496
|
+
};
|
|
2497
|
+
required: string[];
|
|
2498
|
+
description: string;
|
|
2499
|
+
additionalProperties: false;
|
|
2500
|
+
};
|
|
2501
|
+
};
|
|
2471
2502
|
channels: {
|
|
2472
2503
|
type: "object";
|
|
2473
2504
|
additionalProperties: {
|
|
@@ -2969,6 +3000,37 @@ export declare const state: {
|
|
|
2969
3000
|
description: string;
|
|
2970
3001
|
additionalProperties: false;
|
|
2971
3002
|
};
|
|
3003
|
+
configurations: {
|
|
3004
|
+
type: "object";
|
|
3005
|
+
additionalProperties: {
|
|
3006
|
+
type: "object";
|
|
3007
|
+
properties: {
|
|
3008
|
+
identifier: {
|
|
3009
|
+
type: "object";
|
|
3010
|
+
properties: {
|
|
3011
|
+
linkTemplateScript: {
|
|
3012
|
+
type: "string";
|
|
3013
|
+
maxLength: number;
|
|
3014
|
+
};
|
|
3015
|
+
required: {
|
|
3016
|
+
type: "boolean";
|
|
3017
|
+
};
|
|
3018
|
+
};
|
|
3019
|
+
required: string[];
|
|
3020
|
+
description: string;
|
|
3021
|
+
additionalProperties: false;
|
|
3022
|
+
};
|
|
3023
|
+
schema: {
|
|
3024
|
+
type: "object";
|
|
3025
|
+
additionalProperties: true;
|
|
3026
|
+
description: string;
|
|
3027
|
+
};
|
|
3028
|
+
};
|
|
3029
|
+
required: string[];
|
|
3030
|
+
description: string;
|
|
3031
|
+
additionalProperties: false;
|
|
3032
|
+
};
|
|
3033
|
+
};
|
|
2972
3034
|
channels: {
|
|
2973
3035
|
type: "object";
|
|
2974
3036
|
additionalProperties: {
|
|
@@ -3874,6 +3936,10 @@ export declare const state: {
|
|
|
3874
3936
|
enabled: {
|
|
3875
3937
|
type: "boolean";
|
|
3876
3938
|
};
|
|
3939
|
+
configurationType: {
|
|
3940
|
+
type: "string";
|
|
3941
|
+
description: string;
|
|
3942
|
+
};
|
|
3877
3943
|
configuration: {
|
|
3878
3944
|
type: "object";
|
|
3879
3945
|
additionalProperties: true;
|
|
@@ -6514,8 +6580,37 @@ export declare const state: {
|
|
|
6514
6580
|
additionalProperties: false;
|
|
6515
6581
|
};
|
|
6516
6582
|
};
|
|
6583
|
+
description: string;
|
|
6517
6584
|
additionalProperties: false;
|
|
6518
6585
|
};
|
|
6586
|
+
configurations: {
|
|
6587
|
+
type: "object";
|
|
6588
|
+
additionalProperties: {
|
|
6589
|
+
type: "object";
|
|
6590
|
+
properties: {
|
|
6591
|
+
schema: {
|
|
6592
|
+
type: "object";
|
|
6593
|
+
additionalProperties: true;
|
|
6594
|
+
description: string;
|
|
6595
|
+
};
|
|
6596
|
+
identifier: {
|
|
6597
|
+
type: "object";
|
|
6598
|
+
properties: {
|
|
6599
|
+
required: {
|
|
6600
|
+
type: "boolean";
|
|
6601
|
+
};
|
|
6602
|
+
linkTemplateScript: {
|
|
6603
|
+
type: "string";
|
|
6604
|
+
maxLength: number;
|
|
6605
|
+
};
|
|
6606
|
+
};
|
|
6607
|
+
additionalProperties: false;
|
|
6608
|
+
};
|
|
6609
|
+
};
|
|
6610
|
+
additionalProperties: false;
|
|
6611
|
+
};
|
|
6612
|
+
description: string;
|
|
6613
|
+
};
|
|
6519
6614
|
states: {
|
|
6520
6615
|
type: "object";
|
|
6521
6616
|
additionalProperties: {
|
|
@@ -6900,8 +6995,39 @@ export declare const state: {
|
|
|
6900
6995
|
additionalProperties: false;
|
|
6901
6996
|
};
|
|
6902
6997
|
};
|
|
6998
|
+
description: string;
|
|
6903
6999
|
additionalProperties: false;
|
|
6904
7000
|
};
|
|
7001
|
+
configurations: {
|
|
7002
|
+
type: "object";
|
|
7003
|
+
additionalProperties: {
|
|
7004
|
+
type: "object";
|
|
7005
|
+
properties: {
|
|
7006
|
+
schema: {
|
|
7007
|
+
type: "object";
|
|
7008
|
+
additionalProperties: true;
|
|
7009
|
+
description: string;
|
|
7010
|
+
};
|
|
7011
|
+
identifier: {
|
|
7012
|
+
type: "object";
|
|
7013
|
+
properties: {
|
|
7014
|
+
linkTemplateScript: {
|
|
7015
|
+
type: "string";
|
|
7016
|
+
maxLength: number;
|
|
7017
|
+
nullable: true;
|
|
7018
|
+
};
|
|
7019
|
+
required: {
|
|
7020
|
+
type: "boolean";
|
|
7021
|
+
};
|
|
7022
|
+
};
|
|
7023
|
+
additionalProperties: false;
|
|
7024
|
+
};
|
|
7025
|
+
};
|
|
7026
|
+
nullable: true;
|
|
7027
|
+
additionalProperties: false;
|
|
7028
|
+
};
|
|
7029
|
+
description: string;
|
|
7030
|
+
};
|
|
6905
7031
|
channels: {
|
|
6906
7032
|
type: "object";
|
|
6907
7033
|
additionalProperties: {
|
|
@@ -10672,6 +10798,37 @@ export declare const state: {
|
|
|
10672
10798
|
description: string;
|
|
10673
10799
|
additionalProperties: false;
|
|
10674
10800
|
};
|
|
10801
|
+
configurations: {
|
|
10802
|
+
type: "object";
|
|
10803
|
+
additionalProperties: {
|
|
10804
|
+
type: "object";
|
|
10805
|
+
properties: {
|
|
10806
|
+
identifier: {
|
|
10807
|
+
type: "object";
|
|
10808
|
+
properties: {
|
|
10809
|
+
linkTemplateScript: {
|
|
10810
|
+
type: "string";
|
|
10811
|
+
maxLength: number;
|
|
10812
|
+
};
|
|
10813
|
+
required: {
|
|
10814
|
+
type: "boolean";
|
|
10815
|
+
};
|
|
10816
|
+
};
|
|
10817
|
+
required: string[];
|
|
10818
|
+
description: string;
|
|
10819
|
+
additionalProperties: false;
|
|
10820
|
+
};
|
|
10821
|
+
schema: {
|
|
10822
|
+
type: "object";
|
|
10823
|
+
additionalProperties: true;
|
|
10824
|
+
description: string;
|
|
10825
|
+
};
|
|
10826
|
+
};
|
|
10827
|
+
required: string[];
|
|
10828
|
+
description: string;
|
|
10829
|
+
additionalProperties: false;
|
|
10830
|
+
};
|
|
10831
|
+
};
|
|
10675
10832
|
channels: {
|
|
10676
10833
|
type: "object";
|
|
10677
10834
|
additionalProperties: {
|