@botpress/client 1.17.0 → 1.17.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.d.ts CHANGED
@@ -3317,6 +3317,10 @@ interface GetPublicIntegrationByIdResponse$1 {
3317
3317
  */
3318
3318
  messageExtractScript?: string;
3319
3319
  };
3320
+ /**
3321
+ * Maximum execution time of the integration (in seconds).
3322
+ */
3323
+ maxExecutionTime?: number;
3320
3324
  /**
3321
3325
  * URL of the [Integration](#schema_integration)
3322
3326
  */
@@ -3720,6 +3724,10 @@ interface GetPublicIntegrationResponse$1 {
3720
3724
  */
3721
3725
  messageExtractScript?: string;
3722
3726
  };
3727
+ /**
3728
+ * Maximum execution time of the integration (in seconds).
3729
+ */
3730
+ maxExecutionTime?: number;
3723
3731
  /**
3724
3732
  * URL of the [Integration](#schema_integration)
3725
3733
  */
@@ -5537,6 +5545,10 @@ interface CreateBotResponse$1 {
5537
5545
  public: boolean;
5538
5546
  };
5539
5547
  };
5548
+ /**
5549
+ * Maximum execution time of the bot (in seconds).
5550
+ */
5551
+ maxExecutionTime?: number;
5540
5552
  /**
5541
5553
  * User object configuration
5542
5554
  */
@@ -5814,6 +5826,10 @@ interface UpdateBotRequestBody$1 {
5814
5826
  [k: string]: string;
5815
5827
  };
5816
5828
  blocked?: boolean;
5829
+ /**
5830
+ * Maximum execution time (in seconds).
5831
+ */
5832
+ maxExecutionTime?: number;
5817
5833
  /**
5818
5834
  * Indicates if the [Bot](#schema_bot) should be in always alive mode
5819
5835
  */
@@ -6154,6 +6170,10 @@ interface UpdateBotResponse$1 {
6154
6170
  public: boolean;
6155
6171
  };
6156
6172
  };
6173
+ /**
6174
+ * Maximum execution time of the bot (in seconds).
6175
+ */
6176
+ maxExecutionTime?: number;
6157
6177
  /**
6158
6178
  * User object configuration
6159
6179
  */
@@ -6607,6 +6627,10 @@ interface GetBotResponse$1 {
6607
6627
  public: boolean;
6608
6628
  };
6609
6629
  };
6630
+ /**
6631
+ * Maximum execution time of the bot (in seconds).
6632
+ */
6633
+ maxExecutionTime?: number;
6610
6634
  /**
6611
6635
  * User object configuration
6612
6636
  */
@@ -8309,9 +8333,13 @@ interface CreateIntegrationRequestBody$1 {
8309
8333
  };
8310
8334
  };
8311
8335
  /**
8312
- * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
8336
+ * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
8313
8337
  */
8314
- messageStatusChangeNotificationsEnabled?: boolean;
8338
+ extraOperations?: {
8339
+ [k: string]: {
8340
+ enabled: boolean;
8341
+ };
8342
+ };
8315
8343
  /**
8316
8344
  * 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.
8317
8345
  */
@@ -8390,6 +8418,10 @@ interface CreateIntegrationResponse$1 {
8390
8418
  */
8391
8419
  messageExtractScript?: string;
8392
8420
  };
8421
+ /**
8422
+ * Maximum execution time of the integration (in seconds).
8423
+ */
8424
+ maxExecutionTime?: number;
8393
8425
  /**
8394
8426
  * URL of the [Integration](#schema_integration)
8395
8427
  */
@@ -9029,9 +9061,13 @@ interface ValidateIntegrationCreationRequestBody$1 {
9029
9061
  };
9030
9062
  };
9031
9063
  /**
9032
- * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
9064
+ * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
9033
9065
  */
9034
- messageStatusChangeNotificationsEnabled?: boolean;
9066
+ extraOperations?: {
9067
+ [k: string]: {
9068
+ enabled: boolean;
9069
+ };
9070
+ };
9035
9071
  /**
9036
9072
  * 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.
9037
9073
  */
@@ -9133,9 +9169,13 @@ interface UpdateIntegrationRequestBody$1 {
9133
9169
  } | null;
9134
9170
  };
9135
9171
  /**
9136
- * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
9172
+ * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
9137
9173
  */
9138
- messageStatusChangeNotificationsEnabled?: boolean;
9174
+ extraOperations?: {
9175
+ [k: string]: {
9176
+ enabled: boolean;
9177
+ };
9178
+ };
9139
9179
  channels?: {
9140
9180
  [k: string]: {
9141
9181
  /**
@@ -9205,6 +9245,10 @@ interface UpdateIntegrationRequestBody$1 {
9205
9245
  };
9206
9246
  } | null;
9207
9247
  };
9248
+ /**
9249
+ * Maximum execution time of the integration (in seconds).
9250
+ */
9251
+ maxExecutionTime?: number;
9208
9252
  identifier?: {
9209
9253
  extractScript?: string | null;
9210
9254
  fallbackHandlerScript?: string | null;
@@ -9433,6 +9477,10 @@ interface UpdateIntegrationResponse$1 {
9433
9477
  */
9434
9478
  messageExtractScript?: string;
9435
9479
  };
9480
+ /**
9481
+ * Maximum execution time of the integration (in seconds).
9482
+ */
9483
+ maxExecutionTime?: number;
9436
9484
  /**
9437
9485
  * URL of the [Integration](#schema_integration)
9438
9486
  */
@@ -9836,9 +9884,13 @@ interface ValidateIntegrationUpdateRequestBody$1 {
9836
9884
  } | null;
9837
9885
  };
9838
9886
  /**
9839
- * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
9887
+ * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
9840
9888
  */
9841
- messageStatusChangeNotificationsEnabled?: boolean;
9889
+ extraOperations?: {
9890
+ [k: string]: {
9891
+ enabled: boolean;
9892
+ };
9893
+ };
9842
9894
  channels?: {
9843
9895
  [k: string]: {
9844
9896
  /**
@@ -9908,6 +9960,10 @@ interface ValidateIntegrationUpdateRequestBody$1 {
9908
9960
  };
9909
9961
  } | null;
9910
9962
  };
9963
+ /**
9964
+ * Maximum execution time of the integration (in seconds).
9965
+ */
9966
+ maxExecutionTime?: number;
9911
9967
  identifier?: {
9912
9968
  extractScript?: string | null;
9913
9969
  fallbackHandlerScript?: string | null;
@@ -10252,6 +10308,10 @@ interface GetIntegrationResponse$1 {
10252
10308
  */
10253
10309
  messageExtractScript?: string;
10254
10310
  };
10311
+ /**
10312
+ * Maximum execution time of the integration (in seconds).
10313
+ */
10314
+ maxExecutionTime?: number;
10255
10315
  /**
10256
10316
  * URL of the [Integration](#schema_integration)
10257
10317
  */
@@ -10675,6 +10735,10 @@ interface GetIntegrationByNameResponse$1 {
10675
10735
  */
10676
10736
  messageExtractScript?: string;
10677
10737
  };
10738
+ /**
10739
+ * Maximum execution time of the integration (in seconds).
10740
+ */
10741
+ maxExecutionTime?: number;
10678
10742
  /**
10679
10743
  * URL of the [Integration](#schema_integration)
10680
10744
  */
@@ -19980,6 +20044,10 @@ interface GetPublicIntegrationByIdResponse {
19980
20044
  */
19981
20045
  messageExtractScript?: string;
19982
20046
  };
20047
+ /**
20048
+ * Maximum execution time of the integration (in seconds).
20049
+ */
20050
+ maxExecutionTime?: number;
19983
20051
  /**
19984
20052
  * URL of the [Integration](#schema_integration)
19985
20053
  */
@@ -20383,6 +20451,10 @@ interface GetPublicIntegrationResponse {
20383
20451
  */
20384
20452
  messageExtractScript?: string;
20385
20453
  };
20454
+ /**
20455
+ * Maximum execution time of the integration (in seconds).
20456
+ */
20457
+ maxExecutionTime?: number;
20386
20458
  /**
20387
20459
  * URL of the [Integration](#schema_integration)
20388
20460
  */
@@ -22200,6 +22272,10 @@ interface CreateBotResponse {
22200
22272
  public: boolean;
22201
22273
  };
22202
22274
  };
22275
+ /**
22276
+ * Maximum execution time of the bot (in seconds).
22277
+ */
22278
+ maxExecutionTime?: number;
22203
22279
  /**
22204
22280
  * User object configuration
22205
22281
  */
@@ -22477,6 +22553,10 @@ interface UpdateBotRequestBody {
22477
22553
  [k: string]: string;
22478
22554
  };
22479
22555
  blocked?: boolean;
22556
+ /**
22557
+ * Maximum execution time (in seconds).
22558
+ */
22559
+ maxExecutionTime?: number;
22480
22560
  /**
22481
22561
  * Indicates if the [Bot](#schema_bot) should be in always alive mode
22482
22562
  */
@@ -22817,6 +22897,10 @@ interface UpdateBotResponse {
22817
22897
  public: boolean;
22818
22898
  };
22819
22899
  };
22900
+ /**
22901
+ * Maximum execution time of the bot (in seconds).
22902
+ */
22903
+ maxExecutionTime?: number;
22820
22904
  /**
22821
22905
  * User object configuration
22822
22906
  */
@@ -23270,6 +23354,10 @@ interface GetBotResponse {
23270
23354
  public: boolean;
23271
23355
  };
23272
23356
  };
23357
+ /**
23358
+ * Maximum execution time of the bot (in seconds).
23359
+ */
23360
+ maxExecutionTime?: number;
23273
23361
  /**
23274
23362
  * User object configuration
23275
23363
  */
@@ -24973,9 +25061,13 @@ interface CreateIntegrationRequestBody {
24973
25061
  };
24974
25062
  };
24975
25063
  /**
24976
- * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
25064
+ * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
24977
25065
  */
24978
- messageStatusChangeNotificationsEnabled?: boolean;
25066
+ extraOperations?: {
25067
+ [k: string]: {
25068
+ enabled: boolean;
25069
+ };
25070
+ };
24979
25071
  /**
24980
25072
  * 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.
24981
25073
  */
@@ -25054,6 +25146,10 @@ interface CreateIntegrationResponse {
25054
25146
  */
25055
25147
  messageExtractScript?: string;
25056
25148
  };
25149
+ /**
25150
+ * Maximum execution time of the integration (in seconds).
25151
+ */
25152
+ maxExecutionTime?: number;
25057
25153
  /**
25058
25154
  * URL of the [Integration](#schema_integration)
25059
25155
  */
@@ -25693,9 +25789,13 @@ interface ValidateIntegrationCreationRequestBody {
25693
25789
  };
25694
25790
  };
25695
25791
  /**
25696
- * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
25792
+ * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
25697
25793
  */
25698
- messageStatusChangeNotificationsEnabled?: boolean;
25794
+ extraOperations?: {
25795
+ [k: string]: {
25796
+ enabled: boolean;
25797
+ };
25798
+ };
25699
25799
  /**
25700
25800
  * 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.
25701
25801
  */
@@ -25797,9 +25897,13 @@ interface UpdateIntegrationRequestBody {
25797
25897
  } | null;
25798
25898
  };
25799
25899
  /**
25800
- * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
25900
+ * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
25801
25901
  */
25802
- messageStatusChangeNotificationsEnabled?: boolean;
25902
+ extraOperations?: {
25903
+ [k: string]: {
25904
+ enabled: boolean;
25905
+ };
25906
+ };
25803
25907
  channels?: {
25804
25908
  [k: string]: {
25805
25909
  /**
@@ -25869,6 +25973,10 @@ interface UpdateIntegrationRequestBody {
25869
25973
  };
25870
25974
  } | null;
25871
25975
  };
25976
+ /**
25977
+ * Maximum execution time of the integration (in seconds).
25978
+ */
25979
+ maxExecutionTime?: number;
25872
25980
  identifier?: {
25873
25981
  extractScript?: string | null;
25874
25982
  fallbackHandlerScript?: string | null;
@@ -26097,6 +26205,10 @@ interface UpdateIntegrationResponse {
26097
26205
  */
26098
26206
  messageExtractScript?: string;
26099
26207
  };
26208
+ /**
26209
+ * Maximum execution time of the integration (in seconds).
26210
+ */
26211
+ maxExecutionTime?: number;
26100
26212
  /**
26101
26213
  * URL of the [Integration](#schema_integration)
26102
26214
  */
@@ -26500,9 +26612,13 @@ interface ValidateIntegrationUpdateRequestBody {
26500
26612
  } | null;
26501
26613
  };
26502
26614
  /**
26503
- * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
26615
+ * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
26504
26616
  */
26505
- messageStatusChangeNotificationsEnabled?: boolean;
26617
+ extraOperations?: {
26618
+ [k: string]: {
26619
+ enabled: boolean;
26620
+ };
26621
+ };
26506
26622
  channels?: {
26507
26623
  [k: string]: {
26508
26624
  /**
@@ -26572,6 +26688,10 @@ interface ValidateIntegrationUpdateRequestBody {
26572
26688
  };
26573
26689
  } | null;
26574
26690
  };
26691
+ /**
26692
+ * Maximum execution time of the integration (in seconds).
26693
+ */
26694
+ maxExecutionTime?: number;
26575
26695
  identifier?: {
26576
26696
  extractScript?: string | null;
26577
26697
  fallbackHandlerScript?: string | null;
@@ -26916,6 +27036,10 @@ interface GetIntegrationResponse {
26916
27036
  */
26917
27037
  messageExtractScript?: string;
26918
27038
  };
27039
+ /**
27040
+ * Maximum execution time of the integration (in seconds).
27041
+ */
27042
+ maxExecutionTime?: number;
26919
27043
  /**
26920
27044
  * URL of the [Integration](#schema_integration)
26921
27045
  */
@@ -27339,6 +27463,10 @@ interface GetIntegrationByNameResponse {
27339
27463
  */
27340
27464
  messageExtractScript?: string;
27341
27465
  };
27466
+ /**
27467
+ * Maximum execution time of the integration (in seconds).
27468
+ */
27469
+ maxExecutionTime?: number;
27342
27470
  /**
27343
27471
  * URL of the [Integration](#schema_integration)
27344
27472
  */
@@ -33228,6 +33356,10 @@ interface Bot {
33228
33356
  public: boolean;
33229
33357
  };
33230
33358
  };
33359
+ /**
33360
+ * Maximum execution time of the bot (in seconds).
33361
+ */
33362
+ maxExecutionTime?: number;
33231
33363
  /**
33232
33364
  * User object configuration
33233
33365
  */
@@ -33502,6 +33634,10 @@ interface Integration {
33502
33634
  */
33503
33635
  messageExtractScript?: string;
33504
33636
  };
33637
+ /**
33638
+ * Maximum execution time of the integration (in seconds).
33639
+ */
33640
+ maxExecutionTime?: number;
33505
33641
  /**
33506
33642
  * URL of the [Integration](#schema_integration)
33507
33643
  */