@botpress/client 0.29.2 → 0.29.3
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/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-generate.log +1 -1
- package/dist/bundle.cjs +7 -7
- package/dist/bundle.cjs.map +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +184 -0
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2368,6 +2368,26 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
2368
2368
|
[k: string]: any;
|
|
2369
2369
|
};
|
|
2370
2370
|
};
|
|
2371
|
+
configurations: {
|
|
2372
|
+
/**
|
|
2373
|
+
* Configuration definition
|
|
2374
|
+
*/
|
|
2375
|
+
[k: string]: {
|
|
2376
|
+
/**
|
|
2377
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
2378
|
+
*/
|
|
2379
|
+
identifier: {
|
|
2380
|
+
linkTemplateScript?: string;
|
|
2381
|
+
required: boolean;
|
|
2382
|
+
};
|
|
2383
|
+
/**
|
|
2384
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
2385
|
+
*/
|
|
2386
|
+
schema?: {
|
|
2387
|
+
[k: string]: any;
|
|
2388
|
+
};
|
|
2389
|
+
};
|
|
2390
|
+
};
|
|
2371
2391
|
channels: {
|
|
2372
2392
|
/**
|
|
2373
2393
|
* Channel definition
|
|
@@ -2685,6 +2705,26 @@ interface GetPublicIntegrationResponse {
|
|
|
2685
2705
|
[k: string]: any;
|
|
2686
2706
|
};
|
|
2687
2707
|
};
|
|
2708
|
+
configurations: {
|
|
2709
|
+
/**
|
|
2710
|
+
* Configuration definition
|
|
2711
|
+
*/
|
|
2712
|
+
[k: string]: {
|
|
2713
|
+
/**
|
|
2714
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
2715
|
+
*/
|
|
2716
|
+
identifier: {
|
|
2717
|
+
linkTemplateScript?: string;
|
|
2718
|
+
required: boolean;
|
|
2719
|
+
};
|
|
2720
|
+
/**
|
|
2721
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
2722
|
+
*/
|
|
2723
|
+
schema?: {
|
|
2724
|
+
[k: string]: any;
|
|
2725
|
+
};
|
|
2726
|
+
};
|
|
2727
|
+
};
|
|
2688
2728
|
channels: {
|
|
2689
2729
|
/**
|
|
2690
2730
|
* Channel definition
|
|
@@ -3558,6 +3598,10 @@ interface UpdateBotRequestBody {
|
|
|
3558
3598
|
integrations?: {
|
|
3559
3599
|
[k: string]: {
|
|
3560
3600
|
enabled?: boolean;
|
|
3601
|
+
/**
|
|
3602
|
+
* Integration's configuration type. Set to default if null.
|
|
3603
|
+
*/
|
|
3604
|
+
configurationType?: string | null;
|
|
3561
3605
|
configuration?: {
|
|
3562
3606
|
[k: string]: any;
|
|
3563
3607
|
};
|
|
@@ -5208,6 +5252,9 @@ interface CreateIntegrationRequestBody {
|
|
|
5208
5252
|
};
|
|
5209
5253
|
};
|
|
5210
5254
|
};
|
|
5255
|
+
/**
|
|
5256
|
+
* Default configuration definition of the integration
|
|
5257
|
+
*/
|
|
5211
5258
|
configuration?: {
|
|
5212
5259
|
/**
|
|
5213
5260
|
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
@@ -5220,6 +5267,23 @@ interface CreateIntegrationRequestBody {
|
|
|
5220
5267
|
linkTemplateScript?: string;
|
|
5221
5268
|
};
|
|
5222
5269
|
};
|
|
5270
|
+
/**
|
|
5271
|
+
* Additional configuration definitions of the integration
|
|
5272
|
+
*/
|
|
5273
|
+
configurations?: {
|
|
5274
|
+
[k: string]: {
|
|
5275
|
+
/**
|
|
5276
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
5277
|
+
*/
|
|
5278
|
+
schema?: {
|
|
5279
|
+
[k: string]: any;
|
|
5280
|
+
};
|
|
5281
|
+
identifier?: {
|
|
5282
|
+
required?: boolean;
|
|
5283
|
+
linkTemplateScript?: string;
|
|
5284
|
+
};
|
|
5285
|
+
};
|
|
5286
|
+
};
|
|
5223
5287
|
states?: {
|
|
5224
5288
|
/**
|
|
5225
5289
|
* State definition
|
|
@@ -5518,6 +5582,26 @@ interface CreateIntegrationResponse {
|
|
|
5518
5582
|
[k: string]: any;
|
|
5519
5583
|
};
|
|
5520
5584
|
};
|
|
5585
|
+
configurations: {
|
|
5586
|
+
/**
|
|
5587
|
+
* Configuration definition
|
|
5588
|
+
*/
|
|
5589
|
+
[k: string]: {
|
|
5590
|
+
/**
|
|
5591
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
5592
|
+
*/
|
|
5593
|
+
identifier: {
|
|
5594
|
+
linkTemplateScript?: string;
|
|
5595
|
+
required: boolean;
|
|
5596
|
+
};
|
|
5597
|
+
/**
|
|
5598
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
5599
|
+
*/
|
|
5600
|
+
schema?: {
|
|
5601
|
+
[k: string]: any;
|
|
5602
|
+
};
|
|
5603
|
+
};
|
|
5604
|
+
};
|
|
5521
5605
|
channels: {
|
|
5522
5606
|
/**
|
|
5523
5607
|
* Channel definition
|
|
@@ -5750,6 +5834,9 @@ interface UpdateIntegrationRequestParams {
|
|
|
5750
5834
|
id: string;
|
|
5751
5835
|
}
|
|
5752
5836
|
interface UpdateIntegrationRequestBody {
|
|
5837
|
+
/**
|
|
5838
|
+
* Default configuration definition of the integration
|
|
5839
|
+
*/
|
|
5753
5840
|
configuration?: {
|
|
5754
5841
|
/**
|
|
5755
5842
|
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
@@ -5762,6 +5849,23 @@ interface UpdateIntegrationRequestBody {
|
|
|
5762
5849
|
required?: boolean;
|
|
5763
5850
|
};
|
|
5764
5851
|
};
|
|
5852
|
+
/**
|
|
5853
|
+
* Additional configuration definitions of the integration
|
|
5854
|
+
*/
|
|
5855
|
+
configurations?: {
|
|
5856
|
+
[k: string]: {
|
|
5857
|
+
/**
|
|
5858
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
5859
|
+
*/
|
|
5860
|
+
schema?: {
|
|
5861
|
+
[k: string]: any;
|
|
5862
|
+
};
|
|
5863
|
+
identifier?: {
|
|
5864
|
+
linkTemplateScript?: string | null;
|
|
5865
|
+
required?: boolean;
|
|
5866
|
+
};
|
|
5867
|
+
} | null;
|
|
5868
|
+
};
|
|
5765
5869
|
channels?: {
|
|
5766
5870
|
[k: string]: {
|
|
5767
5871
|
/**
|
|
@@ -6076,6 +6180,26 @@ interface UpdateIntegrationResponse {
|
|
|
6076
6180
|
[k: string]: any;
|
|
6077
6181
|
};
|
|
6078
6182
|
};
|
|
6183
|
+
configurations: {
|
|
6184
|
+
/**
|
|
6185
|
+
* Configuration definition
|
|
6186
|
+
*/
|
|
6187
|
+
[k: string]: {
|
|
6188
|
+
/**
|
|
6189
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
6190
|
+
*/
|
|
6191
|
+
identifier: {
|
|
6192
|
+
linkTemplateScript?: string;
|
|
6193
|
+
required: boolean;
|
|
6194
|
+
};
|
|
6195
|
+
/**
|
|
6196
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
6197
|
+
*/
|
|
6198
|
+
schema?: {
|
|
6199
|
+
[k: string]: any;
|
|
6200
|
+
};
|
|
6201
|
+
};
|
|
6202
|
+
};
|
|
6079
6203
|
channels: {
|
|
6080
6204
|
/**
|
|
6081
6205
|
* Channel definition
|
|
@@ -6451,6 +6575,26 @@ interface GetIntegrationResponse {
|
|
|
6451
6575
|
[k: string]: any;
|
|
6452
6576
|
};
|
|
6453
6577
|
};
|
|
6578
|
+
configurations: {
|
|
6579
|
+
/**
|
|
6580
|
+
* Configuration definition
|
|
6581
|
+
*/
|
|
6582
|
+
[k: string]: {
|
|
6583
|
+
/**
|
|
6584
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
6585
|
+
*/
|
|
6586
|
+
identifier: {
|
|
6587
|
+
linkTemplateScript?: string;
|
|
6588
|
+
required: boolean;
|
|
6589
|
+
};
|
|
6590
|
+
/**
|
|
6591
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
6592
|
+
*/
|
|
6593
|
+
schema?: {
|
|
6594
|
+
[k: string]: any;
|
|
6595
|
+
};
|
|
6596
|
+
};
|
|
6597
|
+
};
|
|
6454
6598
|
channels: {
|
|
6455
6599
|
/**
|
|
6456
6600
|
* Channel definition
|
|
@@ -6785,6 +6929,26 @@ interface GetIntegrationByNameResponse {
|
|
|
6785
6929
|
[k: string]: any;
|
|
6786
6930
|
};
|
|
6787
6931
|
};
|
|
6932
|
+
configurations: {
|
|
6933
|
+
/**
|
|
6934
|
+
* Configuration definition
|
|
6935
|
+
*/
|
|
6936
|
+
[k: string]: {
|
|
6937
|
+
/**
|
|
6938
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
6939
|
+
*/
|
|
6940
|
+
identifier: {
|
|
6941
|
+
linkTemplateScript?: string;
|
|
6942
|
+
required: boolean;
|
|
6943
|
+
};
|
|
6944
|
+
/**
|
|
6945
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
6946
|
+
*/
|
|
6947
|
+
schema?: {
|
|
6948
|
+
[k: string]: any;
|
|
6949
|
+
};
|
|
6950
|
+
};
|
|
6951
|
+
};
|
|
6788
6952
|
channels: {
|
|
6789
6953
|
/**
|
|
6790
6954
|
* Channel definition
|
|
@@ -10036,6 +10200,26 @@ interface Integration {
|
|
|
10036
10200
|
[k: string]: any;
|
|
10037
10201
|
};
|
|
10038
10202
|
};
|
|
10203
|
+
configurations: {
|
|
10204
|
+
/**
|
|
10205
|
+
* Configuration definition
|
|
10206
|
+
*/
|
|
10207
|
+
[k: string]: {
|
|
10208
|
+
/**
|
|
10209
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
10210
|
+
*/
|
|
10211
|
+
identifier: {
|
|
10212
|
+
linkTemplateScript?: string;
|
|
10213
|
+
required: boolean;
|
|
10214
|
+
};
|
|
10215
|
+
/**
|
|
10216
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
10217
|
+
*/
|
|
10218
|
+
schema?: {
|
|
10219
|
+
[k: string]: any;
|
|
10220
|
+
};
|
|
10221
|
+
};
|
|
10222
|
+
};
|
|
10039
10223
|
channels: {
|
|
10040
10224
|
/**
|
|
10041
10225
|
* Channel definition
|