@botpress/client 1.5.0 → 1.6.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.d.ts CHANGED
@@ -1810,13 +1810,13 @@ interface ConfigureIntegrationRequestBody$1 {
1810
1810
  /**
1811
1811
  * Unique identifier of the integration that was installed on the bot
1812
1812
  */
1813
- identifier?: string;
1813
+ identifier?: string | null;
1814
1814
  /**
1815
1815
  * Recurring schedule on which `register()` will be called on the integration
1816
1816
  */
1817
1817
  scheduleRegisterCall?: "hourly" | "daily" | "weekly" | "bi-weekly" | "monthly" | "bi-monthly" | "quarterly" | "yearly";
1818
1818
  /**
1819
- * Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations.
1819
+ * **EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations.
1820
1820
  */
1821
1821
  sandboxIdentifiers?: {
1822
1822
  [k: string]: {} | null;
@@ -3547,6 +3547,12 @@ interface GetPublicIntegrationByIdResponse$1 {
3547
3547
  [k: string]: any;
3548
3548
  };
3549
3549
  };
3550
+ /**
3551
+ * Optional attributes
3552
+ */
3553
+ attributes?: {
3554
+ [k: string]: string;
3555
+ };
3550
3556
  };
3551
3557
  };
3552
3558
  /**
@@ -3932,6 +3938,12 @@ interface GetPublicIntegrationResponse$1 {
3932
3938
  [k: string]: any;
3933
3939
  };
3934
3940
  };
3941
+ /**
3942
+ * Optional attributes
3943
+ */
3944
+ attributes?: {
3945
+ [k: string]: string;
3946
+ };
3935
3947
  };
3936
3948
  };
3937
3949
  /**
@@ -4204,6 +4216,12 @@ interface GetPublicPluginByIdResponse$1 {
4204
4216
  [k: string]: any;
4205
4217
  };
4206
4218
  };
4219
+ /**
4220
+ * Optional attributes
4221
+ */
4222
+ attributes?: {
4223
+ [k: string]: string;
4224
+ };
4207
4225
  };
4208
4226
  };
4209
4227
  dependencies: {
@@ -4398,6 +4416,12 @@ interface GetPublicPluginResponse$1 {
4398
4416
  [k: string]: any;
4399
4417
  };
4400
4418
  };
4419
+ /**
4420
+ * Optional attributes
4421
+ */
4422
+ attributes?: {
4423
+ [k: string]: string;
4424
+ };
4401
4425
  };
4402
4426
  };
4403
4427
  dependencies: {
@@ -4593,6 +4617,12 @@ interface CreateBotRequestBody$1 {
4593
4617
  [k: string]: any;
4594
4618
  };
4595
4619
  };
4620
+ /**
4621
+ * Optional attributes
4622
+ */
4623
+ attributes?: {
4624
+ [k: string]: string;
4625
+ };
4596
4626
  };
4597
4627
  };
4598
4628
  configuration?: {
@@ -4946,6 +4976,12 @@ interface CreateBotResponse$1 {
4946
4976
  [k: string]: any;
4947
4977
  };
4948
4978
  };
4979
+ /**
4980
+ * Optional attributes
4981
+ */
4982
+ attributes?: {
4983
+ [k: string]: string;
4984
+ };
4949
4985
  };
4950
4986
  };
4951
4987
  /**
@@ -5129,6 +5165,12 @@ interface UpdateBotRequestBody$1 {
5129
5165
  [k: string]: any;
5130
5166
  };
5131
5167
  };
5168
+ /**
5169
+ * Optional attributes
5170
+ */
5171
+ attributes?: {
5172
+ [k: string]: string;
5173
+ };
5132
5174
  } | null;
5133
5175
  };
5134
5176
  states?: {
@@ -5450,6 +5492,12 @@ interface UpdateBotResponse$1 {
5450
5492
  [k: string]: any;
5451
5493
  };
5452
5494
  };
5495
+ /**
5496
+ * Optional attributes
5497
+ */
5498
+ attributes?: {
5499
+ [k: string]: string;
5500
+ };
5453
5501
  };
5454
5502
  };
5455
5503
  /**
@@ -5827,6 +5875,12 @@ interface GetBotResponse$1 {
5827
5875
  [k: string]: any;
5828
5876
  };
5829
5877
  };
5878
+ /**
5879
+ * Optional attributes
5880
+ */
5881
+ attributes?: {
5882
+ [k: string]: string;
5883
+ };
5830
5884
  };
5831
5885
  };
5832
5886
  /**
@@ -6225,6 +6279,58 @@ interface GetIntegrationShareableIdResponse$1 {
6225
6279
  isExpired: boolean;
6226
6280
  }
6227
6281
 
6282
+ interface ListBotApiKeysRequestHeaders$1 {
6283
+ }
6284
+ interface ListBotApiKeysRequestQuery$1 {
6285
+ botId: string;
6286
+ }
6287
+ interface ListBotApiKeysRequestParams$1 {
6288
+ }
6289
+ interface ListBotApiKeysRequestBody$1 {
6290
+ }
6291
+ type ListBotApiKeysInput$1 = ListBotApiKeysRequestBody$1 & ListBotApiKeysRequestHeaders$1 & ListBotApiKeysRequestQuery$1 & ListBotApiKeysRequestParams$1;
6292
+ interface ListBotApiKeysResponse$1 {
6293
+ baks: {
6294
+ id: string;
6295
+ createdAt: string;
6296
+ note: string;
6297
+ }[];
6298
+ }
6299
+
6300
+ interface CreateBotApiKeyRequestHeaders$1 {
6301
+ }
6302
+ interface CreateBotApiKeyRequestQuery$1 {
6303
+ }
6304
+ interface CreateBotApiKeyRequestParams$1 {
6305
+ }
6306
+ interface CreateBotApiKeyRequestBody$1 {
6307
+ botId: string;
6308
+ note?: string;
6309
+ }
6310
+ type CreateBotApiKeyInput$1 = CreateBotApiKeyRequestBody$1 & CreateBotApiKeyRequestHeaders$1 & CreateBotApiKeyRequestQuery$1 & CreateBotApiKeyRequestParams$1;
6311
+ interface CreateBotApiKeyResponse$1 {
6312
+ id: string;
6313
+ createdAt: string;
6314
+ note: string;
6315
+ /**
6316
+ * The BAK value. This will only be returned here when created and cannot be retrieved later.
6317
+ */
6318
+ value: string;
6319
+ }
6320
+
6321
+ interface DeleteBotApiKeyRequestHeaders$1 {
6322
+ }
6323
+ interface DeleteBotApiKeyRequestQuery$1 {
6324
+ }
6325
+ interface DeleteBotApiKeyRequestParams$1 {
6326
+ id: string;
6327
+ }
6328
+ interface DeleteBotApiKeyRequestBody$1 {
6329
+ }
6330
+ type DeleteBotApiKeyInput$1 = DeleteBotApiKeyRequestBody$1 & DeleteBotApiKeyRequestHeaders$1 & DeleteBotApiKeyRequestQuery$1 & DeleteBotApiKeyRequestParams$1;
6331
+ interface DeleteBotApiKeyResponse$1 {
6332
+ }
6333
+
6228
6334
  interface ListWorkspaceInvoicesRequestHeaders$1 {
6229
6335
  }
6230
6336
  interface ListWorkspaceInvoicesRequestQuery$1 {
@@ -7025,6 +7131,12 @@ interface CreateIntegrationRequestBody$1 {
7025
7131
  [k: string]: any;
7026
7132
  };
7027
7133
  };
7134
+ /**
7135
+ * Optional attributes
7136
+ */
7137
+ attributes?: {
7138
+ [k: string]: string;
7139
+ };
7028
7140
  };
7029
7141
  };
7030
7142
  entities?: {
@@ -7494,6 +7606,12 @@ interface CreateIntegrationResponse$1 {
7494
7606
  [k: string]: any;
7495
7607
  };
7496
7608
  };
7609
+ /**
7610
+ * Optional attributes
7611
+ */
7612
+ attributes?: {
7613
+ [k: string]: string;
7614
+ };
7497
7615
  };
7498
7616
  };
7499
7617
  /**
@@ -7705,6 +7823,12 @@ interface ValidateIntegrationCreationRequestBody$1 {
7705
7823
  [k: string]: any;
7706
7824
  };
7707
7825
  };
7826
+ /**
7827
+ * Optional attributes
7828
+ */
7829
+ attributes?: {
7830
+ [k: string]: string;
7831
+ };
7708
7832
  };
7709
7833
  };
7710
7834
  entities?: {
@@ -8030,9 +8154,6 @@ interface UpdateIntegrationRequestBody$1 {
8030
8154
  fallbackHandlerScript?: string | null;
8031
8155
  };
8032
8156
  actions?: {
8033
- /**
8034
- * Action definition
8035
- */
8036
8157
  [k: string]: {
8037
8158
  /**
8038
8159
  * Title of the action
@@ -8054,6 +8175,12 @@ interface UpdateIntegrationRequestBody$1 {
8054
8175
  [k: string]: any;
8055
8176
  };
8056
8177
  };
8178
+ /**
8179
+ * Optional attributes. Set attributes to null to remove them
8180
+ */
8181
+ attributes?: {
8182
+ [k: string]: string | null;
8183
+ };
8057
8184
  } | null;
8058
8185
  };
8059
8186
  events?: {
@@ -8485,6 +8612,12 @@ interface UpdateIntegrationResponse$1 {
8485
8612
  [k: string]: any;
8486
8613
  };
8487
8614
  };
8615
+ /**
8616
+ * Optional attributes
8617
+ */
8618
+ attributes?: {
8619
+ [k: string]: string;
8620
+ };
8488
8621
  };
8489
8622
  };
8490
8623
  /**
@@ -8703,9 +8836,6 @@ interface ValidateIntegrationUpdateRequestBody$1 {
8703
8836
  fallbackHandlerScript?: string | null;
8704
8837
  };
8705
8838
  actions?: {
8706
- /**
8707
- * Action definition
8708
- */
8709
8839
  [k: string]: {
8710
8840
  /**
8711
8841
  * Title of the action
@@ -8727,6 +8857,12 @@ interface ValidateIntegrationUpdateRequestBody$1 {
8727
8857
  [k: string]: any;
8728
8858
  };
8729
8859
  };
8860
+ /**
8861
+ * Optional attributes. Set attributes to null to remove them
8862
+ */
8863
+ attributes?: {
8864
+ [k: string]: string | null;
8865
+ };
8730
8866
  } | null;
8731
8867
  };
8732
8868
  events?: {
@@ -9274,6 +9410,12 @@ interface GetIntegrationResponse$1 {
9274
9410
  [k: string]: any;
9275
9411
  };
9276
9412
  };
9413
+ /**
9414
+ * Optional attributes
9415
+ */
9416
+ attributes?: {
9417
+ [k: string]: string;
9418
+ };
9277
9419
  };
9278
9420
  };
9279
9421
  /**
@@ -9678,6 +9820,12 @@ interface GetIntegrationByNameResponse$1 {
9678
9820
  [k: string]: any;
9679
9821
  };
9680
9822
  };
9823
+ /**
9824
+ * Optional attributes
9825
+ */
9826
+ attributes?: {
9827
+ [k: string]: string;
9828
+ };
9681
9829
  };
9682
9830
  };
9683
9831
  /**
@@ -9868,6 +10016,12 @@ interface CreateInterfaceRequestBody$1 {
9868
10016
  [k: string]: any;
9869
10017
  };
9870
10018
  };
10019
+ /**
10020
+ * Optional attributes
10021
+ */
10022
+ attributes?: {
10023
+ [k: string]: string;
10024
+ };
9871
10025
  };
9872
10026
  };
9873
10027
  channels?: {
@@ -9984,6 +10138,12 @@ interface CreateInterfaceResponse$1 {
9984
10138
  [k: string]: any;
9985
10139
  };
9986
10140
  };
10141
+ /**
10142
+ * Optional attributes
10143
+ */
10144
+ attributes?: {
10145
+ [k: string]: string;
10146
+ };
9987
10147
  };
9988
10148
  };
9989
10149
  channels: {
@@ -10111,6 +10271,12 @@ interface GetInterfaceResponse$1 {
10111
10271
  [k: string]: any;
10112
10272
  };
10113
10273
  };
10274
+ /**
10275
+ * Optional attributes
10276
+ */
10277
+ attributes?: {
10278
+ [k: string]: string;
10279
+ };
10114
10280
  };
10115
10281
  };
10116
10282
  channels: {
@@ -10239,6 +10405,12 @@ interface GetInterfaceByNameResponse$1 {
10239
10405
  [k: string]: any;
10240
10406
  };
10241
10407
  };
10408
+ /**
10409
+ * Optional attributes
10410
+ */
10411
+ attributes?: {
10412
+ [k: string]: string;
10413
+ };
10242
10414
  };
10243
10415
  };
10244
10416
  channels: {
@@ -10318,9 +10490,6 @@ interface UpdateInterfaceRequestBody$1 {
10318
10490
  } | null;
10319
10491
  };
10320
10492
  actions?: {
10321
- /**
10322
- * Action definition
10323
- */
10324
10493
  [k: string]: {
10325
10494
  /**
10326
10495
  * Title of the action
@@ -10342,6 +10511,9 @@ interface UpdateInterfaceRequestBody$1 {
10342
10511
  [k: string]: any;
10343
10512
  };
10344
10513
  };
10514
+ attributes?: {
10515
+ [k: string]: string | null;
10516
+ };
10345
10517
  } | null;
10346
10518
  };
10347
10519
  channels?: {
@@ -10458,6 +10630,12 @@ interface UpdateInterfaceResponse$1 {
10458
10630
  [k: string]: any;
10459
10631
  };
10460
10632
  };
10633
+ /**
10634
+ * Optional attributes
10635
+ */
10636
+ attributes?: {
10637
+ [k: string]: string;
10638
+ };
10461
10639
  };
10462
10640
  };
10463
10641
  channels: {
@@ -10642,6 +10820,12 @@ interface CreatePluginRequestBody$1 {
10642
10820
  [k: string]: any;
10643
10821
  };
10644
10822
  };
10823
+ /**
10824
+ * Optional attributes
10825
+ */
10826
+ attributes?: {
10827
+ [k: string]: string;
10828
+ };
10645
10829
  };
10646
10830
  };
10647
10831
  /**
@@ -10830,6 +11014,12 @@ interface CreatePluginResponse$1 {
10830
11014
  [k: string]: any;
10831
11015
  };
10832
11016
  };
11017
+ /**
11018
+ * Optional attributes
11019
+ */
11020
+ attributes?: {
11021
+ [k: string]: string;
11022
+ };
10833
11023
  };
10834
11024
  };
10835
11025
  dependencies: {
@@ -11023,6 +11213,12 @@ interface GetPluginResponse$1 {
11023
11213
  [k: string]: any;
11024
11214
  };
11025
11215
  };
11216
+ /**
11217
+ * Optional attributes
11218
+ */
11219
+ attributes?: {
11220
+ [k: string]: string;
11221
+ };
11026
11222
  };
11027
11223
  };
11028
11224
  dependencies: {
@@ -11217,6 +11413,12 @@ interface GetPluginByNameResponse$1 {
11217
11413
  [k: string]: any;
11218
11414
  };
11219
11415
  };
11416
+ /**
11417
+ * Optional attributes
11418
+ */
11419
+ attributes?: {
11420
+ [k: string]: string;
11421
+ };
11220
11422
  };
11221
11423
  };
11222
11424
  dependencies: {
@@ -11386,6 +11588,12 @@ interface UpdatePluginRequestBody$1 {
11386
11588
  [k: string]: any;
11387
11589
  };
11388
11590
  };
11591
+ /**
11592
+ * Optional attributes
11593
+ */
11594
+ attributes?: {
11595
+ [k: string]: string;
11596
+ };
11389
11597
  } | null;
11390
11598
  };
11391
11599
  user?: {
@@ -11568,6 +11776,12 @@ interface UpdatePluginResponse$1 {
11568
11776
  [k: string]: any;
11569
11777
  };
11570
11778
  };
11779
+ /**
11780
+ * Optional attributes
11781
+ */
11782
+ attributes?: {
11783
+ [k: string]: string;
11784
+ };
11571
11785
  };
11572
11786
  };
11573
11787
  dependencies: {
@@ -12008,6 +12222,9 @@ declare class Client$7 {
12008
12222
  readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput$1) => Promise<CreateIntegrationShareableIdResponse$1>;
12009
12223
  readonly deleteIntegrationShareableId: (input: DeleteIntegrationShareableIdInput$1) => Promise<DeleteIntegrationShareableIdResponse$1>;
12010
12224
  readonly getIntegrationShareableId: (input: GetIntegrationShareableIdInput$1) => Promise<GetIntegrationShareableIdResponse$1>;
12225
+ readonly listBotApiKeys: (input: ListBotApiKeysInput$1) => Promise<ListBotApiKeysResponse$1>;
12226
+ readonly createBotApiKey: (input: CreateBotApiKeyInput$1) => Promise<CreateBotApiKeyResponse$1>;
12227
+ readonly deleteBotApiKey: (input: DeleteBotApiKeyInput$1) => Promise<DeleteBotApiKeyResponse$1>;
12011
12228
  readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput$1) => Promise<ListWorkspaceInvoicesResponse$1>;
12012
12229
  readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput$1) => Promise<GetUpcomingInvoiceResponse$1>;
12013
12230
  readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput$1) => Promise<ChargeWorkspaceUnpaidInvoicesResponse$1>;
@@ -16740,13 +16957,13 @@ interface ConfigureIntegrationRequestBody {
16740
16957
  /**
16741
16958
  * Unique identifier of the integration that was installed on the bot
16742
16959
  */
16743
- identifier?: string;
16960
+ identifier?: string | null;
16744
16961
  /**
16745
16962
  * Recurring schedule on which `register()` will be called on the integration
16746
16963
  */
16747
16964
  scheduleRegisterCall?: "hourly" | "daily" | "weekly" | "bi-weekly" | "monthly" | "bi-monthly" | "quarterly" | "yearly";
16748
16965
  /**
16749
- * Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations.
16966
+ * **EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations.
16750
16967
  */
16751
16968
  sandboxIdentifiers?: {
16752
16969
  [k: string]: {} | null;
@@ -18269,6 +18486,12 @@ interface GetPublicIntegrationByIdResponse {
18269
18486
  [k: string]: any;
18270
18487
  };
18271
18488
  };
18489
+ /**
18490
+ * Optional attributes
18491
+ */
18492
+ attributes?: {
18493
+ [k: string]: string;
18494
+ };
18272
18495
  };
18273
18496
  };
18274
18497
  /**
@@ -18654,6 +18877,12 @@ interface GetPublicIntegrationResponse {
18654
18877
  [k: string]: any;
18655
18878
  };
18656
18879
  };
18880
+ /**
18881
+ * Optional attributes
18882
+ */
18883
+ attributes?: {
18884
+ [k: string]: string;
18885
+ };
18657
18886
  };
18658
18887
  };
18659
18888
  /**
@@ -18926,6 +19155,12 @@ interface GetPublicPluginByIdResponse {
18926
19155
  [k: string]: any;
18927
19156
  };
18928
19157
  };
19158
+ /**
19159
+ * Optional attributes
19160
+ */
19161
+ attributes?: {
19162
+ [k: string]: string;
19163
+ };
18929
19164
  };
18930
19165
  };
18931
19166
  dependencies: {
@@ -19120,6 +19355,12 @@ interface GetPublicPluginResponse {
19120
19355
  [k: string]: any;
19121
19356
  };
19122
19357
  };
19358
+ /**
19359
+ * Optional attributes
19360
+ */
19361
+ attributes?: {
19362
+ [k: string]: string;
19363
+ };
19123
19364
  };
19124
19365
  };
19125
19366
  dependencies: {
@@ -19315,6 +19556,12 @@ interface CreateBotRequestBody {
19315
19556
  [k: string]: any;
19316
19557
  };
19317
19558
  };
19559
+ /**
19560
+ * Optional attributes
19561
+ */
19562
+ attributes?: {
19563
+ [k: string]: string;
19564
+ };
19318
19565
  };
19319
19566
  };
19320
19567
  configuration?: {
@@ -19668,6 +19915,12 @@ interface CreateBotResponse {
19668
19915
  [k: string]: any;
19669
19916
  };
19670
19917
  };
19918
+ /**
19919
+ * Optional attributes
19920
+ */
19921
+ attributes?: {
19922
+ [k: string]: string;
19923
+ };
19671
19924
  };
19672
19925
  };
19673
19926
  /**
@@ -19851,6 +20104,12 @@ interface UpdateBotRequestBody {
19851
20104
  [k: string]: any;
19852
20105
  };
19853
20106
  };
20107
+ /**
20108
+ * Optional attributes
20109
+ */
20110
+ attributes?: {
20111
+ [k: string]: string;
20112
+ };
19854
20113
  } | null;
19855
20114
  };
19856
20115
  states?: {
@@ -20172,6 +20431,12 @@ interface UpdateBotResponse {
20172
20431
  [k: string]: any;
20173
20432
  };
20174
20433
  };
20434
+ /**
20435
+ * Optional attributes
20436
+ */
20437
+ attributes?: {
20438
+ [k: string]: string;
20439
+ };
20175
20440
  };
20176
20441
  };
20177
20442
  /**
@@ -20549,6 +20814,12 @@ interface GetBotResponse {
20549
20814
  [k: string]: any;
20550
20815
  };
20551
20816
  };
20817
+ /**
20818
+ * Optional attributes
20819
+ */
20820
+ attributes?: {
20821
+ [k: string]: string;
20822
+ };
20552
20823
  };
20553
20824
  };
20554
20825
  /**
@@ -20947,6 +21218,58 @@ interface GetIntegrationShareableIdResponse {
20947
21218
  isExpired: boolean;
20948
21219
  }
20949
21220
 
21221
+ interface ListBotApiKeysRequestHeaders {
21222
+ }
21223
+ interface ListBotApiKeysRequestQuery {
21224
+ botId: string;
21225
+ }
21226
+ interface ListBotApiKeysRequestParams {
21227
+ }
21228
+ interface ListBotApiKeysRequestBody {
21229
+ }
21230
+ type ListBotApiKeysInput = ListBotApiKeysRequestBody & ListBotApiKeysRequestHeaders & ListBotApiKeysRequestQuery & ListBotApiKeysRequestParams;
21231
+ interface ListBotApiKeysResponse {
21232
+ baks: {
21233
+ id: string;
21234
+ createdAt: string;
21235
+ note: string;
21236
+ }[];
21237
+ }
21238
+
21239
+ interface CreateBotApiKeyRequestHeaders {
21240
+ }
21241
+ interface CreateBotApiKeyRequestQuery {
21242
+ }
21243
+ interface CreateBotApiKeyRequestParams {
21244
+ }
21245
+ interface CreateBotApiKeyRequestBody {
21246
+ botId: string;
21247
+ note?: string;
21248
+ }
21249
+ type CreateBotApiKeyInput = CreateBotApiKeyRequestBody & CreateBotApiKeyRequestHeaders & CreateBotApiKeyRequestQuery & CreateBotApiKeyRequestParams;
21250
+ interface CreateBotApiKeyResponse {
21251
+ id: string;
21252
+ createdAt: string;
21253
+ note: string;
21254
+ /**
21255
+ * The BAK value. This will only be returned here when created and cannot be retrieved later.
21256
+ */
21257
+ value: string;
21258
+ }
21259
+
21260
+ interface DeleteBotApiKeyRequestHeaders {
21261
+ }
21262
+ interface DeleteBotApiKeyRequestQuery {
21263
+ }
21264
+ interface DeleteBotApiKeyRequestParams {
21265
+ id: string;
21266
+ }
21267
+ interface DeleteBotApiKeyRequestBody {
21268
+ }
21269
+ type DeleteBotApiKeyInput = DeleteBotApiKeyRequestBody & DeleteBotApiKeyRequestHeaders & DeleteBotApiKeyRequestQuery & DeleteBotApiKeyRequestParams;
21270
+ interface DeleteBotApiKeyResponse {
21271
+ }
21272
+
20950
21273
  interface ListWorkspaceInvoicesRequestHeaders {
20951
21274
  }
20952
21275
  interface ListWorkspaceInvoicesRequestQuery {
@@ -21748,6 +22071,12 @@ interface CreateIntegrationRequestBody {
21748
22071
  [k: string]: any;
21749
22072
  };
21750
22073
  };
22074
+ /**
22075
+ * Optional attributes
22076
+ */
22077
+ attributes?: {
22078
+ [k: string]: string;
22079
+ };
21751
22080
  };
21752
22081
  };
21753
22082
  entities?: {
@@ -22217,6 +22546,12 @@ interface CreateIntegrationResponse {
22217
22546
  [k: string]: any;
22218
22547
  };
22219
22548
  };
22549
+ /**
22550
+ * Optional attributes
22551
+ */
22552
+ attributes?: {
22553
+ [k: string]: string;
22554
+ };
22220
22555
  };
22221
22556
  };
22222
22557
  /**
@@ -22428,6 +22763,12 @@ interface ValidateIntegrationCreationRequestBody {
22428
22763
  [k: string]: any;
22429
22764
  };
22430
22765
  };
22766
+ /**
22767
+ * Optional attributes
22768
+ */
22769
+ attributes?: {
22770
+ [k: string]: string;
22771
+ };
22431
22772
  };
22432
22773
  };
22433
22774
  entities?: {
@@ -22753,9 +23094,6 @@ interface UpdateIntegrationRequestBody {
22753
23094
  fallbackHandlerScript?: string | null;
22754
23095
  };
22755
23096
  actions?: {
22756
- /**
22757
- * Action definition
22758
- */
22759
23097
  [k: string]: {
22760
23098
  /**
22761
23099
  * Title of the action
@@ -22777,6 +23115,12 @@ interface UpdateIntegrationRequestBody {
22777
23115
  [k: string]: any;
22778
23116
  };
22779
23117
  };
23118
+ /**
23119
+ * Optional attributes. Set attributes to null to remove them
23120
+ */
23121
+ attributes?: {
23122
+ [k: string]: string | null;
23123
+ };
22780
23124
  } | null;
22781
23125
  };
22782
23126
  events?: {
@@ -23208,6 +23552,12 @@ interface UpdateIntegrationResponse {
23208
23552
  [k: string]: any;
23209
23553
  };
23210
23554
  };
23555
+ /**
23556
+ * Optional attributes
23557
+ */
23558
+ attributes?: {
23559
+ [k: string]: string;
23560
+ };
23211
23561
  };
23212
23562
  };
23213
23563
  /**
@@ -23426,9 +23776,6 @@ interface ValidateIntegrationUpdateRequestBody {
23426
23776
  fallbackHandlerScript?: string | null;
23427
23777
  };
23428
23778
  actions?: {
23429
- /**
23430
- * Action definition
23431
- */
23432
23779
  [k: string]: {
23433
23780
  /**
23434
23781
  * Title of the action
@@ -23450,6 +23797,12 @@ interface ValidateIntegrationUpdateRequestBody {
23450
23797
  [k: string]: any;
23451
23798
  };
23452
23799
  };
23800
+ /**
23801
+ * Optional attributes. Set attributes to null to remove them
23802
+ */
23803
+ attributes?: {
23804
+ [k: string]: string | null;
23805
+ };
23453
23806
  } | null;
23454
23807
  };
23455
23808
  events?: {
@@ -23997,6 +24350,12 @@ interface GetIntegrationResponse {
23997
24350
  [k: string]: any;
23998
24351
  };
23999
24352
  };
24353
+ /**
24354
+ * Optional attributes
24355
+ */
24356
+ attributes?: {
24357
+ [k: string]: string;
24358
+ };
24000
24359
  };
24001
24360
  };
24002
24361
  /**
@@ -24401,6 +24760,12 @@ interface GetIntegrationByNameResponse {
24401
24760
  [k: string]: any;
24402
24761
  };
24403
24762
  };
24763
+ /**
24764
+ * Optional attributes
24765
+ */
24766
+ attributes?: {
24767
+ [k: string]: string;
24768
+ };
24404
24769
  };
24405
24770
  };
24406
24771
  /**
@@ -24591,6 +24956,12 @@ interface CreateInterfaceRequestBody {
24591
24956
  [k: string]: any;
24592
24957
  };
24593
24958
  };
24959
+ /**
24960
+ * Optional attributes
24961
+ */
24962
+ attributes?: {
24963
+ [k: string]: string;
24964
+ };
24594
24965
  };
24595
24966
  };
24596
24967
  channels?: {
@@ -24707,6 +25078,12 @@ interface CreateInterfaceResponse {
24707
25078
  [k: string]: any;
24708
25079
  };
24709
25080
  };
25081
+ /**
25082
+ * Optional attributes
25083
+ */
25084
+ attributes?: {
25085
+ [k: string]: string;
25086
+ };
24710
25087
  };
24711
25088
  };
24712
25089
  channels: {
@@ -24834,6 +25211,12 @@ interface GetInterfaceResponse {
24834
25211
  [k: string]: any;
24835
25212
  };
24836
25213
  };
25214
+ /**
25215
+ * Optional attributes
25216
+ */
25217
+ attributes?: {
25218
+ [k: string]: string;
25219
+ };
24837
25220
  };
24838
25221
  };
24839
25222
  channels: {
@@ -24962,6 +25345,12 @@ interface GetInterfaceByNameResponse {
24962
25345
  [k: string]: any;
24963
25346
  };
24964
25347
  };
25348
+ /**
25349
+ * Optional attributes
25350
+ */
25351
+ attributes?: {
25352
+ [k: string]: string;
25353
+ };
24965
25354
  };
24966
25355
  };
24967
25356
  channels: {
@@ -25041,9 +25430,6 @@ interface UpdateInterfaceRequestBody {
25041
25430
  } | null;
25042
25431
  };
25043
25432
  actions?: {
25044
- /**
25045
- * Action definition
25046
- */
25047
25433
  [k: string]: {
25048
25434
  /**
25049
25435
  * Title of the action
@@ -25065,6 +25451,9 @@ interface UpdateInterfaceRequestBody {
25065
25451
  [k: string]: any;
25066
25452
  };
25067
25453
  };
25454
+ attributes?: {
25455
+ [k: string]: string | null;
25456
+ };
25068
25457
  } | null;
25069
25458
  };
25070
25459
  channels?: {
@@ -25181,6 +25570,12 @@ interface UpdateInterfaceResponse {
25181
25570
  [k: string]: any;
25182
25571
  };
25183
25572
  };
25573
+ /**
25574
+ * Optional attributes
25575
+ */
25576
+ attributes?: {
25577
+ [k: string]: string;
25578
+ };
25184
25579
  };
25185
25580
  };
25186
25581
  channels: {
@@ -25365,6 +25760,12 @@ interface CreatePluginRequestBody {
25365
25760
  [k: string]: any;
25366
25761
  };
25367
25762
  };
25763
+ /**
25764
+ * Optional attributes
25765
+ */
25766
+ attributes?: {
25767
+ [k: string]: string;
25768
+ };
25368
25769
  };
25369
25770
  };
25370
25771
  /**
@@ -25553,6 +25954,12 @@ interface CreatePluginResponse {
25553
25954
  [k: string]: any;
25554
25955
  };
25555
25956
  };
25957
+ /**
25958
+ * Optional attributes
25959
+ */
25960
+ attributes?: {
25961
+ [k: string]: string;
25962
+ };
25556
25963
  };
25557
25964
  };
25558
25965
  dependencies: {
@@ -25746,6 +26153,12 @@ interface GetPluginResponse {
25746
26153
  [k: string]: any;
25747
26154
  };
25748
26155
  };
26156
+ /**
26157
+ * Optional attributes
26158
+ */
26159
+ attributes?: {
26160
+ [k: string]: string;
26161
+ };
25749
26162
  };
25750
26163
  };
25751
26164
  dependencies: {
@@ -25940,6 +26353,12 @@ interface GetPluginByNameResponse {
25940
26353
  [k: string]: any;
25941
26354
  };
25942
26355
  };
26356
+ /**
26357
+ * Optional attributes
26358
+ */
26359
+ attributes?: {
26360
+ [k: string]: string;
26361
+ };
25943
26362
  };
25944
26363
  };
25945
26364
  dependencies: {
@@ -26109,6 +26528,12 @@ interface UpdatePluginRequestBody {
26109
26528
  [k: string]: any;
26110
26529
  };
26111
26530
  };
26531
+ /**
26532
+ * Optional attributes
26533
+ */
26534
+ attributes?: {
26535
+ [k: string]: string;
26536
+ };
26112
26537
  } | null;
26113
26538
  };
26114
26539
  user?: {
@@ -26291,6 +26716,12 @@ interface UpdatePluginResponse {
26291
26716
  [k: string]: any;
26292
26717
  };
26293
26718
  };
26719
+ /**
26720
+ * Optional attributes
26721
+ */
26722
+ attributes?: {
26723
+ [k: string]: string;
26724
+ };
26294
26725
  };
26295
26726
  };
26296
26727
  dependencies: {
@@ -29495,6 +29926,12 @@ interface Bot {
29495
29926
  [k: string]: any;
29496
29927
  };
29497
29928
  };
29929
+ /**
29930
+ * Optional attributes
29931
+ */
29932
+ attributes?: {
29933
+ [k: string]: string;
29934
+ };
29498
29935
  };
29499
29936
  };
29500
29937
  /**
@@ -29817,6 +30254,12 @@ interface Integration {
29817
30254
  [k: string]: any;
29818
30255
  };
29819
30256
  };
30257
+ /**
30258
+ * Optional attributes
30259
+ */
30260
+ attributes?: {
30261
+ [k: string]: string;
30262
+ };
29820
30263
  };
29821
30264
  };
29822
30265
  /**
@@ -29985,6 +30428,12 @@ interface Interface {
29985
30428
  [k: string]: any;
29986
30429
  };
29987
30430
  };
30431
+ /**
30432
+ * Optional attributes
30433
+ */
30434
+ attributes?: {
30435
+ [k: string]: string;
30436
+ };
29988
30437
  };
29989
30438
  };
29990
30439
  channels: {
@@ -30118,6 +30567,12 @@ interface Plugin {
30118
30567
  [k: string]: any;
30119
30568
  };
30120
30569
  };
30570
+ /**
30571
+ * Optional attributes
30572
+ */
30573
+ attributes?: {
30574
+ [k: string]: string;
30575
+ };
30121
30576
  };
30122
30577
  };
30123
30578
  dependencies: {
@@ -31009,6 +31464,9 @@ declare class Client$1 {
31009
31464
  readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput) => Promise<CreateIntegrationShareableIdResponse>;
31010
31465
  readonly deleteIntegrationShareableId: (input: DeleteIntegrationShareableIdInput) => Promise<DeleteIntegrationShareableIdResponse>;
31011
31466
  readonly getIntegrationShareableId: (input: GetIntegrationShareableIdInput) => Promise<GetIntegrationShareableIdResponse>;
31467
+ readonly listBotApiKeys: (input: ListBotApiKeysInput) => Promise<ListBotApiKeysResponse>;
31468
+ readonly createBotApiKey: (input: CreateBotApiKeyInput) => Promise<CreateBotApiKeyResponse>;
31469
+ readonly deleteBotApiKey: (input: DeleteBotApiKeyInput) => Promise<DeleteBotApiKeyResponse>;
31012
31470
  readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput) => Promise<ListWorkspaceInvoicesResponse>;
31013
31471
  readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput) => Promise<GetUpcomingInvoiceResponse>;
31014
31472
  readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput) => Promise<ChargeWorkspaceUnpaidInvoicesResponse>;