@botpress/client 0.29.2 → 0.29.4
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 +3 -3
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +424 -24
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2333,6 +2333,10 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
2333
2333
|
interfaces: {
|
|
2334
2334
|
[k: string]: {
|
|
2335
2335
|
id: string;
|
|
2336
|
+
/**
|
|
2337
|
+
* Name of the interface
|
|
2338
|
+
*/
|
|
2339
|
+
name: string;
|
|
2336
2340
|
entities: {
|
|
2337
2341
|
[k: string]: {
|
|
2338
2342
|
name: string;
|
|
@@ -2354,6 +2358,14 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
2354
2358
|
* Configuration definition
|
|
2355
2359
|
*/
|
|
2356
2360
|
configuration: {
|
|
2361
|
+
/**
|
|
2362
|
+
* Title of the configuration
|
|
2363
|
+
*/
|
|
2364
|
+
title?: string;
|
|
2365
|
+
/**
|
|
2366
|
+
* Description of the configuration
|
|
2367
|
+
*/
|
|
2368
|
+
description?: string;
|
|
2357
2369
|
/**
|
|
2358
2370
|
* Identifier configuration of the [Integration](#schema_integration)
|
|
2359
2371
|
*/
|
|
@@ -2368,6 +2380,34 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
2368
2380
|
[k: string]: any;
|
|
2369
2381
|
};
|
|
2370
2382
|
};
|
|
2383
|
+
configurations: {
|
|
2384
|
+
/**
|
|
2385
|
+
* Configuration definition
|
|
2386
|
+
*/
|
|
2387
|
+
[k: string]: {
|
|
2388
|
+
/**
|
|
2389
|
+
* Title of the configuration
|
|
2390
|
+
*/
|
|
2391
|
+
title?: string;
|
|
2392
|
+
/**
|
|
2393
|
+
* Description of the configuration
|
|
2394
|
+
*/
|
|
2395
|
+
description?: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
2398
|
+
*/
|
|
2399
|
+
identifier: {
|
|
2400
|
+
linkTemplateScript?: string;
|
|
2401
|
+
required: boolean;
|
|
2402
|
+
};
|
|
2403
|
+
/**
|
|
2404
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
2405
|
+
*/
|
|
2406
|
+
schema?: {
|
|
2407
|
+
[k: string]: any;
|
|
2408
|
+
};
|
|
2409
|
+
};
|
|
2410
|
+
};
|
|
2371
2411
|
channels: {
|
|
2372
2412
|
/**
|
|
2373
2413
|
* Channel definition
|
|
@@ -2494,6 +2534,8 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
2494
2534
|
* Description of the action
|
|
2495
2535
|
*/
|
|
2496
2536
|
description?: string;
|
|
2537
|
+
billable?: boolean;
|
|
2538
|
+
cacheable?: boolean;
|
|
2497
2539
|
input: {
|
|
2498
2540
|
schema: {
|
|
2499
2541
|
[k: string]: any;
|
|
@@ -2650,6 +2692,10 @@ interface GetPublicIntegrationResponse {
|
|
|
2650
2692
|
interfaces: {
|
|
2651
2693
|
[k: string]: {
|
|
2652
2694
|
id: string;
|
|
2695
|
+
/**
|
|
2696
|
+
* Name of the interface
|
|
2697
|
+
*/
|
|
2698
|
+
name: string;
|
|
2653
2699
|
entities: {
|
|
2654
2700
|
[k: string]: {
|
|
2655
2701
|
name: string;
|
|
@@ -2671,6 +2717,14 @@ interface GetPublicIntegrationResponse {
|
|
|
2671
2717
|
* Configuration definition
|
|
2672
2718
|
*/
|
|
2673
2719
|
configuration: {
|
|
2720
|
+
/**
|
|
2721
|
+
* Title of the configuration
|
|
2722
|
+
*/
|
|
2723
|
+
title?: string;
|
|
2724
|
+
/**
|
|
2725
|
+
* Description of the configuration
|
|
2726
|
+
*/
|
|
2727
|
+
description?: string;
|
|
2674
2728
|
/**
|
|
2675
2729
|
* Identifier configuration of the [Integration](#schema_integration)
|
|
2676
2730
|
*/
|
|
@@ -2685,6 +2739,34 @@ interface GetPublicIntegrationResponse {
|
|
|
2685
2739
|
[k: string]: any;
|
|
2686
2740
|
};
|
|
2687
2741
|
};
|
|
2742
|
+
configurations: {
|
|
2743
|
+
/**
|
|
2744
|
+
* Configuration definition
|
|
2745
|
+
*/
|
|
2746
|
+
[k: string]: {
|
|
2747
|
+
/**
|
|
2748
|
+
* Title of the configuration
|
|
2749
|
+
*/
|
|
2750
|
+
title?: string;
|
|
2751
|
+
/**
|
|
2752
|
+
* Description of the configuration
|
|
2753
|
+
*/
|
|
2754
|
+
description?: string;
|
|
2755
|
+
/**
|
|
2756
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
2757
|
+
*/
|
|
2758
|
+
identifier: {
|
|
2759
|
+
linkTemplateScript?: string;
|
|
2760
|
+
required: boolean;
|
|
2761
|
+
};
|
|
2762
|
+
/**
|
|
2763
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
2764
|
+
*/
|
|
2765
|
+
schema?: {
|
|
2766
|
+
[k: string]: any;
|
|
2767
|
+
};
|
|
2768
|
+
};
|
|
2769
|
+
};
|
|
2688
2770
|
channels: {
|
|
2689
2771
|
/**
|
|
2690
2772
|
* Channel definition
|
|
@@ -2811,6 +2893,8 @@ interface GetPublicIntegrationResponse {
|
|
|
2811
2893
|
* Description of the action
|
|
2812
2894
|
*/
|
|
2813
2895
|
description?: string;
|
|
2896
|
+
billable?: boolean;
|
|
2897
|
+
cacheable?: boolean;
|
|
2814
2898
|
input: {
|
|
2815
2899
|
schema: {
|
|
2816
2900
|
[k: string]: any;
|
|
@@ -3001,6 +3085,8 @@ interface CreateBotRequestBody {
|
|
|
3001
3085
|
* Description of the action
|
|
3002
3086
|
*/
|
|
3003
3087
|
description?: string;
|
|
3088
|
+
billable?: boolean;
|
|
3089
|
+
cacheable?: boolean;
|
|
3004
3090
|
input: {
|
|
3005
3091
|
schema: {
|
|
3006
3092
|
[k: string]: any;
|
|
@@ -3138,6 +3224,7 @@ interface CreateBotResponse {
|
|
|
3138
3224
|
webhookUrl: string;
|
|
3139
3225
|
webhookId: string;
|
|
3140
3226
|
identifier?: string;
|
|
3227
|
+
configurationType: string | null;
|
|
3141
3228
|
configuration: {
|
|
3142
3229
|
[k: string]: any;
|
|
3143
3230
|
};
|
|
@@ -3345,6 +3432,8 @@ interface CreateBotResponse {
|
|
|
3345
3432
|
* Description of the action
|
|
3346
3433
|
*/
|
|
3347
3434
|
description?: string;
|
|
3435
|
+
billable?: boolean;
|
|
3436
|
+
cacheable?: boolean;
|
|
3348
3437
|
input: {
|
|
3349
3438
|
schema: {
|
|
3350
3439
|
[k: string]: any;
|
|
@@ -3514,6 +3603,8 @@ interface UpdateBotRequestBody {
|
|
|
3514
3603
|
* Description of the action
|
|
3515
3604
|
*/
|
|
3516
3605
|
description?: string;
|
|
3606
|
+
billable?: boolean;
|
|
3607
|
+
cacheable?: boolean;
|
|
3517
3608
|
input: {
|
|
3518
3609
|
schema: {
|
|
3519
3610
|
[k: string]: any;
|
|
@@ -3558,6 +3649,10 @@ interface UpdateBotRequestBody {
|
|
|
3558
3649
|
integrations?: {
|
|
3559
3650
|
[k: string]: {
|
|
3560
3651
|
enabled?: boolean;
|
|
3652
|
+
/**
|
|
3653
|
+
* Integration's configuration type. Set to default if null.
|
|
3654
|
+
*/
|
|
3655
|
+
configurationType?: string | null;
|
|
3561
3656
|
configuration?: {
|
|
3562
3657
|
[k: string]: any;
|
|
3563
3658
|
};
|
|
@@ -3620,6 +3715,7 @@ interface UpdateBotResponse {
|
|
|
3620
3715
|
webhookUrl: string;
|
|
3621
3716
|
webhookId: string;
|
|
3622
3717
|
identifier?: string;
|
|
3718
|
+
configurationType: string | null;
|
|
3623
3719
|
configuration: {
|
|
3624
3720
|
[k: string]: any;
|
|
3625
3721
|
};
|
|
@@ -3827,6 +3923,8 @@ interface UpdateBotResponse {
|
|
|
3827
3923
|
* Description of the action
|
|
3828
3924
|
*/
|
|
3829
3925
|
description?: string;
|
|
3926
|
+
billable?: boolean;
|
|
3927
|
+
cacheable?: boolean;
|
|
3830
3928
|
input: {
|
|
3831
3929
|
schema: {
|
|
3832
3930
|
[k: string]: any;
|
|
@@ -3979,6 +4077,7 @@ interface GetBotResponse {
|
|
|
3979
4077
|
webhookUrl: string;
|
|
3980
4078
|
webhookId: string;
|
|
3981
4079
|
identifier?: string;
|
|
4080
|
+
configurationType: string | null;
|
|
3982
4081
|
configuration: {
|
|
3983
4082
|
[k: string]: any;
|
|
3984
4083
|
};
|
|
@@ -4186,6 +4285,8 @@ interface GetBotResponse {
|
|
|
4186
4285
|
* Description of the action
|
|
4187
4286
|
*/
|
|
4188
4287
|
description?: string;
|
|
4288
|
+
billable?: boolean;
|
|
4289
|
+
cacheable?: boolean;
|
|
4189
4290
|
input: {
|
|
4190
4291
|
schema: {
|
|
4191
4292
|
[k: string]: any;
|
|
@@ -4591,10 +4692,6 @@ interface GetUpcomingInvoiceRequestBody {
|
|
|
4591
4692
|
}
|
|
4592
4693
|
type GetUpcomingInvoiceInput = GetUpcomingInvoiceRequestBody & GetUpcomingInvoiceRequestHeaders & GetUpcomingInvoiceRequestQuery & GetUpcomingInvoiceRequestParams;
|
|
4593
4694
|
interface GetUpcomingInvoiceResponse {
|
|
4594
|
-
/**
|
|
4595
|
-
* ID of the invoice.
|
|
4596
|
-
*/
|
|
4597
|
-
id: string;
|
|
4598
4695
|
/**
|
|
4599
4696
|
* Total amount to pay of the invoice.
|
|
4600
4697
|
*/
|
|
@@ -5188,27 +5285,18 @@ interface CreateIntegrationRequestBody {
|
|
|
5188
5285
|
* Version of the [Integration](#schema_integration)
|
|
5189
5286
|
*/
|
|
5190
5287
|
version: string;
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
entities: {
|
|
5195
|
-
[k: string]: {
|
|
5196
|
-
name: string;
|
|
5197
|
-
};
|
|
5198
|
-
};
|
|
5199
|
-
actions: {
|
|
5200
|
-
[k: string]: {
|
|
5201
|
-
name: string;
|
|
5202
|
-
};
|
|
5203
|
-
};
|
|
5204
|
-
events: {
|
|
5205
|
-
[k: string]: {
|
|
5206
|
-
name: string;
|
|
5207
|
-
};
|
|
5208
|
-
};
|
|
5209
|
-
};
|
|
5210
|
-
};
|
|
5288
|
+
/**
|
|
5289
|
+
* Default configuration definition of the integration
|
|
5290
|
+
*/
|
|
5211
5291
|
configuration?: {
|
|
5292
|
+
/**
|
|
5293
|
+
* Title of the configuration
|
|
5294
|
+
*/
|
|
5295
|
+
title?: string;
|
|
5296
|
+
/**
|
|
5297
|
+
* Description of the configuration
|
|
5298
|
+
*/
|
|
5299
|
+
description?: string;
|
|
5212
5300
|
/**
|
|
5213
5301
|
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
5214
5302
|
*/
|
|
@@ -5220,6 +5308,31 @@ interface CreateIntegrationRequestBody {
|
|
|
5220
5308
|
linkTemplateScript?: string;
|
|
5221
5309
|
};
|
|
5222
5310
|
};
|
|
5311
|
+
/**
|
|
5312
|
+
* Additional configuration definitions of the integration
|
|
5313
|
+
*/
|
|
5314
|
+
configurations?: {
|
|
5315
|
+
[k: string]: {
|
|
5316
|
+
/**
|
|
5317
|
+
* Title of the configuration
|
|
5318
|
+
*/
|
|
5319
|
+
title?: string;
|
|
5320
|
+
/**
|
|
5321
|
+
* Description of the configuration
|
|
5322
|
+
*/
|
|
5323
|
+
description?: string;
|
|
5324
|
+
/**
|
|
5325
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
5326
|
+
*/
|
|
5327
|
+
schema?: {
|
|
5328
|
+
[k: string]: any;
|
|
5329
|
+
};
|
|
5330
|
+
identifier?: {
|
|
5331
|
+
required?: boolean;
|
|
5332
|
+
linkTemplateScript?: string;
|
|
5333
|
+
};
|
|
5334
|
+
};
|
|
5335
|
+
};
|
|
5223
5336
|
states?: {
|
|
5224
5337
|
/**
|
|
5225
5338
|
* State definition
|
|
@@ -5268,6 +5381,8 @@ interface CreateIntegrationRequestBody {
|
|
|
5268
5381
|
* Description of the action
|
|
5269
5382
|
*/
|
|
5270
5383
|
description?: string;
|
|
5384
|
+
billable?: boolean;
|
|
5385
|
+
cacheable?: boolean;
|
|
5271
5386
|
input: {
|
|
5272
5387
|
schema: {
|
|
5273
5388
|
[k: string]: any;
|
|
@@ -5401,6 +5516,26 @@ interface CreateIntegrationRequestBody {
|
|
|
5401
5516
|
};
|
|
5402
5517
|
};
|
|
5403
5518
|
};
|
|
5519
|
+
interfaces?: {
|
|
5520
|
+
[k: string]: {
|
|
5521
|
+
id: string;
|
|
5522
|
+
entities: {
|
|
5523
|
+
[k: string]: {
|
|
5524
|
+
name: string;
|
|
5525
|
+
};
|
|
5526
|
+
};
|
|
5527
|
+
actions: {
|
|
5528
|
+
[k: string]: {
|
|
5529
|
+
name: string;
|
|
5530
|
+
};
|
|
5531
|
+
};
|
|
5532
|
+
events: {
|
|
5533
|
+
[k: string]: {
|
|
5534
|
+
name: string;
|
|
5535
|
+
};
|
|
5536
|
+
};
|
|
5537
|
+
};
|
|
5538
|
+
};
|
|
5404
5539
|
/**
|
|
5405
5540
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
5406
5541
|
*/
|
|
@@ -5483,6 +5618,10 @@ interface CreateIntegrationResponse {
|
|
|
5483
5618
|
interfaces: {
|
|
5484
5619
|
[k: string]: {
|
|
5485
5620
|
id: string;
|
|
5621
|
+
/**
|
|
5622
|
+
* Name of the interface
|
|
5623
|
+
*/
|
|
5624
|
+
name: string;
|
|
5486
5625
|
entities: {
|
|
5487
5626
|
[k: string]: {
|
|
5488
5627
|
name: string;
|
|
@@ -5504,6 +5643,14 @@ interface CreateIntegrationResponse {
|
|
|
5504
5643
|
* Configuration definition
|
|
5505
5644
|
*/
|
|
5506
5645
|
configuration: {
|
|
5646
|
+
/**
|
|
5647
|
+
* Title of the configuration
|
|
5648
|
+
*/
|
|
5649
|
+
title?: string;
|
|
5650
|
+
/**
|
|
5651
|
+
* Description of the configuration
|
|
5652
|
+
*/
|
|
5653
|
+
description?: string;
|
|
5507
5654
|
/**
|
|
5508
5655
|
* Identifier configuration of the [Integration](#schema_integration)
|
|
5509
5656
|
*/
|
|
@@ -5518,6 +5665,34 @@ interface CreateIntegrationResponse {
|
|
|
5518
5665
|
[k: string]: any;
|
|
5519
5666
|
};
|
|
5520
5667
|
};
|
|
5668
|
+
configurations: {
|
|
5669
|
+
/**
|
|
5670
|
+
* Configuration definition
|
|
5671
|
+
*/
|
|
5672
|
+
[k: string]: {
|
|
5673
|
+
/**
|
|
5674
|
+
* Title of the configuration
|
|
5675
|
+
*/
|
|
5676
|
+
title?: string;
|
|
5677
|
+
/**
|
|
5678
|
+
* Description of the configuration
|
|
5679
|
+
*/
|
|
5680
|
+
description?: string;
|
|
5681
|
+
/**
|
|
5682
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
5683
|
+
*/
|
|
5684
|
+
identifier: {
|
|
5685
|
+
linkTemplateScript?: string;
|
|
5686
|
+
required: boolean;
|
|
5687
|
+
};
|
|
5688
|
+
/**
|
|
5689
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
5690
|
+
*/
|
|
5691
|
+
schema?: {
|
|
5692
|
+
[k: string]: any;
|
|
5693
|
+
};
|
|
5694
|
+
};
|
|
5695
|
+
};
|
|
5521
5696
|
channels: {
|
|
5522
5697
|
/**
|
|
5523
5698
|
* Channel definition
|
|
@@ -5644,6 +5819,8 @@ interface CreateIntegrationResponse {
|
|
|
5644
5819
|
* Description of the action
|
|
5645
5820
|
*/
|
|
5646
5821
|
description?: string;
|
|
5822
|
+
billable?: boolean;
|
|
5823
|
+
cacheable?: boolean;
|
|
5647
5824
|
input: {
|
|
5648
5825
|
schema: {
|
|
5649
5826
|
[k: string]: any;
|
|
@@ -5750,7 +5927,18 @@ interface UpdateIntegrationRequestParams {
|
|
|
5750
5927
|
id: string;
|
|
5751
5928
|
}
|
|
5752
5929
|
interface UpdateIntegrationRequestBody {
|
|
5930
|
+
/**
|
|
5931
|
+
* Default configuration definition of the integration
|
|
5932
|
+
*/
|
|
5753
5933
|
configuration?: {
|
|
5934
|
+
/**
|
|
5935
|
+
* Title of the configuration
|
|
5936
|
+
*/
|
|
5937
|
+
title?: string;
|
|
5938
|
+
/**
|
|
5939
|
+
* Description of the configuration
|
|
5940
|
+
*/
|
|
5941
|
+
description?: string;
|
|
5754
5942
|
/**
|
|
5755
5943
|
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
5756
5944
|
*/
|
|
@@ -5762,6 +5950,31 @@ interface UpdateIntegrationRequestBody {
|
|
|
5762
5950
|
required?: boolean;
|
|
5763
5951
|
};
|
|
5764
5952
|
};
|
|
5953
|
+
/**
|
|
5954
|
+
* Additional configuration definitions of the integration
|
|
5955
|
+
*/
|
|
5956
|
+
configurations?: {
|
|
5957
|
+
[k: string]: {
|
|
5958
|
+
/**
|
|
5959
|
+
* Title of the configuration
|
|
5960
|
+
*/
|
|
5961
|
+
title?: string;
|
|
5962
|
+
/**
|
|
5963
|
+
* Description of the configuration
|
|
5964
|
+
*/
|
|
5965
|
+
description?: string;
|
|
5966
|
+
/**
|
|
5967
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
5968
|
+
*/
|
|
5969
|
+
schema?: {
|
|
5970
|
+
[k: string]: any;
|
|
5971
|
+
};
|
|
5972
|
+
identifier?: {
|
|
5973
|
+
linkTemplateScript?: string | null;
|
|
5974
|
+
required?: boolean;
|
|
5975
|
+
};
|
|
5976
|
+
} | null;
|
|
5977
|
+
};
|
|
5765
5978
|
channels?: {
|
|
5766
5979
|
[k: string]: {
|
|
5767
5980
|
/**
|
|
@@ -5848,6 +6061,8 @@ interface UpdateIntegrationRequestBody {
|
|
|
5848
6061
|
* Description of the action
|
|
5849
6062
|
*/
|
|
5850
6063
|
description?: string;
|
|
6064
|
+
billable?: boolean;
|
|
6065
|
+
cacheable?: boolean;
|
|
5851
6066
|
input: {
|
|
5852
6067
|
schema: {
|
|
5853
6068
|
[k: string]: any;
|
|
@@ -6041,6 +6256,10 @@ interface UpdateIntegrationResponse {
|
|
|
6041
6256
|
interfaces: {
|
|
6042
6257
|
[k: string]: {
|
|
6043
6258
|
id: string;
|
|
6259
|
+
/**
|
|
6260
|
+
* Name of the interface
|
|
6261
|
+
*/
|
|
6262
|
+
name: string;
|
|
6044
6263
|
entities: {
|
|
6045
6264
|
[k: string]: {
|
|
6046
6265
|
name: string;
|
|
@@ -6062,6 +6281,14 @@ interface UpdateIntegrationResponse {
|
|
|
6062
6281
|
* Configuration definition
|
|
6063
6282
|
*/
|
|
6064
6283
|
configuration: {
|
|
6284
|
+
/**
|
|
6285
|
+
* Title of the configuration
|
|
6286
|
+
*/
|
|
6287
|
+
title?: string;
|
|
6288
|
+
/**
|
|
6289
|
+
* Description of the configuration
|
|
6290
|
+
*/
|
|
6291
|
+
description?: string;
|
|
6065
6292
|
/**
|
|
6066
6293
|
* Identifier configuration of the [Integration](#schema_integration)
|
|
6067
6294
|
*/
|
|
@@ -6076,6 +6303,34 @@ interface UpdateIntegrationResponse {
|
|
|
6076
6303
|
[k: string]: any;
|
|
6077
6304
|
};
|
|
6078
6305
|
};
|
|
6306
|
+
configurations: {
|
|
6307
|
+
/**
|
|
6308
|
+
* Configuration definition
|
|
6309
|
+
*/
|
|
6310
|
+
[k: string]: {
|
|
6311
|
+
/**
|
|
6312
|
+
* Title of the configuration
|
|
6313
|
+
*/
|
|
6314
|
+
title?: string;
|
|
6315
|
+
/**
|
|
6316
|
+
* Description of the configuration
|
|
6317
|
+
*/
|
|
6318
|
+
description?: string;
|
|
6319
|
+
/**
|
|
6320
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
6321
|
+
*/
|
|
6322
|
+
identifier: {
|
|
6323
|
+
linkTemplateScript?: string;
|
|
6324
|
+
required: boolean;
|
|
6325
|
+
};
|
|
6326
|
+
/**
|
|
6327
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
6328
|
+
*/
|
|
6329
|
+
schema?: {
|
|
6330
|
+
[k: string]: any;
|
|
6331
|
+
};
|
|
6332
|
+
};
|
|
6333
|
+
};
|
|
6079
6334
|
channels: {
|
|
6080
6335
|
/**
|
|
6081
6336
|
* Channel definition
|
|
@@ -6202,6 +6457,8 @@ interface UpdateIntegrationResponse {
|
|
|
6202
6457
|
* Description of the action
|
|
6203
6458
|
*/
|
|
6204
6459
|
description?: string;
|
|
6460
|
+
billable?: boolean;
|
|
6461
|
+
cacheable?: boolean;
|
|
6205
6462
|
input: {
|
|
6206
6463
|
schema: {
|
|
6207
6464
|
[k: string]: any;
|
|
@@ -6416,6 +6673,10 @@ interface GetIntegrationResponse {
|
|
|
6416
6673
|
interfaces: {
|
|
6417
6674
|
[k: string]: {
|
|
6418
6675
|
id: string;
|
|
6676
|
+
/**
|
|
6677
|
+
* Name of the interface
|
|
6678
|
+
*/
|
|
6679
|
+
name: string;
|
|
6419
6680
|
entities: {
|
|
6420
6681
|
[k: string]: {
|
|
6421
6682
|
name: string;
|
|
@@ -6437,6 +6698,14 @@ interface GetIntegrationResponse {
|
|
|
6437
6698
|
* Configuration definition
|
|
6438
6699
|
*/
|
|
6439
6700
|
configuration: {
|
|
6701
|
+
/**
|
|
6702
|
+
* Title of the configuration
|
|
6703
|
+
*/
|
|
6704
|
+
title?: string;
|
|
6705
|
+
/**
|
|
6706
|
+
* Description of the configuration
|
|
6707
|
+
*/
|
|
6708
|
+
description?: string;
|
|
6440
6709
|
/**
|
|
6441
6710
|
* Identifier configuration of the [Integration](#schema_integration)
|
|
6442
6711
|
*/
|
|
@@ -6451,6 +6720,34 @@ interface GetIntegrationResponse {
|
|
|
6451
6720
|
[k: string]: any;
|
|
6452
6721
|
};
|
|
6453
6722
|
};
|
|
6723
|
+
configurations: {
|
|
6724
|
+
/**
|
|
6725
|
+
* Configuration definition
|
|
6726
|
+
*/
|
|
6727
|
+
[k: string]: {
|
|
6728
|
+
/**
|
|
6729
|
+
* Title of the configuration
|
|
6730
|
+
*/
|
|
6731
|
+
title?: string;
|
|
6732
|
+
/**
|
|
6733
|
+
* Description of the configuration
|
|
6734
|
+
*/
|
|
6735
|
+
description?: string;
|
|
6736
|
+
/**
|
|
6737
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
6738
|
+
*/
|
|
6739
|
+
identifier: {
|
|
6740
|
+
linkTemplateScript?: string;
|
|
6741
|
+
required: boolean;
|
|
6742
|
+
};
|
|
6743
|
+
/**
|
|
6744
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
6745
|
+
*/
|
|
6746
|
+
schema?: {
|
|
6747
|
+
[k: string]: any;
|
|
6748
|
+
};
|
|
6749
|
+
};
|
|
6750
|
+
};
|
|
6454
6751
|
channels: {
|
|
6455
6752
|
/**
|
|
6456
6753
|
* Channel definition
|
|
@@ -6577,6 +6874,8 @@ interface GetIntegrationResponse {
|
|
|
6577
6874
|
* Description of the action
|
|
6578
6875
|
*/
|
|
6579
6876
|
description?: string;
|
|
6877
|
+
billable?: boolean;
|
|
6878
|
+
cacheable?: boolean;
|
|
6580
6879
|
input: {
|
|
6581
6880
|
schema: {
|
|
6582
6881
|
[k: string]: any;
|
|
@@ -6750,6 +7049,10 @@ interface GetIntegrationByNameResponse {
|
|
|
6750
7049
|
interfaces: {
|
|
6751
7050
|
[k: string]: {
|
|
6752
7051
|
id: string;
|
|
7052
|
+
/**
|
|
7053
|
+
* Name of the interface
|
|
7054
|
+
*/
|
|
7055
|
+
name: string;
|
|
6753
7056
|
entities: {
|
|
6754
7057
|
[k: string]: {
|
|
6755
7058
|
name: string;
|
|
@@ -6771,6 +7074,14 @@ interface GetIntegrationByNameResponse {
|
|
|
6771
7074
|
* Configuration definition
|
|
6772
7075
|
*/
|
|
6773
7076
|
configuration: {
|
|
7077
|
+
/**
|
|
7078
|
+
* Title of the configuration
|
|
7079
|
+
*/
|
|
7080
|
+
title?: string;
|
|
7081
|
+
/**
|
|
7082
|
+
* Description of the configuration
|
|
7083
|
+
*/
|
|
7084
|
+
description?: string;
|
|
6774
7085
|
/**
|
|
6775
7086
|
* Identifier configuration of the [Integration](#schema_integration)
|
|
6776
7087
|
*/
|
|
@@ -6785,6 +7096,34 @@ interface GetIntegrationByNameResponse {
|
|
|
6785
7096
|
[k: string]: any;
|
|
6786
7097
|
};
|
|
6787
7098
|
};
|
|
7099
|
+
configurations: {
|
|
7100
|
+
/**
|
|
7101
|
+
* Configuration definition
|
|
7102
|
+
*/
|
|
7103
|
+
[k: string]: {
|
|
7104
|
+
/**
|
|
7105
|
+
* Title of the configuration
|
|
7106
|
+
*/
|
|
7107
|
+
title?: string;
|
|
7108
|
+
/**
|
|
7109
|
+
* Description of the configuration
|
|
7110
|
+
*/
|
|
7111
|
+
description?: string;
|
|
7112
|
+
/**
|
|
7113
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
7114
|
+
*/
|
|
7115
|
+
identifier: {
|
|
7116
|
+
linkTemplateScript?: string;
|
|
7117
|
+
required: boolean;
|
|
7118
|
+
};
|
|
7119
|
+
/**
|
|
7120
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
7121
|
+
*/
|
|
7122
|
+
schema?: {
|
|
7123
|
+
[k: string]: any;
|
|
7124
|
+
};
|
|
7125
|
+
};
|
|
7126
|
+
};
|
|
6788
7127
|
channels: {
|
|
6789
7128
|
/**
|
|
6790
7129
|
* Channel definition
|
|
@@ -6911,6 +7250,8 @@ interface GetIntegrationByNameResponse {
|
|
|
6911
7250
|
* Description of the action
|
|
6912
7251
|
*/
|
|
6913
7252
|
description?: string;
|
|
7253
|
+
billable?: boolean;
|
|
7254
|
+
cacheable?: boolean;
|
|
6914
7255
|
input: {
|
|
6915
7256
|
schema: {
|
|
6916
7257
|
[k: string]: any;
|
|
@@ -7081,6 +7422,8 @@ interface CreateInterfaceRequestBody {
|
|
|
7081
7422
|
* Description of the action
|
|
7082
7423
|
*/
|
|
7083
7424
|
description?: string;
|
|
7425
|
+
billable?: boolean;
|
|
7426
|
+
cacheable?: boolean;
|
|
7084
7427
|
input: {
|
|
7085
7428
|
schema: {
|
|
7086
7429
|
[k: string]: any;
|
|
@@ -7166,6 +7509,8 @@ interface CreateInterfaceResponse {
|
|
|
7166
7509
|
* Description of the action
|
|
7167
7510
|
*/
|
|
7168
7511
|
description?: string;
|
|
7512
|
+
billable?: boolean;
|
|
7513
|
+
cacheable?: boolean;
|
|
7169
7514
|
input: {
|
|
7170
7515
|
schema: {
|
|
7171
7516
|
[k: string]: any;
|
|
@@ -7262,6 +7607,8 @@ interface GetInterfaceResponse {
|
|
|
7262
7607
|
* Description of the action
|
|
7263
7608
|
*/
|
|
7264
7609
|
description?: string;
|
|
7610
|
+
billable?: boolean;
|
|
7611
|
+
cacheable?: boolean;
|
|
7265
7612
|
input: {
|
|
7266
7613
|
schema: {
|
|
7267
7614
|
[k: string]: any;
|
|
@@ -7359,6 +7706,8 @@ interface GetInterfaceByNameResponse {
|
|
|
7359
7706
|
* Description of the action
|
|
7360
7707
|
*/
|
|
7361
7708
|
description?: string;
|
|
7709
|
+
billable?: boolean;
|
|
7710
|
+
cacheable?: boolean;
|
|
7362
7711
|
input: {
|
|
7363
7712
|
schema: {
|
|
7364
7713
|
[k: string]: any;
|
|
@@ -7431,6 +7780,8 @@ interface UpdateInterfaceRequestBody {
|
|
|
7431
7780
|
* Description of the action
|
|
7432
7781
|
*/
|
|
7433
7782
|
description?: string;
|
|
7783
|
+
billable?: boolean;
|
|
7784
|
+
cacheable?: boolean;
|
|
7434
7785
|
input: {
|
|
7435
7786
|
schema: {
|
|
7436
7787
|
[k: string]: any;
|
|
@@ -7516,6 +7867,8 @@ interface UpdateInterfaceResponse {
|
|
|
7516
7867
|
* Description of the action
|
|
7517
7868
|
*/
|
|
7518
7869
|
description?: string;
|
|
7870
|
+
billable?: boolean;
|
|
7871
|
+
cacheable?: boolean;
|
|
7519
7872
|
input: {
|
|
7520
7873
|
schema: {
|
|
7521
7874
|
[k: string]: any;
|
|
@@ -9703,6 +10056,7 @@ interface Bot {
|
|
|
9703
10056
|
webhookUrl: string;
|
|
9704
10057
|
webhookId: string;
|
|
9705
10058
|
identifier?: string;
|
|
10059
|
+
configurationType: string | null;
|
|
9706
10060
|
configuration: {
|
|
9707
10061
|
[k: string]: any;
|
|
9708
10062
|
};
|
|
@@ -9910,6 +10264,8 @@ interface Bot {
|
|
|
9910
10264
|
* Description of the action
|
|
9911
10265
|
*/
|
|
9912
10266
|
description?: string;
|
|
10267
|
+
billable?: boolean;
|
|
10268
|
+
cacheable?: boolean;
|
|
9913
10269
|
input: {
|
|
9914
10270
|
schema: {
|
|
9915
10271
|
[k: string]: any;
|
|
@@ -10001,6 +10357,10 @@ interface Integration {
|
|
|
10001
10357
|
interfaces: {
|
|
10002
10358
|
[k: string]: {
|
|
10003
10359
|
id: string;
|
|
10360
|
+
/**
|
|
10361
|
+
* Name of the interface
|
|
10362
|
+
*/
|
|
10363
|
+
name: string;
|
|
10004
10364
|
entities: {
|
|
10005
10365
|
[k: string]: {
|
|
10006
10366
|
name: string;
|
|
@@ -10022,6 +10382,14 @@ interface Integration {
|
|
|
10022
10382
|
* Configuration definition
|
|
10023
10383
|
*/
|
|
10024
10384
|
configuration: {
|
|
10385
|
+
/**
|
|
10386
|
+
* Title of the configuration
|
|
10387
|
+
*/
|
|
10388
|
+
title?: string;
|
|
10389
|
+
/**
|
|
10390
|
+
* Description of the configuration
|
|
10391
|
+
*/
|
|
10392
|
+
description?: string;
|
|
10025
10393
|
/**
|
|
10026
10394
|
* Identifier configuration of the [Integration](#schema_integration)
|
|
10027
10395
|
*/
|
|
@@ -10036,6 +10404,34 @@ interface Integration {
|
|
|
10036
10404
|
[k: string]: any;
|
|
10037
10405
|
};
|
|
10038
10406
|
};
|
|
10407
|
+
configurations: {
|
|
10408
|
+
/**
|
|
10409
|
+
* Configuration definition
|
|
10410
|
+
*/
|
|
10411
|
+
[k: string]: {
|
|
10412
|
+
/**
|
|
10413
|
+
* Title of the configuration
|
|
10414
|
+
*/
|
|
10415
|
+
title?: string;
|
|
10416
|
+
/**
|
|
10417
|
+
* Description of the configuration
|
|
10418
|
+
*/
|
|
10419
|
+
description?: string;
|
|
10420
|
+
/**
|
|
10421
|
+
* Identifier configuration of the [Integration](#schema_integration)
|
|
10422
|
+
*/
|
|
10423
|
+
identifier: {
|
|
10424
|
+
linkTemplateScript?: string;
|
|
10425
|
+
required: boolean;
|
|
10426
|
+
};
|
|
10427
|
+
/**
|
|
10428
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
10429
|
+
*/
|
|
10430
|
+
schema?: {
|
|
10431
|
+
[k: string]: any;
|
|
10432
|
+
};
|
|
10433
|
+
};
|
|
10434
|
+
};
|
|
10039
10435
|
channels: {
|
|
10040
10436
|
/**
|
|
10041
10437
|
* Channel definition
|
|
@@ -10162,6 +10558,8 @@ interface Integration {
|
|
|
10162
10558
|
* Description of the action
|
|
10163
10559
|
*/
|
|
10164
10560
|
description?: string;
|
|
10561
|
+
billable?: boolean;
|
|
10562
|
+
cacheable?: boolean;
|
|
10165
10563
|
input: {
|
|
10166
10564
|
schema: {
|
|
10167
10565
|
[k: string]: any;
|
|
@@ -10310,6 +10708,8 @@ interface Interface {
|
|
|
10310
10708
|
* Description of the action
|
|
10311
10709
|
*/
|
|
10312
10710
|
description?: string;
|
|
10711
|
+
billable?: boolean;
|
|
10712
|
+
cacheable?: boolean;
|
|
10313
10713
|
input: {
|
|
10314
10714
|
schema: {
|
|
10315
10715
|
[k: string]: any;
|