@globus/sdk 2.3.1 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/cjs/lib/services/globus-connect-server/client.d.ts +4567 -119
  2. package/cjs/lib/services/globus-connect-server/client.d.ts.map +1 -1
  3. package/cjs/lib/services/globus-connect-server/client.js +9 -0
  4. package/cjs/lib/services/globus-connect-server/client.js.map +1 -1
  5. package/cjs/lib/services/search/service/query.d.ts +2 -2
  6. package/cjs/lib/services/transfer/service/access.d.ts +2 -2
  7. package/cjs/lib/services/transfer/service/endpoint-manager/endpoint.d.ts +6 -6
  8. package/cjs/lib/services/transfer/service/endpoint-manager/task.d.ts +4 -4
  9. package/cjs/lib/services/transfer/service/file-operations.d.ts +2 -2
  10. package/cjs/lib/services/transfer/service/task.d.ts +6 -6
  11. package/cjs/lib/services/transfer/types.d.ts +10 -10
  12. package/cjs/lib/services/transfer/types.d.ts.map +1 -1
  13. package/esm/lib/services/globus-connect-server/client.d.ts +4567 -119
  14. package/esm/lib/services/globus-connect-server/client.d.ts.map +1 -1
  15. package/esm/lib/services/globus-connect-server/client.js +9 -0
  16. package/esm/lib/services/globus-connect-server/client.js.map +1 -1
  17. package/esm/lib/services/search/service/query.d.ts +2 -2
  18. package/esm/lib/services/transfer/service/access.d.ts +2 -2
  19. package/esm/lib/services/transfer/service/endpoint-manager/endpoint.d.ts +6 -6
  20. package/esm/lib/services/transfer/service/endpoint-manager/task.d.ts +4 -4
  21. package/esm/lib/services/transfer/service/file-operations.d.ts +2 -2
  22. package/esm/lib/services/transfer/service/task.d.ts +6 -6
  23. package/esm/lib/services/transfer/types.d.ts +10 -10
  24. package/esm/lib/services/transfer/types.d.ts.map +1 -1
  25. package/package.json +1 -1
  26. package/umd/globus.production.js +1 -1
@@ -398,6 +398,26 @@ export declare function getClient(configuration: GCSConfiguration): {
398
398
  marker?: string | null | undefined;
399
399
  message?: string | undefined;
400
400
  }>>;
401
+ updateSubscriptionId: (options?: ({
402
+ payload: {
403
+ DATA_TYPE: "endpoint_subscription#1.0.0";
404
+ subscription_id: string | null;
405
+ };
406
+ } & {
407
+ query?: {
408
+ [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
409
+ } | undefined;
410
+ headers?: import("../types.js").Headers | undefined;
411
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
412
+ DATA_TYPE: "result#1.0.0";
413
+ code: string;
414
+ data?: Record<string, unknown>[] | undefined;
415
+ detail?: unknown;
416
+ has_next_page?: boolean | undefined;
417
+ http_response_code: number;
418
+ marker?: string | null | undefined;
419
+ message?: string | undefined;
420
+ }>>;
401
421
  };
402
422
  versioning: {
403
423
  info: (options?: ({
@@ -6368,12 +6388,102 @@ export declare function getClient(configuration: GCSConfiguration): {
6368
6388
  marker?: string | null | undefined;
6369
6389
  message?: string | undefined;
6370
6390
  }>>;
6371
- };
6372
- storageGateways: {
6373
- get: (storage_gateway_id: string, options?: ({
6374
- query?: {
6375
- include?: ("private_policies" | "accounts")[] | undefined;
6376
- } | undefined;
6391
+ create: (options: ({
6392
+ payload: {
6393
+ DATA_TYPE: "user_credential#1.0.0";
6394
+ connector_id?: string | undefined;
6395
+ deleted?: boolean | undefined;
6396
+ display_name?: string | null | undefined;
6397
+ home_directory?: string | undefined;
6398
+ id?: string | undefined;
6399
+ identity_id?: string | undefined;
6400
+ invalid?: boolean | undefined;
6401
+ policies?: {
6402
+ DATA_TYPE: "s3_user_credential_policies#1.0.0";
6403
+ s3_key_id?: string | null | undefined;
6404
+ s3_secret_key?: string | null | undefined;
6405
+ } | {
6406
+ DATA_TYPE: "s3_user_credential_policies#1.1.0";
6407
+ s3_key_id?: string | null | undefined;
6408
+ s3_requester_pays?: boolean | undefined;
6409
+ s3_secret_key?: string | null | undefined;
6410
+ } | {
6411
+ DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
6412
+ access_token?: string | null | undefined;
6413
+ email?: string | null | undefined;
6414
+ refresh_token?: string | null | undefined;
6415
+ scopes?: string[] | undefined;
6416
+ sub?: string | null | undefined;
6417
+ tid?: string | undefined;
6418
+ token_expiry?: string | undefined;
6419
+ } | {
6420
+ DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
6421
+ access_id?: string | undefined;
6422
+ secret_key?: string | undefined;
6423
+ } | {
6424
+ DATA_TYPE: "box_user_credential_policies#1.0.0";
6425
+ } | {
6426
+ DATA_TYPE: "box_user_credential_policies#1.1.0";
6427
+ access_token?: string | null | undefined;
6428
+ email?: string | null | undefined;
6429
+ max_upload?: number | undefined;
6430
+ refresh_token?: string | null | undefined;
6431
+ scopes?: string[] | undefined;
6432
+ sub?: string | null | undefined;
6433
+ token_expiry?: string | undefined;
6434
+ } | {
6435
+ DATA_TYPE: "ceph_user_credential_policies#1.0.0";
6436
+ } | {
6437
+ DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
6438
+ access_token?: string | null | undefined;
6439
+ email?: string | null | undefined;
6440
+ refresh_token?: string | null | undefined;
6441
+ root_info?: Record<string, unknown> | undefined;
6442
+ scopes?: string[] | undefined;
6443
+ sub?: string | null | undefined;
6444
+ token_expiry?: string | undefined;
6445
+ } | {
6446
+ DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
6447
+ access_token?: string | null | undefined;
6448
+ email?: string | undefined;
6449
+ projects?: {
6450
+ name?: string | undefined;
6451
+ projectId?: string | undefined;
6452
+ }[] | undefined;
6453
+ refresh_token?: string | null | undefined;
6454
+ scopes?: string[] | undefined;
6455
+ sub?: string | undefined;
6456
+ token_expiry?: string | undefined;
6457
+ } | {
6458
+ DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
6459
+ access_token?: string | null | undefined;
6460
+ email?: string | null | undefined;
6461
+ refresh_token?: string | null | undefined;
6462
+ scopes?: string[] | undefined;
6463
+ sub?: string | null | undefined;
6464
+ token_expiry?: string | undefined;
6465
+ } | {
6466
+ DATA_TYPE: "hpss_user_credential_policies#1.0.0";
6467
+ } | {
6468
+ DATA_TYPE: "irods_user_credential_policies#1.0.0";
6469
+ } | {
6470
+ DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
6471
+ access_token?: string | null | undefined;
6472
+ email?: string | null | undefined;
6473
+ refresh_token?: string | null | undefined;
6474
+ scopes?: string[] | undefined;
6475
+ sub?: string | null | undefined;
6476
+ tid?: string | undefined;
6477
+ token_expiry?: string | undefined;
6478
+ } | {
6479
+ DATA_TYPE: "posix_user_credential_policies#1.0.0";
6480
+ } | {
6481
+ DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
6482
+ } | undefined;
6483
+ provisioned?: boolean | undefined;
6484
+ storage_gateway_id?: string | undefined;
6485
+ username?: string | undefined;
6486
+ };
6377
6487
  } & {
6378
6488
  query?: {
6379
6489
  [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
@@ -6381,115 +6491,4469 @@ export declare function getClient(configuration: GCSConfiguration): {
6381
6491
  headers?: import("../types.js").Headers | undefined;
6382
6492
  }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
6383
6493
  code?: "success" | undefined;
6384
- data?: ({
6385
- DATA_TYPE: "storage_gateway#1.0.0";
6386
- allowed_domains?: string[] | undefined;
6387
- authentication_assurance_timeout?: number | null | undefined;
6388
- authentication_timeout_mins?: number | null | undefined;
6494
+ data?: {
6495
+ DATA_TYPE: "user_credential#1.0.0";
6389
6496
  connector_id?: string | undefined;
6390
6497
  deleted?: boolean | undefined;
6391
- display_name?: string | undefined;
6392
- high_assurance?: boolean | null | undefined;
6498
+ display_name?: string | null | undefined;
6499
+ home_directory?: string | undefined;
6393
6500
  id?: string | undefined;
6394
- identity_mappings?: ({
6395
- DATA_TYPE: "external_identity_mapping#1.0.0";
6396
- command?: string[] | undefined;
6397
- } | {
6398
- DATA_TYPE: "expression_identity_mapping#1.0.0";
6399
- mappings?: {
6400
- ignore_case?: boolean | undefined;
6401
- literal?: boolean | undefined;
6402
- match?: string | undefined;
6403
- output?: string | undefined;
6404
- source?: string | undefined;
6405
- }[] | undefined;
6406
- })[] | null | undefined;
6407
- load_dsi_module?: string | null | undefined;
6501
+ identity_id?: string | undefined;
6502
+ invalid?: boolean | undefined;
6408
6503
  policies?: {
6409
- DATA_TYPE: "s3_storage_policies#1.0.0";
6410
- s3_buckets?: string[] | undefined;
6411
- s3_endpoint?: string | undefined;
6412
- s3_user_credential_required?: boolean | undefined;
6504
+ DATA_TYPE: "s3_user_credential_policies#1.0.0";
6505
+ s3_key_id?: string | null | undefined;
6506
+ s3_secret_key?: string | null | undefined;
6413
6507
  } | {
6414
- DATA_TYPE: "s3_storage_policies#1.1.0";
6415
- s3_buckets?: string[] | undefined;
6416
- s3_endpoint?: string | undefined;
6508
+ DATA_TYPE: "s3_user_credential_policies#1.1.0";
6509
+ s3_key_id?: string | null | undefined;
6417
6510
  s3_requester_pays?: boolean | undefined;
6418
- s3_user_credential_required?: boolean | undefined;
6511
+ s3_secret_key?: string | null | undefined;
6419
6512
  } | {
6420
- DATA_TYPE: "azure_blob_storage_policies#1.0.0";
6421
- account: string | null;
6422
- adls: boolean | null;
6423
- auth_callback?: string | undefined;
6424
- auth_type: string | null;
6425
- client_id: string | null;
6426
- secret: string | null;
6427
- tenant: string | null;
6428
- user_credential_required?: boolean | undefined;
6513
+ DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
6514
+ access_token?: string | null | undefined;
6515
+ email?: string | null | undefined;
6516
+ refresh_token?: string | null | undefined;
6517
+ scopes?: string[] | undefined;
6518
+ sub?: string | null | undefined;
6519
+ tid?: string | undefined;
6520
+ token_expiry?: string | undefined;
6429
6521
  } | {
6430
- DATA_TYPE: "azure_blob_storage_policies#1.1.0";
6431
- account: string | null;
6432
- adls: boolean | null;
6433
- allow_any_account?: boolean | undefined;
6434
- auth_callback?: string | undefined;
6435
- auth_type: string | null;
6436
- client_id: string | null;
6437
- secret: string | null;
6438
- tenant: string | null;
6439
- user_credential_required?: boolean | undefined;
6522
+ DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
6523
+ access_id?: string | undefined;
6524
+ secret_key?: string | undefined;
6440
6525
  } | {
6441
- DATA_TYPE: "blackpearl_storage_policies#1.0.0";
6442
- bp_access_id_file?: string | undefined;
6443
- s3_endpoint?: string | undefined;
6526
+ DATA_TYPE: "box_user_credential_policies#1.0.0";
6444
6527
  } | {
6445
- DATA_TYPE: "box_storage_policies#1.0.0";
6446
- boxAppSettings: {
6447
- appAuth: {
6448
- passphrase: string;
6449
- privateKey: string;
6450
- publicKeyID: string;
6451
- };
6452
- clientID: string;
6453
- clientSecret: string;
6454
- };
6455
- enterpriseID: string;
6528
+ DATA_TYPE: "box_user_credential_policies#1.1.0";
6529
+ access_token?: string | null | undefined;
6530
+ email?: string | null | undefined;
6531
+ max_upload?: number | undefined;
6532
+ refresh_token?: string | null | undefined;
6533
+ scopes?: string[] | undefined;
6534
+ sub?: string | null | undefined;
6535
+ token_expiry?: string | undefined;
6456
6536
  } | {
6457
- DATA_TYPE: "box_storage_policies#1.1.0";
6458
- auth_callback?: string | undefined;
6459
- boxAppSettings?: {
6460
- appAuth: {
6461
- passphrase: string;
6462
- privateKey: string;
6463
- publicKeyID: string;
6464
- };
6465
- clientID: string;
6466
- clientSecret: string;
6467
- } | undefined;
6468
- client_id?: string | undefined;
6469
- enterpriseID?: string | undefined;
6470
- secret?: string | undefined;
6471
- user_api_rate_limit?: number | undefined;
6472
- user_credential_required?: boolean | undefined;
6537
+ DATA_TYPE: "ceph_user_credential_policies#1.0.0";
6473
6538
  } | {
6474
- DATA_TYPE: "box_storage_policies#1.2.0";
6475
- allow_any_account?: boolean | undefined;
6476
- auth_callback?: string | undefined;
6477
- boxAppSettings?: {
6478
- appAuth: {
6479
- passphrase: string;
6480
- privateKey: string;
6481
- publicKeyID: string;
6482
- };
6483
- clientID: string;
6484
- clientSecret: string;
6485
- } | undefined;
6486
- client_id?: string | undefined;
6487
- enterpriseID?: string | undefined;
6488
- secret?: string | undefined;
6489
- user_api_rate_limit?: number | undefined;
6490
- user_credential_required?: boolean | undefined;
6539
+ DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
6540
+ access_token?: string | null | undefined;
6541
+ email?: string | null | undefined;
6542
+ refresh_token?: string | null | undefined;
6543
+ root_info?: Record<string, unknown> | undefined;
6544
+ scopes?: string[] | undefined;
6545
+ sub?: string | null | undefined;
6546
+ token_expiry?: string | undefined;
6491
6547
  } | {
6492
- DATA_TYPE: "ceph_storage_policies#1.0.0";
6548
+ DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
6549
+ access_token?: string | null | undefined;
6550
+ email?: string | undefined;
6551
+ projects?: {
6552
+ name?: string | undefined;
6553
+ projectId?: string | undefined;
6554
+ }[] | undefined;
6555
+ refresh_token?: string | null | undefined;
6556
+ scopes?: string[] | undefined;
6557
+ sub?: string | undefined;
6558
+ token_expiry?: string | undefined;
6559
+ } | {
6560
+ DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
6561
+ access_token?: string | null | undefined;
6562
+ email?: string | null | undefined;
6563
+ refresh_token?: string | null | undefined;
6564
+ scopes?: string[] | undefined;
6565
+ sub?: string | null | undefined;
6566
+ token_expiry?: string | undefined;
6567
+ } | {
6568
+ DATA_TYPE: "hpss_user_credential_policies#1.0.0";
6569
+ } | {
6570
+ DATA_TYPE: "irods_user_credential_policies#1.0.0";
6571
+ } | {
6572
+ DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
6573
+ access_token?: string | null | undefined;
6574
+ email?: string | null | undefined;
6575
+ refresh_token?: string | null | undefined;
6576
+ scopes?: string[] | undefined;
6577
+ sub?: string | null | undefined;
6578
+ tid?: string | undefined;
6579
+ token_expiry?: string | undefined;
6580
+ } | {
6581
+ DATA_TYPE: "posix_user_credential_policies#1.0.0";
6582
+ } | {
6583
+ DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
6584
+ } | undefined;
6585
+ provisioned?: boolean | undefined;
6586
+ storage_gateway_id?: string | undefined;
6587
+ username?: string | undefined;
6588
+ }[] | undefined;
6589
+ } & {
6590
+ DATA_TYPE: "result#1.0.0";
6591
+ code: string;
6592
+ data?: Record<string, unknown>[] | undefined;
6593
+ detail?: unknown;
6594
+ has_next_page?: boolean | undefined;
6595
+ http_response_code: number;
6596
+ marker?: string | null | undefined;
6597
+ message?: string | undefined;
6598
+ }>>;
6599
+ remove: (user_credential_id: string, options?: ({
6600
+ query?: undefined;
6601
+ payload?: undefined;
6602
+ } & {
6603
+ query?: {
6604
+ [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
6605
+ } | undefined;
6606
+ headers?: import("../types.js").Headers | undefined;
6607
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
6608
+ DATA_TYPE: "result#1.0.0";
6609
+ code: string;
6610
+ data?: Record<string, unknown>[] | undefined;
6611
+ detail?: unknown;
6612
+ has_next_page?: boolean | undefined;
6613
+ http_response_code: number;
6614
+ marker?: string | null | undefined;
6615
+ message?: string | undefined;
6616
+ }>>;
6617
+ update: (user_credential_id: string, options: ({
6618
+ payload: {
6619
+ DATA_TYPE: "user_credential#1.0.0";
6620
+ connector_id?: string | undefined;
6621
+ deleted?: boolean | undefined;
6622
+ display_name?: string | null | undefined;
6623
+ home_directory?: string | undefined;
6624
+ id?: string | undefined;
6625
+ identity_id?: string | undefined;
6626
+ invalid?: boolean | undefined;
6627
+ policies?: {
6628
+ DATA_TYPE: "s3_user_credential_policies#1.0.0";
6629
+ s3_key_id?: string | null | undefined;
6630
+ s3_secret_key?: string | null | undefined;
6631
+ } | {
6632
+ DATA_TYPE: "s3_user_credential_policies#1.1.0";
6633
+ s3_key_id?: string | null | undefined;
6634
+ s3_requester_pays?: boolean | undefined;
6635
+ s3_secret_key?: string | null | undefined;
6636
+ } | {
6637
+ DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
6638
+ access_token?: string | null | undefined;
6639
+ email?: string | null | undefined;
6640
+ refresh_token?: string | null | undefined;
6641
+ scopes?: string[] | undefined;
6642
+ sub?: string | null | undefined;
6643
+ tid?: string | undefined;
6644
+ token_expiry?: string | undefined;
6645
+ } | {
6646
+ DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
6647
+ access_id?: string | undefined;
6648
+ secret_key?: string | undefined;
6649
+ } | {
6650
+ DATA_TYPE: "box_user_credential_policies#1.0.0";
6651
+ } | {
6652
+ DATA_TYPE: "box_user_credential_policies#1.1.0";
6653
+ access_token?: string | null | undefined;
6654
+ email?: string | null | undefined;
6655
+ max_upload?: number | undefined;
6656
+ refresh_token?: string | null | undefined;
6657
+ scopes?: string[] | undefined;
6658
+ sub?: string | null | undefined;
6659
+ token_expiry?: string | undefined;
6660
+ } | {
6661
+ DATA_TYPE: "ceph_user_credential_policies#1.0.0";
6662
+ } | {
6663
+ DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
6664
+ access_token?: string | null | undefined;
6665
+ email?: string | null | undefined;
6666
+ refresh_token?: string | null | undefined;
6667
+ root_info?: Record<string, unknown> | undefined;
6668
+ scopes?: string[] | undefined;
6669
+ sub?: string | null | undefined;
6670
+ token_expiry?: string | undefined;
6671
+ } | {
6672
+ DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
6673
+ access_token?: string | null | undefined;
6674
+ email?: string | undefined;
6675
+ projects?: {
6676
+ name?: string | undefined;
6677
+ projectId?: string | undefined;
6678
+ }[] | undefined;
6679
+ refresh_token?: string | null | undefined;
6680
+ scopes?: string[] | undefined;
6681
+ sub?: string | undefined;
6682
+ token_expiry?: string | undefined;
6683
+ } | {
6684
+ DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
6685
+ access_token?: string | null | undefined;
6686
+ email?: string | null | undefined;
6687
+ refresh_token?: string | null | undefined;
6688
+ scopes?: string[] | undefined;
6689
+ sub?: string | null | undefined;
6690
+ token_expiry?: string | undefined;
6691
+ } | {
6692
+ DATA_TYPE: "hpss_user_credential_policies#1.0.0";
6693
+ } | {
6694
+ DATA_TYPE: "irods_user_credential_policies#1.0.0";
6695
+ } | {
6696
+ DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
6697
+ access_token?: string | null | undefined;
6698
+ email?: string | null | undefined;
6699
+ refresh_token?: string | null | undefined;
6700
+ scopes?: string[] | undefined;
6701
+ sub?: string | null | undefined;
6702
+ tid?: string | undefined;
6703
+ token_expiry?: string | undefined;
6704
+ } | {
6705
+ DATA_TYPE: "posix_user_credential_policies#1.0.0";
6706
+ } | {
6707
+ DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
6708
+ } | undefined;
6709
+ provisioned?: boolean | undefined;
6710
+ storage_gateway_id?: string | undefined;
6711
+ username?: string | undefined;
6712
+ };
6713
+ } & {
6714
+ query?: {
6715
+ [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
6716
+ } | undefined;
6717
+ headers?: import("../types.js").Headers | undefined;
6718
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
6719
+ code?: "success" | undefined;
6720
+ data?: {
6721
+ DATA_TYPE: "user_credential#1.0.0";
6722
+ connector_id?: string | undefined;
6723
+ deleted?: boolean | undefined;
6724
+ display_name?: string | null | undefined;
6725
+ home_directory?: string | undefined;
6726
+ id?: string | undefined;
6727
+ identity_id?: string | undefined;
6728
+ invalid?: boolean | undefined;
6729
+ policies?: {
6730
+ DATA_TYPE: "s3_user_credential_policies#1.0.0";
6731
+ s3_key_id?: string | null | undefined;
6732
+ s3_secret_key?: string | null | undefined;
6733
+ } | {
6734
+ DATA_TYPE: "s3_user_credential_policies#1.1.0";
6735
+ s3_key_id?: string | null | undefined;
6736
+ s3_requester_pays?: boolean | undefined;
6737
+ s3_secret_key?: string | null | undefined;
6738
+ } | {
6739
+ DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
6740
+ access_token?: string | null | undefined;
6741
+ email?: string | null | undefined;
6742
+ refresh_token?: string | null | undefined;
6743
+ scopes?: string[] | undefined;
6744
+ sub?: string | null | undefined;
6745
+ tid?: string | undefined;
6746
+ token_expiry?: string | undefined;
6747
+ } | {
6748
+ DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
6749
+ access_id?: string | undefined;
6750
+ secret_key?: string | undefined;
6751
+ } | {
6752
+ DATA_TYPE: "box_user_credential_policies#1.0.0";
6753
+ } | {
6754
+ DATA_TYPE: "box_user_credential_policies#1.1.0";
6755
+ access_token?: string | null | undefined;
6756
+ email?: string | null | undefined;
6757
+ max_upload?: number | undefined;
6758
+ refresh_token?: string | null | undefined;
6759
+ scopes?: string[] | undefined;
6760
+ sub?: string | null | undefined;
6761
+ token_expiry?: string | undefined;
6762
+ } | {
6763
+ DATA_TYPE: "ceph_user_credential_policies#1.0.0";
6764
+ } | {
6765
+ DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
6766
+ access_token?: string | null | undefined;
6767
+ email?: string | null | undefined;
6768
+ refresh_token?: string | null | undefined;
6769
+ root_info?: Record<string, unknown> | undefined;
6770
+ scopes?: string[] | undefined;
6771
+ sub?: string | null | undefined;
6772
+ token_expiry?: string | undefined;
6773
+ } | {
6774
+ DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
6775
+ access_token?: string | null | undefined;
6776
+ email?: string | undefined;
6777
+ projects?: {
6778
+ name?: string | undefined;
6779
+ projectId?: string | undefined;
6780
+ }[] | undefined;
6781
+ refresh_token?: string | null | undefined;
6782
+ scopes?: string[] | undefined;
6783
+ sub?: string | undefined;
6784
+ token_expiry?: string | undefined;
6785
+ } | {
6786
+ DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
6787
+ access_token?: string | null | undefined;
6788
+ email?: string | null | undefined;
6789
+ refresh_token?: string | null | undefined;
6790
+ scopes?: string[] | undefined;
6791
+ sub?: string | null | undefined;
6792
+ token_expiry?: string | undefined;
6793
+ } | {
6794
+ DATA_TYPE: "hpss_user_credential_policies#1.0.0";
6795
+ } | {
6796
+ DATA_TYPE: "irods_user_credential_policies#1.0.0";
6797
+ } | {
6798
+ DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
6799
+ access_token?: string | null | undefined;
6800
+ email?: string | null | undefined;
6801
+ refresh_token?: string | null | undefined;
6802
+ scopes?: string[] | undefined;
6803
+ sub?: string | null | undefined;
6804
+ tid?: string | undefined;
6805
+ token_expiry?: string | undefined;
6806
+ } | {
6807
+ DATA_TYPE: "posix_user_credential_policies#1.0.0";
6808
+ } | {
6809
+ DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
6810
+ } | undefined;
6811
+ provisioned?: boolean | undefined;
6812
+ storage_gateway_id?: string | undefined;
6813
+ username?: string | undefined;
6814
+ }[] | undefined;
6815
+ } & {
6816
+ DATA_TYPE: "result#1.0.0";
6817
+ code: string;
6818
+ data?: Record<string, unknown>[] | undefined;
6819
+ detail?: unknown;
6820
+ has_next_page?: boolean | undefined;
6821
+ http_response_code: number;
6822
+ marker?: string | null | undefined;
6823
+ message?: string | undefined;
6824
+ }>>;
6825
+ patch: (user_credential_id: string, options: ({
6826
+ payload: Partial<{
6827
+ DATA_TYPE: "user_credential#1.0.0";
6828
+ connector_id?: string | undefined;
6829
+ deleted?: boolean | undefined;
6830
+ display_name?: string | null | undefined;
6831
+ home_directory?: string | undefined;
6832
+ id?: string | undefined;
6833
+ identity_id?: string | undefined;
6834
+ invalid?: boolean | undefined;
6835
+ policies?: {
6836
+ DATA_TYPE: "s3_user_credential_policies#1.0.0";
6837
+ s3_key_id?: string | null | undefined;
6838
+ s3_secret_key?: string | null | undefined;
6839
+ } | {
6840
+ DATA_TYPE: "s3_user_credential_policies#1.1.0";
6841
+ s3_key_id?: string | null | undefined;
6842
+ s3_requester_pays?: boolean | undefined;
6843
+ s3_secret_key?: string | null | undefined;
6844
+ } | {
6845
+ DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
6846
+ access_token?: string | null | undefined;
6847
+ email?: string | null | undefined;
6848
+ refresh_token?: string | null | undefined;
6849
+ scopes?: string[] | undefined;
6850
+ sub?: string | null | undefined;
6851
+ tid?: string | undefined;
6852
+ token_expiry?: string | undefined;
6853
+ } | {
6854
+ DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
6855
+ access_id?: string | undefined;
6856
+ secret_key?: string | undefined;
6857
+ } | {
6858
+ DATA_TYPE: "box_user_credential_policies#1.0.0";
6859
+ } | {
6860
+ DATA_TYPE: "box_user_credential_policies#1.1.0";
6861
+ access_token?: string | null | undefined;
6862
+ email?: string | null | undefined;
6863
+ max_upload?: number | undefined;
6864
+ refresh_token?: string | null | undefined;
6865
+ scopes?: string[] | undefined;
6866
+ sub?: string | null | undefined;
6867
+ token_expiry?: string | undefined;
6868
+ } | {
6869
+ DATA_TYPE: "ceph_user_credential_policies#1.0.0";
6870
+ } | {
6871
+ DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
6872
+ access_token?: string | null | undefined;
6873
+ email?: string | null | undefined;
6874
+ refresh_token?: string | null | undefined;
6875
+ root_info?: Record<string, unknown> | undefined;
6876
+ scopes?: string[] | undefined;
6877
+ sub?: string | null | undefined;
6878
+ token_expiry?: string | undefined;
6879
+ } | {
6880
+ DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
6881
+ access_token?: string | null | undefined;
6882
+ email?: string | undefined;
6883
+ projects?: {
6884
+ name?: string | undefined;
6885
+ projectId?: string | undefined;
6886
+ }[] | undefined;
6887
+ refresh_token?: string | null | undefined;
6888
+ scopes?: string[] | undefined;
6889
+ sub?: string | undefined;
6890
+ token_expiry?: string | undefined;
6891
+ } | {
6892
+ DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
6893
+ access_token?: string | null | undefined;
6894
+ email?: string | null | undefined;
6895
+ refresh_token?: string | null | undefined;
6896
+ scopes?: string[] | undefined;
6897
+ sub?: string | null | undefined;
6898
+ token_expiry?: string | undefined;
6899
+ } | {
6900
+ DATA_TYPE: "hpss_user_credential_policies#1.0.0";
6901
+ } | {
6902
+ DATA_TYPE: "irods_user_credential_policies#1.0.0";
6903
+ } | {
6904
+ DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
6905
+ access_token?: string | null | undefined;
6906
+ email?: string | null | undefined;
6907
+ refresh_token?: string | null | undefined;
6908
+ scopes?: string[] | undefined;
6909
+ sub?: string | null | undefined;
6910
+ tid?: string | undefined;
6911
+ token_expiry?: string | undefined;
6912
+ } | {
6913
+ DATA_TYPE: "posix_user_credential_policies#1.0.0";
6914
+ } | {
6915
+ DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
6916
+ } | undefined;
6917
+ provisioned?: boolean | undefined;
6918
+ storage_gateway_id?: string | undefined;
6919
+ username?: string | undefined;
6920
+ }>;
6921
+ } & {
6922
+ query?: {
6923
+ [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
6924
+ } | undefined;
6925
+ headers?: import("../types.js").Headers | undefined;
6926
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
6927
+ code?: "success" | undefined;
6928
+ data?: {
6929
+ DATA_TYPE: "user_credential#1.0.0";
6930
+ connector_id?: string | undefined;
6931
+ deleted?: boolean | undefined;
6932
+ display_name?: string | null | undefined;
6933
+ home_directory?: string | undefined;
6934
+ id?: string | undefined;
6935
+ identity_id?: string | undefined;
6936
+ invalid?: boolean | undefined;
6937
+ policies?: {
6938
+ DATA_TYPE: "s3_user_credential_policies#1.0.0";
6939
+ s3_key_id?: string | null | undefined;
6940
+ s3_secret_key?: string | null | undefined;
6941
+ } | {
6942
+ DATA_TYPE: "s3_user_credential_policies#1.1.0";
6943
+ s3_key_id?: string | null | undefined;
6944
+ s3_requester_pays?: boolean | undefined;
6945
+ s3_secret_key?: string | null | undefined;
6946
+ } | {
6947
+ DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
6948
+ access_token?: string | null | undefined;
6949
+ email?: string | null | undefined;
6950
+ refresh_token?: string | null | undefined;
6951
+ scopes?: string[] | undefined;
6952
+ sub?: string | null | undefined;
6953
+ tid?: string | undefined;
6954
+ token_expiry?: string | undefined;
6955
+ } | {
6956
+ DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
6957
+ access_id?: string | undefined;
6958
+ secret_key?: string | undefined;
6959
+ } | {
6960
+ DATA_TYPE: "box_user_credential_policies#1.0.0";
6961
+ } | {
6962
+ DATA_TYPE: "box_user_credential_policies#1.1.0";
6963
+ access_token?: string | null | undefined;
6964
+ email?: string | null | undefined;
6965
+ max_upload?: number | undefined;
6966
+ refresh_token?: string | null | undefined;
6967
+ scopes?: string[] | undefined;
6968
+ sub?: string | null | undefined;
6969
+ token_expiry?: string | undefined;
6970
+ } | {
6971
+ DATA_TYPE: "ceph_user_credential_policies#1.0.0";
6972
+ } | {
6973
+ DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
6974
+ access_token?: string | null | undefined;
6975
+ email?: string | null | undefined;
6976
+ refresh_token?: string | null | undefined;
6977
+ root_info?: Record<string, unknown> | undefined;
6978
+ scopes?: string[] | undefined;
6979
+ sub?: string | null | undefined;
6980
+ token_expiry?: string | undefined;
6981
+ } | {
6982
+ DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
6983
+ access_token?: string | null | undefined;
6984
+ email?: string | undefined;
6985
+ projects?: {
6986
+ name?: string | undefined;
6987
+ projectId?: string | undefined;
6988
+ }[] | undefined;
6989
+ refresh_token?: string | null | undefined;
6990
+ scopes?: string[] | undefined;
6991
+ sub?: string | undefined;
6992
+ token_expiry?: string | undefined;
6993
+ } | {
6994
+ DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
6995
+ access_token?: string | null | undefined;
6996
+ email?: string | null | undefined;
6997
+ refresh_token?: string | null | undefined;
6998
+ scopes?: string[] | undefined;
6999
+ sub?: string | null | undefined;
7000
+ token_expiry?: string | undefined;
7001
+ } | {
7002
+ DATA_TYPE: "hpss_user_credential_policies#1.0.0";
7003
+ } | {
7004
+ DATA_TYPE: "irods_user_credential_policies#1.0.0";
7005
+ } | {
7006
+ DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
7007
+ access_token?: string | null | undefined;
7008
+ email?: string | null | undefined;
7009
+ refresh_token?: string | null | undefined;
7010
+ scopes?: string[] | undefined;
7011
+ sub?: string | null | undefined;
7012
+ tid?: string | undefined;
7013
+ token_expiry?: string | undefined;
7014
+ } | {
7015
+ DATA_TYPE: "posix_user_credential_policies#1.0.0";
7016
+ } | {
7017
+ DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
7018
+ } | undefined;
7019
+ provisioned?: boolean | undefined;
7020
+ storage_gateway_id?: string | undefined;
7021
+ username?: string | undefined;
7022
+ }[] | undefined;
7023
+ } & {
7024
+ DATA_TYPE: "result#1.0.0";
7025
+ code: string;
7026
+ data?: Record<string, unknown>[] | undefined;
7027
+ detail?: unknown;
7028
+ has_next_page?: boolean | undefined;
7029
+ http_response_code: number;
7030
+ marker?: string | null | undefined;
7031
+ message?: string | undefined;
7032
+ }>>;
7033
+ };
7034
+ storageGateways: {
7035
+ get: (storage_gateway_id: string, options?: ({
7036
+ query?: {
7037
+ include?: ("private_policies" | "accounts")[] | undefined;
7038
+ } | undefined;
7039
+ } & {
7040
+ query?: {
7041
+ [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
7042
+ } | undefined;
7043
+ headers?: import("../types.js").Headers | undefined;
7044
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
7045
+ code?: "success" | undefined;
7046
+ data?: ({
7047
+ DATA_TYPE: "storage_gateway#1.0.0";
7048
+ allowed_domains?: string[] | undefined;
7049
+ authentication_assurance_timeout?: number | null | undefined;
7050
+ authentication_timeout_mins?: number | null | undefined;
7051
+ connector_id?: string | undefined;
7052
+ deleted?: boolean | undefined;
7053
+ display_name?: string | undefined;
7054
+ high_assurance?: boolean | null | undefined;
7055
+ id?: string | undefined;
7056
+ identity_mappings?: ({
7057
+ DATA_TYPE: "external_identity_mapping#1.0.0";
7058
+ command?: string[] | undefined;
7059
+ } | {
7060
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
7061
+ mappings?: {
7062
+ ignore_case?: boolean | undefined;
7063
+ literal?: boolean | undefined;
7064
+ match?: string | undefined;
7065
+ output?: string | undefined;
7066
+ source?: string | undefined;
7067
+ }[] | undefined;
7068
+ })[] | null | undefined;
7069
+ load_dsi_module?: string | null | undefined;
7070
+ policies?: {
7071
+ DATA_TYPE: "s3_storage_policies#1.0.0";
7072
+ s3_buckets?: string[] | undefined;
7073
+ s3_endpoint?: string | undefined;
7074
+ s3_user_credential_required?: boolean | undefined;
7075
+ } | {
7076
+ DATA_TYPE: "s3_storage_policies#1.1.0";
7077
+ s3_buckets?: string[] | undefined;
7078
+ s3_endpoint?: string | undefined;
7079
+ s3_requester_pays?: boolean | undefined;
7080
+ s3_user_credential_required?: boolean | undefined;
7081
+ } | {
7082
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
7083
+ account: string | null;
7084
+ adls: boolean | null;
7085
+ auth_callback?: string | undefined;
7086
+ auth_type: string | null;
7087
+ client_id: string | null;
7088
+ secret: string | null;
7089
+ tenant: string | null;
7090
+ user_credential_required?: boolean | undefined;
7091
+ } | {
7092
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
7093
+ account: string | null;
7094
+ adls: boolean | null;
7095
+ allow_any_account?: boolean | undefined;
7096
+ auth_callback?: string | undefined;
7097
+ auth_type: string | null;
7098
+ client_id: string | null;
7099
+ secret: string | null;
7100
+ tenant: string | null;
7101
+ user_credential_required?: boolean | undefined;
7102
+ } | {
7103
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
7104
+ bp_access_id_file?: string | undefined;
7105
+ s3_endpoint?: string | undefined;
7106
+ } | {
7107
+ DATA_TYPE: "box_storage_policies#1.0.0";
7108
+ boxAppSettings: {
7109
+ appAuth: {
7110
+ passphrase: string;
7111
+ privateKey: string;
7112
+ publicKeyID: string;
7113
+ };
7114
+ clientID: string;
7115
+ clientSecret: string;
7116
+ };
7117
+ enterpriseID: string;
7118
+ } | {
7119
+ DATA_TYPE: "box_storage_policies#1.1.0";
7120
+ auth_callback?: string | undefined;
7121
+ boxAppSettings?: {
7122
+ appAuth: {
7123
+ passphrase: string;
7124
+ privateKey: string;
7125
+ publicKeyID: string;
7126
+ };
7127
+ clientID: string;
7128
+ clientSecret: string;
7129
+ } | undefined;
7130
+ client_id?: string | undefined;
7131
+ enterpriseID?: string | undefined;
7132
+ secret?: string | undefined;
7133
+ user_api_rate_limit?: number | undefined;
7134
+ user_credential_required?: boolean | undefined;
7135
+ } | {
7136
+ DATA_TYPE: "box_storage_policies#1.2.0";
7137
+ allow_any_account?: boolean | undefined;
7138
+ auth_callback?: string | undefined;
7139
+ boxAppSettings?: {
7140
+ appAuth: {
7141
+ passphrase: string;
7142
+ privateKey: string;
7143
+ publicKeyID: string;
7144
+ };
7145
+ clientID: string;
7146
+ clientSecret: string;
7147
+ } | undefined;
7148
+ client_id?: string | undefined;
7149
+ enterpriseID?: string | undefined;
7150
+ secret?: string | undefined;
7151
+ user_api_rate_limit?: number | undefined;
7152
+ user_credential_required?: boolean | undefined;
7153
+ } | {
7154
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
7155
+ ceph_admin_key_id?: string | undefined;
7156
+ ceph_admin_secret_key?: string | undefined;
7157
+ s3_buckets?: string[] | undefined;
7158
+ s3_endpoint?: string | undefined;
7159
+ } | {
7160
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
7161
+ allow_any_account?: boolean | undefined;
7162
+ auth_callback?: string | undefined;
7163
+ client_id: string | null;
7164
+ secret: string | null;
7165
+ user_api_rate_limit?: number | undefined;
7166
+ } | {
7167
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
7168
+ auth_callback?: string | undefined;
7169
+ buckets?: string[] | null | undefined;
7170
+ client_id: string | null;
7171
+ projects?: string[] | null | undefined;
7172
+ secret: string | null;
7173
+ service_account_key?: unknown;
7174
+ user_credential_required?: boolean | undefined;
7175
+ } | {
7176
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
7177
+ allow_any_account?: boolean | undefined;
7178
+ auth_callback?: string | undefined;
7179
+ buckets?: string[] | null | undefined;
7180
+ client_id: string | null;
7181
+ projects?: string[] | null | undefined;
7182
+ secret: string | null;
7183
+ service_account_key?: unknown;
7184
+ user_credential_required?: boolean | undefined;
7185
+ } | {
7186
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
7187
+ auth_callback?: string | undefined;
7188
+ client_id: string | null;
7189
+ secret: string | null;
7190
+ user_api_rate_quota?: number | undefined;
7191
+ } | {
7192
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
7193
+ allow_any_account?: boolean | undefined;
7194
+ auth_callback?: string | undefined;
7195
+ client_id: string | null;
7196
+ secret: string | null;
7197
+ user_api_rate_quota?: number | undefined;
7198
+ } | {
7199
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
7200
+ authentication_mech: "krb5" | "unix";
7201
+ authenticator: string;
7202
+ uda_checksum: boolean;
7203
+ } | {
7204
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
7205
+ authentication_mech: "krb5" | "unix";
7206
+ authenticator: string;
7207
+ login_name?: string | undefined;
7208
+ uda_checksum: boolean;
7209
+ } | {
7210
+ DATA_TYPE: "irods_storage_policies#1.0.0";
7211
+ environment?: {
7212
+ name: string;
7213
+ value: string;
7214
+ }[] | undefined;
7215
+ irods_authentication_file?: string | undefined;
7216
+ irods_environment_file: string;
7217
+ } | {
7218
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
7219
+ auth_callback?: string | undefined;
7220
+ client_id: string | null;
7221
+ secret: string | null;
7222
+ tenant?: string | null | undefined;
7223
+ user_api_rate_limit?: number | undefined;
7224
+ } | {
7225
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
7226
+ allow_any_account?: boolean | undefined;
7227
+ auth_callback?: string | undefined;
7228
+ client_id: string | null;
7229
+ secret: string | null;
7230
+ tenant?: string | null | undefined;
7231
+ user_api_rate_limit?: number | undefined;
7232
+ } | {
7233
+ DATA_TYPE: "posix_storage_policies#1.0.0";
7234
+ groups_allow?: string[] | null | undefined;
7235
+ groups_deny?: string[] | null | undefined;
7236
+ } | {
7237
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
7238
+ environment?: {
7239
+ name: string;
7240
+ value: string;
7241
+ }[] | undefined;
7242
+ groups_allow?: string[] | null | undefined;
7243
+ groups_deny?: string[] | null | undefined;
7244
+ stage_app: string;
7245
+ } | undefined;
7246
+ process_user?: string | null | undefined;
7247
+ require_high_assurance?: boolean | null | undefined;
7248
+ restrict_paths?: unknown;
7249
+ users_allow?: string[] | null | undefined;
7250
+ users_deny?: string[] | null | undefined;
7251
+ } | {
7252
+ DATA_TYPE: "storage_gateway#1.1.0";
7253
+ allowed_domains?: string[] | undefined;
7254
+ authentication_assurance_timeout?: number | null | undefined;
7255
+ authentication_timeout_mins?: number | null | undefined;
7256
+ connector_id?: string | undefined;
7257
+ deleted?: boolean | undefined;
7258
+ display_name?: string | undefined;
7259
+ high_assurance?: boolean | null | undefined;
7260
+ id?: string | undefined;
7261
+ identity_mappings?: ({
7262
+ DATA_TYPE: "external_identity_mapping#1.0.0";
7263
+ command?: string[] | undefined;
7264
+ } | {
7265
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
7266
+ mappings?: {
7267
+ ignore_case?: boolean | undefined;
7268
+ literal?: boolean | undefined;
7269
+ match?: string | undefined;
7270
+ output?: string | undefined;
7271
+ source?: string | undefined;
7272
+ }[] | undefined;
7273
+ })[] | null | undefined;
7274
+ load_dsi_module?: string | null | undefined;
7275
+ policies?: {
7276
+ DATA_TYPE: "s3_storage_policies#1.0.0";
7277
+ s3_buckets?: string[] | undefined;
7278
+ s3_endpoint?: string | undefined;
7279
+ s3_user_credential_required?: boolean | undefined;
7280
+ } | {
7281
+ DATA_TYPE: "s3_storage_policies#1.1.0";
7282
+ s3_buckets?: string[] | undefined;
7283
+ s3_endpoint?: string | undefined;
7284
+ s3_requester_pays?: boolean | undefined;
7285
+ s3_user_credential_required?: boolean | undefined;
7286
+ } | {
7287
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
7288
+ account: string | null;
7289
+ adls: boolean | null;
7290
+ auth_callback?: string | undefined;
7291
+ auth_type: string | null;
7292
+ client_id: string | null;
7293
+ secret: string | null;
7294
+ tenant: string | null;
7295
+ user_credential_required?: boolean | undefined;
7296
+ } | {
7297
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
7298
+ account: string | null;
7299
+ adls: boolean | null;
7300
+ allow_any_account?: boolean | undefined;
7301
+ auth_callback?: string | undefined;
7302
+ auth_type: string | null;
7303
+ client_id: string | null;
7304
+ secret: string | null;
7305
+ tenant: string | null;
7306
+ user_credential_required?: boolean | undefined;
7307
+ } | {
7308
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
7309
+ bp_access_id_file?: string | undefined;
7310
+ s3_endpoint?: string | undefined;
7311
+ } | {
7312
+ DATA_TYPE: "box_storage_policies#1.0.0";
7313
+ boxAppSettings: {
7314
+ appAuth: {
7315
+ passphrase: string;
7316
+ privateKey: string;
7317
+ publicKeyID: string;
7318
+ };
7319
+ clientID: string;
7320
+ clientSecret: string;
7321
+ };
7322
+ enterpriseID: string;
7323
+ } | {
7324
+ DATA_TYPE: "box_storage_policies#1.1.0";
7325
+ auth_callback?: string | undefined;
7326
+ boxAppSettings?: {
7327
+ appAuth: {
7328
+ passphrase: string;
7329
+ privateKey: string;
7330
+ publicKeyID: string;
7331
+ };
7332
+ clientID: string;
7333
+ clientSecret: string;
7334
+ } | undefined;
7335
+ client_id?: string | undefined;
7336
+ enterpriseID?: string | undefined;
7337
+ secret?: string | undefined;
7338
+ user_api_rate_limit?: number | undefined;
7339
+ user_credential_required?: boolean | undefined;
7340
+ } | {
7341
+ DATA_TYPE: "box_storage_policies#1.2.0";
7342
+ allow_any_account?: boolean | undefined;
7343
+ auth_callback?: string | undefined;
7344
+ boxAppSettings?: {
7345
+ appAuth: {
7346
+ passphrase: string;
7347
+ privateKey: string;
7348
+ publicKeyID: string;
7349
+ };
7350
+ clientID: string;
7351
+ clientSecret: string;
7352
+ } | undefined;
7353
+ client_id?: string | undefined;
7354
+ enterpriseID?: string | undefined;
7355
+ secret?: string | undefined;
7356
+ user_api_rate_limit?: number | undefined;
7357
+ user_credential_required?: boolean | undefined;
7358
+ } | {
7359
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
7360
+ ceph_admin_key_id?: string | undefined;
7361
+ ceph_admin_secret_key?: string | undefined;
7362
+ s3_buckets?: string[] | undefined;
7363
+ s3_endpoint?: string | undefined;
7364
+ } | {
7365
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
7366
+ allow_any_account?: boolean | undefined;
7367
+ auth_callback?: string | undefined;
7368
+ client_id: string | null;
7369
+ secret: string | null;
7370
+ user_api_rate_limit?: number | undefined;
7371
+ } | {
7372
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
7373
+ auth_callback?: string | undefined;
7374
+ buckets?: string[] | null | undefined;
7375
+ client_id: string | null;
7376
+ projects?: string[] | null | undefined;
7377
+ secret: string | null;
7378
+ service_account_key?: unknown;
7379
+ user_credential_required?: boolean | undefined;
7380
+ } | {
7381
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
7382
+ allow_any_account?: boolean | undefined;
7383
+ auth_callback?: string | undefined;
7384
+ buckets?: string[] | null | undefined;
7385
+ client_id: string | null;
7386
+ projects?: string[] | null | undefined;
7387
+ secret: string | null;
7388
+ service_account_key?: unknown;
7389
+ user_credential_required?: boolean | undefined;
7390
+ } | {
7391
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
7392
+ auth_callback?: string | undefined;
7393
+ client_id: string | null;
7394
+ secret: string | null;
7395
+ user_api_rate_quota?: number | undefined;
7396
+ } | {
7397
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
7398
+ allow_any_account?: boolean | undefined;
7399
+ auth_callback?: string | undefined;
7400
+ client_id: string | null;
7401
+ secret: string | null;
7402
+ user_api_rate_quota?: number | undefined;
7403
+ } | {
7404
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
7405
+ authentication_mech: "krb5" | "unix";
7406
+ authenticator: string;
7407
+ uda_checksum: boolean;
7408
+ } | {
7409
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
7410
+ authentication_mech: "krb5" | "unix";
7411
+ authenticator: string;
7412
+ login_name?: string | undefined;
7413
+ uda_checksum: boolean;
7414
+ } | {
7415
+ DATA_TYPE: "irods_storage_policies#1.0.0";
7416
+ environment?: {
7417
+ name: string;
7418
+ value: string;
7419
+ }[] | undefined;
7420
+ irods_authentication_file?: string | undefined;
7421
+ irods_environment_file: string;
7422
+ } | {
7423
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
7424
+ auth_callback?: string | undefined;
7425
+ client_id: string | null;
7426
+ secret: string | null;
7427
+ tenant?: string | null | undefined;
7428
+ user_api_rate_limit?: number | undefined;
7429
+ } | {
7430
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
7431
+ allow_any_account?: boolean | undefined;
7432
+ auth_callback?: string | undefined;
7433
+ client_id: string | null;
7434
+ secret: string | null;
7435
+ tenant?: string | null | undefined;
7436
+ user_api_rate_limit?: number | undefined;
7437
+ } | {
7438
+ DATA_TYPE: "posix_storage_policies#1.0.0";
7439
+ groups_allow?: string[] | null | undefined;
7440
+ groups_deny?: string[] | null | undefined;
7441
+ } | {
7442
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
7443
+ environment?: {
7444
+ name: string;
7445
+ value: string;
7446
+ }[] | undefined;
7447
+ groups_allow?: string[] | null | undefined;
7448
+ groups_deny?: string[] | null | undefined;
7449
+ stage_app: string;
7450
+ } | undefined;
7451
+ process_user?: string | null | undefined;
7452
+ require_high_assurance?: boolean | null | undefined;
7453
+ require_mfa?: boolean | undefined;
7454
+ restrict_paths?: unknown;
7455
+ users_allow?: string[] | null | undefined;
7456
+ users_deny?: string[] | null | undefined;
7457
+ } | {
7458
+ DATA_TYPE: "storage_gateway#1.2.0";
7459
+ admin_managed_credentials?: boolean | undefined;
7460
+ allowed_domains?: string[] | undefined;
7461
+ authentication_assurance_timeout?: number | null | undefined;
7462
+ authentication_timeout_mins?: number | null | undefined;
7463
+ connector_id?: string | undefined;
7464
+ deleted?: boolean | undefined;
7465
+ display_name?: string | undefined;
7466
+ high_assurance?: boolean | null | undefined;
7467
+ id?: string | undefined;
7468
+ identity_mappings?: ({
7469
+ DATA_TYPE: "external_identity_mapping#1.0.0";
7470
+ command?: string[] | undefined;
7471
+ } | {
7472
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
7473
+ mappings?: {
7474
+ ignore_case?: boolean | undefined;
7475
+ literal?: boolean | undefined;
7476
+ match?: string | undefined;
7477
+ output?: string | undefined;
7478
+ source?: string | undefined;
7479
+ }[] | undefined;
7480
+ })[] | null | undefined;
7481
+ load_dsi_module?: string | null | undefined;
7482
+ policies?: {
7483
+ DATA_TYPE: "s3_storage_policies#1.0.0";
7484
+ s3_buckets?: string[] | undefined;
7485
+ s3_endpoint?: string | undefined;
7486
+ s3_user_credential_required?: boolean | undefined;
7487
+ } | {
7488
+ DATA_TYPE: "s3_storage_policies#1.1.0";
7489
+ s3_buckets?: string[] | undefined;
7490
+ s3_endpoint?: string | undefined;
7491
+ s3_requester_pays?: boolean | undefined;
7492
+ s3_user_credential_required?: boolean | undefined;
7493
+ } | {
7494
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
7495
+ account: string | null;
7496
+ adls: boolean | null;
7497
+ auth_callback?: string | undefined;
7498
+ auth_type: string | null;
7499
+ client_id: string | null;
7500
+ secret: string | null;
7501
+ tenant: string | null;
7502
+ user_credential_required?: boolean | undefined;
7503
+ } | {
7504
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
7505
+ account: string | null;
7506
+ adls: boolean | null;
7507
+ allow_any_account?: boolean | undefined;
7508
+ auth_callback?: string | undefined;
7509
+ auth_type: string | null;
7510
+ client_id: string | null;
7511
+ secret: string | null;
7512
+ tenant: string | null;
7513
+ user_credential_required?: boolean | undefined;
7514
+ } | {
7515
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
7516
+ bp_access_id_file?: string | undefined;
7517
+ s3_endpoint?: string | undefined;
7518
+ } | {
7519
+ DATA_TYPE: "box_storage_policies#1.0.0";
7520
+ boxAppSettings: {
7521
+ appAuth: {
7522
+ passphrase: string;
7523
+ privateKey: string;
7524
+ publicKeyID: string;
7525
+ };
7526
+ clientID: string;
7527
+ clientSecret: string;
7528
+ };
7529
+ enterpriseID: string;
7530
+ } | {
7531
+ DATA_TYPE: "box_storage_policies#1.1.0";
7532
+ auth_callback?: string | undefined;
7533
+ boxAppSettings?: {
7534
+ appAuth: {
7535
+ passphrase: string;
7536
+ privateKey: string;
7537
+ publicKeyID: string;
7538
+ };
7539
+ clientID: string;
7540
+ clientSecret: string;
7541
+ } | undefined;
7542
+ client_id?: string | undefined;
7543
+ enterpriseID?: string | undefined;
7544
+ secret?: string | undefined;
7545
+ user_api_rate_limit?: number | undefined;
7546
+ user_credential_required?: boolean | undefined;
7547
+ } | {
7548
+ DATA_TYPE: "box_storage_policies#1.2.0";
7549
+ allow_any_account?: boolean | undefined;
7550
+ auth_callback?: string | undefined;
7551
+ boxAppSettings?: {
7552
+ appAuth: {
7553
+ passphrase: string;
7554
+ privateKey: string;
7555
+ publicKeyID: string;
7556
+ };
7557
+ clientID: string;
7558
+ clientSecret: string;
7559
+ } | undefined;
7560
+ client_id?: string | undefined;
7561
+ enterpriseID?: string | undefined;
7562
+ secret?: string | undefined;
7563
+ user_api_rate_limit?: number | undefined;
7564
+ user_credential_required?: boolean | undefined;
7565
+ } | {
7566
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
7567
+ ceph_admin_key_id?: string | undefined;
7568
+ ceph_admin_secret_key?: string | undefined;
7569
+ s3_buckets?: string[] | undefined;
7570
+ s3_endpoint?: string | undefined;
7571
+ } | {
7572
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
7573
+ allow_any_account?: boolean | undefined;
7574
+ auth_callback?: string | undefined;
7575
+ client_id: string | null;
7576
+ secret: string | null;
7577
+ user_api_rate_limit?: number | undefined;
7578
+ } | {
7579
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
7580
+ auth_callback?: string | undefined;
7581
+ buckets?: string[] | null | undefined;
7582
+ client_id: string | null;
7583
+ projects?: string[] | null | undefined;
7584
+ secret: string | null;
7585
+ service_account_key?: unknown;
7586
+ user_credential_required?: boolean | undefined;
7587
+ } | {
7588
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
7589
+ allow_any_account?: boolean | undefined;
7590
+ auth_callback?: string | undefined;
7591
+ buckets?: string[] | null | undefined;
7592
+ client_id: string | null;
7593
+ projects?: string[] | null | undefined;
7594
+ secret: string | null;
7595
+ service_account_key?: unknown;
7596
+ user_credential_required?: boolean | undefined;
7597
+ } | {
7598
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
7599
+ auth_callback?: string | undefined;
7600
+ client_id: string | null;
7601
+ secret: string | null;
7602
+ user_api_rate_quota?: number | undefined;
7603
+ } | {
7604
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
7605
+ allow_any_account?: boolean | undefined;
7606
+ auth_callback?: string | undefined;
7607
+ client_id: string | null;
7608
+ secret: string | null;
7609
+ user_api_rate_quota?: number | undefined;
7610
+ } | {
7611
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
7612
+ authentication_mech: "krb5" | "unix";
7613
+ authenticator: string;
7614
+ uda_checksum: boolean;
7615
+ } | {
7616
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
7617
+ authentication_mech: "krb5" | "unix";
7618
+ authenticator: string;
7619
+ login_name?: string | undefined;
7620
+ uda_checksum: boolean;
7621
+ } | {
7622
+ DATA_TYPE: "irods_storage_policies#1.0.0";
7623
+ environment?: {
7624
+ name: string;
7625
+ value: string;
7626
+ }[] | undefined;
7627
+ irods_authentication_file?: string | undefined;
7628
+ irods_environment_file: string;
7629
+ } | {
7630
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
7631
+ auth_callback?: string | undefined;
7632
+ client_id: string | null;
7633
+ secret: string | null;
7634
+ tenant?: string | null | undefined;
7635
+ user_api_rate_limit?: number | undefined;
7636
+ } | {
7637
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
7638
+ allow_any_account?: boolean | undefined;
7639
+ auth_callback?: string | undefined;
7640
+ client_id: string | null;
7641
+ secret: string | null;
7642
+ tenant?: string | null | undefined;
7643
+ user_api_rate_limit?: number | undefined;
7644
+ } | {
7645
+ DATA_TYPE: "posix_storage_policies#1.0.0";
7646
+ groups_allow?: string[] | null | undefined;
7647
+ groups_deny?: string[] | null | undefined;
7648
+ } | {
7649
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
7650
+ environment?: {
7651
+ name: string;
7652
+ value: string;
7653
+ }[] | undefined;
7654
+ groups_allow?: string[] | null | undefined;
7655
+ groups_deny?: string[] | null | undefined;
7656
+ stage_app: string;
7657
+ } | undefined;
7658
+ process_user?: string | null | undefined;
7659
+ require_high_assurance?: boolean | null | undefined;
7660
+ require_mfa?: boolean | undefined;
7661
+ restrict_paths?: unknown;
7662
+ users_allow?: string[] | null | undefined;
7663
+ users_deny?: string[] | null | undefined;
7664
+ })[] | undefined;
7665
+ } & {
7666
+ DATA_TYPE: "result#1.0.0";
7667
+ code: string;
7668
+ data?: Record<string, unknown>[] | undefined;
7669
+ detail?: unknown;
7670
+ has_next_page?: boolean | undefined;
7671
+ http_response_code: number;
7672
+ marker?: string | null | undefined;
7673
+ message?: string | undefined;
7674
+ }>>;
7675
+ getAll: (options?: ({
7676
+ query?: {
7677
+ page_size?: number | undefined;
7678
+ marker?: string | undefined;
7679
+ include?: ("private_policies" | "accounts")[] | undefined;
7680
+ } | undefined;
7681
+ } & {
7682
+ query?: {
7683
+ [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
7684
+ } | undefined;
7685
+ headers?: import("../types.js").Headers | undefined;
7686
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
7687
+ code?: "success" | undefined;
7688
+ data?: ({
7689
+ DATA_TYPE: "storage_gateway#1.0.0";
7690
+ allowed_domains?: string[] | undefined;
7691
+ authentication_assurance_timeout?: number | null | undefined;
7692
+ authentication_timeout_mins?: number | null | undefined;
7693
+ connector_id?: string | undefined;
7694
+ deleted?: boolean | undefined;
7695
+ display_name?: string | undefined;
7696
+ high_assurance?: boolean | null | undefined;
7697
+ id?: string | undefined;
7698
+ identity_mappings?: ({
7699
+ DATA_TYPE: "external_identity_mapping#1.0.0";
7700
+ command?: string[] | undefined;
7701
+ } | {
7702
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
7703
+ mappings?: {
7704
+ ignore_case?: boolean | undefined;
7705
+ literal?: boolean | undefined;
7706
+ match?: string | undefined;
7707
+ output?: string | undefined;
7708
+ source?: string | undefined;
7709
+ }[] | undefined;
7710
+ })[] | null | undefined;
7711
+ load_dsi_module?: string | null | undefined;
7712
+ policies?: {
7713
+ DATA_TYPE: "s3_storage_policies#1.0.0";
7714
+ s3_buckets?: string[] | undefined;
7715
+ s3_endpoint?: string | undefined;
7716
+ s3_user_credential_required?: boolean | undefined;
7717
+ } | {
7718
+ DATA_TYPE: "s3_storage_policies#1.1.0";
7719
+ s3_buckets?: string[] | undefined;
7720
+ s3_endpoint?: string | undefined;
7721
+ s3_requester_pays?: boolean | undefined;
7722
+ s3_user_credential_required?: boolean | undefined;
7723
+ } | {
7724
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
7725
+ account: string | null;
7726
+ adls: boolean | null;
7727
+ auth_callback?: string | undefined;
7728
+ auth_type: string | null;
7729
+ client_id: string | null;
7730
+ secret: string | null;
7731
+ tenant: string | null;
7732
+ user_credential_required?: boolean | undefined;
7733
+ } | {
7734
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
7735
+ account: string | null;
7736
+ adls: boolean | null;
7737
+ allow_any_account?: boolean | undefined;
7738
+ auth_callback?: string | undefined;
7739
+ auth_type: string | null;
7740
+ client_id: string | null;
7741
+ secret: string | null;
7742
+ tenant: string | null;
7743
+ user_credential_required?: boolean | undefined;
7744
+ } | {
7745
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
7746
+ bp_access_id_file?: string | undefined;
7747
+ s3_endpoint?: string | undefined;
7748
+ } | {
7749
+ DATA_TYPE: "box_storage_policies#1.0.0";
7750
+ boxAppSettings: {
7751
+ appAuth: {
7752
+ passphrase: string;
7753
+ privateKey: string;
7754
+ publicKeyID: string;
7755
+ };
7756
+ clientID: string;
7757
+ clientSecret: string;
7758
+ };
7759
+ enterpriseID: string;
7760
+ } | {
7761
+ DATA_TYPE: "box_storage_policies#1.1.0";
7762
+ auth_callback?: string | undefined;
7763
+ boxAppSettings?: {
7764
+ appAuth: {
7765
+ passphrase: string;
7766
+ privateKey: string;
7767
+ publicKeyID: string;
7768
+ };
7769
+ clientID: string;
7770
+ clientSecret: string;
7771
+ } | undefined;
7772
+ client_id?: string | undefined;
7773
+ enterpriseID?: string | undefined;
7774
+ secret?: string | undefined;
7775
+ user_api_rate_limit?: number | undefined;
7776
+ user_credential_required?: boolean | undefined;
7777
+ } | {
7778
+ DATA_TYPE: "box_storage_policies#1.2.0";
7779
+ allow_any_account?: boolean | undefined;
7780
+ auth_callback?: string | undefined;
7781
+ boxAppSettings?: {
7782
+ appAuth: {
7783
+ passphrase: string;
7784
+ privateKey: string;
7785
+ publicKeyID: string;
7786
+ };
7787
+ clientID: string;
7788
+ clientSecret: string;
7789
+ } | undefined;
7790
+ client_id?: string | undefined;
7791
+ enterpriseID?: string | undefined;
7792
+ secret?: string | undefined;
7793
+ user_api_rate_limit?: number | undefined;
7794
+ user_credential_required?: boolean | undefined;
7795
+ } | {
7796
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
7797
+ ceph_admin_key_id?: string | undefined;
7798
+ ceph_admin_secret_key?: string | undefined;
7799
+ s3_buckets?: string[] | undefined;
7800
+ s3_endpoint?: string | undefined;
7801
+ } | {
7802
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
7803
+ allow_any_account?: boolean | undefined;
7804
+ auth_callback?: string | undefined;
7805
+ client_id: string | null;
7806
+ secret: string | null;
7807
+ user_api_rate_limit?: number | undefined;
7808
+ } | {
7809
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
7810
+ auth_callback?: string | undefined;
7811
+ buckets?: string[] | null | undefined;
7812
+ client_id: string | null;
7813
+ projects?: string[] | null | undefined;
7814
+ secret: string | null;
7815
+ service_account_key?: unknown;
7816
+ user_credential_required?: boolean | undefined;
7817
+ } | {
7818
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
7819
+ allow_any_account?: boolean | undefined;
7820
+ auth_callback?: string | undefined;
7821
+ buckets?: string[] | null | undefined;
7822
+ client_id: string | null;
7823
+ projects?: string[] | null | undefined;
7824
+ secret: string | null;
7825
+ service_account_key?: unknown;
7826
+ user_credential_required?: boolean | undefined;
7827
+ } | {
7828
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
7829
+ auth_callback?: string | undefined;
7830
+ client_id: string | null;
7831
+ secret: string | null;
7832
+ user_api_rate_quota?: number | undefined;
7833
+ } | {
7834
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
7835
+ allow_any_account?: boolean | undefined;
7836
+ auth_callback?: string | undefined;
7837
+ client_id: string | null;
7838
+ secret: string | null;
7839
+ user_api_rate_quota?: number | undefined;
7840
+ } | {
7841
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
7842
+ authentication_mech: "krb5" | "unix";
7843
+ authenticator: string;
7844
+ uda_checksum: boolean;
7845
+ } | {
7846
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
7847
+ authentication_mech: "krb5" | "unix";
7848
+ authenticator: string;
7849
+ login_name?: string | undefined;
7850
+ uda_checksum: boolean;
7851
+ } | {
7852
+ DATA_TYPE: "irods_storage_policies#1.0.0";
7853
+ environment?: {
7854
+ name: string;
7855
+ value: string;
7856
+ }[] | undefined;
7857
+ irods_authentication_file?: string | undefined;
7858
+ irods_environment_file: string;
7859
+ } | {
7860
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
7861
+ auth_callback?: string | undefined;
7862
+ client_id: string | null;
7863
+ secret: string | null;
7864
+ tenant?: string | null | undefined;
7865
+ user_api_rate_limit?: number | undefined;
7866
+ } | {
7867
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
7868
+ allow_any_account?: boolean | undefined;
7869
+ auth_callback?: string | undefined;
7870
+ client_id: string | null;
7871
+ secret: string | null;
7872
+ tenant?: string | null | undefined;
7873
+ user_api_rate_limit?: number | undefined;
7874
+ } | {
7875
+ DATA_TYPE: "posix_storage_policies#1.0.0";
7876
+ groups_allow?: string[] | null | undefined;
7877
+ groups_deny?: string[] | null | undefined;
7878
+ } | {
7879
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
7880
+ environment?: {
7881
+ name: string;
7882
+ value: string;
7883
+ }[] | undefined;
7884
+ groups_allow?: string[] | null | undefined;
7885
+ groups_deny?: string[] | null | undefined;
7886
+ stage_app: string;
7887
+ } | undefined;
7888
+ process_user?: string | null | undefined;
7889
+ require_high_assurance?: boolean | null | undefined;
7890
+ restrict_paths?: unknown;
7891
+ users_allow?: string[] | null | undefined;
7892
+ users_deny?: string[] | null | undefined;
7893
+ } | {
7894
+ DATA_TYPE: "storage_gateway#1.1.0";
7895
+ allowed_domains?: string[] | undefined;
7896
+ authentication_assurance_timeout?: number | null | undefined;
7897
+ authentication_timeout_mins?: number | null | undefined;
7898
+ connector_id?: string | undefined;
7899
+ deleted?: boolean | undefined;
7900
+ display_name?: string | undefined;
7901
+ high_assurance?: boolean | null | undefined;
7902
+ id?: string | undefined;
7903
+ identity_mappings?: ({
7904
+ DATA_TYPE: "external_identity_mapping#1.0.0";
7905
+ command?: string[] | undefined;
7906
+ } | {
7907
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
7908
+ mappings?: {
7909
+ ignore_case?: boolean | undefined;
7910
+ literal?: boolean | undefined;
7911
+ match?: string | undefined;
7912
+ output?: string | undefined;
7913
+ source?: string | undefined;
7914
+ }[] | undefined;
7915
+ })[] | null | undefined;
7916
+ load_dsi_module?: string | null | undefined;
7917
+ policies?: {
7918
+ DATA_TYPE: "s3_storage_policies#1.0.0";
7919
+ s3_buckets?: string[] | undefined;
7920
+ s3_endpoint?: string | undefined;
7921
+ s3_user_credential_required?: boolean | undefined;
7922
+ } | {
7923
+ DATA_TYPE: "s3_storage_policies#1.1.0";
7924
+ s3_buckets?: string[] | undefined;
7925
+ s3_endpoint?: string | undefined;
7926
+ s3_requester_pays?: boolean | undefined;
7927
+ s3_user_credential_required?: boolean | undefined;
7928
+ } | {
7929
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
7930
+ account: string | null;
7931
+ adls: boolean | null;
7932
+ auth_callback?: string | undefined;
7933
+ auth_type: string | null;
7934
+ client_id: string | null;
7935
+ secret: string | null;
7936
+ tenant: string | null;
7937
+ user_credential_required?: boolean | undefined;
7938
+ } | {
7939
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
7940
+ account: string | null;
7941
+ adls: boolean | null;
7942
+ allow_any_account?: boolean | undefined;
7943
+ auth_callback?: string | undefined;
7944
+ auth_type: string | null;
7945
+ client_id: string | null;
7946
+ secret: string | null;
7947
+ tenant: string | null;
7948
+ user_credential_required?: boolean | undefined;
7949
+ } | {
7950
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
7951
+ bp_access_id_file?: string | undefined;
7952
+ s3_endpoint?: string | undefined;
7953
+ } | {
7954
+ DATA_TYPE: "box_storage_policies#1.0.0";
7955
+ boxAppSettings: {
7956
+ appAuth: {
7957
+ passphrase: string;
7958
+ privateKey: string;
7959
+ publicKeyID: string;
7960
+ };
7961
+ clientID: string;
7962
+ clientSecret: string;
7963
+ };
7964
+ enterpriseID: string;
7965
+ } | {
7966
+ DATA_TYPE: "box_storage_policies#1.1.0";
7967
+ auth_callback?: string | undefined;
7968
+ boxAppSettings?: {
7969
+ appAuth: {
7970
+ passphrase: string;
7971
+ privateKey: string;
7972
+ publicKeyID: string;
7973
+ };
7974
+ clientID: string;
7975
+ clientSecret: string;
7976
+ } | undefined;
7977
+ client_id?: string | undefined;
7978
+ enterpriseID?: string | undefined;
7979
+ secret?: string | undefined;
7980
+ user_api_rate_limit?: number | undefined;
7981
+ user_credential_required?: boolean | undefined;
7982
+ } | {
7983
+ DATA_TYPE: "box_storage_policies#1.2.0";
7984
+ allow_any_account?: boolean | undefined;
7985
+ auth_callback?: string | undefined;
7986
+ boxAppSettings?: {
7987
+ appAuth: {
7988
+ passphrase: string;
7989
+ privateKey: string;
7990
+ publicKeyID: string;
7991
+ };
7992
+ clientID: string;
7993
+ clientSecret: string;
7994
+ } | undefined;
7995
+ client_id?: string | undefined;
7996
+ enterpriseID?: string | undefined;
7997
+ secret?: string | undefined;
7998
+ user_api_rate_limit?: number | undefined;
7999
+ user_credential_required?: boolean | undefined;
8000
+ } | {
8001
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
8002
+ ceph_admin_key_id?: string | undefined;
8003
+ ceph_admin_secret_key?: string | undefined;
8004
+ s3_buckets?: string[] | undefined;
8005
+ s3_endpoint?: string | undefined;
8006
+ } | {
8007
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
8008
+ allow_any_account?: boolean | undefined;
8009
+ auth_callback?: string | undefined;
8010
+ client_id: string | null;
8011
+ secret: string | null;
8012
+ user_api_rate_limit?: number | undefined;
8013
+ } | {
8014
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
8015
+ auth_callback?: string | undefined;
8016
+ buckets?: string[] | null | undefined;
8017
+ client_id: string | null;
8018
+ projects?: string[] | null | undefined;
8019
+ secret: string | null;
8020
+ service_account_key?: unknown;
8021
+ user_credential_required?: boolean | undefined;
8022
+ } | {
8023
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
8024
+ allow_any_account?: boolean | undefined;
8025
+ auth_callback?: string | undefined;
8026
+ buckets?: string[] | null | undefined;
8027
+ client_id: string | null;
8028
+ projects?: string[] | null | undefined;
8029
+ secret: string | null;
8030
+ service_account_key?: unknown;
8031
+ user_credential_required?: boolean | undefined;
8032
+ } | {
8033
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
8034
+ auth_callback?: string | undefined;
8035
+ client_id: string | null;
8036
+ secret: string | null;
8037
+ user_api_rate_quota?: number | undefined;
8038
+ } | {
8039
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
8040
+ allow_any_account?: boolean | undefined;
8041
+ auth_callback?: string | undefined;
8042
+ client_id: string | null;
8043
+ secret: string | null;
8044
+ user_api_rate_quota?: number | undefined;
8045
+ } | {
8046
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
8047
+ authentication_mech: "krb5" | "unix";
8048
+ authenticator: string;
8049
+ uda_checksum: boolean;
8050
+ } | {
8051
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
8052
+ authentication_mech: "krb5" | "unix";
8053
+ authenticator: string;
8054
+ login_name?: string | undefined;
8055
+ uda_checksum: boolean;
8056
+ } | {
8057
+ DATA_TYPE: "irods_storage_policies#1.0.0";
8058
+ environment?: {
8059
+ name: string;
8060
+ value: string;
8061
+ }[] | undefined;
8062
+ irods_authentication_file?: string | undefined;
8063
+ irods_environment_file: string;
8064
+ } | {
8065
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
8066
+ auth_callback?: string | undefined;
8067
+ client_id: string | null;
8068
+ secret: string | null;
8069
+ tenant?: string | null | undefined;
8070
+ user_api_rate_limit?: number | undefined;
8071
+ } | {
8072
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
8073
+ allow_any_account?: boolean | undefined;
8074
+ auth_callback?: string | undefined;
8075
+ client_id: string | null;
8076
+ secret: string | null;
8077
+ tenant?: string | null | undefined;
8078
+ user_api_rate_limit?: number | undefined;
8079
+ } | {
8080
+ DATA_TYPE: "posix_storage_policies#1.0.0";
8081
+ groups_allow?: string[] | null | undefined;
8082
+ groups_deny?: string[] | null | undefined;
8083
+ } | {
8084
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
8085
+ environment?: {
8086
+ name: string;
8087
+ value: string;
8088
+ }[] | undefined;
8089
+ groups_allow?: string[] | null | undefined;
8090
+ groups_deny?: string[] | null | undefined;
8091
+ stage_app: string;
8092
+ } | undefined;
8093
+ process_user?: string | null | undefined;
8094
+ require_high_assurance?: boolean | null | undefined;
8095
+ require_mfa?: boolean | undefined;
8096
+ restrict_paths?: unknown;
8097
+ users_allow?: string[] | null | undefined;
8098
+ users_deny?: string[] | null | undefined;
8099
+ } | {
8100
+ DATA_TYPE: "storage_gateway#1.2.0";
8101
+ admin_managed_credentials?: boolean | undefined;
8102
+ allowed_domains?: string[] | undefined;
8103
+ authentication_assurance_timeout?: number | null | undefined;
8104
+ authentication_timeout_mins?: number | null | undefined;
8105
+ connector_id?: string | undefined;
8106
+ deleted?: boolean | undefined;
8107
+ display_name?: string | undefined;
8108
+ high_assurance?: boolean | null | undefined;
8109
+ id?: string | undefined;
8110
+ identity_mappings?: ({
8111
+ DATA_TYPE: "external_identity_mapping#1.0.0";
8112
+ command?: string[] | undefined;
8113
+ } | {
8114
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
8115
+ mappings?: {
8116
+ ignore_case?: boolean | undefined;
8117
+ literal?: boolean | undefined;
8118
+ match?: string | undefined;
8119
+ output?: string | undefined;
8120
+ source?: string | undefined;
8121
+ }[] | undefined;
8122
+ })[] | null | undefined;
8123
+ load_dsi_module?: string | null | undefined;
8124
+ policies?: {
8125
+ DATA_TYPE: "s3_storage_policies#1.0.0";
8126
+ s3_buckets?: string[] | undefined;
8127
+ s3_endpoint?: string | undefined;
8128
+ s3_user_credential_required?: boolean | undefined;
8129
+ } | {
8130
+ DATA_TYPE: "s3_storage_policies#1.1.0";
8131
+ s3_buckets?: string[] | undefined;
8132
+ s3_endpoint?: string | undefined;
8133
+ s3_requester_pays?: boolean | undefined;
8134
+ s3_user_credential_required?: boolean | undefined;
8135
+ } | {
8136
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
8137
+ account: string | null;
8138
+ adls: boolean | null;
8139
+ auth_callback?: string | undefined;
8140
+ auth_type: string | null;
8141
+ client_id: string | null;
8142
+ secret: string | null;
8143
+ tenant: string | null;
8144
+ user_credential_required?: boolean | undefined;
8145
+ } | {
8146
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
8147
+ account: string | null;
8148
+ adls: boolean | null;
8149
+ allow_any_account?: boolean | undefined;
8150
+ auth_callback?: string | undefined;
8151
+ auth_type: string | null;
8152
+ client_id: string | null;
8153
+ secret: string | null;
8154
+ tenant: string | null;
8155
+ user_credential_required?: boolean | undefined;
8156
+ } | {
8157
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
8158
+ bp_access_id_file?: string | undefined;
8159
+ s3_endpoint?: string | undefined;
8160
+ } | {
8161
+ DATA_TYPE: "box_storage_policies#1.0.0";
8162
+ boxAppSettings: {
8163
+ appAuth: {
8164
+ passphrase: string;
8165
+ privateKey: string;
8166
+ publicKeyID: string;
8167
+ };
8168
+ clientID: string;
8169
+ clientSecret: string;
8170
+ };
8171
+ enterpriseID: string;
8172
+ } | {
8173
+ DATA_TYPE: "box_storage_policies#1.1.0";
8174
+ auth_callback?: string | undefined;
8175
+ boxAppSettings?: {
8176
+ appAuth: {
8177
+ passphrase: string;
8178
+ privateKey: string;
8179
+ publicKeyID: string;
8180
+ };
8181
+ clientID: string;
8182
+ clientSecret: string;
8183
+ } | undefined;
8184
+ client_id?: string | undefined;
8185
+ enterpriseID?: string | undefined;
8186
+ secret?: string | undefined;
8187
+ user_api_rate_limit?: number | undefined;
8188
+ user_credential_required?: boolean | undefined;
8189
+ } | {
8190
+ DATA_TYPE: "box_storage_policies#1.2.0";
8191
+ allow_any_account?: boolean | undefined;
8192
+ auth_callback?: string | undefined;
8193
+ boxAppSettings?: {
8194
+ appAuth: {
8195
+ passphrase: string;
8196
+ privateKey: string;
8197
+ publicKeyID: string;
8198
+ };
8199
+ clientID: string;
8200
+ clientSecret: string;
8201
+ } | undefined;
8202
+ client_id?: string | undefined;
8203
+ enterpriseID?: string | undefined;
8204
+ secret?: string | undefined;
8205
+ user_api_rate_limit?: number | undefined;
8206
+ user_credential_required?: boolean | undefined;
8207
+ } | {
8208
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
8209
+ ceph_admin_key_id?: string | undefined;
8210
+ ceph_admin_secret_key?: string | undefined;
8211
+ s3_buckets?: string[] | undefined;
8212
+ s3_endpoint?: string | undefined;
8213
+ } | {
8214
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
8215
+ allow_any_account?: boolean | undefined;
8216
+ auth_callback?: string | undefined;
8217
+ client_id: string | null;
8218
+ secret: string | null;
8219
+ user_api_rate_limit?: number | undefined;
8220
+ } | {
8221
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
8222
+ auth_callback?: string | undefined;
8223
+ buckets?: string[] | null | undefined;
8224
+ client_id: string | null;
8225
+ projects?: string[] | null | undefined;
8226
+ secret: string | null;
8227
+ service_account_key?: unknown;
8228
+ user_credential_required?: boolean | undefined;
8229
+ } | {
8230
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
8231
+ allow_any_account?: boolean | undefined;
8232
+ auth_callback?: string | undefined;
8233
+ buckets?: string[] | null | undefined;
8234
+ client_id: string | null;
8235
+ projects?: string[] | null | undefined;
8236
+ secret: string | null;
8237
+ service_account_key?: unknown;
8238
+ user_credential_required?: boolean | undefined;
8239
+ } | {
8240
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
8241
+ auth_callback?: string | undefined;
8242
+ client_id: string | null;
8243
+ secret: string | null;
8244
+ user_api_rate_quota?: number | undefined;
8245
+ } | {
8246
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
8247
+ allow_any_account?: boolean | undefined;
8248
+ auth_callback?: string | undefined;
8249
+ client_id: string | null;
8250
+ secret: string | null;
8251
+ user_api_rate_quota?: number | undefined;
8252
+ } | {
8253
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
8254
+ authentication_mech: "krb5" | "unix";
8255
+ authenticator: string;
8256
+ uda_checksum: boolean;
8257
+ } | {
8258
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
8259
+ authentication_mech: "krb5" | "unix";
8260
+ authenticator: string;
8261
+ login_name?: string | undefined;
8262
+ uda_checksum: boolean;
8263
+ } | {
8264
+ DATA_TYPE: "irods_storage_policies#1.0.0";
8265
+ environment?: {
8266
+ name: string;
8267
+ value: string;
8268
+ }[] | undefined;
8269
+ irods_authentication_file?: string | undefined;
8270
+ irods_environment_file: string;
8271
+ } | {
8272
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
8273
+ auth_callback?: string | undefined;
8274
+ client_id: string | null;
8275
+ secret: string | null;
8276
+ tenant?: string | null | undefined;
8277
+ user_api_rate_limit?: number | undefined;
8278
+ } | {
8279
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
8280
+ allow_any_account?: boolean | undefined;
8281
+ auth_callback?: string | undefined;
8282
+ client_id: string | null;
8283
+ secret: string | null;
8284
+ tenant?: string | null | undefined;
8285
+ user_api_rate_limit?: number | undefined;
8286
+ } | {
8287
+ DATA_TYPE: "posix_storage_policies#1.0.0";
8288
+ groups_allow?: string[] | null | undefined;
8289
+ groups_deny?: string[] | null | undefined;
8290
+ } | {
8291
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
8292
+ environment?: {
8293
+ name: string;
8294
+ value: string;
8295
+ }[] | undefined;
8296
+ groups_allow?: string[] | null | undefined;
8297
+ groups_deny?: string[] | null | undefined;
8298
+ stage_app: string;
8299
+ } | undefined;
8300
+ process_user?: string | null | undefined;
8301
+ require_high_assurance?: boolean | null | undefined;
8302
+ require_mfa?: boolean | undefined;
8303
+ restrict_paths?: unknown;
8304
+ users_allow?: string[] | null | undefined;
8305
+ users_deny?: string[] | null | undefined;
8306
+ })[] | undefined;
8307
+ } & {
8308
+ DATA_TYPE: "result#1.0.0";
8309
+ code: string;
8310
+ data?: Record<string, unknown>[] | undefined;
8311
+ detail?: unknown;
8312
+ has_next_page?: boolean | undefined;
8313
+ http_response_code: number;
8314
+ marker?: string | null | undefined;
8315
+ message?: string | undefined;
8316
+ }>>;
8317
+ create: (options: ({
8318
+ payload: {
8319
+ DATA_TYPE: "storage_gateway#1.0.0";
8320
+ allowed_domains?: string[] | undefined;
8321
+ authentication_assurance_timeout?: number | null | undefined;
8322
+ authentication_timeout_mins?: number | null | undefined;
8323
+ connector_id?: string | undefined;
8324
+ deleted?: boolean | undefined;
8325
+ display_name?: string | undefined;
8326
+ high_assurance?: boolean | null | undefined;
8327
+ id?: string | undefined;
8328
+ identity_mappings?: ({
8329
+ DATA_TYPE: "external_identity_mapping#1.0.0";
8330
+ command?: string[] | undefined;
8331
+ } | {
8332
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
8333
+ mappings?: {
8334
+ ignore_case?: boolean | undefined;
8335
+ literal?: boolean | undefined;
8336
+ match?: string | undefined;
8337
+ output?: string | undefined;
8338
+ source?: string | undefined;
8339
+ }[] | undefined;
8340
+ })[] | null | undefined;
8341
+ load_dsi_module?: string | null | undefined;
8342
+ policies?: {
8343
+ DATA_TYPE: "s3_storage_policies#1.0.0";
8344
+ s3_buckets?: string[] | undefined;
8345
+ s3_endpoint?: string | undefined;
8346
+ s3_user_credential_required?: boolean | undefined;
8347
+ } | {
8348
+ DATA_TYPE: "s3_storage_policies#1.1.0";
8349
+ s3_buckets?: string[] | undefined;
8350
+ s3_endpoint?: string | undefined;
8351
+ s3_requester_pays?: boolean | undefined;
8352
+ s3_user_credential_required?: boolean | undefined;
8353
+ } | {
8354
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
8355
+ account: string | null;
8356
+ adls: boolean | null;
8357
+ auth_callback?: string | undefined;
8358
+ auth_type: string | null;
8359
+ client_id: string | null;
8360
+ secret: string | null;
8361
+ tenant: string | null;
8362
+ user_credential_required?: boolean | undefined;
8363
+ } | {
8364
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
8365
+ account: string | null;
8366
+ adls: boolean | null;
8367
+ allow_any_account?: boolean | undefined;
8368
+ auth_callback?: string | undefined;
8369
+ auth_type: string | null;
8370
+ client_id: string | null;
8371
+ secret: string | null;
8372
+ tenant: string | null;
8373
+ user_credential_required?: boolean | undefined;
8374
+ } | {
8375
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
8376
+ bp_access_id_file?: string | undefined;
8377
+ s3_endpoint?: string | undefined;
8378
+ } | {
8379
+ DATA_TYPE: "box_storage_policies#1.0.0";
8380
+ boxAppSettings: {
8381
+ appAuth: {
8382
+ passphrase: string;
8383
+ privateKey: string;
8384
+ publicKeyID: string;
8385
+ };
8386
+ clientID: string;
8387
+ clientSecret: string;
8388
+ };
8389
+ enterpriseID: string;
8390
+ } | {
8391
+ DATA_TYPE: "box_storage_policies#1.1.0";
8392
+ auth_callback?: string | undefined;
8393
+ boxAppSettings?: {
8394
+ appAuth: {
8395
+ passphrase: string;
8396
+ privateKey: string;
8397
+ publicKeyID: string;
8398
+ };
8399
+ clientID: string;
8400
+ clientSecret: string;
8401
+ } | undefined;
8402
+ client_id?: string | undefined;
8403
+ enterpriseID?: string | undefined;
8404
+ secret?: string | undefined;
8405
+ user_api_rate_limit?: number | undefined;
8406
+ user_credential_required?: boolean | undefined;
8407
+ } | {
8408
+ DATA_TYPE: "box_storage_policies#1.2.0";
8409
+ allow_any_account?: boolean | undefined;
8410
+ auth_callback?: string | undefined;
8411
+ boxAppSettings?: {
8412
+ appAuth: {
8413
+ passphrase: string;
8414
+ privateKey: string;
8415
+ publicKeyID: string;
8416
+ };
8417
+ clientID: string;
8418
+ clientSecret: string;
8419
+ } | undefined;
8420
+ client_id?: string | undefined;
8421
+ enterpriseID?: string | undefined;
8422
+ secret?: string | undefined;
8423
+ user_api_rate_limit?: number | undefined;
8424
+ user_credential_required?: boolean | undefined;
8425
+ } | {
8426
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
8427
+ ceph_admin_key_id?: string | undefined;
8428
+ ceph_admin_secret_key?: string | undefined;
8429
+ s3_buckets?: string[] | undefined;
8430
+ s3_endpoint?: string | undefined;
8431
+ } | {
8432
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
8433
+ allow_any_account?: boolean | undefined;
8434
+ auth_callback?: string | undefined;
8435
+ client_id: string | null;
8436
+ secret: string | null;
8437
+ user_api_rate_limit?: number | undefined;
8438
+ } | {
8439
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
8440
+ auth_callback?: string | undefined;
8441
+ buckets?: string[] | null | undefined;
8442
+ client_id: string | null;
8443
+ projects?: string[] | null | undefined;
8444
+ secret: string | null;
8445
+ service_account_key?: unknown;
8446
+ user_credential_required?: boolean | undefined;
8447
+ } | {
8448
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
8449
+ allow_any_account?: boolean | undefined;
8450
+ auth_callback?: string | undefined;
8451
+ buckets?: string[] | null | undefined;
8452
+ client_id: string | null;
8453
+ projects?: string[] | null | undefined;
8454
+ secret: string | null;
8455
+ service_account_key?: unknown;
8456
+ user_credential_required?: boolean | undefined;
8457
+ } | {
8458
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
8459
+ auth_callback?: string | undefined;
8460
+ client_id: string | null;
8461
+ secret: string | null;
8462
+ user_api_rate_quota?: number | undefined;
8463
+ } | {
8464
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
8465
+ allow_any_account?: boolean | undefined;
8466
+ auth_callback?: string | undefined;
8467
+ client_id: string | null;
8468
+ secret: string | null;
8469
+ user_api_rate_quota?: number | undefined;
8470
+ } | {
8471
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
8472
+ authentication_mech: "krb5" | "unix";
8473
+ authenticator: string;
8474
+ uda_checksum: boolean;
8475
+ } | {
8476
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
8477
+ authentication_mech: "krb5" | "unix";
8478
+ authenticator: string;
8479
+ login_name?: string | undefined;
8480
+ uda_checksum: boolean;
8481
+ } | {
8482
+ DATA_TYPE: "irods_storage_policies#1.0.0";
8483
+ environment?: {
8484
+ name: string;
8485
+ value: string;
8486
+ }[] | undefined;
8487
+ irods_authentication_file?: string | undefined;
8488
+ irods_environment_file: string;
8489
+ } | {
8490
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
8491
+ auth_callback?: string | undefined;
8492
+ client_id: string | null;
8493
+ secret: string | null;
8494
+ tenant?: string | null | undefined;
8495
+ user_api_rate_limit?: number | undefined;
8496
+ } | {
8497
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
8498
+ allow_any_account?: boolean | undefined;
8499
+ auth_callback?: string | undefined;
8500
+ client_id: string | null;
8501
+ secret: string | null;
8502
+ tenant?: string | null | undefined;
8503
+ user_api_rate_limit?: number | undefined;
8504
+ } | {
8505
+ DATA_TYPE: "posix_storage_policies#1.0.0";
8506
+ groups_allow?: string[] | null | undefined;
8507
+ groups_deny?: string[] | null | undefined;
8508
+ } | {
8509
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
8510
+ environment?: {
8511
+ name: string;
8512
+ value: string;
8513
+ }[] | undefined;
8514
+ groups_allow?: string[] | null | undefined;
8515
+ groups_deny?: string[] | null | undefined;
8516
+ stage_app: string;
8517
+ } | undefined;
8518
+ process_user?: string | null | undefined;
8519
+ require_high_assurance?: boolean | null | undefined;
8520
+ restrict_paths?: unknown;
8521
+ users_allow?: string[] | null | undefined;
8522
+ users_deny?: string[] | null | undefined;
8523
+ } | {
8524
+ DATA_TYPE: "storage_gateway#1.1.0";
8525
+ allowed_domains?: string[] | undefined;
8526
+ authentication_assurance_timeout?: number | null | undefined;
8527
+ authentication_timeout_mins?: number | null | undefined;
8528
+ connector_id?: string | undefined;
8529
+ deleted?: boolean | undefined;
8530
+ display_name?: string | undefined;
8531
+ high_assurance?: boolean | null | undefined;
8532
+ id?: string | undefined;
8533
+ identity_mappings?: ({
8534
+ DATA_TYPE: "external_identity_mapping#1.0.0";
8535
+ command?: string[] | undefined;
8536
+ } | {
8537
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
8538
+ mappings?: {
8539
+ ignore_case?: boolean | undefined;
8540
+ literal?: boolean | undefined;
8541
+ match?: string | undefined;
8542
+ output?: string | undefined;
8543
+ source?: string | undefined;
8544
+ }[] | undefined;
8545
+ })[] | null | undefined;
8546
+ load_dsi_module?: string | null | undefined;
8547
+ policies?: {
8548
+ DATA_TYPE: "s3_storage_policies#1.0.0";
8549
+ s3_buckets?: string[] | undefined;
8550
+ s3_endpoint?: string | undefined;
8551
+ s3_user_credential_required?: boolean | undefined;
8552
+ } | {
8553
+ DATA_TYPE: "s3_storage_policies#1.1.0";
8554
+ s3_buckets?: string[] | undefined;
8555
+ s3_endpoint?: string | undefined;
8556
+ s3_requester_pays?: boolean | undefined;
8557
+ s3_user_credential_required?: boolean | undefined;
8558
+ } | {
8559
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
8560
+ account: string | null;
8561
+ adls: boolean | null;
8562
+ auth_callback?: string | undefined;
8563
+ auth_type: string | null;
8564
+ client_id: string | null;
8565
+ secret: string | null;
8566
+ tenant: string | null;
8567
+ user_credential_required?: boolean | undefined;
8568
+ } | {
8569
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
8570
+ account: string | null;
8571
+ adls: boolean | null;
8572
+ allow_any_account?: boolean | undefined;
8573
+ auth_callback?: string | undefined;
8574
+ auth_type: string | null;
8575
+ client_id: string | null;
8576
+ secret: string | null;
8577
+ tenant: string | null;
8578
+ user_credential_required?: boolean | undefined;
8579
+ } | {
8580
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
8581
+ bp_access_id_file?: string | undefined;
8582
+ s3_endpoint?: string | undefined;
8583
+ } | {
8584
+ DATA_TYPE: "box_storage_policies#1.0.0";
8585
+ boxAppSettings: {
8586
+ appAuth: {
8587
+ passphrase: string;
8588
+ privateKey: string;
8589
+ publicKeyID: string;
8590
+ };
8591
+ clientID: string;
8592
+ clientSecret: string;
8593
+ };
8594
+ enterpriseID: string;
8595
+ } | {
8596
+ DATA_TYPE: "box_storage_policies#1.1.0";
8597
+ auth_callback?: string | undefined;
8598
+ boxAppSettings?: {
8599
+ appAuth: {
8600
+ passphrase: string;
8601
+ privateKey: string;
8602
+ publicKeyID: string;
8603
+ };
8604
+ clientID: string;
8605
+ clientSecret: string;
8606
+ } | undefined;
8607
+ client_id?: string | undefined;
8608
+ enterpriseID?: string | undefined;
8609
+ secret?: string | undefined;
8610
+ user_api_rate_limit?: number | undefined;
8611
+ user_credential_required?: boolean | undefined;
8612
+ } | {
8613
+ DATA_TYPE: "box_storage_policies#1.2.0";
8614
+ allow_any_account?: boolean | undefined;
8615
+ auth_callback?: string | undefined;
8616
+ boxAppSettings?: {
8617
+ appAuth: {
8618
+ passphrase: string;
8619
+ privateKey: string;
8620
+ publicKeyID: string;
8621
+ };
8622
+ clientID: string;
8623
+ clientSecret: string;
8624
+ } | undefined;
8625
+ client_id?: string | undefined;
8626
+ enterpriseID?: string | undefined;
8627
+ secret?: string | undefined;
8628
+ user_api_rate_limit?: number | undefined;
8629
+ user_credential_required?: boolean | undefined;
8630
+ } | {
8631
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
8632
+ ceph_admin_key_id?: string | undefined;
8633
+ ceph_admin_secret_key?: string | undefined;
8634
+ s3_buckets?: string[] | undefined;
8635
+ s3_endpoint?: string | undefined;
8636
+ } | {
8637
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
8638
+ allow_any_account?: boolean | undefined;
8639
+ auth_callback?: string | undefined;
8640
+ client_id: string | null;
8641
+ secret: string | null;
8642
+ user_api_rate_limit?: number | undefined;
8643
+ } | {
8644
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
8645
+ auth_callback?: string | undefined;
8646
+ buckets?: string[] | null | undefined;
8647
+ client_id: string | null;
8648
+ projects?: string[] | null | undefined;
8649
+ secret: string | null;
8650
+ service_account_key?: unknown;
8651
+ user_credential_required?: boolean | undefined;
8652
+ } | {
8653
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
8654
+ allow_any_account?: boolean | undefined;
8655
+ auth_callback?: string | undefined;
8656
+ buckets?: string[] | null | undefined;
8657
+ client_id: string | null;
8658
+ projects?: string[] | null | undefined;
8659
+ secret: string | null;
8660
+ service_account_key?: unknown;
8661
+ user_credential_required?: boolean | undefined;
8662
+ } | {
8663
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
8664
+ auth_callback?: string | undefined;
8665
+ client_id: string | null;
8666
+ secret: string | null;
8667
+ user_api_rate_quota?: number | undefined;
8668
+ } | {
8669
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
8670
+ allow_any_account?: boolean | undefined;
8671
+ auth_callback?: string | undefined;
8672
+ client_id: string | null;
8673
+ secret: string | null;
8674
+ user_api_rate_quota?: number | undefined;
8675
+ } | {
8676
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
8677
+ authentication_mech: "krb5" | "unix";
8678
+ authenticator: string;
8679
+ uda_checksum: boolean;
8680
+ } | {
8681
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
8682
+ authentication_mech: "krb5" | "unix";
8683
+ authenticator: string;
8684
+ login_name?: string | undefined;
8685
+ uda_checksum: boolean;
8686
+ } | {
8687
+ DATA_TYPE: "irods_storage_policies#1.0.0";
8688
+ environment?: {
8689
+ name: string;
8690
+ value: string;
8691
+ }[] | undefined;
8692
+ irods_authentication_file?: string | undefined;
8693
+ irods_environment_file: string;
8694
+ } | {
8695
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
8696
+ auth_callback?: string | undefined;
8697
+ client_id: string | null;
8698
+ secret: string | null;
8699
+ tenant?: string | null | undefined;
8700
+ user_api_rate_limit?: number | undefined;
8701
+ } | {
8702
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
8703
+ allow_any_account?: boolean | undefined;
8704
+ auth_callback?: string | undefined;
8705
+ client_id: string | null;
8706
+ secret: string | null;
8707
+ tenant?: string | null | undefined;
8708
+ user_api_rate_limit?: number | undefined;
8709
+ } | {
8710
+ DATA_TYPE: "posix_storage_policies#1.0.0";
8711
+ groups_allow?: string[] | null | undefined;
8712
+ groups_deny?: string[] | null | undefined;
8713
+ } | {
8714
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
8715
+ environment?: {
8716
+ name: string;
8717
+ value: string;
8718
+ }[] | undefined;
8719
+ groups_allow?: string[] | null | undefined;
8720
+ groups_deny?: string[] | null | undefined;
8721
+ stage_app: string;
8722
+ } | undefined;
8723
+ process_user?: string | null | undefined;
8724
+ require_high_assurance?: boolean | null | undefined;
8725
+ require_mfa?: boolean | undefined;
8726
+ restrict_paths?: unknown;
8727
+ users_allow?: string[] | null | undefined;
8728
+ users_deny?: string[] | null | undefined;
8729
+ } | {
8730
+ DATA_TYPE: "storage_gateway#1.2.0";
8731
+ admin_managed_credentials?: boolean | undefined;
8732
+ allowed_domains?: string[] | undefined;
8733
+ authentication_assurance_timeout?: number | null | undefined;
8734
+ authentication_timeout_mins?: number | null | undefined;
8735
+ connector_id?: string | undefined;
8736
+ deleted?: boolean | undefined;
8737
+ display_name?: string | undefined;
8738
+ high_assurance?: boolean | null | undefined;
8739
+ id?: string | undefined;
8740
+ identity_mappings?: ({
8741
+ DATA_TYPE: "external_identity_mapping#1.0.0";
8742
+ command?: string[] | undefined;
8743
+ } | {
8744
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
8745
+ mappings?: {
8746
+ ignore_case?: boolean | undefined;
8747
+ literal?: boolean | undefined;
8748
+ match?: string | undefined;
8749
+ output?: string | undefined;
8750
+ source?: string | undefined;
8751
+ }[] | undefined;
8752
+ })[] | null | undefined;
8753
+ load_dsi_module?: string | null | undefined;
8754
+ policies?: {
8755
+ DATA_TYPE: "s3_storage_policies#1.0.0";
8756
+ s3_buckets?: string[] | undefined;
8757
+ s3_endpoint?: string | undefined;
8758
+ s3_user_credential_required?: boolean | undefined;
8759
+ } | {
8760
+ DATA_TYPE: "s3_storage_policies#1.1.0";
8761
+ s3_buckets?: string[] | undefined;
8762
+ s3_endpoint?: string | undefined;
8763
+ s3_requester_pays?: boolean | undefined;
8764
+ s3_user_credential_required?: boolean | undefined;
8765
+ } | {
8766
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
8767
+ account: string | null;
8768
+ adls: boolean | null;
8769
+ auth_callback?: string | undefined;
8770
+ auth_type: string | null;
8771
+ client_id: string | null;
8772
+ secret: string | null;
8773
+ tenant: string | null;
8774
+ user_credential_required?: boolean | undefined;
8775
+ } | {
8776
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
8777
+ account: string | null;
8778
+ adls: boolean | null;
8779
+ allow_any_account?: boolean | undefined;
8780
+ auth_callback?: string | undefined;
8781
+ auth_type: string | null;
8782
+ client_id: string | null;
8783
+ secret: string | null;
8784
+ tenant: string | null;
8785
+ user_credential_required?: boolean | undefined;
8786
+ } | {
8787
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
8788
+ bp_access_id_file?: string | undefined;
8789
+ s3_endpoint?: string | undefined;
8790
+ } | {
8791
+ DATA_TYPE: "box_storage_policies#1.0.0";
8792
+ boxAppSettings: {
8793
+ appAuth: {
8794
+ passphrase: string;
8795
+ privateKey: string;
8796
+ publicKeyID: string;
8797
+ };
8798
+ clientID: string;
8799
+ clientSecret: string;
8800
+ };
8801
+ enterpriseID: string;
8802
+ } | {
8803
+ DATA_TYPE: "box_storage_policies#1.1.0";
8804
+ auth_callback?: string | undefined;
8805
+ boxAppSettings?: {
8806
+ appAuth: {
8807
+ passphrase: string;
8808
+ privateKey: string;
8809
+ publicKeyID: string;
8810
+ };
8811
+ clientID: string;
8812
+ clientSecret: string;
8813
+ } | undefined;
8814
+ client_id?: string | undefined;
8815
+ enterpriseID?: string | undefined;
8816
+ secret?: string | undefined;
8817
+ user_api_rate_limit?: number | undefined;
8818
+ user_credential_required?: boolean | undefined;
8819
+ } | {
8820
+ DATA_TYPE: "box_storage_policies#1.2.0";
8821
+ allow_any_account?: boolean | undefined;
8822
+ auth_callback?: string | undefined;
8823
+ boxAppSettings?: {
8824
+ appAuth: {
8825
+ passphrase: string;
8826
+ privateKey: string;
8827
+ publicKeyID: string;
8828
+ };
8829
+ clientID: string;
8830
+ clientSecret: string;
8831
+ } | undefined;
8832
+ client_id?: string | undefined;
8833
+ enterpriseID?: string | undefined;
8834
+ secret?: string | undefined;
8835
+ user_api_rate_limit?: number | undefined;
8836
+ user_credential_required?: boolean | undefined;
8837
+ } | {
8838
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
8839
+ ceph_admin_key_id?: string | undefined;
8840
+ ceph_admin_secret_key?: string | undefined;
8841
+ s3_buckets?: string[] | undefined;
8842
+ s3_endpoint?: string | undefined;
8843
+ } | {
8844
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
8845
+ allow_any_account?: boolean | undefined;
8846
+ auth_callback?: string | undefined;
8847
+ client_id: string | null;
8848
+ secret: string | null;
8849
+ user_api_rate_limit?: number | undefined;
8850
+ } | {
8851
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
8852
+ auth_callback?: string | undefined;
8853
+ buckets?: string[] | null | undefined;
8854
+ client_id: string | null;
8855
+ projects?: string[] | null | undefined;
8856
+ secret: string | null;
8857
+ service_account_key?: unknown;
8858
+ user_credential_required?: boolean | undefined;
8859
+ } | {
8860
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
8861
+ allow_any_account?: boolean | undefined;
8862
+ auth_callback?: string | undefined;
8863
+ buckets?: string[] | null | undefined;
8864
+ client_id: string | null;
8865
+ projects?: string[] | null | undefined;
8866
+ secret: string | null;
8867
+ service_account_key?: unknown;
8868
+ user_credential_required?: boolean | undefined;
8869
+ } | {
8870
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
8871
+ auth_callback?: string | undefined;
8872
+ client_id: string | null;
8873
+ secret: string | null;
8874
+ user_api_rate_quota?: number | undefined;
8875
+ } | {
8876
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
8877
+ allow_any_account?: boolean | undefined;
8878
+ auth_callback?: string | undefined;
8879
+ client_id: string | null;
8880
+ secret: string | null;
8881
+ user_api_rate_quota?: number | undefined;
8882
+ } | {
8883
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
8884
+ authentication_mech: "krb5" | "unix";
8885
+ authenticator: string;
8886
+ uda_checksum: boolean;
8887
+ } | {
8888
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
8889
+ authentication_mech: "krb5" | "unix";
8890
+ authenticator: string;
8891
+ login_name?: string | undefined;
8892
+ uda_checksum: boolean;
8893
+ } | {
8894
+ DATA_TYPE: "irods_storage_policies#1.0.0";
8895
+ environment?: {
8896
+ name: string;
8897
+ value: string;
8898
+ }[] | undefined;
8899
+ irods_authentication_file?: string | undefined;
8900
+ irods_environment_file: string;
8901
+ } | {
8902
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
8903
+ auth_callback?: string | undefined;
8904
+ client_id: string | null;
8905
+ secret: string | null;
8906
+ tenant?: string | null | undefined;
8907
+ user_api_rate_limit?: number | undefined;
8908
+ } | {
8909
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
8910
+ allow_any_account?: boolean | undefined;
8911
+ auth_callback?: string | undefined;
8912
+ client_id: string | null;
8913
+ secret: string | null;
8914
+ tenant?: string | null | undefined;
8915
+ user_api_rate_limit?: number | undefined;
8916
+ } | {
8917
+ DATA_TYPE: "posix_storage_policies#1.0.0";
8918
+ groups_allow?: string[] | null | undefined;
8919
+ groups_deny?: string[] | null | undefined;
8920
+ } | {
8921
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
8922
+ environment?: {
8923
+ name: string;
8924
+ value: string;
8925
+ }[] | undefined;
8926
+ groups_allow?: string[] | null | undefined;
8927
+ groups_deny?: string[] | null | undefined;
8928
+ stage_app: string;
8929
+ } | undefined;
8930
+ process_user?: string | null | undefined;
8931
+ require_high_assurance?: boolean | null | undefined;
8932
+ require_mfa?: boolean | undefined;
8933
+ restrict_paths?: unknown;
8934
+ users_allow?: string[] | null | undefined;
8935
+ users_deny?: string[] | null | undefined;
8936
+ };
8937
+ } & {
8938
+ query?: {
8939
+ [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
8940
+ } | undefined;
8941
+ headers?: import("../types.js").Headers | undefined;
8942
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
8943
+ code?: "success" | undefined;
8944
+ data?: ({
8945
+ DATA_TYPE: "storage_gateway#1.0.0";
8946
+ allowed_domains?: string[] | undefined;
8947
+ authentication_assurance_timeout?: number | null | undefined;
8948
+ authentication_timeout_mins?: number | null | undefined;
8949
+ connector_id?: string | undefined;
8950
+ deleted?: boolean | undefined;
8951
+ display_name?: string | undefined;
8952
+ high_assurance?: boolean | null | undefined;
8953
+ id?: string | undefined;
8954
+ identity_mappings?: ({
8955
+ DATA_TYPE: "external_identity_mapping#1.0.0";
8956
+ command?: string[] | undefined;
8957
+ } | {
8958
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
8959
+ mappings?: {
8960
+ ignore_case?: boolean | undefined;
8961
+ literal?: boolean | undefined;
8962
+ match?: string | undefined;
8963
+ output?: string | undefined;
8964
+ source?: string | undefined;
8965
+ }[] | undefined;
8966
+ })[] | null | undefined;
8967
+ load_dsi_module?: string | null | undefined;
8968
+ policies?: {
8969
+ DATA_TYPE: "s3_storage_policies#1.0.0";
8970
+ s3_buckets?: string[] | undefined;
8971
+ s3_endpoint?: string | undefined;
8972
+ s3_user_credential_required?: boolean | undefined;
8973
+ } | {
8974
+ DATA_TYPE: "s3_storage_policies#1.1.0";
8975
+ s3_buckets?: string[] | undefined;
8976
+ s3_endpoint?: string | undefined;
8977
+ s3_requester_pays?: boolean | undefined;
8978
+ s3_user_credential_required?: boolean | undefined;
8979
+ } | {
8980
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
8981
+ account: string | null;
8982
+ adls: boolean | null;
8983
+ auth_callback?: string | undefined;
8984
+ auth_type: string | null;
8985
+ client_id: string | null;
8986
+ secret: string | null;
8987
+ tenant: string | null;
8988
+ user_credential_required?: boolean | undefined;
8989
+ } | {
8990
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
8991
+ account: string | null;
8992
+ adls: boolean | null;
8993
+ allow_any_account?: boolean | undefined;
8994
+ auth_callback?: string | undefined;
8995
+ auth_type: string | null;
8996
+ client_id: string | null;
8997
+ secret: string | null;
8998
+ tenant: string | null;
8999
+ user_credential_required?: boolean | undefined;
9000
+ } | {
9001
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
9002
+ bp_access_id_file?: string | undefined;
9003
+ s3_endpoint?: string | undefined;
9004
+ } | {
9005
+ DATA_TYPE: "box_storage_policies#1.0.0";
9006
+ boxAppSettings: {
9007
+ appAuth: {
9008
+ passphrase: string;
9009
+ privateKey: string;
9010
+ publicKeyID: string;
9011
+ };
9012
+ clientID: string;
9013
+ clientSecret: string;
9014
+ };
9015
+ enterpriseID: string;
9016
+ } | {
9017
+ DATA_TYPE: "box_storage_policies#1.1.0";
9018
+ auth_callback?: string | undefined;
9019
+ boxAppSettings?: {
9020
+ appAuth: {
9021
+ passphrase: string;
9022
+ privateKey: string;
9023
+ publicKeyID: string;
9024
+ };
9025
+ clientID: string;
9026
+ clientSecret: string;
9027
+ } | undefined;
9028
+ client_id?: string | undefined;
9029
+ enterpriseID?: string | undefined;
9030
+ secret?: string | undefined;
9031
+ user_api_rate_limit?: number | undefined;
9032
+ user_credential_required?: boolean | undefined;
9033
+ } | {
9034
+ DATA_TYPE: "box_storage_policies#1.2.0";
9035
+ allow_any_account?: boolean | undefined;
9036
+ auth_callback?: string | undefined;
9037
+ boxAppSettings?: {
9038
+ appAuth: {
9039
+ passphrase: string;
9040
+ privateKey: string;
9041
+ publicKeyID: string;
9042
+ };
9043
+ clientID: string;
9044
+ clientSecret: string;
9045
+ } | undefined;
9046
+ client_id?: string | undefined;
9047
+ enterpriseID?: string | undefined;
9048
+ secret?: string | undefined;
9049
+ user_api_rate_limit?: number | undefined;
9050
+ user_credential_required?: boolean | undefined;
9051
+ } | {
9052
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
9053
+ ceph_admin_key_id?: string | undefined;
9054
+ ceph_admin_secret_key?: string | undefined;
9055
+ s3_buckets?: string[] | undefined;
9056
+ s3_endpoint?: string | undefined;
9057
+ } | {
9058
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
9059
+ allow_any_account?: boolean | undefined;
9060
+ auth_callback?: string | undefined;
9061
+ client_id: string | null;
9062
+ secret: string | null;
9063
+ user_api_rate_limit?: number | undefined;
9064
+ } | {
9065
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
9066
+ auth_callback?: string | undefined;
9067
+ buckets?: string[] | null | undefined;
9068
+ client_id: string | null;
9069
+ projects?: string[] | null | undefined;
9070
+ secret: string | null;
9071
+ service_account_key?: unknown;
9072
+ user_credential_required?: boolean | undefined;
9073
+ } | {
9074
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
9075
+ allow_any_account?: boolean | undefined;
9076
+ auth_callback?: string | undefined;
9077
+ buckets?: string[] | null | undefined;
9078
+ client_id: string | null;
9079
+ projects?: string[] | null | undefined;
9080
+ secret: string | null;
9081
+ service_account_key?: unknown;
9082
+ user_credential_required?: boolean | undefined;
9083
+ } | {
9084
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
9085
+ auth_callback?: string | undefined;
9086
+ client_id: string | null;
9087
+ secret: string | null;
9088
+ user_api_rate_quota?: number | undefined;
9089
+ } | {
9090
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
9091
+ allow_any_account?: boolean | undefined;
9092
+ auth_callback?: string | undefined;
9093
+ client_id: string | null;
9094
+ secret: string | null;
9095
+ user_api_rate_quota?: number | undefined;
9096
+ } | {
9097
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
9098
+ authentication_mech: "krb5" | "unix";
9099
+ authenticator: string;
9100
+ uda_checksum: boolean;
9101
+ } | {
9102
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
9103
+ authentication_mech: "krb5" | "unix";
9104
+ authenticator: string;
9105
+ login_name?: string | undefined;
9106
+ uda_checksum: boolean;
9107
+ } | {
9108
+ DATA_TYPE: "irods_storage_policies#1.0.0";
9109
+ environment?: {
9110
+ name: string;
9111
+ value: string;
9112
+ }[] | undefined;
9113
+ irods_authentication_file?: string | undefined;
9114
+ irods_environment_file: string;
9115
+ } | {
9116
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
9117
+ auth_callback?: string | undefined;
9118
+ client_id: string | null;
9119
+ secret: string | null;
9120
+ tenant?: string | null | undefined;
9121
+ user_api_rate_limit?: number | undefined;
9122
+ } | {
9123
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
9124
+ allow_any_account?: boolean | undefined;
9125
+ auth_callback?: string | undefined;
9126
+ client_id: string | null;
9127
+ secret: string | null;
9128
+ tenant?: string | null | undefined;
9129
+ user_api_rate_limit?: number | undefined;
9130
+ } | {
9131
+ DATA_TYPE: "posix_storage_policies#1.0.0";
9132
+ groups_allow?: string[] | null | undefined;
9133
+ groups_deny?: string[] | null | undefined;
9134
+ } | {
9135
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
9136
+ environment?: {
9137
+ name: string;
9138
+ value: string;
9139
+ }[] | undefined;
9140
+ groups_allow?: string[] | null | undefined;
9141
+ groups_deny?: string[] | null | undefined;
9142
+ stage_app: string;
9143
+ } | undefined;
9144
+ process_user?: string | null | undefined;
9145
+ require_high_assurance?: boolean | null | undefined;
9146
+ restrict_paths?: unknown;
9147
+ users_allow?: string[] | null | undefined;
9148
+ users_deny?: string[] | null | undefined;
9149
+ } | {
9150
+ DATA_TYPE: "storage_gateway#1.1.0";
9151
+ allowed_domains?: string[] | undefined;
9152
+ authentication_assurance_timeout?: number | null | undefined;
9153
+ authentication_timeout_mins?: number | null | undefined;
9154
+ connector_id?: string | undefined;
9155
+ deleted?: boolean | undefined;
9156
+ display_name?: string | undefined;
9157
+ high_assurance?: boolean | null | undefined;
9158
+ id?: string | undefined;
9159
+ identity_mappings?: ({
9160
+ DATA_TYPE: "external_identity_mapping#1.0.0";
9161
+ command?: string[] | undefined;
9162
+ } | {
9163
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
9164
+ mappings?: {
9165
+ ignore_case?: boolean | undefined;
9166
+ literal?: boolean | undefined;
9167
+ match?: string | undefined;
9168
+ output?: string | undefined;
9169
+ source?: string | undefined;
9170
+ }[] | undefined;
9171
+ })[] | null | undefined;
9172
+ load_dsi_module?: string | null | undefined;
9173
+ policies?: {
9174
+ DATA_TYPE: "s3_storage_policies#1.0.0";
9175
+ s3_buckets?: string[] | undefined;
9176
+ s3_endpoint?: string | undefined;
9177
+ s3_user_credential_required?: boolean | undefined;
9178
+ } | {
9179
+ DATA_TYPE: "s3_storage_policies#1.1.0";
9180
+ s3_buckets?: string[] | undefined;
9181
+ s3_endpoint?: string | undefined;
9182
+ s3_requester_pays?: boolean | undefined;
9183
+ s3_user_credential_required?: boolean | undefined;
9184
+ } | {
9185
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
9186
+ account: string | null;
9187
+ adls: boolean | null;
9188
+ auth_callback?: string | undefined;
9189
+ auth_type: string | null;
9190
+ client_id: string | null;
9191
+ secret: string | null;
9192
+ tenant: string | null;
9193
+ user_credential_required?: boolean | undefined;
9194
+ } | {
9195
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
9196
+ account: string | null;
9197
+ adls: boolean | null;
9198
+ allow_any_account?: boolean | undefined;
9199
+ auth_callback?: string | undefined;
9200
+ auth_type: string | null;
9201
+ client_id: string | null;
9202
+ secret: string | null;
9203
+ tenant: string | null;
9204
+ user_credential_required?: boolean | undefined;
9205
+ } | {
9206
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
9207
+ bp_access_id_file?: string | undefined;
9208
+ s3_endpoint?: string | undefined;
9209
+ } | {
9210
+ DATA_TYPE: "box_storage_policies#1.0.0";
9211
+ boxAppSettings: {
9212
+ appAuth: {
9213
+ passphrase: string;
9214
+ privateKey: string;
9215
+ publicKeyID: string;
9216
+ };
9217
+ clientID: string;
9218
+ clientSecret: string;
9219
+ };
9220
+ enterpriseID: string;
9221
+ } | {
9222
+ DATA_TYPE: "box_storage_policies#1.1.0";
9223
+ auth_callback?: string | undefined;
9224
+ boxAppSettings?: {
9225
+ appAuth: {
9226
+ passphrase: string;
9227
+ privateKey: string;
9228
+ publicKeyID: string;
9229
+ };
9230
+ clientID: string;
9231
+ clientSecret: string;
9232
+ } | undefined;
9233
+ client_id?: string | undefined;
9234
+ enterpriseID?: string | undefined;
9235
+ secret?: string | undefined;
9236
+ user_api_rate_limit?: number | undefined;
9237
+ user_credential_required?: boolean | undefined;
9238
+ } | {
9239
+ DATA_TYPE: "box_storage_policies#1.2.0";
9240
+ allow_any_account?: boolean | undefined;
9241
+ auth_callback?: string | undefined;
9242
+ boxAppSettings?: {
9243
+ appAuth: {
9244
+ passphrase: string;
9245
+ privateKey: string;
9246
+ publicKeyID: string;
9247
+ };
9248
+ clientID: string;
9249
+ clientSecret: string;
9250
+ } | undefined;
9251
+ client_id?: string | undefined;
9252
+ enterpriseID?: string | undefined;
9253
+ secret?: string | undefined;
9254
+ user_api_rate_limit?: number | undefined;
9255
+ user_credential_required?: boolean | undefined;
9256
+ } | {
9257
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
9258
+ ceph_admin_key_id?: string | undefined;
9259
+ ceph_admin_secret_key?: string | undefined;
9260
+ s3_buckets?: string[] | undefined;
9261
+ s3_endpoint?: string | undefined;
9262
+ } | {
9263
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
9264
+ allow_any_account?: boolean | undefined;
9265
+ auth_callback?: string | undefined;
9266
+ client_id: string | null;
9267
+ secret: string | null;
9268
+ user_api_rate_limit?: number | undefined;
9269
+ } | {
9270
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
9271
+ auth_callback?: string | undefined;
9272
+ buckets?: string[] | null | undefined;
9273
+ client_id: string | null;
9274
+ projects?: string[] | null | undefined;
9275
+ secret: string | null;
9276
+ service_account_key?: unknown;
9277
+ user_credential_required?: boolean | undefined;
9278
+ } | {
9279
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
9280
+ allow_any_account?: boolean | undefined;
9281
+ auth_callback?: string | undefined;
9282
+ buckets?: string[] | null | undefined;
9283
+ client_id: string | null;
9284
+ projects?: string[] | null | undefined;
9285
+ secret: string | null;
9286
+ service_account_key?: unknown;
9287
+ user_credential_required?: boolean | undefined;
9288
+ } | {
9289
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
9290
+ auth_callback?: string | undefined;
9291
+ client_id: string | null;
9292
+ secret: string | null;
9293
+ user_api_rate_quota?: number | undefined;
9294
+ } | {
9295
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
9296
+ allow_any_account?: boolean | undefined;
9297
+ auth_callback?: string | undefined;
9298
+ client_id: string | null;
9299
+ secret: string | null;
9300
+ user_api_rate_quota?: number | undefined;
9301
+ } | {
9302
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
9303
+ authentication_mech: "krb5" | "unix";
9304
+ authenticator: string;
9305
+ uda_checksum: boolean;
9306
+ } | {
9307
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
9308
+ authentication_mech: "krb5" | "unix";
9309
+ authenticator: string;
9310
+ login_name?: string | undefined;
9311
+ uda_checksum: boolean;
9312
+ } | {
9313
+ DATA_TYPE: "irods_storage_policies#1.0.0";
9314
+ environment?: {
9315
+ name: string;
9316
+ value: string;
9317
+ }[] | undefined;
9318
+ irods_authentication_file?: string | undefined;
9319
+ irods_environment_file: string;
9320
+ } | {
9321
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
9322
+ auth_callback?: string | undefined;
9323
+ client_id: string | null;
9324
+ secret: string | null;
9325
+ tenant?: string | null | undefined;
9326
+ user_api_rate_limit?: number | undefined;
9327
+ } | {
9328
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
9329
+ allow_any_account?: boolean | undefined;
9330
+ auth_callback?: string | undefined;
9331
+ client_id: string | null;
9332
+ secret: string | null;
9333
+ tenant?: string | null | undefined;
9334
+ user_api_rate_limit?: number | undefined;
9335
+ } | {
9336
+ DATA_TYPE: "posix_storage_policies#1.0.0";
9337
+ groups_allow?: string[] | null | undefined;
9338
+ groups_deny?: string[] | null | undefined;
9339
+ } | {
9340
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
9341
+ environment?: {
9342
+ name: string;
9343
+ value: string;
9344
+ }[] | undefined;
9345
+ groups_allow?: string[] | null | undefined;
9346
+ groups_deny?: string[] | null | undefined;
9347
+ stage_app: string;
9348
+ } | undefined;
9349
+ process_user?: string | null | undefined;
9350
+ require_high_assurance?: boolean | null | undefined;
9351
+ require_mfa?: boolean | undefined;
9352
+ restrict_paths?: unknown;
9353
+ users_allow?: string[] | null | undefined;
9354
+ users_deny?: string[] | null | undefined;
9355
+ } | {
9356
+ DATA_TYPE: "storage_gateway#1.2.0";
9357
+ admin_managed_credentials?: boolean | undefined;
9358
+ allowed_domains?: string[] | undefined;
9359
+ authentication_assurance_timeout?: number | null | undefined;
9360
+ authentication_timeout_mins?: number | null | undefined;
9361
+ connector_id?: string | undefined;
9362
+ deleted?: boolean | undefined;
9363
+ display_name?: string | undefined;
9364
+ high_assurance?: boolean | null | undefined;
9365
+ id?: string | undefined;
9366
+ identity_mappings?: ({
9367
+ DATA_TYPE: "external_identity_mapping#1.0.0";
9368
+ command?: string[] | undefined;
9369
+ } | {
9370
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
9371
+ mappings?: {
9372
+ ignore_case?: boolean | undefined;
9373
+ literal?: boolean | undefined;
9374
+ match?: string | undefined;
9375
+ output?: string | undefined;
9376
+ source?: string | undefined;
9377
+ }[] | undefined;
9378
+ })[] | null | undefined;
9379
+ load_dsi_module?: string | null | undefined;
9380
+ policies?: {
9381
+ DATA_TYPE: "s3_storage_policies#1.0.0";
9382
+ s3_buckets?: string[] | undefined;
9383
+ s3_endpoint?: string | undefined;
9384
+ s3_user_credential_required?: boolean | undefined;
9385
+ } | {
9386
+ DATA_TYPE: "s3_storage_policies#1.1.0";
9387
+ s3_buckets?: string[] | undefined;
9388
+ s3_endpoint?: string | undefined;
9389
+ s3_requester_pays?: boolean | undefined;
9390
+ s3_user_credential_required?: boolean | undefined;
9391
+ } | {
9392
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
9393
+ account: string | null;
9394
+ adls: boolean | null;
9395
+ auth_callback?: string | undefined;
9396
+ auth_type: string | null;
9397
+ client_id: string | null;
9398
+ secret: string | null;
9399
+ tenant: string | null;
9400
+ user_credential_required?: boolean | undefined;
9401
+ } | {
9402
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
9403
+ account: string | null;
9404
+ adls: boolean | null;
9405
+ allow_any_account?: boolean | undefined;
9406
+ auth_callback?: string | undefined;
9407
+ auth_type: string | null;
9408
+ client_id: string | null;
9409
+ secret: string | null;
9410
+ tenant: string | null;
9411
+ user_credential_required?: boolean | undefined;
9412
+ } | {
9413
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
9414
+ bp_access_id_file?: string | undefined;
9415
+ s3_endpoint?: string | undefined;
9416
+ } | {
9417
+ DATA_TYPE: "box_storage_policies#1.0.0";
9418
+ boxAppSettings: {
9419
+ appAuth: {
9420
+ passphrase: string;
9421
+ privateKey: string;
9422
+ publicKeyID: string;
9423
+ };
9424
+ clientID: string;
9425
+ clientSecret: string;
9426
+ };
9427
+ enterpriseID: string;
9428
+ } | {
9429
+ DATA_TYPE: "box_storage_policies#1.1.0";
9430
+ auth_callback?: string | undefined;
9431
+ boxAppSettings?: {
9432
+ appAuth: {
9433
+ passphrase: string;
9434
+ privateKey: string;
9435
+ publicKeyID: string;
9436
+ };
9437
+ clientID: string;
9438
+ clientSecret: string;
9439
+ } | undefined;
9440
+ client_id?: string | undefined;
9441
+ enterpriseID?: string | undefined;
9442
+ secret?: string | undefined;
9443
+ user_api_rate_limit?: number | undefined;
9444
+ user_credential_required?: boolean | undefined;
9445
+ } | {
9446
+ DATA_TYPE: "box_storage_policies#1.2.0";
9447
+ allow_any_account?: boolean | undefined;
9448
+ auth_callback?: string | undefined;
9449
+ boxAppSettings?: {
9450
+ appAuth: {
9451
+ passphrase: string;
9452
+ privateKey: string;
9453
+ publicKeyID: string;
9454
+ };
9455
+ clientID: string;
9456
+ clientSecret: string;
9457
+ } | undefined;
9458
+ client_id?: string | undefined;
9459
+ enterpriseID?: string | undefined;
9460
+ secret?: string | undefined;
9461
+ user_api_rate_limit?: number | undefined;
9462
+ user_credential_required?: boolean | undefined;
9463
+ } | {
9464
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
9465
+ ceph_admin_key_id?: string | undefined;
9466
+ ceph_admin_secret_key?: string | undefined;
9467
+ s3_buckets?: string[] | undefined;
9468
+ s3_endpoint?: string | undefined;
9469
+ } | {
9470
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
9471
+ allow_any_account?: boolean | undefined;
9472
+ auth_callback?: string | undefined;
9473
+ client_id: string | null;
9474
+ secret: string | null;
9475
+ user_api_rate_limit?: number | undefined;
9476
+ } | {
9477
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
9478
+ auth_callback?: string | undefined;
9479
+ buckets?: string[] | null | undefined;
9480
+ client_id: string | null;
9481
+ projects?: string[] | null | undefined;
9482
+ secret: string | null;
9483
+ service_account_key?: unknown;
9484
+ user_credential_required?: boolean | undefined;
9485
+ } | {
9486
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
9487
+ allow_any_account?: boolean | undefined;
9488
+ auth_callback?: string | undefined;
9489
+ buckets?: string[] | null | undefined;
9490
+ client_id: string | null;
9491
+ projects?: string[] | null | undefined;
9492
+ secret: string | null;
9493
+ service_account_key?: unknown;
9494
+ user_credential_required?: boolean | undefined;
9495
+ } | {
9496
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
9497
+ auth_callback?: string | undefined;
9498
+ client_id: string | null;
9499
+ secret: string | null;
9500
+ user_api_rate_quota?: number | undefined;
9501
+ } | {
9502
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
9503
+ allow_any_account?: boolean | undefined;
9504
+ auth_callback?: string | undefined;
9505
+ client_id: string | null;
9506
+ secret: string | null;
9507
+ user_api_rate_quota?: number | undefined;
9508
+ } | {
9509
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
9510
+ authentication_mech: "krb5" | "unix";
9511
+ authenticator: string;
9512
+ uda_checksum: boolean;
9513
+ } | {
9514
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
9515
+ authentication_mech: "krb5" | "unix";
9516
+ authenticator: string;
9517
+ login_name?: string | undefined;
9518
+ uda_checksum: boolean;
9519
+ } | {
9520
+ DATA_TYPE: "irods_storage_policies#1.0.0";
9521
+ environment?: {
9522
+ name: string;
9523
+ value: string;
9524
+ }[] | undefined;
9525
+ irods_authentication_file?: string | undefined;
9526
+ irods_environment_file: string;
9527
+ } | {
9528
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
9529
+ auth_callback?: string | undefined;
9530
+ client_id: string | null;
9531
+ secret: string | null;
9532
+ tenant?: string | null | undefined;
9533
+ user_api_rate_limit?: number | undefined;
9534
+ } | {
9535
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
9536
+ allow_any_account?: boolean | undefined;
9537
+ auth_callback?: string | undefined;
9538
+ client_id: string | null;
9539
+ secret: string | null;
9540
+ tenant?: string | null | undefined;
9541
+ user_api_rate_limit?: number | undefined;
9542
+ } | {
9543
+ DATA_TYPE: "posix_storage_policies#1.0.0";
9544
+ groups_allow?: string[] | null | undefined;
9545
+ groups_deny?: string[] | null | undefined;
9546
+ } | {
9547
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
9548
+ environment?: {
9549
+ name: string;
9550
+ value: string;
9551
+ }[] | undefined;
9552
+ groups_allow?: string[] | null | undefined;
9553
+ groups_deny?: string[] | null | undefined;
9554
+ stage_app: string;
9555
+ } | undefined;
9556
+ process_user?: string | null | undefined;
9557
+ require_high_assurance?: boolean | null | undefined;
9558
+ require_mfa?: boolean | undefined;
9559
+ restrict_paths?: unknown;
9560
+ users_allow?: string[] | null | undefined;
9561
+ users_deny?: string[] | null | undefined;
9562
+ })[] | undefined;
9563
+ } & {
9564
+ DATA_TYPE: "result#1.0.0";
9565
+ code: string;
9566
+ data?: Record<string, unknown>[] | undefined;
9567
+ detail?: unknown;
9568
+ has_next_page?: boolean | undefined;
9569
+ http_response_code: number;
9570
+ marker?: string | null | undefined;
9571
+ message?: string | undefined;
9572
+ }>>;
9573
+ remove: (storage_gateway_id: string, options?: ({
9574
+ query?: undefined;
9575
+ payload?: undefined;
9576
+ } & {
9577
+ query?: {
9578
+ [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
9579
+ } | undefined;
9580
+ headers?: import("../types.js").Headers | undefined;
9581
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
9582
+ DATA_TYPE: "result#1.0.0";
9583
+ code: string;
9584
+ data?: Record<string, unknown>[] | undefined;
9585
+ detail?: unknown;
9586
+ has_next_page?: boolean | undefined;
9587
+ http_response_code: number;
9588
+ marker?: string | null | undefined;
9589
+ message?: string | undefined;
9590
+ }>>;
9591
+ update: (storage_gateway_id: string, options: ({
9592
+ payload: {
9593
+ DATA_TYPE: "storage_gateway#1.0.0";
9594
+ allowed_domains?: string[] | undefined;
9595
+ authentication_assurance_timeout?: number | null | undefined;
9596
+ authentication_timeout_mins?: number | null | undefined;
9597
+ connector_id?: string | undefined;
9598
+ deleted?: boolean | undefined;
9599
+ display_name?: string | undefined;
9600
+ high_assurance?: boolean | null | undefined;
9601
+ id?: string | undefined;
9602
+ identity_mappings?: ({
9603
+ DATA_TYPE: "external_identity_mapping#1.0.0";
9604
+ command?: string[] | undefined;
9605
+ } | {
9606
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
9607
+ mappings?: {
9608
+ ignore_case?: boolean | undefined;
9609
+ literal?: boolean | undefined;
9610
+ match?: string | undefined;
9611
+ output?: string | undefined;
9612
+ source?: string | undefined;
9613
+ }[] | undefined;
9614
+ })[] | null | undefined;
9615
+ load_dsi_module?: string | null | undefined;
9616
+ policies?: {
9617
+ DATA_TYPE: "s3_storage_policies#1.0.0";
9618
+ s3_buckets?: string[] | undefined;
9619
+ s3_endpoint?: string | undefined;
9620
+ s3_user_credential_required?: boolean | undefined;
9621
+ } | {
9622
+ DATA_TYPE: "s3_storage_policies#1.1.0";
9623
+ s3_buckets?: string[] | undefined;
9624
+ s3_endpoint?: string | undefined;
9625
+ s3_requester_pays?: boolean | undefined;
9626
+ s3_user_credential_required?: boolean | undefined;
9627
+ } | {
9628
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
9629
+ account: string | null;
9630
+ adls: boolean | null;
9631
+ auth_callback?: string | undefined;
9632
+ auth_type: string | null;
9633
+ client_id: string | null;
9634
+ secret: string | null;
9635
+ tenant: string | null;
9636
+ user_credential_required?: boolean | undefined;
9637
+ } | {
9638
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
9639
+ account: string | null;
9640
+ adls: boolean | null;
9641
+ allow_any_account?: boolean | undefined;
9642
+ auth_callback?: string | undefined;
9643
+ auth_type: string | null;
9644
+ client_id: string | null;
9645
+ secret: string | null;
9646
+ tenant: string | null;
9647
+ user_credential_required?: boolean | undefined;
9648
+ } | {
9649
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
9650
+ bp_access_id_file?: string | undefined;
9651
+ s3_endpoint?: string | undefined;
9652
+ } | {
9653
+ DATA_TYPE: "box_storage_policies#1.0.0";
9654
+ boxAppSettings: {
9655
+ appAuth: {
9656
+ passphrase: string;
9657
+ privateKey: string;
9658
+ publicKeyID: string;
9659
+ };
9660
+ clientID: string;
9661
+ clientSecret: string;
9662
+ };
9663
+ enterpriseID: string;
9664
+ } | {
9665
+ DATA_TYPE: "box_storage_policies#1.1.0";
9666
+ auth_callback?: string | undefined;
9667
+ boxAppSettings?: {
9668
+ appAuth: {
9669
+ passphrase: string;
9670
+ privateKey: string;
9671
+ publicKeyID: string;
9672
+ };
9673
+ clientID: string;
9674
+ clientSecret: string;
9675
+ } | undefined;
9676
+ client_id?: string | undefined;
9677
+ enterpriseID?: string | undefined;
9678
+ secret?: string | undefined;
9679
+ user_api_rate_limit?: number | undefined;
9680
+ user_credential_required?: boolean | undefined;
9681
+ } | {
9682
+ DATA_TYPE: "box_storage_policies#1.2.0";
9683
+ allow_any_account?: boolean | undefined;
9684
+ auth_callback?: string | undefined;
9685
+ boxAppSettings?: {
9686
+ appAuth: {
9687
+ passphrase: string;
9688
+ privateKey: string;
9689
+ publicKeyID: string;
9690
+ };
9691
+ clientID: string;
9692
+ clientSecret: string;
9693
+ } | undefined;
9694
+ client_id?: string | undefined;
9695
+ enterpriseID?: string | undefined;
9696
+ secret?: string | undefined;
9697
+ user_api_rate_limit?: number | undefined;
9698
+ user_credential_required?: boolean | undefined;
9699
+ } | {
9700
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
9701
+ ceph_admin_key_id?: string | undefined;
9702
+ ceph_admin_secret_key?: string | undefined;
9703
+ s3_buckets?: string[] | undefined;
9704
+ s3_endpoint?: string | undefined;
9705
+ } | {
9706
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
9707
+ allow_any_account?: boolean | undefined;
9708
+ auth_callback?: string | undefined;
9709
+ client_id: string | null;
9710
+ secret: string | null;
9711
+ user_api_rate_limit?: number | undefined;
9712
+ } | {
9713
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
9714
+ auth_callback?: string | undefined;
9715
+ buckets?: string[] | null | undefined;
9716
+ client_id: string | null;
9717
+ projects?: string[] | null | undefined;
9718
+ secret: string | null;
9719
+ service_account_key?: unknown;
9720
+ user_credential_required?: boolean | undefined;
9721
+ } | {
9722
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
9723
+ allow_any_account?: boolean | undefined;
9724
+ auth_callback?: string | undefined;
9725
+ buckets?: string[] | null | undefined;
9726
+ client_id: string | null;
9727
+ projects?: string[] | null | undefined;
9728
+ secret: string | null;
9729
+ service_account_key?: unknown;
9730
+ user_credential_required?: boolean | undefined;
9731
+ } | {
9732
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
9733
+ auth_callback?: string | undefined;
9734
+ client_id: string | null;
9735
+ secret: string | null;
9736
+ user_api_rate_quota?: number | undefined;
9737
+ } | {
9738
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
9739
+ allow_any_account?: boolean | undefined;
9740
+ auth_callback?: string | undefined;
9741
+ client_id: string | null;
9742
+ secret: string | null;
9743
+ user_api_rate_quota?: number | undefined;
9744
+ } | {
9745
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
9746
+ authentication_mech: "krb5" | "unix";
9747
+ authenticator: string;
9748
+ uda_checksum: boolean;
9749
+ } | {
9750
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
9751
+ authentication_mech: "krb5" | "unix";
9752
+ authenticator: string;
9753
+ login_name?: string | undefined;
9754
+ uda_checksum: boolean;
9755
+ } | {
9756
+ DATA_TYPE: "irods_storage_policies#1.0.0";
9757
+ environment?: {
9758
+ name: string;
9759
+ value: string;
9760
+ }[] | undefined;
9761
+ irods_authentication_file?: string | undefined;
9762
+ irods_environment_file: string;
9763
+ } | {
9764
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
9765
+ auth_callback?: string | undefined;
9766
+ client_id: string | null;
9767
+ secret: string | null;
9768
+ tenant?: string | null | undefined;
9769
+ user_api_rate_limit?: number | undefined;
9770
+ } | {
9771
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
9772
+ allow_any_account?: boolean | undefined;
9773
+ auth_callback?: string | undefined;
9774
+ client_id: string | null;
9775
+ secret: string | null;
9776
+ tenant?: string | null | undefined;
9777
+ user_api_rate_limit?: number | undefined;
9778
+ } | {
9779
+ DATA_TYPE: "posix_storage_policies#1.0.0";
9780
+ groups_allow?: string[] | null | undefined;
9781
+ groups_deny?: string[] | null | undefined;
9782
+ } | {
9783
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
9784
+ environment?: {
9785
+ name: string;
9786
+ value: string;
9787
+ }[] | undefined;
9788
+ groups_allow?: string[] | null | undefined;
9789
+ groups_deny?: string[] | null | undefined;
9790
+ stage_app: string;
9791
+ } | undefined;
9792
+ process_user?: string | null | undefined;
9793
+ require_high_assurance?: boolean | null | undefined;
9794
+ restrict_paths?: unknown;
9795
+ users_allow?: string[] | null | undefined;
9796
+ users_deny?: string[] | null | undefined;
9797
+ } | {
9798
+ DATA_TYPE: "storage_gateway#1.1.0";
9799
+ allowed_domains?: string[] | undefined;
9800
+ authentication_assurance_timeout?: number | null | undefined;
9801
+ authentication_timeout_mins?: number | null | undefined;
9802
+ connector_id?: string | undefined;
9803
+ deleted?: boolean | undefined;
9804
+ display_name?: string | undefined;
9805
+ high_assurance?: boolean | null | undefined;
9806
+ id?: string | undefined;
9807
+ identity_mappings?: ({
9808
+ DATA_TYPE: "external_identity_mapping#1.0.0";
9809
+ command?: string[] | undefined;
9810
+ } | {
9811
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
9812
+ mappings?: {
9813
+ ignore_case?: boolean | undefined;
9814
+ literal?: boolean | undefined;
9815
+ match?: string | undefined;
9816
+ output?: string | undefined;
9817
+ source?: string | undefined;
9818
+ }[] | undefined;
9819
+ })[] | null | undefined;
9820
+ load_dsi_module?: string | null | undefined;
9821
+ policies?: {
9822
+ DATA_TYPE: "s3_storage_policies#1.0.0";
9823
+ s3_buckets?: string[] | undefined;
9824
+ s3_endpoint?: string | undefined;
9825
+ s3_user_credential_required?: boolean | undefined;
9826
+ } | {
9827
+ DATA_TYPE: "s3_storage_policies#1.1.0";
9828
+ s3_buckets?: string[] | undefined;
9829
+ s3_endpoint?: string | undefined;
9830
+ s3_requester_pays?: boolean | undefined;
9831
+ s3_user_credential_required?: boolean | undefined;
9832
+ } | {
9833
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
9834
+ account: string | null;
9835
+ adls: boolean | null;
9836
+ auth_callback?: string | undefined;
9837
+ auth_type: string | null;
9838
+ client_id: string | null;
9839
+ secret: string | null;
9840
+ tenant: string | null;
9841
+ user_credential_required?: boolean | undefined;
9842
+ } | {
9843
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
9844
+ account: string | null;
9845
+ adls: boolean | null;
9846
+ allow_any_account?: boolean | undefined;
9847
+ auth_callback?: string | undefined;
9848
+ auth_type: string | null;
9849
+ client_id: string | null;
9850
+ secret: string | null;
9851
+ tenant: string | null;
9852
+ user_credential_required?: boolean | undefined;
9853
+ } | {
9854
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
9855
+ bp_access_id_file?: string | undefined;
9856
+ s3_endpoint?: string | undefined;
9857
+ } | {
9858
+ DATA_TYPE: "box_storage_policies#1.0.0";
9859
+ boxAppSettings: {
9860
+ appAuth: {
9861
+ passphrase: string;
9862
+ privateKey: string;
9863
+ publicKeyID: string;
9864
+ };
9865
+ clientID: string;
9866
+ clientSecret: string;
9867
+ };
9868
+ enterpriseID: string;
9869
+ } | {
9870
+ DATA_TYPE: "box_storage_policies#1.1.0";
9871
+ auth_callback?: string | undefined;
9872
+ boxAppSettings?: {
9873
+ appAuth: {
9874
+ passphrase: string;
9875
+ privateKey: string;
9876
+ publicKeyID: string;
9877
+ };
9878
+ clientID: string;
9879
+ clientSecret: string;
9880
+ } | undefined;
9881
+ client_id?: string | undefined;
9882
+ enterpriseID?: string | undefined;
9883
+ secret?: string | undefined;
9884
+ user_api_rate_limit?: number | undefined;
9885
+ user_credential_required?: boolean | undefined;
9886
+ } | {
9887
+ DATA_TYPE: "box_storage_policies#1.2.0";
9888
+ allow_any_account?: boolean | undefined;
9889
+ auth_callback?: string | undefined;
9890
+ boxAppSettings?: {
9891
+ appAuth: {
9892
+ passphrase: string;
9893
+ privateKey: string;
9894
+ publicKeyID: string;
9895
+ };
9896
+ clientID: string;
9897
+ clientSecret: string;
9898
+ } | undefined;
9899
+ client_id?: string | undefined;
9900
+ enterpriseID?: string | undefined;
9901
+ secret?: string | undefined;
9902
+ user_api_rate_limit?: number | undefined;
9903
+ user_credential_required?: boolean | undefined;
9904
+ } | {
9905
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
9906
+ ceph_admin_key_id?: string | undefined;
9907
+ ceph_admin_secret_key?: string | undefined;
9908
+ s3_buckets?: string[] | undefined;
9909
+ s3_endpoint?: string | undefined;
9910
+ } | {
9911
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
9912
+ allow_any_account?: boolean | undefined;
9913
+ auth_callback?: string | undefined;
9914
+ client_id: string | null;
9915
+ secret: string | null;
9916
+ user_api_rate_limit?: number | undefined;
9917
+ } | {
9918
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
9919
+ auth_callback?: string | undefined;
9920
+ buckets?: string[] | null | undefined;
9921
+ client_id: string | null;
9922
+ projects?: string[] | null | undefined;
9923
+ secret: string | null;
9924
+ service_account_key?: unknown;
9925
+ user_credential_required?: boolean | undefined;
9926
+ } | {
9927
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
9928
+ allow_any_account?: boolean | undefined;
9929
+ auth_callback?: string | undefined;
9930
+ buckets?: string[] | null | undefined;
9931
+ client_id: string | null;
9932
+ projects?: string[] | null | undefined;
9933
+ secret: string | null;
9934
+ service_account_key?: unknown;
9935
+ user_credential_required?: boolean | undefined;
9936
+ } | {
9937
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
9938
+ auth_callback?: string | undefined;
9939
+ client_id: string | null;
9940
+ secret: string | null;
9941
+ user_api_rate_quota?: number | undefined;
9942
+ } | {
9943
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
9944
+ allow_any_account?: boolean | undefined;
9945
+ auth_callback?: string | undefined;
9946
+ client_id: string | null;
9947
+ secret: string | null;
9948
+ user_api_rate_quota?: number | undefined;
9949
+ } | {
9950
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
9951
+ authentication_mech: "krb5" | "unix";
9952
+ authenticator: string;
9953
+ uda_checksum: boolean;
9954
+ } | {
9955
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
9956
+ authentication_mech: "krb5" | "unix";
9957
+ authenticator: string;
9958
+ login_name?: string | undefined;
9959
+ uda_checksum: boolean;
9960
+ } | {
9961
+ DATA_TYPE: "irods_storage_policies#1.0.0";
9962
+ environment?: {
9963
+ name: string;
9964
+ value: string;
9965
+ }[] | undefined;
9966
+ irods_authentication_file?: string | undefined;
9967
+ irods_environment_file: string;
9968
+ } | {
9969
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
9970
+ auth_callback?: string | undefined;
9971
+ client_id: string | null;
9972
+ secret: string | null;
9973
+ tenant?: string | null | undefined;
9974
+ user_api_rate_limit?: number | undefined;
9975
+ } | {
9976
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
9977
+ allow_any_account?: boolean | undefined;
9978
+ auth_callback?: string | undefined;
9979
+ client_id: string | null;
9980
+ secret: string | null;
9981
+ tenant?: string | null | undefined;
9982
+ user_api_rate_limit?: number | undefined;
9983
+ } | {
9984
+ DATA_TYPE: "posix_storage_policies#1.0.0";
9985
+ groups_allow?: string[] | null | undefined;
9986
+ groups_deny?: string[] | null | undefined;
9987
+ } | {
9988
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
9989
+ environment?: {
9990
+ name: string;
9991
+ value: string;
9992
+ }[] | undefined;
9993
+ groups_allow?: string[] | null | undefined;
9994
+ groups_deny?: string[] | null | undefined;
9995
+ stage_app: string;
9996
+ } | undefined;
9997
+ process_user?: string | null | undefined;
9998
+ require_high_assurance?: boolean | null | undefined;
9999
+ require_mfa?: boolean | undefined;
10000
+ restrict_paths?: unknown;
10001
+ users_allow?: string[] | null | undefined;
10002
+ users_deny?: string[] | null | undefined;
10003
+ } | {
10004
+ DATA_TYPE: "storage_gateway#1.2.0";
10005
+ admin_managed_credentials?: boolean | undefined;
10006
+ allowed_domains?: string[] | undefined;
10007
+ authentication_assurance_timeout?: number | null | undefined;
10008
+ authentication_timeout_mins?: number | null | undefined;
10009
+ connector_id?: string | undefined;
10010
+ deleted?: boolean | undefined;
10011
+ display_name?: string | undefined;
10012
+ high_assurance?: boolean | null | undefined;
10013
+ id?: string | undefined;
10014
+ identity_mappings?: ({
10015
+ DATA_TYPE: "external_identity_mapping#1.0.0";
10016
+ command?: string[] | undefined;
10017
+ } | {
10018
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
10019
+ mappings?: {
10020
+ ignore_case?: boolean | undefined;
10021
+ literal?: boolean | undefined;
10022
+ match?: string | undefined;
10023
+ output?: string | undefined;
10024
+ source?: string | undefined;
10025
+ }[] | undefined;
10026
+ })[] | null | undefined;
10027
+ load_dsi_module?: string | null | undefined;
10028
+ policies?: {
10029
+ DATA_TYPE: "s3_storage_policies#1.0.0";
10030
+ s3_buckets?: string[] | undefined;
10031
+ s3_endpoint?: string | undefined;
10032
+ s3_user_credential_required?: boolean | undefined;
10033
+ } | {
10034
+ DATA_TYPE: "s3_storage_policies#1.1.0";
10035
+ s3_buckets?: string[] | undefined;
10036
+ s3_endpoint?: string | undefined;
10037
+ s3_requester_pays?: boolean | undefined;
10038
+ s3_user_credential_required?: boolean | undefined;
10039
+ } | {
10040
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
10041
+ account: string | null;
10042
+ adls: boolean | null;
10043
+ auth_callback?: string | undefined;
10044
+ auth_type: string | null;
10045
+ client_id: string | null;
10046
+ secret: string | null;
10047
+ tenant: string | null;
10048
+ user_credential_required?: boolean | undefined;
10049
+ } | {
10050
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
10051
+ account: string | null;
10052
+ adls: boolean | null;
10053
+ allow_any_account?: boolean | undefined;
10054
+ auth_callback?: string | undefined;
10055
+ auth_type: string | null;
10056
+ client_id: string | null;
10057
+ secret: string | null;
10058
+ tenant: string | null;
10059
+ user_credential_required?: boolean | undefined;
10060
+ } | {
10061
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
10062
+ bp_access_id_file?: string | undefined;
10063
+ s3_endpoint?: string | undefined;
10064
+ } | {
10065
+ DATA_TYPE: "box_storage_policies#1.0.0";
10066
+ boxAppSettings: {
10067
+ appAuth: {
10068
+ passphrase: string;
10069
+ privateKey: string;
10070
+ publicKeyID: string;
10071
+ };
10072
+ clientID: string;
10073
+ clientSecret: string;
10074
+ };
10075
+ enterpriseID: string;
10076
+ } | {
10077
+ DATA_TYPE: "box_storage_policies#1.1.0";
10078
+ auth_callback?: string | undefined;
10079
+ boxAppSettings?: {
10080
+ appAuth: {
10081
+ passphrase: string;
10082
+ privateKey: string;
10083
+ publicKeyID: string;
10084
+ };
10085
+ clientID: string;
10086
+ clientSecret: string;
10087
+ } | undefined;
10088
+ client_id?: string | undefined;
10089
+ enterpriseID?: string | undefined;
10090
+ secret?: string | undefined;
10091
+ user_api_rate_limit?: number | undefined;
10092
+ user_credential_required?: boolean | undefined;
10093
+ } | {
10094
+ DATA_TYPE: "box_storage_policies#1.2.0";
10095
+ allow_any_account?: boolean | undefined;
10096
+ auth_callback?: string | undefined;
10097
+ boxAppSettings?: {
10098
+ appAuth: {
10099
+ passphrase: string;
10100
+ privateKey: string;
10101
+ publicKeyID: string;
10102
+ };
10103
+ clientID: string;
10104
+ clientSecret: string;
10105
+ } | undefined;
10106
+ client_id?: string | undefined;
10107
+ enterpriseID?: string | undefined;
10108
+ secret?: string | undefined;
10109
+ user_api_rate_limit?: number | undefined;
10110
+ user_credential_required?: boolean | undefined;
10111
+ } | {
10112
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
10113
+ ceph_admin_key_id?: string | undefined;
10114
+ ceph_admin_secret_key?: string | undefined;
10115
+ s3_buckets?: string[] | undefined;
10116
+ s3_endpoint?: string | undefined;
10117
+ } | {
10118
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
10119
+ allow_any_account?: boolean | undefined;
10120
+ auth_callback?: string | undefined;
10121
+ client_id: string | null;
10122
+ secret: string | null;
10123
+ user_api_rate_limit?: number | undefined;
10124
+ } | {
10125
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
10126
+ auth_callback?: string | undefined;
10127
+ buckets?: string[] | null | undefined;
10128
+ client_id: string | null;
10129
+ projects?: string[] | null | undefined;
10130
+ secret: string | null;
10131
+ service_account_key?: unknown;
10132
+ user_credential_required?: boolean | undefined;
10133
+ } | {
10134
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
10135
+ allow_any_account?: boolean | undefined;
10136
+ auth_callback?: string | undefined;
10137
+ buckets?: string[] | null | undefined;
10138
+ client_id: string | null;
10139
+ projects?: string[] | null | undefined;
10140
+ secret: string | null;
10141
+ service_account_key?: unknown;
10142
+ user_credential_required?: boolean | undefined;
10143
+ } | {
10144
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
10145
+ auth_callback?: string | undefined;
10146
+ client_id: string | null;
10147
+ secret: string | null;
10148
+ user_api_rate_quota?: number | undefined;
10149
+ } | {
10150
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
10151
+ allow_any_account?: boolean | undefined;
10152
+ auth_callback?: string | undefined;
10153
+ client_id: string | null;
10154
+ secret: string | null;
10155
+ user_api_rate_quota?: number | undefined;
10156
+ } | {
10157
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
10158
+ authentication_mech: "krb5" | "unix";
10159
+ authenticator: string;
10160
+ uda_checksum: boolean;
10161
+ } | {
10162
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
10163
+ authentication_mech: "krb5" | "unix";
10164
+ authenticator: string;
10165
+ login_name?: string | undefined;
10166
+ uda_checksum: boolean;
10167
+ } | {
10168
+ DATA_TYPE: "irods_storage_policies#1.0.0";
10169
+ environment?: {
10170
+ name: string;
10171
+ value: string;
10172
+ }[] | undefined;
10173
+ irods_authentication_file?: string | undefined;
10174
+ irods_environment_file: string;
10175
+ } | {
10176
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
10177
+ auth_callback?: string | undefined;
10178
+ client_id: string | null;
10179
+ secret: string | null;
10180
+ tenant?: string | null | undefined;
10181
+ user_api_rate_limit?: number | undefined;
10182
+ } | {
10183
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
10184
+ allow_any_account?: boolean | undefined;
10185
+ auth_callback?: string | undefined;
10186
+ client_id: string | null;
10187
+ secret: string | null;
10188
+ tenant?: string | null | undefined;
10189
+ user_api_rate_limit?: number | undefined;
10190
+ } | {
10191
+ DATA_TYPE: "posix_storage_policies#1.0.0";
10192
+ groups_allow?: string[] | null | undefined;
10193
+ groups_deny?: string[] | null | undefined;
10194
+ } | {
10195
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
10196
+ environment?: {
10197
+ name: string;
10198
+ value: string;
10199
+ }[] | undefined;
10200
+ groups_allow?: string[] | null | undefined;
10201
+ groups_deny?: string[] | null | undefined;
10202
+ stage_app: string;
10203
+ } | undefined;
10204
+ process_user?: string | null | undefined;
10205
+ require_high_assurance?: boolean | null | undefined;
10206
+ require_mfa?: boolean | undefined;
10207
+ restrict_paths?: unknown;
10208
+ users_allow?: string[] | null | undefined;
10209
+ users_deny?: string[] | null | undefined;
10210
+ };
10211
+ } & {
10212
+ query?: {
10213
+ [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
10214
+ } | undefined;
10215
+ headers?: import("../types.js").Headers | undefined;
10216
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
10217
+ code?: "success" | undefined;
10218
+ data?: ({
10219
+ DATA_TYPE: "storage_gateway#1.0.0";
10220
+ allowed_domains?: string[] | undefined;
10221
+ authentication_assurance_timeout?: number | null | undefined;
10222
+ authentication_timeout_mins?: number | null | undefined;
10223
+ connector_id?: string | undefined;
10224
+ deleted?: boolean | undefined;
10225
+ display_name?: string | undefined;
10226
+ high_assurance?: boolean | null | undefined;
10227
+ id?: string | undefined;
10228
+ identity_mappings?: ({
10229
+ DATA_TYPE: "external_identity_mapping#1.0.0";
10230
+ command?: string[] | undefined;
10231
+ } | {
10232
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
10233
+ mappings?: {
10234
+ ignore_case?: boolean | undefined;
10235
+ literal?: boolean | undefined;
10236
+ match?: string | undefined;
10237
+ output?: string | undefined;
10238
+ source?: string | undefined;
10239
+ }[] | undefined;
10240
+ })[] | null | undefined;
10241
+ load_dsi_module?: string | null | undefined;
10242
+ policies?: {
10243
+ DATA_TYPE: "s3_storage_policies#1.0.0";
10244
+ s3_buckets?: string[] | undefined;
10245
+ s3_endpoint?: string | undefined;
10246
+ s3_user_credential_required?: boolean | undefined;
10247
+ } | {
10248
+ DATA_TYPE: "s3_storage_policies#1.1.0";
10249
+ s3_buckets?: string[] | undefined;
10250
+ s3_endpoint?: string | undefined;
10251
+ s3_requester_pays?: boolean | undefined;
10252
+ s3_user_credential_required?: boolean | undefined;
10253
+ } | {
10254
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
10255
+ account: string | null;
10256
+ adls: boolean | null;
10257
+ auth_callback?: string | undefined;
10258
+ auth_type: string | null;
10259
+ client_id: string | null;
10260
+ secret: string | null;
10261
+ tenant: string | null;
10262
+ user_credential_required?: boolean | undefined;
10263
+ } | {
10264
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
10265
+ account: string | null;
10266
+ adls: boolean | null;
10267
+ allow_any_account?: boolean | undefined;
10268
+ auth_callback?: string | undefined;
10269
+ auth_type: string | null;
10270
+ client_id: string | null;
10271
+ secret: string | null;
10272
+ tenant: string | null;
10273
+ user_credential_required?: boolean | undefined;
10274
+ } | {
10275
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
10276
+ bp_access_id_file?: string | undefined;
10277
+ s3_endpoint?: string | undefined;
10278
+ } | {
10279
+ DATA_TYPE: "box_storage_policies#1.0.0";
10280
+ boxAppSettings: {
10281
+ appAuth: {
10282
+ passphrase: string;
10283
+ privateKey: string;
10284
+ publicKeyID: string;
10285
+ };
10286
+ clientID: string;
10287
+ clientSecret: string;
10288
+ };
10289
+ enterpriseID: string;
10290
+ } | {
10291
+ DATA_TYPE: "box_storage_policies#1.1.0";
10292
+ auth_callback?: string | undefined;
10293
+ boxAppSettings?: {
10294
+ appAuth: {
10295
+ passphrase: string;
10296
+ privateKey: string;
10297
+ publicKeyID: string;
10298
+ };
10299
+ clientID: string;
10300
+ clientSecret: string;
10301
+ } | undefined;
10302
+ client_id?: string | undefined;
10303
+ enterpriseID?: string | undefined;
10304
+ secret?: string | undefined;
10305
+ user_api_rate_limit?: number | undefined;
10306
+ user_credential_required?: boolean | undefined;
10307
+ } | {
10308
+ DATA_TYPE: "box_storage_policies#1.2.0";
10309
+ allow_any_account?: boolean | undefined;
10310
+ auth_callback?: string | undefined;
10311
+ boxAppSettings?: {
10312
+ appAuth: {
10313
+ passphrase: string;
10314
+ privateKey: string;
10315
+ publicKeyID: string;
10316
+ };
10317
+ clientID: string;
10318
+ clientSecret: string;
10319
+ } | undefined;
10320
+ client_id?: string | undefined;
10321
+ enterpriseID?: string | undefined;
10322
+ secret?: string | undefined;
10323
+ user_api_rate_limit?: number | undefined;
10324
+ user_credential_required?: boolean | undefined;
10325
+ } | {
10326
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
10327
+ ceph_admin_key_id?: string | undefined;
10328
+ ceph_admin_secret_key?: string | undefined;
10329
+ s3_buckets?: string[] | undefined;
10330
+ s3_endpoint?: string | undefined;
10331
+ } | {
10332
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
10333
+ allow_any_account?: boolean | undefined;
10334
+ auth_callback?: string | undefined;
10335
+ client_id: string | null;
10336
+ secret: string | null;
10337
+ user_api_rate_limit?: number | undefined;
10338
+ } | {
10339
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
10340
+ auth_callback?: string | undefined;
10341
+ buckets?: string[] | null | undefined;
10342
+ client_id: string | null;
10343
+ projects?: string[] | null | undefined;
10344
+ secret: string | null;
10345
+ service_account_key?: unknown;
10346
+ user_credential_required?: boolean | undefined;
10347
+ } | {
10348
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
10349
+ allow_any_account?: boolean | undefined;
10350
+ auth_callback?: string | undefined;
10351
+ buckets?: string[] | null | undefined;
10352
+ client_id: string | null;
10353
+ projects?: string[] | null | undefined;
10354
+ secret: string | null;
10355
+ service_account_key?: unknown;
10356
+ user_credential_required?: boolean | undefined;
10357
+ } | {
10358
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
10359
+ auth_callback?: string | undefined;
10360
+ client_id: string | null;
10361
+ secret: string | null;
10362
+ user_api_rate_quota?: number | undefined;
10363
+ } | {
10364
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
10365
+ allow_any_account?: boolean | undefined;
10366
+ auth_callback?: string | undefined;
10367
+ client_id: string | null;
10368
+ secret: string | null;
10369
+ user_api_rate_quota?: number | undefined;
10370
+ } | {
10371
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
10372
+ authentication_mech: "krb5" | "unix";
10373
+ authenticator: string;
10374
+ uda_checksum: boolean;
10375
+ } | {
10376
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
10377
+ authentication_mech: "krb5" | "unix";
10378
+ authenticator: string;
10379
+ login_name?: string | undefined;
10380
+ uda_checksum: boolean;
10381
+ } | {
10382
+ DATA_TYPE: "irods_storage_policies#1.0.0";
10383
+ environment?: {
10384
+ name: string;
10385
+ value: string;
10386
+ }[] | undefined;
10387
+ irods_authentication_file?: string | undefined;
10388
+ irods_environment_file: string;
10389
+ } | {
10390
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
10391
+ auth_callback?: string | undefined;
10392
+ client_id: string | null;
10393
+ secret: string | null;
10394
+ tenant?: string | null | undefined;
10395
+ user_api_rate_limit?: number | undefined;
10396
+ } | {
10397
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
10398
+ allow_any_account?: boolean | undefined;
10399
+ auth_callback?: string | undefined;
10400
+ client_id: string | null;
10401
+ secret: string | null;
10402
+ tenant?: string | null | undefined;
10403
+ user_api_rate_limit?: number | undefined;
10404
+ } | {
10405
+ DATA_TYPE: "posix_storage_policies#1.0.0";
10406
+ groups_allow?: string[] | null | undefined;
10407
+ groups_deny?: string[] | null | undefined;
10408
+ } | {
10409
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
10410
+ environment?: {
10411
+ name: string;
10412
+ value: string;
10413
+ }[] | undefined;
10414
+ groups_allow?: string[] | null | undefined;
10415
+ groups_deny?: string[] | null | undefined;
10416
+ stage_app: string;
10417
+ } | undefined;
10418
+ process_user?: string | null | undefined;
10419
+ require_high_assurance?: boolean | null | undefined;
10420
+ restrict_paths?: unknown;
10421
+ users_allow?: string[] | null | undefined;
10422
+ users_deny?: string[] | null | undefined;
10423
+ } | {
10424
+ DATA_TYPE: "storage_gateway#1.1.0";
10425
+ allowed_domains?: string[] | undefined;
10426
+ authentication_assurance_timeout?: number | null | undefined;
10427
+ authentication_timeout_mins?: number | null | undefined;
10428
+ connector_id?: string | undefined;
10429
+ deleted?: boolean | undefined;
10430
+ display_name?: string | undefined;
10431
+ high_assurance?: boolean | null | undefined;
10432
+ id?: string | undefined;
10433
+ identity_mappings?: ({
10434
+ DATA_TYPE: "external_identity_mapping#1.0.0";
10435
+ command?: string[] | undefined;
10436
+ } | {
10437
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
10438
+ mappings?: {
10439
+ ignore_case?: boolean | undefined;
10440
+ literal?: boolean | undefined;
10441
+ match?: string | undefined;
10442
+ output?: string | undefined;
10443
+ source?: string | undefined;
10444
+ }[] | undefined;
10445
+ })[] | null | undefined;
10446
+ load_dsi_module?: string | null | undefined;
10447
+ policies?: {
10448
+ DATA_TYPE: "s3_storage_policies#1.0.0";
10449
+ s3_buckets?: string[] | undefined;
10450
+ s3_endpoint?: string | undefined;
10451
+ s3_user_credential_required?: boolean | undefined;
10452
+ } | {
10453
+ DATA_TYPE: "s3_storage_policies#1.1.0";
10454
+ s3_buckets?: string[] | undefined;
10455
+ s3_endpoint?: string | undefined;
10456
+ s3_requester_pays?: boolean | undefined;
10457
+ s3_user_credential_required?: boolean | undefined;
10458
+ } | {
10459
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
10460
+ account: string | null;
10461
+ adls: boolean | null;
10462
+ auth_callback?: string | undefined;
10463
+ auth_type: string | null;
10464
+ client_id: string | null;
10465
+ secret: string | null;
10466
+ tenant: string | null;
10467
+ user_credential_required?: boolean | undefined;
10468
+ } | {
10469
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
10470
+ account: string | null;
10471
+ adls: boolean | null;
10472
+ allow_any_account?: boolean | undefined;
10473
+ auth_callback?: string | undefined;
10474
+ auth_type: string | null;
10475
+ client_id: string | null;
10476
+ secret: string | null;
10477
+ tenant: string | null;
10478
+ user_credential_required?: boolean | undefined;
10479
+ } | {
10480
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
10481
+ bp_access_id_file?: string | undefined;
10482
+ s3_endpoint?: string | undefined;
10483
+ } | {
10484
+ DATA_TYPE: "box_storage_policies#1.0.0";
10485
+ boxAppSettings: {
10486
+ appAuth: {
10487
+ passphrase: string;
10488
+ privateKey: string;
10489
+ publicKeyID: string;
10490
+ };
10491
+ clientID: string;
10492
+ clientSecret: string;
10493
+ };
10494
+ enterpriseID: string;
10495
+ } | {
10496
+ DATA_TYPE: "box_storage_policies#1.1.0";
10497
+ auth_callback?: string | undefined;
10498
+ boxAppSettings?: {
10499
+ appAuth: {
10500
+ passphrase: string;
10501
+ privateKey: string;
10502
+ publicKeyID: string;
10503
+ };
10504
+ clientID: string;
10505
+ clientSecret: string;
10506
+ } | undefined;
10507
+ client_id?: string | undefined;
10508
+ enterpriseID?: string | undefined;
10509
+ secret?: string | undefined;
10510
+ user_api_rate_limit?: number | undefined;
10511
+ user_credential_required?: boolean | undefined;
10512
+ } | {
10513
+ DATA_TYPE: "box_storage_policies#1.2.0";
10514
+ allow_any_account?: boolean | undefined;
10515
+ auth_callback?: string | undefined;
10516
+ boxAppSettings?: {
10517
+ appAuth: {
10518
+ passphrase: string;
10519
+ privateKey: string;
10520
+ publicKeyID: string;
10521
+ };
10522
+ clientID: string;
10523
+ clientSecret: string;
10524
+ } | undefined;
10525
+ client_id?: string | undefined;
10526
+ enterpriseID?: string | undefined;
10527
+ secret?: string | undefined;
10528
+ user_api_rate_limit?: number | undefined;
10529
+ user_credential_required?: boolean | undefined;
10530
+ } | {
10531
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
10532
+ ceph_admin_key_id?: string | undefined;
10533
+ ceph_admin_secret_key?: string | undefined;
10534
+ s3_buckets?: string[] | undefined;
10535
+ s3_endpoint?: string | undefined;
10536
+ } | {
10537
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
10538
+ allow_any_account?: boolean | undefined;
10539
+ auth_callback?: string | undefined;
10540
+ client_id: string | null;
10541
+ secret: string | null;
10542
+ user_api_rate_limit?: number | undefined;
10543
+ } | {
10544
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
10545
+ auth_callback?: string | undefined;
10546
+ buckets?: string[] | null | undefined;
10547
+ client_id: string | null;
10548
+ projects?: string[] | null | undefined;
10549
+ secret: string | null;
10550
+ service_account_key?: unknown;
10551
+ user_credential_required?: boolean | undefined;
10552
+ } | {
10553
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
10554
+ allow_any_account?: boolean | undefined;
10555
+ auth_callback?: string | undefined;
10556
+ buckets?: string[] | null | undefined;
10557
+ client_id: string | null;
10558
+ projects?: string[] | null | undefined;
10559
+ secret: string | null;
10560
+ service_account_key?: unknown;
10561
+ user_credential_required?: boolean | undefined;
10562
+ } | {
10563
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
10564
+ auth_callback?: string | undefined;
10565
+ client_id: string | null;
10566
+ secret: string | null;
10567
+ user_api_rate_quota?: number | undefined;
10568
+ } | {
10569
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
10570
+ allow_any_account?: boolean | undefined;
10571
+ auth_callback?: string | undefined;
10572
+ client_id: string | null;
10573
+ secret: string | null;
10574
+ user_api_rate_quota?: number | undefined;
10575
+ } | {
10576
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
10577
+ authentication_mech: "krb5" | "unix";
10578
+ authenticator: string;
10579
+ uda_checksum: boolean;
10580
+ } | {
10581
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
10582
+ authentication_mech: "krb5" | "unix";
10583
+ authenticator: string;
10584
+ login_name?: string | undefined;
10585
+ uda_checksum: boolean;
10586
+ } | {
10587
+ DATA_TYPE: "irods_storage_policies#1.0.0";
10588
+ environment?: {
10589
+ name: string;
10590
+ value: string;
10591
+ }[] | undefined;
10592
+ irods_authentication_file?: string | undefined;
10593
+ irods_environment_file: string;
10594
+ } | {
10595
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
10596
+ auth_callback?: string | undefined;
10597
+ client_id: string | null;
10598
+ secret: string | null;
10599
+ tenant?: string | null | undefined;
10600
+ user_api_rate_limit?: number | undefined;
10601
+ } | {
10602
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
10603
+ allow_any_account?: boolean | undefined;
10604
+ auth_callback?: string | undefined;
10605
+ client_id: string | null;
10606
+ secret: string | null;
10607
+ tenant?: string | null | undefined;
10608
+ user_api_rate_limit?: number | undefined;
10609
+ } | {
10610
+ DATA_TYPE: "posix_storage_policies#1.0.0";
10611
+ groups_allow?: string[] | null | undefined;
10612
+ groups_deny?: string[] | null | undefined;
10613
+ } | {
10614
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
10615
+ environment?: {
10616
+ name: string;
10617
+ value: string;
10618
+ }[] | undefined;
10619
+ groups_allow?: string[] | null | undefined;
10620
+ groups_deny?: string[] | null | undefined;
10621
+ stage_app: string;
10622
+ } | undefined;
10623
+ process_user?: string | null | undefined;
10624
+ require_high_assurance?: boolean | null | undefined;
10625
+ require_mfa?: boolean | undefined;
10626
+ restrict_paths?: unknown;
10627
+ users_allow?: string[] | null | undefined;
10628
+ users_deny?: string[] | null | undefined;
10629
+ } | {
10630
+ DATA_TYPE: "storage_gateway#1.2.0";
10631
+ admin_managed_credentials?: boolean | undefined;
10632
+ allowed_domains?: string[] | undefined;
10633
+ authentication_assurance_timeout?: number | null | undefined;
10634
+ authentication_timeout_mins?: number | null | undefined;
10635
+ connector_id?: string | undefined;
10636
+ deleted?: boolean | undefined;
10637
+ display_name?: string | undefined;
10638
+ high_assurance?: boolean | null | undefined;
10639
+ id?: string | undefined;
10640
+ identity_mappings?: ({
10641
+ DATA_TYPE: "external_identity_mapping#1.0.0";
10642
+ command?: string[] | undefined;
10643
+ } | {
10644
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
10645
+ mappings?: {
10646
+ ignore_case?: boolean | undefined;
10647
+ literal?: boolean | undefined;
10648
+ match?: string | undefined;
10649
+ output?: string | undefined;
10650
+ source?: string | undefined;
10651
+ }[] | undefined;
10652
+ })[] | null | undefined;
10653
+ load_dsi_module?: string | null | undefined;
10654
+ policies?: {
10655
+ DATA_TYPE: "s3_storage_policies#1.0.0";
10656
+ s3_buckets?: string[] | undefined;
10657
+ s3_endpoint?: string | undefined;
10658
+ s3_user_credential_required?: boolean | undefined;
10659
+ } | {
10660
+ DATA_TYPE: "s3_storage_policies#1.1.0";
10661
+ s3_buckets?: string[] | undefined;
10662
+ s3_endpoint?: string | undefined;
10663
+ s3_requester_pays?: boolean | undefined;
10664
+ s3_user_credential_required?: boolean | undefined;
10665
+ } | {
10666
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
10667
+ account: string | null;
10668
+ adls: boolean | null;
10669
+ auth_callback?: string | undefined;
10670
+ auth_type: string | null;
10671
+ client_id: string | null;
10672
+ secret: string | null;
10673
+ tenant: string | null;
10674
+ user_credential_required?: boolean | undefined;
10675
+ } | {
10676
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
10677
+ account: string | null;
10678
+ adls: boolean | null;
10679
+ allow_any_account?: boolean | undefined;
10680
+ auth_callback?: string | undefined;
10681
+ auth_type: string | null;
10682
+ client_id: string | null;
10683
+ secret: string | null;
10684
+ tenant: string | null;
10685
+ user_credential_required?: boolean | undefined;
10686
+ } | {
10687
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
10688
+ bp_access_id_file?: string | undefined;
10689
+ s3_endpoint?: string | undefined;
10690
+ } | {
10691
+ DATA_TYPE: "box_storage_policies#1.0.0";
10692
+ boxAppSettings: {
10693
+ appAuth: {
10694
+ passphrase: string;
10695
+ privateKey: string;
10696
+ publicKeyID: string;
10697
+ };
10698
+ clientID: string;
10699
+ clientSecret: string;
10700
+ };
10701
+ enterpriseID: string;
10702
+ } | {
10703
+ DATA_TYPE: "box_storage_policies#1.1.0";
10704
+ auth_callback?: string | undefined;
10705
+ boxAppSettings?: {
10706
+ appAuth: {
10707
+ passphrase: string;
10708
+ privateKey: string;
10709
+ publicKeyID: string;
10710
+ };
10711
+ clientID: string;
10712
+ clientSecret: string;
10713
+ } | undefined;
10714
+ client_id?: string | undefined;
10715
+ enterpriseID?: string | undefined;
10716
+ secret?: string | undefined;
10717
+ user_api_rate_limit?: number | undefined;
10718
+ user_credential_required?: boolean | undefined;
10719
+ } | {
10720
+ DATA_TYPE: "box_storage_policies#1.2.0";
10721
+ allow_any_account?: boolean | undefined;
10722
+ auth_callback?: string | undefined;
10723
+ boxAppSettings?: {
10724
+ appAuth: {
10725
+ passphrase: string;
10726
+ privateKey: string;
10727
+ publicKeyID: string;
10728
+ };
10729
+ clientID: string;
10730
+ clientSecret: string;
10731
+ } | undefined;
10732
+ client_id?: string | undefined;
10733
+ enterpriseID?: string | undefined;
10734
+ secret?: string | undefined;
10735
+ user_api_rate_limit?: number | undefined;
10736
+ user_credential_required?: boolean | undefined;
10737
+ } | {
10738
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
10739
+ ceph_admin_key_id?: string | undefined;
10740
+ ceph_admin_secret_key?: string | undefined;
10741
+ s3_buckets?: string[] | undefined;
10742
+ s3_endpoint?: string | undefined;
10743
+ } | {
10744
+ DATA_TYPE: "dropbox_storage_policies#1.0.0";
10745
+ allow_any_account?: boolean | undefined;
10746
+ auth_callback?: string | undefined;
10747
+ client_id: string | null;
10748
+ secret: string | null;
10749
+ user_api_rate_limit?: number | undefined;
10750
+ } | {
10751
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
10752
+ auth_callback?: string | undefined;
10753
+ buckets?: string[] | null | undefined;
10754
+ client_id: string | null;
10755
+ projects?: string[] | null | undefined;
10756
+ secret: string | null;
10757
+ service_account_key?: unknown;
10758
+ user_credential_required?: boolean | undefined;
10759
+ } | {
10760
+ DATA_TYPE: "google_cloud_storage_policies#1.1.0";
10761
+ allow_any_account?: boolean | undefined;
10762
+ auth_callback?: string | undefined;
10763
+ buckets?: string[] | null | undefined;
10764
+ client_id: string | null;
10765
+ projects?: string[] | null | undefined;
10766
+ secret: string | null;
10767
+ service_account_key?: unknown;
10768
+ user_credential_required?: boolean | undefined;
10769
+ } | {
10770
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
10771
+ auth_callback?: string | undefined;
10772
+ client_id: string | null;
10773
+ secret: string | null;
10774
+ user_api_rate_quota?: number | undefined;
10775
+ } | {
10776
+ DATA_TYPE: "google_drive_storage_policies#1.1.0";
10777
+ allow_any_account?: boolean | undefined;
10778
+ auth_callback?: string | undefined;
10779
+ client_id: string | null;
10780
+ secret: string | null;
10781
+ user_api_rate_quota?: number | undefined;
10782
+ } | {
10783
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
10784
+ authentication_mech: "krb5" | "unix";
10785
+ authenticator: string;
10786
+ uda_checksum: boolean;
10787
+ } | {
10788
+ DATA_TYPE: "hpss_storage_policies#1.1.0";
10789
+ authentication_mech: "krb5" | "unix";
10790
+ authenticator: string;
10791
+ login_name?: string | undefined;
10792
+ uda_checksum: boolean;
10793
+ } | {
10794
+ DATA_TYPE: "irods_storage_policies#1.0.0";
10795
+ environment?: {
10796
+ name: string;
10797
+ value: string;
10798
+ }[] | undefined;
10799
+ irods_authentication_file?: string | undefined;
10800
+ irods_environment_file: string;
10801
+ } | {
10802
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
10803
+ auth_callback?: string | undefined;
10804
+ client_id: string | null;
10805
+ secret: string | null;
10806
+ tenant?: string | null | undefined;
10807
+ user_api_rate_limit?: number | undefined;
10808
+ } | {
10809
+ DATA_TYPE: "onedrive_storage_policies#1.1.0";
10810
+ allow_any_account?: boolean | undefined;
10811
+ auth_callback?: string | undefined;
10812
+ client_id: string | null;
10813
+ secret: string | null;
10814
+ tenant?: string | null | undefined;
10815
+ user_api_rate_limit?: number | undefined;
10816
+ } | {
10817
+ DATA_TYPE: "posix_storage_policies#1.0.0";
10818
+ groups_allow?: string[] | null | undefined;
10819
+ groups_deny?: string[] | null | undefined;
10820
+ } | {
10821
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
10822
+ environment?: {
10823
+ name: string;
10824
+ value: string;
10825
+ }[] | undefined;
10826
+ groups_allow?: string[] | null | undefined;
10827
+ groups_deny?: string[] | null | undefined;
10828
+ stage_app: string;
10829
+ } | undefined;
10830
+ process_user?: string | null | undefined;
10831
+ require_high_assurance?: boolean | null | undefined;
10832
+ require_mfa?: boolean | undefined;
10833
+ restrict_paths?: unknown;
10834
+ users_allow?: string[] | null | undefined;
10835
+ users_deny?: string[] | null | undefined;
10836
+ })[] | undefined;
10837
+ } & {
10838
+ DATA_TYPE: "result#1.0.0";
10839
+ code: string;
10840
+ data?: Record<string, unknown>[] | undefined;
10841
+ detail?: unknown;
10842
+ has_next_page?: boolean | undefined;
10843
+ http_response_code: number;
10844
+ marker?: string | null | undefined;
10845
+ message?: string | undefined;
10846
+ }>>;
10847
+ patch: (storage_gateway_id: string, options: ({
10848
+ payload: Partial<{
10849
+ DATA_TYPE: "storage_gateway#1.0.0";
10850
+ allowed_domains?: string[] | undefined;
10851
+ authentication_assurance_timeout?: number | null | undefined;
10852
+ authentication_timeout_mins?: number | null | undefined;
10853
+ connector_id?: string | undefined;
10854
+ deleted?: boolean | undefined;
10855
+ display_name?: string | undefined;
10856
+ high_assurance?: boolean | null | undefined;
10857
+ id?: string | undefined;
10858
+ identity_mappings?: ({
10859
+ DATA_TYPE: "external_identity_mapping#1.0.0";
10860
+ command?: string[] | undefined;
10861
+ } | {
10862
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
10863
+ mappings?: {
10864
+ ignore_case?: boolean | undefined;
10865
+ literal?: boolean | undefined;
10866
+ match?: string | undefined;
10867
+ output?: string | undefined;
10868
+ source?: string | undefined;
10869
+ }[] | undefined;
10870
+ })[] | null | undefined;
10871
+ load_dsi_module?: string | null | undefined;
10872
+ policies?: {
10873
+ DATA_TYPE: "s3_storage_policies#1.0.0";
10874
+ s3_buckets?: string[] | undefined;
10875
+ s3_endpoint?: string | undefined;
10876
+ s3_user_credential_required?: boolean | undefined;
10877
+ } | {
10878
+ DATA_TYPE: "s3_storage_policies#1.1.0";
10879
+ s3_buckets?: string[] | undefined;
10880
+ s3_endpoint?: string | undefined;
10881
+ s3_requester_pays?: boolean | undefined;
10882
+ s3_user_credential_required?: boolean | undefined;
10883
+ } | {
10884
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
10885
+ account: string | null;
10886
+ adls: boolean | null;
10887
+ auth_callback?: string | undefined;
10888
+ auth_type: string | null;
10889
+ client_id: string | null;
10890
+ secret: string | null;
10891
+ tenant: string | null;
10892
+ user_credential_required?: boolean | undefined;
10893
+ } | {
10894
+ DATA_TYPE: "azure_blob_storage_policies#1.1.0";
10895
+ account: string | null;
10896
+ adls: boolean | null;
10897
+ allow_any_account?: boolean | undefined;
10898
+ auth_callback?: string | undefined;
10899
+ auth_type: string | null;
10900
+ client_id: string | null;
10901
+ secret: string | null;
10902
+ tenant: string | null;
10903
+ user_credential_required?: boolean | undefined;
10904
+ } | {
10905
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
10906
+ bp_access_id_file?: string | undefined;
10907
+ s3_endpoint?: string | undefined;
10908
+ } | {
10909
+ DATA_TYPE: "box_storage_policies#1.0.0";
10910
+ boxAppSettings: {
10911
+ appAuth: {
10912
+ passphrase: string;
10913
+ privateKey: string;
10914
+ publicKeyID: string;
10915
+ };
10916
+ clientID: string;
10917
+ clientSecret: string;
10918
+ };
10919
+ enterpriseID: string;
10920
+ } | {
10921
+ DATA_TYPE: "box_storage_policies#1.1.0";
10922
+ auth_callback?: string | undefined;
10923
+ boxAppSettings?: {
10924
+ appAuth: {
10925
+ passphrase: string;
10926
+ privateKey: string;
10927
+ publicKeyID: string;
10928
+ };
10929
+ clientID: string;
10930
+ clientSecret: string;
10931
+ } | undefined;
10932
+ client_id?: string | undefined;
10933
+ enterpriseID?: string | undefined;
10934
+ secret?: string | undefined;
10935
+ user_api_rate_limit?: number | undefined;
10936
+ user_credential_required?: boolean | undefined;
10937
+ } | {
10938
+ DATA_TYPE: "box_storage_policies#1.2.0";
10939
+ allow_any_account?: boolean | undefined;
10940
+ auth_callback?: string | undefined;
10941
+ boxAppSettings?: {
10942
+ appAuth: {
10943
+ passphrase: string;
10944
+ privateKey: string;
10945
+ publicKeyID: string;
10946
+ };
10947
+ clientID: string;
10948
+ clientSecret: string;
10949
+ } | undefined;
10950
+ client_id?: string | undefined;
10951
+ enterpriseID?: string | undefined;
10952
+ secret?: string | undefined;
10953
+ user_api_rate_limit?: number | undefined;
10954
+ user_credential_required?: boolean | undefined;
10955
+ } | {
10956
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
6493
10957
  ceph_admin_key_id?: string | undefined;
6494
10958
  ceph_admin_secret_key?: string | undefined;
6495
10959
  s3_buckets?: string[] | undefined;
@@ -6999,23 +11463,7 @@ export declare function getClient(configuration: GCSConfiguration): {
6999
11463
  restrict_paths?: unknown;
7000
11464
  users_allow?: string[] | null | undefined;
7001
11465
  users_deny?: string[] | null | undefined;
7002
- })[] | undefined;
7003
- } & {
7004
- DATA_TYPE: "result#1.0.0";
7005
- code: string;
7006
- data?: Record<string, unknown>[] | undefined;
7007
- detail?: unknown;
7008
- has_next_page?: boolean | undefined;
7009
- http_response_code: number;
7010
- marker?: string | null | undefined;
7011
- message?: string | undefined;
7012
- }>>;
7013
- getAll: (options?: ({
7014
- query?: {
7015
- page_size?: number | undefined;
7016
- marker?: string | undefined;
7017
- include?: ("private_policies" | "accounts")[] | undefined;
7018
- } | undefined;
11466
+ }>;
7019
11467
  } & {
7020
11468
  query?: {
7021
11469
  [key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;