@botpress/client 1.21.0 → 1.22.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
@@ -2872,8 +2872,8 @@ declare class Client$8 extends Client$9 {
2872
2872
  } | undefined;
2873
2873
  channel?: string | undefined;
2874
2874
  integrationName?: string | undefined;
2875
- sortField?: "createdAt" | "updatedAt" | undefined;
2876
- sortDirection?: "asc" | "desc" | undefined;
2875
+ sortField?: ("createdAt" | "updatedAt") | undefined;
2876
+ sortDirection?: ("asc" | "desc") | undefined;
2877
2877
  participantIds?: string[] | undefined;
2878
2878
  }) => AsyncCollection<{
2879
2879
  id: string;
@@ -2904,7 +2904,7 @@ declare class Client$8 extends Client$9 {
2904
2904
  userId?: string | undefined;
2905
2905
  conversationId?: string | undefined;
2906
2906
  messageId?: string | undefined;
2907
- status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
2907
+ status?: ("pending" | "ignored" | "processed" | "failed" | "scheduled") | undefined;
2908
2908
  }) => AsyncCollection<{
2909
2909
  id: string;
2910
2910
  createdAt: string;
@@ -6030,10 +6030,6 @@ interface UpdateBotRequestBody$1 {
6030
6030
  };
6031
6031
  } | null;
6032
6032
  };
6033
- /**
6034
- * If true, plugins will be merged into the bot and entity references will be resolved. If you are uncertain about this field, you should probably set it to true
6035
- */
6036
- shouldMergePlugins?: boolean;
6037
6033
  subscriptions?: {
6038
6034
  events: {
6039
6035
  [k: string]: {} | null;
@@ -6055,6 +6051,10 @@ interface UpdateBotRequestBody$1 {
6055
6051
  name: string;
6056
6052
  }[];
6057
6053
  layers?: string[];
6054
+ /**
6055
+ * UNUSED. Please ignore this field. It will be removed in the near future.
6056
+ */
6057
+ shouldMergePlugins?: boolean;
6058
6058
  }
6059
6059
  type UpdateBotInput$1 = UpdateBotRequestBody$1 & UpdateBotRequestHeaders$1 & UpdateBotRequestQuery$1 & UpdateBotRequestParams$1;
6060
6060
  interface UpdateBotResponse$1 {
@@ -12411,18 +12411,6 @@ interface CreatePluginRequestBody$1 {
12411
12411
  };
12412
12412
  };
12413
12413
  };
12414
- dependencies?: {
12415
- interfaces?: {
12416
- [k: string]: {
12417
- id: string;
12418
- };
12419
- };
12420
- integrations?: {
12421
- [k: string]: {
12422
- id: string;
12423
- };
12424
- };
12425
- };
12426
12414
  /**
12427
12415
  * Optional attributes
12428
12416
  */
@@ -12459,6 +12447,46 @@ interface CreatePluginRequestBody$1 {
12459
12447
  * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
12460
12448
  */
12461
12449
  public?: boolean;
12450
+ dependencies?: {
12451
+ /**
12452
+ * Mapping of interface aliases to interface references
12453
+ */
12454
+ interfaces?: {
12455
+ [k: string]: {
12456
+ /**
12457
+ * Id of the interface. If provided, "name" and "version" are ignored
12458
+ */
12459
+ id?: string;
12460
+ /**
12461
+ * Name of the interface
12462
+ */
12463
+ name?: string;
12464
+ /**
12465
+ * Version of the interface. Accepts semver versions and version ranges
12466
+ */
12467
+ version?: string;
12468
+ };
12469
+ };
12470
+ /**
12471
+ * Mapping of integration aliases to integration references
12472
+ */
12473
+ integrations?: {
12474
+ [k: string]: {
12475
+ /**
12476
+ * Id of the integration. If provided, "name" and "version" are ignored
12477
+ */
12478
+ id?: string;
12479
+ /**
12480
+ * Name of the integration
12481
+ */
12482
+ name?: string;
12483
+ /**
12484
+ * Version of the integration. Accepts semver versions and version ranges
12485
+ */
12486
+ version?: string;
12487
+ };
12488
+ };
12489
+ };
12462
12490
  }
12463
12491
  type CreatePluginInput$1 = CreatePluginRequestBody$1 & CreatePluginRequestHeaders$1 & CreatePluginRequestQuery$1 & CreatePluginRequestParams$1;
12464
12492
  interface CreatePluginResponse$1 {
@@ -13435,18 +13463,6 @@ interface UpdatePluginRequestBody$1 {
13435
13463
  } | null;
13436
13464
  };
13437
13465
  };
13438
- dependencies?: {
13439
- interfaces?: {
13440
- [k: string]: {
13441
- id: string;
13442
- } | null;
13443
- };
13444
- integrations?: {
13445
- [k: string]: {
13446
- id: string;
13447
- } | null;
13448
- };
13449
- };
13450
13466
  /**
13451
13467
  * Optional attributes. Set attributes to null to remove them
13452
13468
  */
@@ -13483,6 +13499,46 @@ interface UpdatePluginRequestBody$1 {
13483
13499
  * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
13484
13500
  */
13485
13501
  public?: boolean;
13502
+ dependencies?: {
13503
+ /**
13504
+ * Mapping of interface aliases to interface references
13505
+ */
13506
+ interfaces?: {
13507
+ [k: string]: {
13508
+ /**
13509
+ * Id of the interface. If provided, "name" and "version" are ignored
13510
+ */
13511
+ id?: string;
13512
+ /**
13513
+ * Name of the interface
13514
+ */
13515
+ name?: string;
13516
+ /**
13517
+ * Version of the interface. Accepts semver versions and version ranges
13518
+ */
13519
+ version?: string;
13520
+ } | null;
13521
+ };
13522
+ /**
13523
+ * Mapping of integration aliases to integration references
13524
+ */
13525
+ integrations?: {
13526
+ [k: string]: {
13527
+ /**
13528
+ * Id of the integration. If provided, "name" and "version" are ignored
13529
+ */
13530
+ id?: string;
13531
+ /**
13532
+ * Name of the integration
13533
+ */
13534
+ name?: string;
13535
+ /**
13536
+ * Version of the integration. Accepts semver versions and version ranges
13537
+ */
13538
+ version?: string;
13539
+ } | null;
13540
+ };
13541
+ };
13486
13542
  }
13487
13543
  type UpdatePluginInput$1 = UpdatePluginRequestBody$1 & UpdatePluginRequestHeaders$1 & UpdatePluginRequestQuery$1 & UpdatePluginRequestParams$1;
13488
13544
  interface UpdatePluginResponse$1 {
@@ -14148,9 +14204,9 @@ declare class Client$6 extends Client$7 {
14148
14204
  interfaceId?: string | undefined;
14149
14205
  interfaceName?: string | undefined;
14150
14206
  installedByBotId?: string | undefined;
14151
- verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
14152
- sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
14153
- direction?: "asc" | "desc" | undefined;
14207
+ verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
14208
+ sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
14209
+ direction?: ("asc" | "desc") | undefined;
14154
14210
  }) => AsyncCollection<{
14155
14211
  id: string;
14156
14212
  name: string;
@@ -14184,8 +14240,8 @@ declare class Client$6 extends Client$7 {
14184
14240
  tags?: {
14185
14241
  [x: string]: string;
14186
14242
  } | undefined;
14187
- sortField?: "createdAt" | "updatedAt" | undefined;
14188
- sortDirection?: "asc" | "desc" | undefined;
14243
+ sortField?: ("createdAt" | "updatedAt") | undefined;
14244
+ sortDirection?: ("asc" | "desc") | undefined;
14189
14245
  dev?: boolean | undefined;
14190
14246
  }) => AsyncCollection<{
14191
14247
  id: string;
@@ -14240,11 +14296,11 @@ declare class Client$6 extends Client$7 {
14240
14296
  interfaceId?: string | undefined;
14241
14297
  interfaceName?: string | undefined;
14242
14298
  installedByBotId?: string | undefined;
14243
- verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
14244
- sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
14245
- direction?: "asc" | "desc" | undefined;
14299
+ verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
14300
+ sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
14301
+ direction?: ("asc" | "desc") | undefined;
14246
14302
  dev?: boolean | undefined;
14247
- visibility?: "public" | "private" | undefined;
14303
+ visibility?: ("public" | "private") | undefined;
14248
14304
  }) => AsyncCollection<{
14249
14305
  id: string;
14250
14306
  name: string;
@@ -15278,6 +15334,9 @@ interface CreateKnowledgeBaseRequestBody$1 {
15278
15334
  * Name of the knowledge base.
15279
15335
  */
15280
15336
  name: string;
15337
+ tags?: {
15338
+ [k: string]: string;
15339
+ };
15281
15340
  }
15282
15341
  type CreateKnowledgeBaseInput$1 = CreateKnowledgeBaseRequestBody$1 & CreateKnowledgeBaseRequestHeaders$1 & CreateKnowledgeBaseRequestQuery$1 & CreateKnowledgeBaseRequestParams$1;
15283
15342
  interface CreateKnowledgeBaseResponse$1 {
@@ -15290,6 +15349,9 @@ interface CreateKnowledgeBaseResponse$1 {
15290
15349
  * Name of the knowledge base.
15291
15350
  */
15292
15351
  name: string;
15352
+ tags: {
15353
+ [k: string]: string;
15354
+ };
15293
15355
  };
15294
15356
  }
15295
15357
 
@@ -15318,6 +15380,12 @@ interface UpdateKnowledgeBaseRequestBody$1 {
15318
15380
  * New name of the knowledge base.
15319
15381
  */
15320
15382
  name: string;
15383
+ /**
15384
+ * The knowledge base tags to update as an object of key-value pairs with `string` (text) values. Omit to keep existing tags intact. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`.
15385
+ */
15386
+ tags?: {
15387
+ [k: string]: string | null;
15388
+ };
15321
15389
  }
15322
15390
  type UpdateKnowledgeBaseInput$1 = UpdateKnowledgeBaseRequestBody$1 & UpdateKnowledgeBaseRequestHeaders$1 & UpdateKnowledgeBaseRequestQuery$1 & UpdateKnowledgeBaseRequestParams$1;
15323
15391
  interface UpdateKnowledgeBaseResponse$1 {
@@ -15330,6 +15398,9 @@ interface UpdateKnowledgeBaseResponse$1 {
15330
15398
  * Name of the knowledge base.
15331
15399
  */
15332
15400
  name: string;
15401
+ tags: {
15402
+ [k: string]: string;
15403
+ };
15333
15404
  };
15334
15405
  }
15335
15406
 
@@ -15337,6 +15408,7 @@ interface ListKnowledgeBasesRequestHeaders$1 {
15337
15408
  }
15338
15409
  interface ListKnowledgeBasesRequestQuery$1 {
15339
15410
  nextToken?: string;
15411
+ tags?: any;
15340
15412
  }
15341
15413
  interface ListKnowledgeBasesRequestParams$1 {
15342
15414
  }
@@ -15357,6 +15429,9 @@ interface ListKnowledgeBasesResponse$1 {
15357
15429
  * Knowledge base creation timestamp in ISO 8601 format
15358
15430
  */
15359
15431
  createdAt: string;
15432
+ tags: {
15433
+ [k: string]: string;
15434
+ };
15360
15435
  }[];
15361
15436
  meta: {
15362
15437
  /**
@@ -15415,8 +15490,8 @@ declare class Client$4 extends Client$5 implements IClient$2 {
15415
15490
  get list(): {
15416
15491
  files: (props: {
15417
15492
  tags?: any;
15418
- sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
15419
- sortDirection?: "asc" | "desc" | undefined;
15493
+ sortField?: ("key" | "size" | "createdAt" | "updatedAt" | "status") | undefined;
15494
+ sortDirection?: ("asc" | "desc") | undefined;
15420
15495
  ids?: string[] | undefined;
15421
15496
  }) => AsyncCollection<{
15422
15497
  id: string;
@@ -22923,10 +22998,6 @@ interface UpdateBotRequestBody {
22923
22998
  };
22924
22999
  } | null;
22925
23000
  };
22926
- /**
22927
- * If true, plugins will be merged into the bot and entity references will be resolved. If you are uncertain about this field, you should probably set it to true
22928
- */
22929
- shouldMergePlugins?: boolean;
22930
23001
  subscriptions?: {
22931
23002
  events: {
22932
23003
  [k: string]: {} | null;
@@ -22948,6 +23019,10 @@ interface UpdateBotRequestBody {
22948
23019
  name: string;
22949
23020
  }[];
22950
23021
  layers?: string[];
23022
+ /**
23023
+ * UNUSED. Please ignore this field. It will be removed in the near future.
23024
+ */
23025
+ shouldMergePlugins?: boolean;
22951
23026
  }
22952
23027
  type UpdateBotInput = UpdateBotRequestBody & UpdateBotRequestHeaders & UpdateBotRequestQuery & UpdateBotRequestParams;
22953
23028
  interface UpdateBotResponse {
@@ -29305,18 +29380,6 @@ interface CreatePluginRequestBody {
29305
29380
  };
29306
29381
  };
29307
29382
  };
29308
- dependencies?: {
29309
- interfaces?: {
29310
- [k: string]: {
29311
- id: string;
29312
- };
29313
- };
29314
- integrations?: {
29315
- [k: string]: {
29316
- id: string;
29317
- };
29318
- };
29319
- };
29320
29383
  /**
29321
29384
  * Optional attributes
29322
29385
  */
@@ -29353,6 +29416,46 @@ interface CreatePluginRequestBody {
29353
29416
  * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
29354
29417
  */
29355
29418
  public?: boolean;
29419
+ dependencies?: {
29420
+ /**
29421
+ * Mapping of interface aliases to interface references
29422
+ */
29423
+ interfaces?: {
29424
+ [k: string]: {
29425
+ /**
29426
+ * Id of the interface. If provided, "name" and "version" are ignored
29427
+ */
29428
+ id?: string;
29429
+ /**
29430
+ * Name of the interface
29431
+ */
29432
+ name?: string;
29433
+ /**
29434
+ * Version of the interface. Accepts semver versions and version ranges
29435
+ */
29436
+ version?: string;
29437
+ };
29438
+ };
29439
+ /**
29440
+ * Mapping of integration aliases to integration references
29441
+ */
29442
+ integrations?: {
29443
+ [k: string]: {
29444
+ /**
29445
+ * Id of the integration. If provided, "name" and "version" are ignored
29446
+ */
29447
+ id?: string;
29448
+ /**
29449
+ * Name of the integration
29450
+ */
29451
+ name?: string;
29452
+ /**
29453
+ * Version of the integration. Accepts semver versions and version ranges
29454
+ */
29455
+ version?: string;
29456
+ };
29457
+ };
29458
+ };
29356
29459
  }
29357
29460
  type CreatePluginInput = CreatePluginRequestBody & CreatePluginRequestHeaders & CreatePluginRequestQuery & CreatePluginRequestParams;
29358
29461
  interface CreatePluginResponse {
@@ -30329,18 +30432,6 @@ interface UpdatePluginRequestBody {
30329
30432
  } | null;
30330
30433
  };
30331
30434
  };
30332
- dependencies?: {
30333
- interfaces?: {
30334
- [k: string]: {
30335
- id: string;
30336
- } | null;
30337
- };
30338
- integrations?: {
30339
- [k: string]: {
30340
- id: string;
30341
- } | null;
30342
- };
30343
- };
30344
30435
  /**
30345
30436
  * Optional attributes. Set attributes to null to remove them
30346
30437
  */
@@ -30377,6 +30468,46 @@ interface UpdatePluginRequestBody {
30377
30468
  * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
30378
30469
  */
30379
30470
  public?: boolean;
30471
+ dependencies?: {
30472
+ /**
30473
+ * Mapping of interface aliases to interface references
30474
+ */
30475
+ interfaces?: {
30476
+ [k: string]: {
30477
+ /**
30478
+ * Id of the interface. If provided, "name" and "version" are ignored
30479
+ */
30480
+ id?: string;
30481
+ /**
30482
+ * Name of the interface
30483
+ */
30484
+ name?: string;
30485
+ /**
30486
+ * Version of the interface. Accepts semver versions and version ranges
30487
+ */
30488
+ version?: string;
30489
+ } | null;
30490
+ };
30491
+ /**
30492
+ * Mapping of integration aliases to integration references
30493
+ */
30494
+ integrations?: {
30495
+ [k: string]: {
30496
+ /**
30497
+ * Id of the integration. If provided, "name" and "version" are ignored
30498
+ */
30499
+ id?: string;
30500
+ /**
30501
+ * Name of the integration
30502
+ */
30503
+ name?: string;
30504
+ /**
30505
+ * Version of the integration. Accepts semver versions and version ranges
30506
+ */
30507
+ version?: string;
30508
+ } | null;
30509
+ };
30510
+ };
30380
30511
  }
30381
30512
  type UpdatePluginInput = UpdatePluginRequestBody & UpdatePluginRequestHeaders & UpdatePluginRequestQuery & UpdatePluginRequestParams;
30382
30513
  interface UpdatePluginResponse {
@@ -31831,6 +31962,9 @@ interface CreateKnowledgeBaseRequestBody {
31831
31962
  * Name of the knowledge base.
31832
31963
  */
31833
31964
  name: string;
31965
+ tags?: {
31966
+ [k: string]: string;
31967
+ };
31834
31968
  }
31835
31969
  type CreateKnowledgeBaseInput = CreateKnowledgeBaseRequestBody & CreateKnowledgeBaseRequestHeaders & CreateKnowledgeBaseRequestQuery & CreateKnowledgeBaseRequestParams;
31836
31970
  interface CreateKnowledgeBaseResponse {
@@ -31843,6 +31977,9 @@ interface CreateKnowledgeBaseResponse {
31843
31977
  * Name of the knowledge base.
31844
31978
  */
31845
31979
  name: string;
31980
+ tags: {
31981
+ [k: string]: string;
31982
+ };
31846
31983
  };
31847
31984
  }
31848
31985
 
@@ -31871,6 +32008,12 @@ interface UpdateKnowledgeBaseRequestBody {
31871
32008
  * New name of the knowledge base.
31872
32009
  */
31873
32010
  name: string;
32011
+ /**
32012
+ * The knowledge base tags to update as an object of key-value pairs with `string` (text) values. Omit to keep existing tags intact. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`.
32013
+ */
32014
+ tags?: {
32015
+ [k: string]: string | null;
32016
+ };
31874
32017
  }
31875
32018
  type UpdateKnowledgeBaseInput = UpdateKnowledgeBaseRequestBody & UpdateKnowledgeBaseRequestHeaders & UpdateKnowledgeBaseRequestQuery & UpdateKnowledgeBaseRequestParams;
31876
32019
  interface UpdateKnowledgeBaseResponse {
@@ -31883,6 +32026,9 @@ interface UpdateKnowledgeBaseResponse {
31883
32026
  * Name of the knowledge base.
31884
32027
  */
31885
32028
  name: string;
32029
+ tags: {
32030
+ [k: string]: string;
32031
+ };
31886
32032
  };
31887
32033
  }
31888
32034
 
@@ -31890,6 +32036,7 @@ interface ListKnowledgeBasesRequestHeaders {
31890
32036
  }
31891
32037
  interface ListKnowledgeBasesRequestQuery {
31892
32038
  nextToken?: string;
32039
+ tags?: any;
31893
32040
  }
31894
32041
  interface ListKnowledgeBasesRequestParams {
31895
32042
  }
@@ -31910,6 +32057,9 @@ interface ListKnowledgeBasesResponse {
31910
32057
  * Knowledge base creation timestamp in ISO 8601 format
31911
32058
  */
31912
32059
  createdAt: string;
32060
+ tags: {
32061
+ [k: string]: string;
32062
+ };
31913
32063
  }[];
31914
32064
  meta: {
31915
32065
  /**
@@ -35622,8 +35772,8 @@ declare class Client extends Client$1 implements IClient {
35622
35772
  } | undefined;
35623
35773
  channel?: string | undefined;
35624
35774
  integrationName?: string | undefined;
35625
- sortField?: "createdAt" | "updatedAt" | undefined;
35626
- sortDirection?: "asc" | "desc" | undefined;
35775
+ sortField?: ("createdAt" | "updatedAt") | undefined;
35776
+ sortDirection?: ("asc" | "desc") | undefined;
35627
35777
  participantIds?: string[] | undefined;
35628
35778
  }) => AsyncCollection<{
35629
35779
  id: string;
@@ -35654,7 +35804,7 @@ declare class Client extends Client$1 implements IClient {
35654
35804
  userId?: string | undefined;
35655
35805
  conversationId?: string | undefined;
35656
35806
  messageId?: string | undefined;
35657
- status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
35807
+ status?: ("pending" | "ignored" | "processed" | "failed" | "scheduled") | undefined;
35658
35808
  }) => AsyncCollection<{
35659
35809
  id: string;
35660
35810
  createdAt: string;
@@ -35740,9 +35890,9 @@ declare class Client extends Client$1 implements IClient {
35740
35890
  interfaceId?: string | undefined;
35741
35891
  interfaceName?: string | undefined;
35742
35892
  installedByBotId?: string | undefined;
35743
- verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
35744
- sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
35745
- direction?: "asc" | "desc" | undefined;
35893
+ verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
35894
+ sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
35895
+ direction?: ("asc" | "desc") | undefined;
35746
35896
  }) => AsyncCollection<{
35747
35897
  id: string;
35748
35898
  name: string;
@@ -35776,8 +35926,8 @@ declare class Client extends Client$1 implements IClient {
35776
35926
  tags?: {
35777
35927
  [x: string]: string;
35778
35928
  } | undefined;
35779
- sortField?: "createdAt" | "updatedAt" | undefined;
35780
- sortDirection?: "asc" | "desc" | undefined;
35929
+ sortField?: ("createdAt" | "updatedAt") | undefined;
35930
+ sortDirection?: ("asc" | "desc") | undefined;
35781
35931
  dev?: boolean | undefined;
35782
35932
  }) => AsyncCollection<{
35783
35933
  id: string;
@@ -35824,11 +35974,11 @@ declare class Client extends Client$1 implements IClient {
35824
35974
  interfaceId?: string | undefined;
35825
35975
  interfaceName?: string | undefined;
35826
35976
  installedByBotId?: string | undefined;
35827
- verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
35828
- sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
35829
- direction?: "asc" | "desc" | undefined;
35977
+ verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
35978
+ sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
35979
+ direction?: ("asc" | "desc") | undefined;
35830
35980
  dev?: boolean | undefined;
35831
- visibility?: "public" | "private" | undefined;
35981
+ visibility?: ("public" | "private") | undefined;
35832
35982
  }) => AsyncCollection<{
35833
35983
  id: string;
35834
35984
  name: string;
@@ -35929,8 +36079,8 @@ declare class Client extends Client$1 implements IClient {
35929
36079
  }>;
35930
36080
  files: (props: {
35931
36081
  tags?: any;
35932
- sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
35933
- sortDirection?: "asc" | "desc" | undefined;
36082
+ sortField?: ("key" | "size" | "createdAt" | "updatedAt" | "status") | undefined;
36083
+ sortDirection?: ("asc" | "desc") | undefined;
35934
36084
  ids?: string[] | undefined;
35935
36085
  }) => AsyncCollection<{
35936
36086
  id: string;