@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/dist/index.js +174 -1
- package/dist/src/gen/state.d.ts +158 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +174 -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,11 @@ var state = {
|
|
|
286927
286999
|
"enabled": {
|
|
286928
287000
|
"type": "boolean"
|
|
286929
287001
|
},
|
|
287002
|
+
"configurationType": {
|
|
287003
|
+
"type": "string",
|
|
287004
|
+
"nullable": true,
|
|
287005
|
+
"description": "Integration's configuration type. Set to default if null."
|
|
287006
|
+
},
|
|
286930
287007
|
"configuration": {
|
|
286931
287008
|
"type": "object",
|
|
286932
287009
|
"additionalProperties": true
|
|
@@ -290058,8 +290135,37 @@ var state = {
|
|
|
290058
290135
|
"additionalProperties": false
|
|
290059
290136
|
}
|
|
290060
290137
|
},
|
|
290138
|
+
"description": "Default configuration definition of the integration",
|
|
290061
290139
|
"additionalProperties": false
|
|
290062
290140
|
},
|
|
290141
|
+
"configurations": {
|
|
290142
|
+
"type": "object",
|
|
290143
|
+
"additionalProperties": {
|
|
290144
|
+
"type": "object",
|
|
290145
|
+
"properties": {
|
|
290146
|
+
"schema": {
|
|
290147
|
+
"type": "object",
|
|
290148
|
+
"additionalProperties": true,
|
|
290149
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
290150
|
+
},
|
|
290151
|
+
"identifier": {
|
|
290152
|
+
"type": "object",
|
|
290153
|
+
"properties": {
|
|
290154
|
+
"required": {
|
|
290155
|
+
"type": "boolean"
|
|
290156
|
+
},
|
|
290157
|
+
"linkTemplateScript": {
|
|
290158
|
+
"type": "string",
|
|
290159
|
+
"maxLength": 2e3
|
|
290160
|
+
}
|
|
290161
|
+
},
|
|
290162
|
+
"additionalProperties": false
|
|
290163
|
+
}
|
|
290164
|
+
},
|
|
290165
|
+
"additionalProperties": false
|
|
290166
|
+
},
|
|
290167
|
+
"description": "Additional configuration definitions of the integration"
|
|
290168
|
+
},
|
|
290063
290169
|
"states": {
|
|
290064
290170
|
"type": "object",
|
|
290065
290171
|
"additionalProperties": {
|
|
@@ -290477,8 +290583,39 @@ var state = {
|
|
|
290477
290583
|
"additionalProperties": false
|
|
290478
290584
|
}
|
|
290479
290585
|
},
|
|
290586
|
+
"description": "Default configuration definition of the integration",
|
|
290480
290587
|
"additionalProperties": false
|
|
290481
290588
|
},
|
|
290589
|
+
"configurations": {
|
|
290590
|
+
"type": "object",
|
|
290591
|
+
"additionalProperties": {
|
|
290592
|
+
"type": "object",
|
|
290593
|
+
"properties": {
|
|
290594
|
+
"schema": {
|
|
290595
|
+
"type": "object",
|
|
290596
|
+
"additionalProperties": true,
|
|
290597
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
290598
|
+
},
|
|
290599
|
+
"identifier": {
|
|
290600
|
+
"type": "object",
|
|
290601
|
+
"properties": {
|
|
290602
|
+
"linkTemplateScript": {
|
|
290603
|
+
"type": "string",
|
|
290604
|
+
"maxLength": 2e3,
|
|
290605
|
+
"nullable": true
|
|
290606
|
+
},
|
|
290607
|
+
"required": {
|
|
290608
|
+
"type": "boolean"
|
|
290609
|
+
}
|
|
290610
|
+
},
|
|
290611
|
+
"additionalProperties": false
|
|
290612
|
+
}
|
|
290613
|
+
},
|
|
290614
|
+
"nullable": true,
|
|
290615
|
+
"additionalProperties": false
|
|
290616
|
+
},
|
|
290617
|
+
"description": "Additional configuration definitions of the integration"
|
|
290618
|
+
},
|
|
290482
290619
|
"channels": {
|
|
290483
290620
|
"type": "object",
|
|
290484
290621
|
"additionalProperties": {
|
|
@@ -293795,7 +293932,7 @@ var state = {
|
|
|
293795
293932
|
"title": "Botpress API",
|
|
293796
293933
|
"description": "API for Botpress Cloud",
|
|
293797
293934
|
"server": "https://api.botpress.cloud",
|
|
293798
|
-
"version": "0.
|
|
293935
|
+
"version": "0.40.1",
|
|
293799
293936
|
"prefix": "v1"
|
|
293800
293937
|
},
|
|
293801
293938
|
"errors": [
|
|
@@ -294801,6 +294938,41 @@ var state = {
|
|
|
294801
294938
|
"description": "Configuration definition",
|
|
294802
294939
|
"additionalProperties": false
|
|
294803
294940
|
},
|
|
294941
|
+
"configurations": {
|
|
294942
|
+
"type": "object",
|
|
294943
|
+
"additionalProperties": {
|
|
294944
|
+
"type": "object",
|
|
294945
|
+
"properties": {
|
|
294946
|
+
"identifier": {
|
|
294947
|
+
"type": "object",
|
|
294948
|
+
"properties": {
|
|
294949
|
+
"linkTemplateScript": {
|
|
294950
|
+
"type": "string",
|
|
294951
|
+
"maxLength": 2e3
|
|
294952
|
+
},
|
|
294953
|
+
"required": {
|
|
294954
|
+
"type": "boolean"
|
|
294955
|
+
}
|
|
294956
|
+
},
|
|
294957
|
+
"required": [
|
|
294958
|
+
"required"
|
|
294959
|
+
],
|
|
294960
|
+
"description": "Identifier configuration of the [Integration](#schema_integration)",
|
|
294961
|
+
"additionalProperties": false
|
|
294962
|
+
},
|
|
294963
|
+
"schema": {
|
|
294964
|
+
"type": "object",
|
|
294965
|
+
"additionalProperties": true,
|
|
294966
|
+
"description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
|
|
294967
|
+
}
|
|
294968
|
+
},
|
|
294969
|
+
"required": [
|
|
294970
|
+
"identifier"
|
|
294971
|
+
],
|
|
294972
|
+
"description": "Configuration definition",
|
|
294973
|
+
"additionalProperties": false
|
|
294974
|
+
}
|
|
294975
|
+
},
|
|
294804
294976
|
"channels": {
|
|
294805
294977
|
"type": "object",
|
|
294806
294978
|
"additionalProperties": {
|
|
@@ -295166,6 +295338,7 @@ var state = {
|
|
|
295166
295338
|
"version",
|
|
295167
295339
|
"interfaces",
|
|
295168
295340
|
"configuration",
|
|
295341
|
+
"configurations",
|
|
295169
295342
|
"channels",
|
|
295170
295343
|
"states",
|
|
295171
295344
|
"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,11 @@ export declare const state: {
|
|
|
3874
3936
|
enabled: {
|
|
3875
3937
|
type: "boolean";
|
|
3876
3938
|
};
|
|
3939
|
+
configurationType: {
|
|
3940
|
+
type: "string";
|
|
3941
|
+
nullable: true;
|
|
3942
|
+
description: string;
|
|
3943
|
+
};
|
|
3877
3944
|
configuration: {
|
|
3878
3945
|
type: "object";
|
|
3879
3946
|
additionalProperties: true;
|
|
@@ -6514,8 +6581,37 @@ export declare const state: {
|
|
|
6514
6581
|
additionalProperties: false;
|
|
6515
6582
|
};
|
|
6516
6583
|
};
|
|
6584
|
+
description: string;
|
|
6517
6585
|
additionalProperties: false;
|
|
6518
6586
|
};
|
|
6587
|
+
configurations: {
|
|
6588
|
+
type: "object";
|
|
6589
|
+
additionalProperties: {
|
|
6590
|
+
type: "object";
|
|
6591
|
+
properties: {
|
|
6592
|
+
schema: {
|
|
6593
|
+
type: "object";
|
|
6594
|
+
additionalProperties: true;
|
|
6595
|
+
description: string;
|
|
6596
|
+
};
|
|
6597
|
+
identifier: {
|
|
6598
|
+
type: "object";
|
|
6599
|
+
properties: {
|
|
6600
|
+
required: {
|
|
6601
|
+
type: "boolean";
|
|
6602
|
+
};
|
|
6603
|
+
linkTemplateScript: {
|
|
6604
|
+
type: "string";
|
|
6605
|
+
maxLength: number;
|
|
6606
|
+
};
|
|
6607
|
+
};
|
|
6608
|
+
additionalProperties: false;
|
|
6609
|
+
};
|
|
6610
|
+
};
|
|
6611
|
+
additionalProperties: false;
|
|
6612
|
+
};
|
|
6613
|
+
description: string;
|
|
6614
|
+
};
|
|
6519
6615
|
states: {
|
|
6520
6616
|
type: "object";
|
|
6521
6617
|
additionalProperties: {
|
|
@@ -6900,8 +6996,39 @@ export declare const state: {
|
|
|
6900
6996
|
additionalProperties: false;
|
|
6901
6997
|
};
|
|
6902
6998
|
};
|
|
6999
|
+
description: string;
|
|
6903
7000
|
additionalProperties: false;
|
|
6904
7001
|
};
|
|
7002
|
+
configurations: {
|
|
7003
|
+
type: "object";
|
|
7004
|
+
additionalProperties: {
|
|
7005
|
+
type: "object";
|
|
7006
|
+
properties: {
|
|
7007
|
+
schema: {
|
|
7008
|
+
type: "object";
|
|
7009
|
+
additionalProperties: true;
|
|
7010
|
+
description: string;
|
|
7011
|
+
};
|
|
7012
|
+
identifier: {
|
|
7013
|
+
type: "object";
|
|
7014
|
+
properties: {
|
|
7015
|
+
linkTemplateScript: {
|
|
7016
|
+
type: "string";
|
|
7017
|
+
maxLength: number;
|
|
7018
|
+
nullable: true;
|
|
7019
|
+
};
|
|
7020
|
+
required: {
|
|
7021
|
+
type: "boolean";
|
|
7022
|
+
};
|
|
7023
|
+
};
|
|
7024
|
+
additionalProperties: false;
|
|
7025
|
+
};
|
|
7026
|
+
};
|
|
7027
|
+
nullable: true;
|
|
7028
|
+
additionalProperties: false;
|
|
7029
|
+
};
|
|
7030
|
+
description: string;
|
|
7031
|
+
};
|
|
6905
7032
|
channels: {
|
|
6906
7033
|
type: "object";
|
|
6907
7034
|
additionalProperties: {
|
|
@@ -10672,6 +10799,37 @@ export declare const state: {
|
|
|
10672
10799
|
description: string;
|
|
10673
10800
|
additionalProperties: false;
|
|
10674
10801
|
};
|
|
10802
|
+
configurations: {
|
|
10803
|
+
type: "object";
|
|
10804
|
+
additionalProperties: {
|
|
10805
|
+
type: "object";
|
|
10806
|
+
properties: {
|
|
10807
|
+
identifier: {
|
|
10808
|
+
type: "object";
|
|
10809
|
+
properties: {
|
|
10810
|
+
linkTemplateScript: {
|
|
10811
|
+
type: "string";
|
|
10812
|
+
maxLength: number;
|
|
10813
|
+
};
|
|
10814
|
+
required: {
|
|
10815
|
+
type: "boolean";
|
|
10816
|
+
};
|
|
10817
|
+
};
|
|
10818
|
+
required: string[];
|
|
10819
|
+
description: string;
|
|
10820
|
+
additionalProperties: false;
|
|
10821
|
+
};
|
|
10822
|
+
schema: {
|
|
10823
|
+
type: "object";
|
|
10824
|
+
additionalProperties: true;
|
|
10825
|
+
description: string;
|
|
10826
|
+
};
|
|
10827
|
+
};
|
|
10828
|
+
required: string[];
|
|
10829
|
+
description: string;
|
|
10830
|
+
additionalProperties: false;
|
|
10831
|
+
};
|
|
10832
|
+
};
|
|
10675
10833
|
channels: {
|
|
10676
10834
|
type: "object";
|
|
10677
10835
|
additionalProperties: {
|