@globus/sdk 0.1.9-alpha.0 → 0.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +28 -12
  2. package/dist/commonjs/src/index.d.ts +4 -0
  3. package/dist/commonjs/src/index.d.ts.map +1 -1
  4. package/dist/commonjs/src/index.js +5 -1
  5. package/dist/commonjs/src/index.js.map +1 -1
  6. package/dist/commonjs/src/lib/core/url.d.ts +26 -2
  7. package/dist/commonjs/src/lib/core/url.d.ts.map +1 -1
  8. package/dist/commonjs/src/lib/core/url.js +46 -5
  9. package/dist/commonjs/src/lib/core/url.js.map +1 -1
  10. package/dist/commonjs/src/lib/services/globus-connect-server/client.d.ts +3413 -0
  11. package/dist/commonjs/src/lib/services/globus-connect-server/client.d.ts.map +1 -0
  12. package/dist/commonjs/src/lib/services/globus-connect-server/client.js +52 -0
  13. package/dist/commonjs/src/lib/services/globus-connect-server/client.js.map +1 -0
  14. package/dist/commonjs/src/lib/services/globus-connect-server/index.d.ts +36 -6
  15. package/dist/commonjs/src/lib/services/globus-connect-server/index.d.ts.map +1 -1
  16. package/dist/commonjs/src/lib/services/globus-connect-server/index.js +13 -19
  17. package/dist/commonjs/src/lib/services/globus-connect-server/index.js.map +1 -1
  18. package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.d.ts +17 -0
  19. package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.d.ts.map +1 -0
  20. package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.js +23 -0
  21. package/dist/commonjs/src/lib/services/globus-connect-server/service/collections.js.map +1 -0
  22. package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.d.ts +3 -1
  23. package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
  24. package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.js +3 -4
  25. package/dist/commonjs/src/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
  26. package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.d.ts +13 -0
  27. package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.d.ts.map +1 -0
  28. package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.js +23 -0
  29. package/dist/commonjs/src/lib/services/globus-connect-server/service/roles.js.map +1 -0
  30. package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.d.ts +15 -0
  31. package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -0
  32. package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.js +25 -0
  33. package/dist/commonjs/src/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -0
  34. package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.d.ts +14 -0
  35. package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -0
  36. package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.js +23 -0
  37. package/dist/commonjs/src/lib/services/globus-connect-server/service/user-credentials.js.map +1 -0
  38. package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.d.ts +3 -1
  39. package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.d.ts.map +1 -1
  40. package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.js +4 -5
  41. package/dist/commonjs/src/lib/services/globus-connect-server/service/versioning.js.map +1 -1
  42. package/dist/commonjs/src/lib/services/transfer/service/endpoint-search.d.ts.map +1 -1
  43. package/dist/commonjs/src/lib/services/transfer/service/endpoint-search.js +5 -9
  44. package/dist/commonjs/src/lib/services/transfer/service/endpoint-search.js.map +1 -1
  45. package/dist/commonjs/src/lib/services/types.d.ts +2 -3
  46. package/dist/commonjs/src/lib/services/types.d.ts.map +1 -1
  47. package/dist/commonjs/tsconfig.cjs.tsbuildinfo +1 -1
  48. package/dist/src/index.d.ts +4 -0
  49. package/dist/src/index.d.ts.map +1 -1
  50. package/dist/src/index.js +5 -0
  51. package/dist/src/index.js.map +1 -1
  52. package/dist/src/lib/core/url.d.ts +26 -2
  53. package/dist/src/lib/core/url.d.ts.map +1 -1
  54. package/dist/src/lib/core/url.js +44 -4
  55. package/dist/src/lib/core/url.js.map +1 -1
  56. package/dist/src/lib/services/globus-connect-server/client.d.ts +3413 -0
  57. package/dist/src/lib/services/globus-connect-server/client.d.ts.map +1 -0
  58. package/dist/src/lib/services/globus-connect-server/client.js +48 -0
  59. package/dist/src/lib/services/globus-connect-server/client.js.map +1 -0
  60. package/dist/src/lib/services/globus-connect-server/index.d.ts +36 -6
  61. package/dist/src/lib/services/globus-connect-server/index.d.ts.map +1 -1
  62. package/dist/src/lib/services/globus-connect-server/index.js +17 -21
  63. package/dist/src/lib/services/globus-connect-server/index.js.map +1 -1
  64. package/dist/src/lib/services/globus-connect-server/service/collections.d.ts +17 -0
  65. package/dist/src/lib/services/globus-connect-server/service/collections.d.ts.map +1 -0
  66. package/dist/src/lib/services/globus-connect-server/service/collections.js +20 -0
  67. package/dist/src/lib/services/globus-connect-server/service/collections.js.map +1 -0
  68. package/dist/src/lib/services/globus-connect-server/service/endpoint.d.ts +3 -1
  69. package/dist/src/lib/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
  70. package/dist/src/lib/services/globus-connect-server/service/endpoint.js +4 -5
  71. package/dist/src/lib/services/globus-connect-server/service/endpoint.js.map +1 -1
  72. package/dist/src/lib/services/globus-connect-server/service/roles.d.ts +13 -0
  73. package/dist/src/lib/services/globus-connect-server/service/roles.d.ts.map +1 -0
  74. package/dist/src/lib/services/globus-connect-server/service/roles.js +20 -0
  75. package/dist/src/lib/services/globus-connect-server/service/roles.js.map +1 -0
  76. package/dist/src/lib/services/globus-connect-server/service/storage-gateways.d.ts +15 -0
  77. package/dist/src/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -0
  78. package/dist/src/lib/services/globus-connect-server/service/storage-gateways.js +22 -0
  79. package/dist/src/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -0
  80. package/dist/src/lib/services/globus-connect-server/service/user-credentials.d.ts +14 -0
  81. package/dist/src/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -0
  82. package/dist/src/lib/services/globus-connect-server/service/user-credentials.js +20 -0
  83. package/dist/src/lib/services/globus-connect-server/service/user-credentials.js.map +1 -0
  84. package/dist/src/lib/services/globus-connect-server/service/versioning.d.ts +3 -1
  85. package/dist/src/lib/services/globus-connect-server/service/versioning.d.ts.map +1 -1
  86. package/dist/src/lib/services/globus-connect-server/service/versioning.js +4 -5
  87. package/dist/src/lib/services/globus-connect-server/service/versioning.js.map +1 -1
  88. package/dist/src/lib/services/transfer/service/endpoint-search.d.ts.map +1 -1
  89. package/dist/src/lib/services/transfer/service/endpoint-search.js +5 -9
  90. package/dist/src/lib/services/transfer/service/endpoint-search.js.map +1 -1
  91. package/dist/src/lib/services/types.d.ts +2 -3
  92. package/dist/src/lib/services/types.d.ts.map +1 -1
  93. package/dist/tsconfig.tsbuildinfo +1 -1
  94. package/package.json +7 -7
@@ -0,0 +1,3413 @@
1
+ /**
2
+ * @module Client - Globus Connect Server Manager API
3
+ * @category Client
4
+ * @description A wrapper around the Globus Connect Server Manager API that binds various Globus Connect Server resources
5
+ * to a single configuration object (GCSConfiguration).
6
+ *
7
+ * @example
8
+ * import { getClient } from "@globus/sdk/lib/services/globus-connect-server/client";
9
+ *
10
+ * const client = getClient({
11
+ * host: "https://fa5e.bd7c.data.globus.org",
12
+ * endpoint_id: "ac9cb54b-fc48-4824-b801-1388baf0a909",
13
+ * });
14
+ *
15
+ * const result = await client.endpoint.get();
16
+ */
17
+ import { type GCSConfiguration } from ".";
18
+ /**
19
+ * Create a Globus Connect Server Manager client. This client is used to
20
+ * create a SDK context that is bound to a specific Globus Connect Server.
21
+ */
22
+ export declare function getClient(configuration: GCSConfiguration): {
23
+ configuration: GCSConfiguration;
24
+ endpoint: {
25
+ get: (_parameters?: undefined, sdkOptions?: import("../types").SDKOptions | undefined) => Promise<import("../types").JSONFetchResponse<{
26
+ code?: "success" | undefined;
27
+ data?: ({
28
+ DATA_TYPE: "endpoint#1.0.0";
29
+ allow_udt?: boolean | undefined;
30
+ contact_email?: string | undefined;
31
+ contact_info?: string | undefined;
32
+ department?: string | undefined;
33
+ description?: string | undefined;
34
+ display_name: string;
35
+ id?: string | undefined;
36
+ gcs_manager_url?: string | undefined;
37
+ info_link?: string | undefined;
38
+ keywords?: string[] | undefined;
39
+ max_concurrency?: number | undefined;
40
+ max_parallelism?: number | undefined;
41
+ network_use?: "normal" | "minimal" | "aggressive" | "custom" | undefined;
42
+ organization?: string | undefined;
43
+ preferred_concurrency?: number | undefined;
44
+ preferred_parallelism?: number | undefined;
45
+ public?: boolean | undefined;
46
+ subscription_id?: string | null | undefined;
47
+ } | {
48
+ DATA_TYPE: "endpoint#1.1.0";
49
+ allow_udt?: boolean | undefined;
50
+ contact_email?: string | undefined;
51
+ contact_info?: string | undefined;
52
+ department?: string | undefined;
53
+ description?: string | undefined;
54
+ display_name: string;
55
+ id?: string | undefined;
56
+ gcs_manager_url?: string | undefined;
57
+ gridftp_control_channel_port?: number | null | undefined;
58
+ info_link?: string | undefined;
59
+ keywords?: string[] | undefined;
60
+ max_concurrency?: number | undefined;
61
+ max_parallelism?: number | undefined;
62
+ network_use?: "normal" | "minimal" | "aggressive" | "custom" | undefined;
63
+ organization?: string | undefined;
64
+ preferred_concurrency?: number | undefined;
65
+ preferred_parallelism?: number | undefined;
66
+ public?: boolean | undefined;
67
+ subscription_id?: string | null | undefined;
68
+ })[] | undefined;
69
+ } & {
70
+ DATA_TYPE: "result#1.0.0";
71
+ code: string;
72
+ data?: Record<string, never>[] | undefined;
73
+ detail?: Record<string, never> | undefined;
74
+ has_next_page?: boolean | undefined;
75
+ http_response_code: number;
76
+ marker?: string | null | undefined;
77
+ message?: string | undefined;
78
+ }>>;
79
+ };
80
+ versioning: {
81
+ get: (_parameters?: undefined, sdkOptions?: import("../types").SDKOptions | undefined) => Promise<import("../types").JSONFetchResponse<{
82
+ code?: "success" | undefined;
83
+ data?: ({
84
+ DATA_TYPE: "endpoint#1.0.0";
85
+ allow_udt?: boolean | undefined;
86
+ contact_email?: string | undefined;
87
+ contact_info?: string | undefined;
88
+ department?: string | undefined;
89
+ description?: string | undefined;
90
+ display_name: string;
91
+ id?: string | undefined;
92
+ gcs_manager_url?: string | undefined;
93
+ info_link?: string | undefined;
94
+ keywords?: string[] | undefined;
95
+ max_concurrency?: number | undefined;
96
+ max_parallelism?: number | undefined;
97
+ network_use?: "normal" | "minimal" | "aggressive" | "custom" | undefined;
98
+ organization?: string | undefined;
99
+ preferred_concurrency?: number | undefined;
100
+ preferred_parallelism?: number | undefined;
101
+ public?: boolean | undefined;
102
+ subscription_id?: string | null | undefined;
103
+ } | {
104
+ DATA_TYPE: "endpoint#1.1.0";
105
+ allow_udt?: boolean | undefined;
106
+ contact_email?: string | undefined;
107
+ contact_info?: string | undefined;
108
+ department?: string | undefined;
109
+ description?: string | undefined;
110
+ display_name: string;
111
+ id?: string | undefined;
112
+ gcs_manager_url?: string | undefined;
113
+ gridftp_control_channel_port?: number | null | undefined;
114
+ info_link?: string | undefined;
115
+ keywords?: string[] | undefined;
116
+ max_concurrency?: number | undefined;
117
+ max_parallelism?: number | undefined;
118
+ network_use?: "normal" | "minimal" | "aggressive" | "custom" | undefined;
119
+ organization?: string | undefined;
120
+ preferred_concurrency?: number | undefined;
121
+ preferred_parallelism?: number | undefined;
122
+ public?: boolean | undefined;
123
+ subscription_id?: string | null | undefined;
124
+ })[] | undefined;
125
+ } & {
126
+ DATA_TYPE: "result#1.0.0";
127
+ code: string;
128
+ data?: Record<string, never>[] | undefined;
129
+ detail?: Record<string, never> | undefined;
130
+ has_next_page?: boolean | undefined;
131
+ http_response_code: number;
132
+ marker?: string | null | undefined;
133
+ message?: string | undefined;
134
+ }>>;
135
+ };
136
+ collections: {
137
+ get: (collection_id: string, parameters?: {
138
+ include?: "private_policies"[] | undefined;
139
+ } | undefined, sdkOptions?: import("../types").SDKOptions | undefined) => Promise<import("../types").JSONFetchResponse<{
140
+ code?: "success" | undefined;
141
+ data?: ({
142
+ DATA_TYPE: "collection#1.0.0";
143
+ allow_guest_collections?: boolean | undefined;
144
+ authentication_timeout_mins?: number | undefined;
145
+ collection_base_path: string;
146
+ collection_type: "mapped" | "guest";
147
+ connector_id?: string | undefined;
148
+ contact_email?: string | null | undefined;
149
+ contact_info?: string | null | undefined;
150
+ default_directory?: string | undefined;
151
+ deleted?: boolean | undefined;
152
+ department?: string | null | undefined;
153
+ description?: string | null | undefined;
154
+ disable_verify?: boolean | undefined;
155
+ display_name: string;
156
+ domain_name?: string | undefined;
157
+ force_encryption?: boolean | undefined;
158
+ high_assurance?: boolean | undefined;
159
+ https_url?: string | undefined;
160
+ id?: string | undefined;
161
+ identity_id?: string | undefined;
162
+ info_link?: string | null | undefined;
163
+ keywords?: string[] | undefined;
164
+ manager_url?: string | undefined;
165
+ mapped_collection_id?: string | undefined;
166
+ organization?: string | undefined;
167
+ policies?: {
168
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
169
+ } | {
170
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
171
+ } | {
172
+ DATA_TYPE: "box_collection_policies#1.0.0";
173
+ } | {
174
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
175
+ } | {
176
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
177
+ project?: string | undefined;
178
+ } | {
179
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
180
+ } | {
181
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
182
+ } | {
183
+ DATA_TYPE: "irods_collection_policies#1.0.0";
184
+ } | {
185
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
186
+ } | {
187
+ DATA_TYPE: "posix_collection_policies#1.0.0";
188
+ } | {
189
+ DATA_TYPE: "posix_collection_policies#1.1.0";
190
+ sharing_groups_allow?: string[] | null | undefined;
191
+ sharing_groups_deny?: string[] | null | undefined;
192
+ } | {
193
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
194
+ sharing_groups_allow?: string[] | null | undefined;
195
+ sharing_groups_deny?: string[] | null | undefined;
196
+ } | {
197
+ DATA_TYPE: "s3_collection_policies#1.0.0";
198
+ } | undefined;
199
+ public: boolean;
200
+ root_path?: string | undefined;
201
+ sharing_restrict_paths?: Record<string, unknown> | {
202
+ DATA_TYPE: "path_restrictions#1.0.0";
203
+ none?: string[] | undefined;
204
+ read?: string[] | undefined;
205
+ read_write?: string[] | undefined;
206
+ } | null | undefined;
207
+ storage_gateway_id?: string | undefined;
208
+ tlsftp_url?: string | undefined;
209
+ user_credential_id?: string | undefined;
210
+ } | {
211
+ DATA_TYPE: "collection#1.1.0";
212
+ allow_guest_collections?: boolean | undefined;
213
+ authentication_timeout_mins?: number | undefined;
214
+ collection_base_path: string;
215
+ collection_type: "mapped" | "guest";
216
+ connector_id?: string | undefined;
217
+ contact_email?: string | null | undefined;
218
+ contact_info?: string | null | undefined;
219
+ default_directory?: string | undefined;
220
+ deleted?: boolean | undefined;
221
+ department?: string | null | undefined;
222
+ description?: string | null | undefined;
223
+ disable_verify?: boolean | undefined;
224
+ display_name: string;
225
+ domain_name?: string | undefined;
226
+ enable_https?: boolean | undefined;
227
+ force_encryption?: boolean | undefined;
228
+ high_assurance?: boolean | undefined;
229
+ https_url?: string | undefined;
230
+ id?: string | undefined;
231
+ identity_id?: string | undefined;
232
+ info_link?: string | null | undefined;
233
+ keywords?: string[] | undefined;
234
+ manager_url?: string | undefined;
235
+ mapped_collection_id?: string | undefined;
236
+ organization?: string | undefined;
237
+ policies?: {
238
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
239
+ } | {
240
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
241
+ } | {
242
+ DATA_TYPE: "box_collection_policies#1.0.0";
243
+ } | {
244
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
245
+ } | {
246
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
247
+ project?: string | undefined;
248
+ } | {
249
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
250
+ } | {
251
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
252
+ } | {
253
+ DATA_TYPE: "irods_collection_policies#1.0.0";
254
+ } | {
255
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
256
+ } | {
257
+ DATA_TYPE: "posix_collection_policies#1.0.0";
258
+ } | {
259
+ DATA_TYPE: "posix_collection_policies#1.1.0";
260
+ sharing_groups_allow?: string[] | null | undefined;
261
+ sharing_groups_deny?: string[] | null | undefined;
262
+ } | {
263
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
264
+ sharing_groups_allow?: string[] | null | undefined;
265
+ sharing_groups_deny?: string[] | null | undefined;
266
+ } | {
267
+ DATA_TYPE: "s3_collection_policies#1.0.0";
268
+ } | undefined;
269
+ public: boolean;
270
+ root_path?: string | undefined;
271
+ sharing_restrict_paths?: Record<string, unknown> | {
272
+ DATA_TYPE: "path_restrictions#1.0.0";
273
+ none?: string[] | undefined;
274
+ read?: string[] | undefined;
275
+ read_write?: string[] | undefined;
276
+ } | null | undefined;
277
+ storage_gateway_id?: string | undefined;
278
+ tlsftp_url?: string | undefined;
279
+ user_credential_id?: string | undefined;
280
+ user_message?: string | null | undefined;
281
+ user_message_link?: string | null | undefined;
282
+ } | {
283
+ DATA_TYPE: "collection#1.2.0";
284
+ allow_guest_collections?: boolean | undefined;
285
+ authentication_timeout_mins?: number | undefined;
286
+ collection_base_path: string;
287
+ collection_type: "mapped" | "guest";
288
+ connector_id?: string | undefined;
289
+ contact_email?: string | null | undefined;
290
+ contact_info?: string | null | undefined;
291
+ default_directory?: string | undefined;
292
+ deleted?: boolean | undefined;
293
+ department?: string | null | undefined;
294
+ description?: string | null | undefined;
295
+ disable_verify?: boolean | undefined;
296
+ display_name: string;
297
+ domain_name?: string | undefined;
298
+ enable_https?: boolean | undefined;
299
+ force_encryption?: boolean | undefined;
300
+ high_assurance?: boolean | undefined;
301
+ https_url?: string | undefined;
302
+ id?: string | undefined;
303
+ identity_id?: string | undefined;
304
+ info_link?: string | null | undefined;
305
+ keywords?: string[] | undefined;
306
+ manager_url?: string | undefined;
307
+ mapped_collection_id?: string | undefined;
308
+ organization?: string | undefined;
309
+ policies?: {
310
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
311
+ } | {
312
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
313
+ } | {
314
+ DATA_TYPE: "box_collection_policies#1.0.0";
315
+ } | {
316
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
317
+ } | {
318
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
319
+ project?: string | undefined;
320
+ } | {
321
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
322
+ } | {
323
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
324
+ } | {
325
+ DATA_TYPE: "irods_collection_policies#1.0.0";
326
+ } | {
327
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
328
+ } | {
329
+ DATA_TYPE: "posix_collection_policies#1.0.0";
330
+ } | {
331
+ DATA_TYPE: "posix_collection_policies#1.1.0";
332
+ sharing_groups_allow?: string[] | null | undefined;
333
+ sharing_groups_deny?: string[] | null | undefined;
334
+ } | {
335
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
336
+ sharing_groups_allow?: string[] | null | undefined;
337
+ sharing_groups_deny?: string[] | null | undefined;
338
+ } | {
339
+ DATA_TYPE: "s3_collection_policies#1.0.0";
340
+ } | undefined;
341
+ public: boolean;
342
+ root_path?: string | undefined;
343
+ sharing_restrict_paths?: Record<string, unknown> | {
344
+ DATA_TYPE: "path_restrictions#1.0.0";
345
+ none?: string[] | undefined;
346
+ read?: string[] | undefined;
347
+ read_write?: string[] | undefined;
348
+ } | null | undefined;
349
+ sharing_users_allow?: string[] | null | undefined;
350
+ sharing_users_deny?: string[] | null | undefined;
351
+ storage_gateway_id?: string | undefined;
352
+ tlsftp_url?: string | undefined;
353
+ user_credential_id?: string | undefined;
354
+ user_message?: string | null | undefined;
355
+ user_message_link?: string | null | undefined;
356
+ } | {
357
+ DATA_TYPE: "collection#1.3.0";
358
+ allow_guest_collections?: boolean | undefined;
359
+ authentication_timeout_mins?: number | undefined;
360
+ collection_base_path: string;
361
+ collection_type: "mapped" | "guest";
362
+ connector_id?: string | undefined;
363
+ contact_email?: string | null | undefined;
364
+ contact_info?: string | null | undefined;
365
+ default_directory?: string | undefined;
366
+ deleted?: boolean | undefined;
367
+ department?: string | null | undefined;
368
+ description?: string | null | undefined;
369
+ disable_verify?: boolean | undefined;
370
+ display_name: string;
371
+ domain?: {
372
+ DATA_TYPE: "domain#1.0.0";
373
+ certificate?: string | null | undefined;
374
+ certificate_chain?: string | null | undefined;
375
+ certificate_chain_path?: string | null | undefined;
376
+ certificate_path?: string | null | undefined;
377
+ domain_name: string;
378
+ private_key?: string | null | undefined;
379
+ private_key_path?: string | null | undefined;
380
+ wildcard: boolean;
381
+ } | undefined;
382
+ domain_name?: string | undefined;
383
+ enable_https?: boolean | undefined;
384
+ force_encryption?: boolean | undefined;
385
+ high_assurance?: boolean | undefined;
386
+ https_url?: string | undefined;
387
+ id?: string | undefined;
388
+ identity_id?: string | undefined;
389
+ info_link?: string | null | undefined;
390
+ keywords?: string[] | undefined;
391
+ manager_url?: string | undefined;
392
+ mapped_collection_id?: string | undefined;
393
+ organization?: string | undefined;
394
+ policies?: {
395
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
396
+ } | {
397
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
398
+ } | {
399
+ DATA_TYPE: "box_collection_policies#1.0.0";
400
+ } | {
401
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
402
+ } | {
403
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
404
+ project?: string | undefined;
405
+ } | {
406
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
407
+ } | {
408
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
409
+ } | {
410
+ DATA_TYPE: "irods_collection_policies#1.0.0";
411
+ } | {
412
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
413
+ } | {
414
+ DATA_TYPE: "posix_collection_policies#1.0.0";
415
+ } | {
416
+ DATA_TYPE: "posix_collection_policies#1.1.0";
417
+ sharing_groups_allow?: string[] | null | undefined;
418
+ sharing_groups_deny?: string[] | null | undefined;
419
+ } | {
420
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
421
+ sharing_groups_allow?: string[] | null | undefined;
422
+ sharing_groups_deny?: string[] | null | undefined;
423
+ } | {
424
+ DATA_TYPE: "s3_collection_policies#1.0.0";
425
+ } | undefined;
426
+ public: boolean;
427
+ root_path?: string | undefined;
428
+ sharing_restrict_paths?: Record<string, unknown> | {
429
+ DATA_TYPE: "path_restrictions#1.0.0";
430
+ none?: string[] | undefined;
431
+ read?: string[] | undefined;
432
+ read_write?: string[] | undefined;
433
+ } | null | undefined;
434
+ sharing_users_allow?: string[] | null | undefined;
435
+ sharing_users_deny?: string[] | null | undefined;
436
+ storage_gateway_id?: string | undefined;
437
+ tlsftp_url?: string | undefined;
438
+ user_credential_id?: string | undefined;
439
+ user_message?: string | null | undefined;
440
+ user_message_link?: string | null | undefined;
441
+ } | {
442
+ DATA_TYPE: "collection#1.4.0";
443
+ allow_guest_collections?: boolean | undefined;
444
+ authentication_timeout_mins?: number | undefined;
445
+ collection_base_path: string;
446
+ collection_type: "mapped" | "guest";
447
+ connector_id?: string | undefined;
448
+ contact_email?: string | null | undefined;
449
+ contact_info?: string | null | undefined;
450
+ default_directory?: string | undefined;
451
+ deleted?: boolean | undefined;
452
+ department?: string | null | undefined;
453
+ description?: string | null | undefined;
454
+ disable_verify?: boolean | undefined;
455
+ display_name: string;
456
+ domain?: {
457
+ DATA_TYPE: "domain#1.0.0";
458
+ certificate?: string | null | undefined;
459
+ certificate_chain?: string | null | undefined;
460
+ certificate_chain_path?: string | null | undefined;
461
+ certificate_path?: string | null | undefined;
462
+ domain_name: string;
463
+ private_key?: string | null | undefined;
464
+ private_key_path?: string | null | undefined;
465
+ wildcard: boolean;
466
+ } | undefined;
467
+ domain_name?: string | undefined;
468
+ enable_https?: boolean | undefined;
469
+ force_encryption?: boolean | undefined;
470
+ force_verify?: boolean | undefined;
471
+ high_assurance?: boolean | undefined;
472
+ https_url?: string | undefined;
473
+ id?: string | undefined;
474
+ identity_id?: string | undefined;
475
+ info_link?: string | null | undefined;
476
+ keywords?: string[] | undefined;
477
+ manager_url?: string | undefined;
478
+ mapped_collection_id?: string | undefined;
479
+ organization?: string | undefined;
480
+ policies?: {
481
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
482
+ } | {
483
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
484
+ } | {
485
+ DATA_TYPE: "box_collection_policies#1.0.0";
486
+ } | {
487
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
488
+ } | {
489
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
490
+ project?: string | undefined;
491
+ } | {
492
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
493
+ } | {
494
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
495
+ } | {
496
+ DATA_TYPE: "irods_collection_policies#1.0.0";
497
+ } | {
498
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
499
+ } | {
500
+ DATA_TYPE: "posix_collection_policies#1.0.0";
501
+ } | {
502
+ DATA_TYPE: "posix_collection_policies#1.1.0";
503
+ sharing_groups_allow?: string[] | null | undefined;
504
+ sharing_groups_deny?: string[] | null | undefined;
505
+ } | {
506
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
507
+ sharing_groups_allow?: string[] | null | undefined;
508
+ sharing_groups_deny?: string[] | null | undefined;
509
+ } | {
510
+ DATA_TYPE: "s3_collection_policies#1.0.0";
511
+ } | undefined;
512
+ public: boolean;
513
+ require_mfa?: boolean | undefined;
514
+ root_path?: string | undefined;
515
+ sharing_restrict_paths?: Record<string, unknown> | {
516
+ DATA_TYPE: "path_restrictions#1.0.0";
517
+ none?: string[] | undefined;
518
+ read?: string[] | undefined;
519
+ read_write?: string[] | undefined;
520
+ } | null | undefined;
521
+ sharing_users_allow?: string[] | null | undefined;
522
+ sharing_users_deny?: string[] | null | undefined;
523
+ storage_gateway_id?: string | undefined;
524
+ tlsftp_url?: string | undefined;
525
+ user_credential_id?: string | undefined;
526
+ user_message?: string | null | undefined;
527
+ user_message_link?: string | null | undefined;
528
+ } | {
529
+ DATA_TYPE: "collection#1.5.0";
530
+ allow_guest_collections?: boolean | undefined;
531
+ authentication_timeout_mins?: number | undefined;
532
+ collection_base_path: string;
533
+ collection_type: "mapped" | "guest";
534
+ connector_id?: string | undefined;
535
+ contact_email?: string | null | undefined;
536
+ contact_info?: string | null | undefined;
537
+ default_directory?: string | undefined;
538
+ deleted?: boolean | undefined;
539
+ department?: string | null | undefined;
540
+ description?: string | null | undefined;
541
+ disable_anonymous_writes?: boolean | undefined;
542
+ disable_verify?: boolean | undefined;
543
+ display_name: string;
544
+ domain?: {
545
+ DATA_TYPE: "domain#1.0.0";
546
+ certificate?: string | null | undefined;
547
+ certificate_chain?: string | null | undefined;
548
+ certificate_chain_path?: string | null | undefined;
549
+ certificate_path?: string | null | undefined;
550
+ domain_name: string;
551
+ private_key?: string | null | undefined;
552
+ private_key_path?: string | null | undefined;
553
+ wildcard: boolean;
554
+ } | undefined;
555
+ domain_name?: string | undefined;
556
+ enable_https?: boolean | undefined;
557
+ force_encryption?: boolean | undefined;
558
+ force_verify?: boolean | undefined;
559
+ high_assurance?: boolean | undefined;
560
+ https_url?: string | undefined;
561
+ id?: string | undefined;
562
+ identity_id?: string | undefined;
563
+ info_link?: string | null | undefined;
564
+ keywords?: string[] | undefined;
565
+ manager_url?: string | undefined;
566
+ mapped_collection_id?: string | undefined;
567
+ organization?: string | undefined;
568
+ policies?: {
569
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
570
+ } | {
571
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
572
+ } | {
573
+ DATA_TYPE: "box_collection_policies#1.0.0";
574
+ } | {
575
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
576
+ } | {
577
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
578
+ project?: string | undefined;
579
+ } | {
580
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
581
+ } | {
582
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
583
+ } | {
584
+ DATA_TYPE: "irods_collection_policies#1.0.0";
585
+ } | {
586
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
587
+ } | {
588
+ DATA_TYPE: "posix_collection_policies#1.0.0";
589
+ } | {
590
+ DATA_TYPE: "posix_collection_policies#1.1.0";
591
+ sharing_groups_allow?: string[] | null | undefined;
592
+ sharing_groups_deny?: string[] | null | undefined;
593
+ } | {
594
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
595
+ sharing_groups_allow?: string[] | null | undefined;
596
+ sharing_groups_deny?: string[] | null | undefined;
597
+ } | {
598
+ DATA_TYPE: "s3_collection_policies#1.0.0";
599
+ } | undefined;
600
+ public: boolean;
601
+ require_mfa?: boolean | undefined;
602
+ root_path?: string | undefined;
603
+ sharing_restrict_paths?: Record<string, unknown> | {
604
+ DATA_TYPE: "path_restrictions#1.0.0";
605
+ none?: string[] | undefined;
606
+ read?: string[] | undefined;
607
+ read_write?: string[] | undefined;
608
+ } | null | undefined;
609
+ sharing_users_allow?: string[] | null | undefined;
610
+ sharing_users_deny?: string[] | null | undefined;
611
+ storage_gateway_id?: string | undefined;
612
+ tlsftp_url?: string | undefined;
613
+ user_credential_id?: string | undefined;
614
+ user_message?: string | null | undefined;
615
+ user_message_link?: string | null | undefined;
616
+ } | {
617
+ DATA_TYPE: "collection#1.6.0";
618
+ allow_guest_collections?: boolean | undefined;
619
+ authentication_timeout_mins?: number | undefined;
620
+ collection_base_path: string;
621
+ collection_type: "mapped" | "guest";
622
+ connector_id?: string | undefined;
623
+ contact_email?: string | null | undefined;
624
+ contact_info?: string | null | undefined;
625
+ default_directory?: string | undefined;
626
+ deleted?: boolean | undefined;
627
+ department?: string | null | undefined;
628
+ description?: string | null | undefined;
629
+ disable_anonymous_writes?: boolean | undefined;
630
+ disable_verify?: boolean | undefined;
631
+ display_name: string;
632
+ domain?: {
633
+ DATA_TYPE: "domain#1.0.0";
634
+ certificate?: string | null | undefined;
635
+ certificate_chain?: string | null | undefined;
636
+ certificate_chain_path?: string | null | undefined;
637
+ certificate_path?: string | null | undefined;
638
+ domain_name: string;
639
+ private_key?: string | null | undefined;
640
+ private_key_path?: string | null | undefined;
641
+ wildcard: boolean;
642
+ } | undefined;
643
+ domain_name?: string | undefined;
644
+ enable_https?: boolean | undefined;
645
+ force_encryption?: boolean | undefined;
646
+ force_verify?: boolean | undefined;
647
+ guest_auth_policy_id?: string | null | undefined;
648
+ high_assurance?: boolean | undefined;
649
+ https_url?: string | undefined;
650
+ id?: string | undefined;
651
+ identity_id?: string | undefined;
652
+ info_link?: string | null | undefined;
653
+ keywords?: string[] | undefined;
654
+ manager_url?: string | undefined;
655
+ mapped_collection_id?: string | undefined;
656
+ organization?: string | undefined;
657
+ policies?: {
658
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
659
+ } | {
660
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
661
+ } | {
662
+ DATA_TYPE: "box_collection_policies#1.0.0";
663
+ } | {
664
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
665
+ } | {
666
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
667
+ project?: string | undefined;
668
+ } | {
669
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
670
+ } | {
671
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
672
+ } | {
673
+ DATA_TYPE: "irods_collection_policies#1.0.0";
674
+ } | {
675
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
676
+ } | {
677
+ DATA_TYPE: "posix_collection_policies#1.0.0";
678
+ } | {
679
+ DATA_TYPE: "posix_collection_policies#1.1.0";
680
+ sharing_groups_allow?: string[] | null | undefined;
681
+ sharing_groups_deny?: string[] | null | undefined;
682
+ } | {
683
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
684
+ sharing_groups_allow?: string[] | null | undefined;
685
+ sharing_groups_deny?: string[] | null | undefined;
686
+ } | {
687
+ DATA_TYPE: "s3_collection_policies#1.0.0";
688
+ } | undefined;
689
+ public: boolean;
690
+ require_mfa?: boolean | undefined;
691
+ root_path?: string | undefined;
692
+ sharing_restrict_paths?: Record<string, unknown> | {
693
+ DATA_TYPE: "path_restrictions#1.0.0";
694
+ none?: string[] | undefined;
695
+ read?: string[] | undefined;
696
+ read_write?: string[] | undefined;
697
+ } | null | undefined;
698
+ sharing_users_allow?: string[] | null | undefined;
699
+ sharing_users_deny?: string[] | null | undefined;
700
+ storage_gateway_id?: string | undefined;
701
+ tlsftp_url?: string | undefined;
702
+ user_credential_id?: string | undefined;
703
+ user_message?: string | null | undefined;
704
+ user_message_link?: string | null | undefined;
705
+ } | {
706
+ DATA_TYPE: "collection#1.7.0";
707
+ allow_guest_collections?: boolean | undefined;
708
+ authentication_timeout_mins?: number | undefined;
709
+ collection_base_path: string;
710
+ collection_type: "mapped" | "guest";
711
+ connector_id?: string | undefined;
712
+ contact_email?: string | null | undefined;
713
+ contact_info?: string | null | undefined;
714
+ default_directory?: string | undefined;
715
+ deleted?: boolean | undefined;
716
+ department?: string | null | undefined;
717
+ description?: string | null | undefined;
718
+ disable_anonymous_writes?: boolean | undefined;
719
+ disable_verify?: boolean | undefined;
720
+ display_name: string;
721
+ domain?: {
722
+ DATA_TYPE: "domain#1.0.0";
723
+ certificate?: string | null | undefined;
724
+ certificate_chain?: string | null | undefined;
725
+ certificate_chain_path?: string | null | undefined;
726
+ certificate_path?: string | null | undefined;
727
+ domain_name: string;
728
+ private_key?: string | null | undefined;
729
+ private_key_path?: string | null | undefined;
730
+ wildcard: boolean;
731
+ } | undefined;
732
+ domain_name?: string | undefined;
733
+ enable_https?: boolean | undefined;
734
+ force_encryption?: boolean | undefined;
735
+ force_verify?: boolean | undefined;
736
+ guest_auth_policy_id?: string | null | undefined;
737
+ high_assurance?: boolean | undefined;
738
+ https_url?: string | undefined;
739
+ id?: string | undefined;
740
+ identity_id?: string | undefined;
741
+ info_link?: string | null | undefined;
742
+ keywords?: string[] | undefined;
743
+ manager_url?: string | undefined;
744
+ mapped_collection_id?: string | undefined;
745
+ organization?: string | undefined;
746
+ policies?: {
747
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
748
+ } | {
749
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
750
+ } | {
751
+ DATA_TYPE: "box_collection_policies#1.0.0";
752
+ } | {
753
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
754
+ } | {
755
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
756
+ project?: string | undefined;
757
+ } | {
758
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
759
+ } | {
760
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
761
+ } | {
762
+ DATA_TYPE: "irods_collection_policies#1.0.0";
763
+ } | {
764
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
765
+ } | {
766
+ DATA_TYPE: "posix_collection_policies#1.0.0";
767
+ } | {
768
+ DATA_TYPE: "posix_collection_policies#1.1.0";
769
+ sharing_groups_allow?: string[] | null | undefined;
770
+ sharing_groups_deny?: string[] | null | undefined;
771
+ } | {
772
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
773
+ sharing_groups_allow?: string[] | null | undefined;
774
+ sharing_groups_deny?: string[] | null | undefined;
775
+ } | {
776
+ DATA_TYPE: "s3_collection_policies#1.0.0";
777
+ } | undefined;
778
+ public: boolean;
779
+ require_mfa?: boolean | undefined;
780
+ root_path?: string | undefined;
781
+ sharing_restrict_paths?: Record<string, unknown> | {
782
+ DATA_TYPE: "path_restrictions#1.0.0";
783
+ none?: string[] | undefined;
784
+ read?: string[] | undefined;
785
+ read_write?: string[] | undefined;
786
+ } | null | undefined;
787
+ sharing_users_allow?: string[] | null | undefined;
788
+ sharing_users_deny?: string[] | null | undefined;
789
+ storage_gateway_id?: string | undefined;
790
+ tlsftp_url?: string | undefined;
791
+ user_credential_id?: string | undefined;
792
+ user_message?: string | null | undefined;
793
+ user_message_link?: string | null | undefined;
794
+ } | {
795
+ DATA_TYPE: "collection#1.8.0";
796
+ allow_guest_collections?: boolean | undefined;
797
+ authentication_timeout_mins?: number | undefined;
798
+ collection_base_path: string;
799
+ collection_type: "mapped" | "guest";
800
+ connector_id?: string | undefined;
801
+ contact_email?: string | null | undefined;
802
+ contact_info?: string | null | undefined;
803
+ default_directory?: string | undefined;
804
+ delete_protected?: boolean | undefined;
805
+ deleted?: boolean | undefined;
806
+ department?: string | null | undefined;
807
+ description?: string | null | undefined;
808
+ disable_anonymous_writes?: boolean | undefined;
809
+ disable_verify?: boolean | undefined;
810
+ display_name: string;
811
+ domain?: {
812
+ DATA_TYPE: "domain#1.0.0";
813
+ certificate?: string | null | undefined;
814
+ certificate_chain?: string | null | undefined;
815
+ certificate_chain_path?: string | null | undefined;
816
+ certificate_path?: string | null | undefined;
817
+ domain_name: string;
818
+ private_key?: string | null | undefined;
819
+ private_key_path?: string | null | undefined;
820
+ wildcard: boolean;
821
+ } | undefined;
822
+ domain_name?: string | undefined;
823
+ enable_https?: boolean | undefined;
824
+ force_encryption?: boolean | undefined;
825
+ force_verify?: boolean | undefined;
826
+ guest_auth_policy_id?: string | null | undefined;
827
+ high_assurance?: boolean | undefined;
828
+ https_url?: string | undefined;
829
+ id?: string | undefined;
830
+ identity_id?: string | undefined;
831
+ info_link?: string | null | undefined;
832
+ keywords?: string[] | undefined;
833
+ manager_url?: string | undefined;
834
+ mapped_collection_id?: string | undefined;
835
+ organization?: string | undefined;
836
+ policies?: {
837
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
838
+ } | {
839
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
840
+ } | {
841
+ DATA_TYPE: "box_collection_policies#1.0.0";
842
+ } | {
843
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
844
+ } | {
845
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
846
+ project?: string | undefined;
847
+ } | {
848
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
849
+ } | {
850
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
851
+ } | {
852
+ DATA_TYPE: "irods_collection_policies#1.0.0";
853
+ } | {
854
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
855
+ } | {
856
+ DATA_TYPE: "posix_collection_policies#1.0.0";
857
+ } | {
858
+ DATA_TYPE: "posix_collection_policies#1.1.0";
859
+ sharing_groups_allow?: string[] | null | undefined;
860
+ sharing_groups_deny?: string[] | null | undefined;
861
+ } | {
862
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
863
+ sharing_groups_allow?: string[] | null | undefined;
864
+ sharing_groups_deny?: string[] | null | undefined;
865
+ } | {
866
+ DATA_TYPE: "s3_collection_policies#1.0.0";
867
+ } | undefined;
868
+ public: boolean;
869
+ require_mfa?: boolean | undefined;
870
+ root_path?: string | undefined;
871
+ sharing_restrict_paths?: Record<string, unknown> | {
872
+ DATA_TYPE: "path_restrictions#1.0.0";
873
+ none?: string[] | undefined;
874
+ read?: string[] | undefined;
875
+ read_write?: string[] | undefined;
876
+ } | null | undefined;
877
+ sharing_users_allow?: string[] | null | undefined;
878
+ sharing_users_deny?: string[] | null | undefined;
879
+ storage_gateway_id?: string | undefined;
880
+ tlsftp_url?: string | undefined;
881
+ user_credential_id?: string | undefined;
882
+ user_message?: string | null | undefined;
883
+ user_message_link?: string | null | undefined;
884
+ })[] | undefined;
885
+ } & {
886
+ DATA_TYPE: "result#1.0.0";
887
+ code: string;
888
+ data?: Record<string, never>[] | undefined;
889
+ detail?: Record<string, never> | undefined;
890
+ has_next_page?: boolean | undefined;
891
+ http_response_code: number;
892
+ marker?: string | null | undefined;
893
+ message?: string | undefined;
894
+ }>>;
895
+ getAll: (_parameters?: {
896
+ include?: "private_policies"[] | undefined;
897
+ filter?: ("mapped_collections" | "guest_collections" | "managed_by_me" | "created_by_me")[] | undefined;
898
+ mapped_collection_id?: string | undefined;
899
+ } | undefined, sdkOptions?: import("../types").SDKOptions | undefined) => Promise<import("../types").JSONFetchResponse<{
900
+ code?: "success" | undefined;
901
+ data?: ({
902
+ DATA_TYPE: "collection#1.0.0";
903
+ allow_guest_collections?: boolean | undefined;
904
+ authentication_timeout_mins?: number | undefined;
905
+ collection_base_path: string;
906
+ collection_type: "mapped" | "guest";
907
+ connector_id?: string | undefined;
908
+ contact_email?: string | null | undefined;
909
+ contact_info?: string | null | undefined;
910
+ default_directory?: string | undefined;
911
+ deleted?: boolean | undefined;
912
+ department?: string | null | undefined;
913
+ description?: string | null | undefined;
914
+ disable_verify?: boolean | undefined;
915
+ display_name: string;
916
+ domain_name?: string | undefined;
917
+ force_encryption?: boolean | undefined;
918
+ high_assurance?: boolean | undefined;
919
+ https_url?: string | undefined;
920
+ id?: string | undefined;
921
+ identity_id?: string | undefined;
922
+ info_link?: string | null | undefined;
923
+ keywords?: string[] | undefined;
924
+ manager_url?: string | undefined;
925
+ mapped_collection_id?: string | undefined;
926
+ organization?: string | undefined;
927
+ policies?: {
928
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
929
+ } | {
930
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
931
+ } | {
932
+ DATA_TYPE: "box_collection_policies#1.0.0";
933
+ } | {
934
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
935
+ } | {
936
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
937
+ project?: string | undefined;
938
+ } | {
939
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
940
+ } | {
941
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
942
+ } | {
943
+ DATA_TYPE: "irods_collection_policies#1.0.0";
944
+ } | {
945
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
946
+ } | {
947
+ DATA_TYPE: "posix_collection_policies#1.0.0";
948
+ } | {
949
+ DATA_TYPE: "posix_collection_policies#1.1.0";
950
+ sharing_groups_allow?: string[] | null | undefined;
951
+ sharing_groups_deny?: string[] | null | undefined;
952
+ } | {
953
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
954
+ sharing_groups_allow?: string[] | null | undefined;
955
+ sharing_groups_deny?: string[] | null | undefined;
956
+ } | {
957
+ DATA_TYPE: "s3_collection_policies#1.0.0";
958
+ } | undefined;
959
+ public: boolean;
960
+ root_path?: string | undefined;
961
+ sharing_restrict_paths?: Record<string, unknown> | {
962
+ DATA_TYPE: "path_restrictions#1.0.0";
963
+ none?: string[] | undefined;
964
+ read?: string[] | undefined;
965
+ read_write?: string[] | undefined;
966
+ } | null | undefined;
967
+ storage_gateway_id?: string | undefined;
968
+ tlsftp_url?: string | undefined;
969
+ user_credential_id?: string | undefined;
970
+ } | {
971
+ DATA_TYPE: "collection#1.1.0";
972
+ allow_guest_collections?: boolean | undefined;
973
+ authentication_timeout_mins?: number | undefined;
974
+ collection_base_path: string;
975
+ collection_type: "mapped" | "guest";
976
+ connector_id?: string | undefined;
977
+ contact_email?: string | null | undefined;
978
+ contact_info?: string | null | undefined;
979
+ default_directory?: string | undefined;
980
+ deleted?: boolean | undefined;
981
+ department?: string | null | undefined;
982
+ description?: string | null | undefined;
983
+ disable_verify?: boolean | undefined;
984
+ display_name: string;
985
+ domain_name?: string | undefined;
986
+ enable_https?: boolean | undefined;
987
+ force_encryption?: boolean | undefined;
988
+ high_assurance?: boolean | undefined;
989
+ https_url?: string | undefined;
990
+ id?: string | undefined;
991
+ identity_id?: string | undefined;
992
+ info_link?: string | null | undefined;
993
+ keywords?: string[] | undefined;
994
+ manager_url?: string | undefined;
995
+ mapped_collection_id?: string | undefined;
996
+ organization?: string | undefined;
997
+ policies?: {
998
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
999
+ } | {
1000
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1001
+ } | {
1002
+ DATA_TYPE: "box_collection_policies#1.0.0";
1003
+ } | {
1004
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1005
+ } | {
1006
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1007
+ project?: string | undefined;
1008
+ } | {
1009
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1010
+ } | {
1011
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1012
+ } | {
1013
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1014
+ } | {
1015
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1016
+ } | {
1017
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1018
+ } | {
1019
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1020
+ sharing_groups_allow?: string[] | null | undefined;
1021
+ sharing_groups_deny?: string[] | null | undefined;
1022
+ } | {
1023
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1024
+ sharing_groups_allow?: string[] | null | undefined;
1025
+ sharing_groups_deny?: string[] | null | undefined;
1026
+ } | {
1027
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1028
+ } | undefined;
1029
+ public: boolean;
1030
+ root_path?: string | undefined;
1031
+ sharing_restrict_paths?: Record<string, unknown> | {
1032
+ DATA_TYPE: "path_restrictions#1.0.0";
1033
+ none?: string[] | undefined;
1034
+ read?: string[] | undefined;
1035
+ read_write?: string[] | undefined;
1036
+ } | null | undefined;
1037
+ storage_gateway_id?: string | undefined;
1038
+ tlsftp_url?: string | undefined;
1039
+ user_credential_id?: string | undefined;
1040
+ user_message?: string | null | undefined;
1041
+ user_message_link?: string | null | undefined;
1042
+ } | {
1043
+ DATA_TYPE: "collection#1.2.0";
1044
+ allow_guest_collections?: boolean | undefined;
1045
+ authentication_timeout_mins?: number | undefined;
1046
+ collection_base_path: string;
1047
+ collection_type: "mapped" | "guest";
1048
+ connector_id?: string | undefined;
1049
+ contact_email?: string | null | undefined;
1050
+ contact_info?: string | null | undefined;
1051
+ default_directory?: string | undefined;
1052
+ deleted?: boolean | undefined;
1053
+ department?: string | null | undefined;
1054
+ description?: string | null | undefined;
1055
+ disable_verify?: boolean | undefined;
1056
+ display_name: string;
1057
+ domain_name?: string | undefined;
1058
+ enable_https?: boolean | undefined;
1059
+ force_encryption?: boolean | undefined;
1060
+ high_assurance?: boolean | undefined;
1061
+ https_url?: string | undefined;
1062
+ id?: string | undefined;
1063
+ identity_id?: string | undefined;
1064
+ info_link?: string | null | undefined;
1065
+ keywords?: string[] | undefined;
1066
+ manager_url?: string | undefined;
1067
+ mapped_collection_id?: string | undefined;
1068
+ organization?: string | undefined;
1069
+ policies?: {
1070
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1071
+ } | {
1072
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1073
+ } | {
1074
+ DATA_TYPE: "box_collection_policies#1.0.0";
1075
+ } | {
1076
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1077
+ } | {
1078
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1079
+ project?: string | undefined;
1080
+ } | {
1081
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1082
+ } | {
1083
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1084
+ } | {
1085
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1086
+ } | {
1087
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1088
+ } | {
1089
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1090
+ } | {
1091
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1092
+ sharing_groups_allow?: string[] | null | undefined;
1093
+ sharing_groups_deny?: string[] | null | undefined;
1094
+ } | {
1095
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1096
+ sharing_groups_allow?: string[] | null | undefined;
1097
+ sharing_groups_deny?: string[] | null | undefined;
1098
+ } | {
1099
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1100
+ } | undefined;
1101
+ public: boolean;
1102
+ root_path?: string | undefined;
1103
+ sharing_restrict_paths?: Record<string, unknown> | {
1104
+ DATA_TYPE: "path_restrictions#1.0.0";
1105
+ none?: string[] | undefined;
1106
+ read?: string[] | undefined;
1107
+ read_write?: string[] | undefined;
1108
+ } | null | undefined;
1109
+ sharing_users_allow?: string[] | null | undefined;
1110
+ sharing_users_deny?: string[] | null | undefined;
1111
+ storage_gateway_id?: string | undefined;
1112
+ tlsftp_url?: string | undefined;
1113
+ user_credential_id?: string | undefined;
1114
+ user_message?: string | null | undefined;
1115
+ user_message_link?: string | null | undefined;
1116
+ } | {
1117
+ DATA_TYPE: "collection#1.3.0";
1118
+ allow_guest_collections?: boolean | undefined;
1119
+ authentication_timeout_mins?: number | undefined;
1120
+ collection_base_path: string;
1121
+ collection_type: "mapped" | "guest";
1122
+ connector_id?: string | undefined;
1123
+ contact_email?: string | null | undefined;
1124
+ contact_info?: string | null | undefined;
1125
+ default_directory?: string | undefined;
1126
+ deleted?: boolean | undefined;
1127
+ department?: string | null | undefined;
1128
+ description?: string | null | undefined;
1129
+ disable_verify?: boolean | undefined;
1130
+ display_name: string;
1131
+ domain?: {
1132
+ DATA_TYPE: "domain#1.0.0";
1133
+ certificate?: string | null | undefined;
1134
+ certificate_chain?: string | null | undefined;
1135
+ certificate_chain_path?: string | null | undefined;
1136
+ certificate_path?: string | null | undefined;
1137
+ domain_name: string;
1138
+ private_key?: string | null | undefined;
1139
+ private_key_path?: string | null | undefined;
1140
+ wildcard: boolean;
1141
+ } | undefined;
1142
+ domain_name?: string | undefined;
1143
+ enable_https?: boolean | undefined;
1144
+ force_encryption?: boolean | undefined;
1145
+ high_assurance?: boolean | undefined;
1146
+ https_url?: string | undefined;
1147
+ id?: string | undefined;
1148
+ identity_id?: string | undefined;
1149
+ info_link?: string | null | undefined;
1150
+ keywords?: string[] | undefined;
1151
+ manager_url?: string | undefined;
1152
+ mapped_collection_id?: string | undefined;
1153
+ organization?: string | undefined;
1154
+ policies?: {
1155
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1156
+ } | {
1157
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1158
+ } | {
1159
+ DATA_TYPE: "box_collection_policies#1.0.0";
1160
+ } | {
1161
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1162
+ } | {
1163
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1164
+ project?: string | undefined;
1165
+ } | {
1166
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1167
+ } | {
1168
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1169
+ } | {
1170
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1171
+ } | {
1172
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1173
+ } | {
1174
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1175
+ } | {
1176
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1177
+ sharing_groups_allow?: string[] | null | undefined;
1178
+ sharing_groups_deny?: string[] | null | undefined;
1179
+ } | {
1180
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1181
+ sharing_groups_allow?: string[] | null | undefined;
1182
+ sharing_groups_deny?: string[] | null | undefined;
1183
+ } | {
1184
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1185
+ } | undefined;
1186
+ public: boolean;
1187
+ root_path?: string | undefined;
1188
+ sharing_restrict_paths?: Record<string, unknown> | {
1189
+ DATA_TYPE: "path_restrictions#1.0.0";
1190
+ none?: string[] | undefined;
1191
+ read?: string[] | undefined;
1192
+ read_write?: string[] | undefined;
1193
+ } | null | undefined;
1194
+ sharing_users_allow?: string[] | null | undefined;
1195
+ sharing_users_deny?: string[] | null | undefined;
1196
+ storage_gateway_id?: string | undefined;
1197
+ tlsftp_url?: string | undefined;
1198
+ user_credential_id?: string | undefined;
1199
+ user_message?: string | null | undefined;
1200
+ user_message_link?: string | null | undefined;
1201
+ } | {
1202
+ DATA_TYPE: "collection#1.4.0";
1203
+ allow_guest_collections?: boolean | undefined;
1204
+ authentication_timeout_mins?: number | undefined;
1205
+ collection_base_path: string;
1206
+ collection_type: "mapped" | "guest";
1207
+ connector_id?: string | undefined;
1208
+ contact_email?: string | null | undefined;
1209
+ contact_info?: string | null | undefined;
1210
+ default_directory?: string | undefined;
1211
+ deleted?: boolean | undefined;
1212
+ department?: string | null | undefined;
1213
+ description?: string | null | undefined;
1214
+ disable_verify?: boolean | undefined;
1215
+ display_name: string;
1216
+ domain?: {
1217
+ DATA_TYPE: "domain#1.0.0";
1218
+ certificate?: string | null | undefined;
1219
+ certificate_chain?: string | null | undefined;
1220
+ certificate_chain_path?: string | null | undefined;
1221
+ certificate_path?: string | null | undefined;
1222
+ domain_name: string;
1223
+ private_key?: string | null | undefined;
1224
+ private_key_path?: string | null | undefined;
1225
+ wildcard: boolean;
1226
+ } | undefined;
1227
+ domain_name?: string | undefined;
1228
+ enable_https?: boolean | undefined;
1229
+ force_encryption?: boolean | undefined;
1230
+ force_verify?: boolean | undefined;
1231
+ high_assurance?: boolean | undefined;
1232
+ https_url?: string | undefined;
1233
+ id?: string | undefined;
1234
+ identity_id?: string | undefined;
1235
+ info_link?: string | null | undefined;
1236
+ keywords?: string[] | undefined;
1237
+ manager_url?: string | undefined;
1238
+ mapped_collection_id?: string | undefined;
1239
+ organization?: string | undefined;
1240
+ policies?: {
1241
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1242
+ } | {
1243
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1244
+ } | {
1245
+ DATA_TYPE: "box_collection_policies#1.0.0";
1246
+ } | {
1247
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1248
+ } | {
1249
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1250
+ project?: string | undefined;
1251
+ } | {
1252
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1253
+ } | {
1254
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1255
+ } | {
1256
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1257
+ } | {
1258
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1259
+ } | {
1260
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1261
+ } | {
1262
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1263
+ sharing_groups_allow?: string[] | null | undefined;
1264
+ sharing_groups_deny?: string[] | null | undefined;
1265
+ } | {
1266
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1267
+ sharing_groups_allow?: string[] | null | undefined;
1268
+ sharing_groups_deny?: string[] | null | undefined;
1269
+ } | {
1270
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1271
+ } | undefined;
1272
+ public: boolean;
1273
+ require_mfa?: boolean | undefined;
1274
+ root_path?: string | undefined;
1275
+ sharing_restrict_paths?: Record<string, unknown> | {
1276
+ DATA_TYPE: "path_restrictions#1.0.0";
1277
+ none?: string[] | undefined;
1278
+ read?: string[] | undefined;
1279
+ read_write?: string[] | undefined;
1280
+ } | null | undefined;
1281
+ sharing_users_allow?: string[] | null | undefined;
1282
+ sharing_users_deny?: string[] | null | undefined;
1283
+ storage_gateway_id?: string | undefined;
1284
+ tlsftp_url?: string | undefined;
1285
+ user_credential_id?: string | undefined;
1286
+ user_message?: string | null | undefined;
1287
+ user_message_link?: string | null | undefined;
1288
+ } | {
1289
+ DATA_TYPE: "collection#1.5.0";
1290
+ allow_guest_collections?: boolean | undefined;
1291
+ authentication_timeout_mins?: number | undefined;
1292
+ collection_base_path: string;
1293
+ collection_type: "mapped" | "guest";
1294
+ connector_id?: string | undefined;
1295
+ contact_email?: string | null | undefined;
1296
+ contact_info?: string | null | undefined;
1297
+ default_directory?: string | undefined;
1298
+ deleted?: boolean | undefined;
1299
+ department?: string | null | undefined;
1300
+ description?: string | null | undefined;
1301
+ disable_anonymous_writes?: boolean | undefined;
1302
+ disable_verify?: boolean | undefined;
1303
+ display_name: string;
1304
+ domain?: {
1305
+ DATA_TYPE: "domain#1.0.0";
1306
+ certificate?: string | null | undefined;
1307
+ certificate_chain?: string | null | undefined;
1308
+ certificate_chain_path?: string | null | undefined;
1309
+ certificate_path?: string | null | undefined;
1310
+ domain_name: string;
1311
+ private_key?: string | null | undefined;
1312
+ private_key_path?: string | null | undefined;
1313
+ wildcard: boolean;
1314
+ } | undefined;
1315
+ domain_name?: string | undefined;
1316
+ enable_https?: boolean | undefined;
1317
+ force_encryption?: boolean | undefined;
1318
+ force_verify?: boolean | undefined;
1319
+ high_assurance?: boolean | undefined;
1320
+ https_url?: string | undefined;
1321
+ id?: string | undefined;
1322
+ identity_id?: string | undefined;
1323
+ info_link?: string | null | undefined;
1324
+ keywords?: string[] | undefined;
1325
+ manager_url?: string | undefined;
1326
+ mapped_collection_id?: string | undefined;
1327
+ organization?: string | undefined;
1328
+ policies?: {
1329
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1330
+ } | {
1331
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1332
+ } | {
1333
+ DATA_TYPE: "box_collection_policies#1.0.0";
1334
+ } | {
1335
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1336
+ } | {
1337
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1338
+ project?: string | undefined;
1339
+ } | {
1340
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1341
+ } | {
1342
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1343
+ } | {
1344
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1345
+ } | {
1346
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1347
+ } | {
1348
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1349
+ } | {
1350
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1351
+ sharing_groups_allow?: string[] | null | undefined;
1352
+ sharing_groups_deny?: string[] | null | undefined;
1353
+ } | {
1354
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1355
+ sharing_groups_allow?: string[] | null | undefined;
1356
+ sharing_groups_deny?: string[] | null | undefined;
1357
+ } | {
1358
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1359
+ } | undefined;
1360
+ public: boolean;
1361
+ require_mfa?: boolean | undefined;
1362
+ root_path?: string | undefined;
1363
+ sharing_restrict_paths?: Record<string, unknown> | {
1364
+ DATA_TYPE: "path_restrictions#1.0.0";
1365
+ none?: string[] | undefined;
1366
+ read?: string[] | undefined;
1367
+ read_write?: string[] | undefined;
1368
+ } | null | undefined;
1369
+ sharing_users_allow?: string[] | null | undefined;
1370
+ sharing_users_deny?: string[] | null | undefined;
1371
+ storage_gateway_id?: string | undefined;
1372
+ tlsftp_url?: string | undefined;
1373
+ user_credential_id?: string | undefined;
1374
+ user_message?: string | null | undefined;
1375
+ user_message_link?: string | null | undefined;
1376
+ } | {
1377
+ DATA_TYPE: "collection#1.6.0";
1378
+ allow_guest_collections?: boolean | undefined;
1379
+ authentication_timeout_mins?: number | undefined;
1380
+ collection_base_path: string;
1381
+ collection_type: "mapped" | "guest";
1382
+ connector_id?: string | undefined;
1383
+ contact_email?: string | null | undefined;
1384
+ contact_info?: string | null | undefined;
1385
+ default_directory?: string | undefined;
1386
+ deleted?: boolean | undefined;
1387
+ department?: string | null | undefined;
1388
+ description?: string | null | undefined;
1389
+ disable_anonymous_writes?: boolean | undefined;
1390
+ disable_verify?: boolean | undefined;
1391
+ display_name: string;
1392
+ domain?: {
1393
+ DATA_TYPE: "domain#1.0.0";
1394
+ certificate?: string | null | undefined;
1395
+ certificate_chain?: string | null | undefined;
1396
+ certificate_chain_path?: string | null | undefined;
1397
+ certificate_path?: string | null | undefined;
1398
+ domain_name: string;
1399
+ private_key?: string | null | undefined;
1400
+ private_key_path?: string | null | undefined;
1401
+ wildcard: boolean;
1402
+ } | undefined;
1403
+ domain_name?: string | undefined;
1404
+ enable_https?: boolean | undefined;
1405
+ force_encryption?: boolean | undefined;
1406
+ force_verify?: boolean | undefined;
1407
+ guest_auth_policy_id?: string | null | undefined;
1408
+ high_assurance?: boolean | undefined;
1409
+ https_url?: string | undefined;
1410
+ id?: string | undefined;
1411
+ identity_id?: string | undefined;
1412
+ info_link?: string | null | undefined;
1413
+ keywords?: string[] | undefined;
1414
+ manager_url?: string | undefined;
1415
+ mapped_collection_id?: string | undefined;
1416
+ organization?: string | undefined;
1417
+ policies?: {
1418
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1419
+ } | {
1420
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1421
+ } | {
1422
+ DATA_TYPE: "box_collection_policies#1.0.0";
1423
+ } | {
1424
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1425
+ } | {
1426
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1427
+ project?: string | undefined;
1428
+ } | {
1429
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1430
+ } | {
1431
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1432
+ } | {
1433
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1434
+ } | {
1435
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1436
+ } | {
1437
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1438
+ } | {
1439
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1440
+ sharing_groups_allow?: string[] | null | undefined;
1441
+ sharing_groups_deny?: string[] | null | undefined;
1442
+ } | {
1443
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1444
+ sharing_groups_allow?: string[] | null | undefined;
1445
+ sharing_groups_deny?: string[] | null | undefined;
1446
+ } | {
1447
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1448
+ } | undefined;
1449
+ public: boolean;
1450
+ require_mfa?: boolean | undefined;
1451
+ root_path?: string | undefined;
1452
+ sharing_restrict_paths?: Record<string, unknown> | {
1453
+ DATA_TYPE: "path_restrictions#1.0.0";
1454
+ none?: string[] | undefined;
1455
+ read?: string[] | undefined;
1456
+ read_write?: string[] | undefined;
1457
+ } | null | undefined;
1458
+ sharing_users_allow?: string[] | null | undefined;
1459
+ sharing_users_deny?: string[] | null | undefined;
1460
+ storage_gateway_id?: string | undefined;
1461
+ tlsftp_url?: string | undefined;
1462
+ user_credential_id?: string | undefined;
1463
+ user_message?: string | null | undefined;
1464
+ user_message_link?: string | null | undefined;
1465
+ } | {
1466
+ DATA_TYPE: "collection#1.7.0";
1467
+ allow_guest_collections?: boolean | undefined;
1468
+ authentication_timeout_mins?: number | undefined;
1469
+ collection_base_path: string;
1470
+ collection_type: "mapped" | "guest";
1471
+ connector_id?: string | undefined;
1472
+ contact_email?: string | null | undefined;
1473
+ contact_info?: string | null | undefined;
1474
+ default_directory?: string | undefined;
1475
+ deleted?: boolean | undefined;
1476
+ department?: string | null | undefined;
1477
+ description?: string | null | undefined;
1478
+ disable_anonymous_writes?: boolean | undefined;
1479
+ disable_verify?: boolean | undefined;
1480
+ display_name: string;
1481
+ domain?: {
1482
+ DATA_TYPE: "domain#1.0.0";
1483
+ certificate?: string | null | undefined;
1484
+ certificate_chain?: string | null | undefined;
1485
+ certificate_chain_path?: string | null | undefined;
1486
+ certificate_path?: string | null | undefined;
1487
+ domain_name: string;
1488
+ private_key?: string | null | undefined;
1489
+ private_key_path?: string | null | undefined;
1490
+ wildcard: boolean;
1491
+ } | undefined;
1492
+ domain_name?: string | undefined;
1493
+ enable_https?: boolean | undefined;
1494
+ force_encryption?: boolean | undefined;
1495
+ force_verify?: boolean | undefined;
1496
+ guest_auth_policy_id?: string | null | undefined;
1497
+ high_assurance?: boolean | undefined;
1498
+ https_url?: string | undefined;
1499
+ id?: string | undefined;
1500
+ identity_id?: string | undefined;
1501
+ info_link?: string | null | undefined;
1502
+ keywords?: string[] | undefined;
1503
+ manager_url?: string | undefined;
1504
+ mapped_collection_id?: string | undefined;
1505
+ organization?: string | undefined;
1506
+ policies?: {
1507
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1508
+ } | {
1509
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1510
+ } | {
1511
+ DATA_TYPE: "box_collection_policies#1.0.0";
1512
+ } | {
1513
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1514
+ } | {
1515
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1516
+ project?: string | undefined;
1517
+ } | {
1518
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1519
+ } | {
1520
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1521
+ } | {
1522
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1523
+ } | {
1524
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1525
+ } | {
1526
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1527
+ } | {
1528
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1529
+ sharing_groups_allow?: string[] | null | undefined;
1530
+ sharing_groups_deny?: string[] | null | undefined;
1531
+ } | {
1532
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1533
+ sharing_groups_allow?: string[] | null | undefined;
1534
+ sharing_groups_deny?: string[] | null | undefined;
1535
+ } | {
1536
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1537
+ } | undefined;
1538
+ public: boolean;
1539
+ require_mfa?: boolean | undefined;
1540
+ root_path?: string | undefined;
1541
+ sharing_restrict_paths?: Record<string, unknown> | {
1542
+ DATA_TYPE: "path_restrictions#1.0.0";
1543
+ none?: string[] | undefined;
1544
+ read?: string[] | undefined;
1545
+ read_write?: string[] | undefined;
1546
+ } | null | undefined;
1547
+ sharing_users_allow?: string[] | null | undefined;
1548
+ sharing_users_deny?: string[] | null | undefined;
1549
+ storage_gateway_id?: string | undefined;
1550
+ tlsftp_url?: string | undefined;
1551
+ user_credential_id?: string | undefined;
1552
+ user_message?: string | null | undefined;
1553
+ user_message_link?: string | null | undefined;
1554
+ } | {
1555
+ DATA_TYPE: "collection#1.8.0";
1556
+ allow_guest_collections?: boolean | undefined;
1557
+ authentication_timeout_mins?: number | undefined;
1558
+ collection_base_path: string;
1559
+ collection_type: "mapped" | "guest";
1560
+ connector_id?: string | undefined;
1561
+ contact_email?: string | null | undefined;
1562
+ contact_info?: string | null | undefined;
1563
+ default_directory?: string | undefined;
1564
+ delete_protected?: boolean | undefined;
1565
+ deleted?: boolean | undefined;
1566
+ department?: string | null | undefined;
1567
+ description?: string | null | undefined;
1568
+ disable_anonymous_writes?: boolean | undefined;
1569
+ disable_verify?: boolean | undefined;
1570
+ display_name: string;
1571
+ domain?: {
1572
+ DATA_TYPE: "domain#1.0.0";
1573
+ certificate?: string | null | undefined;
1574
+ certificate_chain?: string | null | undefined;
1575
+ certificate_chain_path?: string | null | undefined;
1576
+ certificate_path?: string | null | undefined;
1577
+ domain_name: string;
1578
+ private_key?: string | null | undefined;
1579
+ private_key_path?: string | null | undefined;
1580
+ wildcard: boolean;
1581
+ } | undefined;
1582
+ domain_name?: string | undefined;
1583
+ enable_https?: boolean | undefined;
1584
+ force_encryption?: boolean | undefined;
1585
+ force_verify?: boolean | undefined;
1586
+ guest_auth_policy_id?: string | null | undefined;
1587
+ high_assurance?: boolean | undefined;
1588
+ https_url?: string | undefined;
1589
+ id?: string | undefined;
1590
+ identity_id?: string | undefined;
1591
+ info_link?: string | null | undefined;
1592
+ keywords?: string[] | undefined;
1593
+ manager_url?: string | undefined;
1594
+ mapped_collection_id?: string | undefined;
1595
+ organization?: string | undefined;
1596
+ policies?: {
1597
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1598
+ } | {
1599
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1600
+ } | {
1601
+ DATA_TYPE: "box_collection_policies#1.0.0";
1602
+ } | {
1603
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1604
+ } | {
1605
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1606
+ project?: string | undefined;
1607
+ } | {
1608
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1609
+ } | {
1610
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1611
+ } | {
1612
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1613
+ } | {
1614
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1615
+ } | {
1616
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1617
+ } | {
1618
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1619
+ sharing_groups_allow?: string[] | null | undefined;
1620
+ sharing_groups_deny?: string[] | null | undefined;
1621
+ } | {
1622
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1623
+ sharing_groups_allow?: string[] | null | undefined;
1624
+ sharing_groups_deny?: string[] | null | undefined;
1625
+ } | {
1626
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1627
+ } | undefined;
1628
+ public: boolean;
1629
+ require_mfa?: boolean | undefined;
1630
+ root_path?: string | undefined;
1631
+ sharing_restrict_paths?: Record<string, unknown> | {
1632
+ DATA_TYPE: "path_restrictions#1.0.0";
1633
+ none?: string[] | undefined;
1634
+ read?: string[] | undefined;
1635
+ read_write?: string[] | undefined;
1636
+ } | null | undefined;
1637
+ sharing_users_allow?: string[] | null | undefined;
1638
+ sharing_users_deny?: string[] | null | undefined;
1639
+ storage_gateway_id?: string | undefined;
1640
+ tlsftp_url?: string | undefined;
1641
+ user_credential_id?: string | undefined;
1642
+ user_message?: string | null | undefined;
1643
+ user_message_link?: string | null | undefined;
1644
+ })[] | undefined;
1645
+ } & {
1646
+ DATA_TYPE: "result#1.0.0";
1647
+ code: string;
1648
+ data?: Record<string, never>[] | undefined;
1649
+ detail?: Record<string, never> | undefined;
1650
+ has_next_page?: boolean | undefined;
1651
+ http_response_code: number;
1652
+ marker?: string | null | undefined;
1653
+ message?: string | undefined;
1654
+ }>>;
1655
+ };
1656
+ userCredentials: {
1657
+ get: (user_credential_id: string, _parameters?: undefined, sdkOptions?: import("../types").SDKOptions | undefined) => Promise<import("../types").JSONFetchResponse<{
1658
+ code?: "success" | undefined;
1659
+ data?: ({
1660
+ DATA_TYPE: "collection#1.0.0";
1661
+ allow_guest_collections?: boolean | undefined;
1662
+ authentication_timeout_mins?: number | undefined;
1663
+ collection_base_path: string;
1664
+ collection_type: "mapped" | "guest";
1665
+ connector_id?: string | undefined;
1666
+ contact_email?: string | null | undefined;
1667
+ contact_info?: string | null | undefined;
1668
+ default_directory?: string | undefined;
1669
+ deleted?: boolean | undefined;
1670
+ department?: string | null | undefined;
1671
+ description?: string | null | undefined;
1672
+ disable_verify?: boolean | undefined;
1673
+ display_name: string;
1674
+ domain_name?: string | undefined;
1675
+ force_encryption?: boolean | undefined;
1676
+ high_assurance?: boolean | undefined;
1677
+ https_url?: string | undefined;
1678
+ id?: string | undefined;
1679
+ identity_id?: string | undefined;
1680
+ info_link?: string | null | undefined;
1681
+ keywords?: string[] | undefined;
1682
+ manager_url?: string | undefined;
1683
+ mapped_collection_id?: string | undefined;
1684
+ organization?: string | undefined;
1685
+ policies?: {
1686
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1687
+ } | {
1688
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1689
+ } | {
1690
+ DATA_TYPE: "box_collection_policies#1.0.0";
1691
+ } | {
1692
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1693
+ } | {
1694
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1695
+ project?: string | undefined;
1696
+ } | {
1697
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1698
+ } | {
1699
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1700
+ } | {
1701
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1702
+ } | {
1703
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1704
+ } | {
1705
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1706
+ } | {
1707
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1708
+ sharing_groups_allow?: string[] | null | undefined;
1709
+ sharing_groups_deny?: string[] | null | undefined;
1710
+ } | {
1711
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1712
+ sharing_groups_allow?: string[] | null | undefined;
1713
+ sharing_groups_deny?: string[] | null | undefined;
1714
+ } | {
1715
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1716
+ } | undefined;
1717
+ public: boolean;
1718
+ root_path?: string | undefined;
1719
+ sharing_restrict_paths?: Record<string, unknown> | {
1720
+ DATA_TYPE: "path_restrictions#1.0.0";
1721
+ none?: string[] | undefined;
1722
+ read?: string[] | undefined;
1723
+ read_write?: string[] | undefined;
1724
+ } | null | undefined;
1725
+ storage_gateway_id?: string | undefined;
1726
+ tlsftp_url?: string | undefined;
1727
+ user_credential_id?: string | undefined;
1728
+ } | {
1729
+ DATA_TYPE: "collection#1.1.0";
1730
+ allow_guest_collections?: boolean | undefined;
1731
+ authentication_timeout_mins?: number | undefined;
1732
+ collection_base_path: string;
1733
+ collection_type: "mapped" | "guest";
1734
+ connector_id?: string | undefined;
1735
+ contact_email?: string | null | undefined;
1736
+ contact_info?: string | null | undefined;
1737
+ default_directory?: string | undefined;
1738
+ deleted?: boolean | undefined;
1739
+ department?: string | null | undefined;
1740
+ description?: string | null | undefined;
1741
+ disable_verify?: boolean | undefined;
1742
+ display_name: string;
1743
+ domain_name?: string | undefined;
1744
+ enable_https?: boolean | undefined;
1745
+ force_encryption?: boolean | undefined;
1746
+ high_assurance?: boolean | undefined;
1747
+ https_url?: string | undefined;
1748
+ id?: string | undefined;
1749
+ identity_id?: string | undefined;
1750
+ info_link?: string | null | undefined;
1751
+ keywords?: string[] | undefined;
1752
+ manager_url?: string | undefined;
1753
+ mapped_collection_id?: string | undefined;
1754
+ organization?: string | undefined;
1755
+ policies?: {
1756
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1757
+ } | {
1758
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1759
+ } | {
1760
+ DATA_TYPE: "box_collection_policies#1.0.0";
1761
+ } | {
1762
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1763
+ } | {
1764
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1765
+ project?: string | undefined;
1766
+ } | {
1767
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1768
+ } | {
1769
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1770
+ } | {
1771
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1772
+ } | {
1773
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1774
+ } | {
1775
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1776
+ } | {
1777
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1778
+ sharing_groups_allow?: string[] | null | undefined;
1779
+ sharing_groups_deny?: string[] | null | undefined;
1780
+ } | {
1781
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1782
+ sharing_groups_allow?: string[] | null | undefined;
1783
+ sharing_groups_deny?: string[] | null | undefined;
1784
+ } | {
1785
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1786
+ } | undefined;
1787
+ public: boolean;
1788
+ root_path?: string | undefined;
1789
+ sharing_restrict_paths?: Record<string, unknown> | {
1790
+ DATA_TYPE: "path_restrictions#1.0.0";
1791
+ none?: string[] | undefined;
1792
+ read?: string[] | undefined;
1793
+ read_write?: string[] | undefined;
1794
+ } | null | undefined;
1795
+ storage_gateway_id?: string | undefined;
1796
+ tlsftp_url?: string | undefined;
1797
+ user_credential_id?: string | undefined;
1798
+ user_message?: string | null | undefined;
1799
+ user_message_link?: string | null | undefined;
1800
+ } | {
1801
+ DATA_TYPE: "collection#1.2.0";
1802
+ allow_guest_collections?: boolean | undefined;
1803
+ authentication_timeout_mins?: number | undefined;
1804
+ collection_base_path: string;
1805
+ collection_type: "mapped" | "guest";
1806
+ connector_id?: string | undefined;
1807
+ contact_email?: string | null | undefined;
1808
+ contact_info?: string | null | undefined;
1809
+ default_directory?: string | undefined;
1810
+ deleted?: boolean | undefined;
1811
+ department?: string | null | undefined;
1812
+ description?: string | null | undefined;
1813
+ disable_verify?: boolean | undefined;
1814
+ display_name: string;
1815
+ domain_name?: string | undefined;
1816
+ enable_https?: boolean | undefined;
1817
+ force_encryption?: boolean | undefined;
1818
+ high_assurance?: boolean | undefined;
1819
+ https_url?: string | undefined;
1820
+ id?: string | undefined;
1821
+ identity_id?: string | undefined;
1822
+ info_link?: string | null | undefined;
1823
+ keywords?: string[] | undefined;
1824
+ manager_url?: string | undefined;
1825
+ mapped_collection_id?: string | undefined;
1826
+ organization?: string | undefined;
1827
+ policies?: {
1828
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1829
+ } | {
1830
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1831
+ } | {
1832
+ DATA_TYPE: "box_collection_policies#1.0.0";
1833
+ } | {
1834
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1835
+ } | {
1836
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1837
+ project?: string | undefined;
1838
+ } | {
1839
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1840
+ } | {
1841
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1842
+ } | {
1843
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1844
+ } | {
1845
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1846
+ } | {
1847
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1848
+ } | {
1849
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1850
+ sharing_groups_allow?: string[] | null | undefined;
1851
+ sharing_groups_deny?: string[] | null | undefined;
1852
+ } | {
1853
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1854
+ sharing_groups_allow?: string[] | null | undefined;
1855
+ sharing_groups_deny?: string[] | null | undefined;
1856
+ } | {
1857
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1858
+ } | undefined;
1859
+ public: boolean;
1860
+ root_path?: string | undefined;
1861
+ sharing_restrict_paths?: Record<string, unknown> | {
1862
+ DATA_TYPE: "path_restrictions#1.0.0";
1863
+ none?: string[] | undefined;
1864
+ read?: string[] | undefined;
1865
+ read_write?: string[] | undefined;
1866
+ } | null | undefined;
1867
+ sharing_users_allow?: string[] | null | undefined;
1868
+ sharing_users_deny?: string[] | null | undefined;
1869
+ storage_gateway_id?: string | undefined;
1870
+ tlsftp_url?: string | undefined;
1871
+ user_credential_id?: string | undefined;
1872
+ user_message?: string | null | undefined;
1873
+ user_message_link?: string | null | undefined;
1874
+ } | {
1875
+ DATA_TYPE: "collection#1.3.0";
1876
+ allow_guest_collections?: boolean | undefined;
1877
+ authentication_timeout_mins?: number | undefined;
1878
+ collection_base_path: string;
1879
+ collection_type: "mapped" | "guest";
1880
+ connector_id?: string | undefined;
1881
+ contact_email?: string | null | undefined;
1882
+ contact_info?: string | null | undefined;
1883
+ default_directory?: string | undefined;
1884
+ deleted?: boolean | undefined;
1885
+ department?: string | null | undefined;
1886
+ description?: string | null | undefined;
1887
+ disable_verify?: boolean | undefined;
1888
+ display_name: string;
1889
+ domain?: {
1890
+ DATA_TYPE: "domain#1.0.0";
1891
+ certificate?: string | null | undefined;
1892
+ certificate_chain?: string | null | undefined;
1893
+ certificate_chain_path?: string | null | undefined;
1894
+ certificate_path?: string | null | undefined;
1895
+ domain_name: string;
1896
+ private_key?: string | null | undefined;
1897
+ private_key_path?: string | null | undefined;
1898
+ wildcard: boolean;
1899
+ } | undefined;
1900
+ domain_name?: string | undefined;
1901
+ enable_https?: boolean | undefined;
1902
+ force_encryption?: boolean | undefined;
1903
+ high_assurance?: boolean | undefined;
1904
+ https_url?: string | undefined;
1905
+ id?: string | undefined;
1906
+ identity_id?: string | undefined;
1907
+ info_link?: string | null | undefined;
1908
+ keywords?: string[] | undefined;
1909
+ manager_url?: string | undefined;
1910
+ mapped_collection_id?: string | undefined;
1911
+ organization?: string | undefined;
1912
+ policies?: {
1913
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1914
+ } | {
1915
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1916
+ } | {
1917
+ DATA_TYPE: "box_collection_policies#1.0.0";
1918
+ } | {
1919
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1920
+ } | {
1921
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1922
+ project?: string | undefined;
1923
+ } | {
1924
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1925
+ } | {
1926
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1927
+ } | {
1928
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1929
+ } | {
1930
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1931
+ } | {
1932
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1933
+ } | {
1934
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1935
+ sharing_groups_allow?: string[] | null | undefined;
1936
+ sharing_groups_deny?: string[] | null | undefined;
1937
+ } | {
1938
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1939
+ sharing_groups_allow?: string[] | null | undefined;
1940
+ sharing_groups_deny?: string[] | null | undefined;
1941
+ } | {
1942
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1943
+ } | undefined;
1944
+ public: boolean;
1945
+ root_path?: string | undefined;
1946
+ sharing_restrict_paths?: Record<string, unknown> | {
1947
+ DATA_TYPE: "path_restrictions#1.0.0";
1948
+ none?: string[] | undefined;
1949
+ read?: string[] | undefined;
1950
+ read_write?: string[] | undefined;
1951
+ } | null | undefined;
1952
+ sharing_users_allow?: string[] | null | undefined;
1953
+ sharing_users_deny?: string[] | null | undefined;
1954
+ storage_gateway_id?: string | undefined;
1955
+ tlsftp_url?: string | undefined;
1956
+ user_credential_id?: string | undefined;
1957
+ user_message?: string | null | undefined;
1958
+ user_message_link?: string | null | undefined;
1959
+ } | {
1960
+ DATA_TYPE: "collection#1.4.0";
1961
+ allow_guest_collections?: boolean | undefined;
1962
+ authentication_timeout_mins?: number | undefined;
1963
+ collection_base_path: string;
1964
+ collection_type: "mapped" | "guest";
1965
+ connector_id?: string | undefined;
1966
+ contact_email?: string | null | undefined;
1967
+ contact_info?: string | null | undefined;
1968
+ default_directory?: string | undefined;
1969
+ deleted?: boolean | undefined;
1970
+ department?: string | null | undefined;
1971
+ description?: string | null | undefined;
1972
+ disable_verify?: boolean | undefined;
1973
+ display_name: string;
1974
+ domain?: {
1975
+ DATA_TYPE: "domain#1.0.0";
1976
+ certificate?: string | null | undefined;
1977
+ certificate_chain?: string | null | undefined;
1978
+ certificate_chain_path?: string | null | undefined;
1979
+ certificate_path?: string | null | undefined;
1980
+ domain_name: string;
1981
+ private_key?: string | null | undefined;
1982
+ private_key_path?: string | null | undefined;
1983
+ wildcard: boolean;
1984
+ } | undefined;
1985
+ domain_name?: string | undefined;
1986
+ enable_https?: boolean | undefined;
1987
+ force_encryption?: boolean | undefined;
1988
+ force_verify?: boolean | undefined;
1989
+ high_assurance?: boolean | undefined;
1990
+ https_url?: string | undefined;
1991
+ id?: string | undefined;
1992
+ identity_id?: string | undefined;
1993
+ info_link?: string | null | undefined;
1994
+ keywords?: string[] | undefined;
1995
+ manager_url?: string | undefined;
1996
+ mapped_collection_id?: string | undefined;
1997
+ organization?: string | undefined;
1998
+ policies?: {
1999
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2000
+ } | {
2001
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2002
+ } | {
2003
+ DATA_TYPE: "box_collection_policies#1.0.0";
2004
+ } | {
2005
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2006
+ } | {
2007
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2008
+ project?: string | undefined;
2009
+ } | {
2010
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2011
+ } | {
2012
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2013
+ } | {
2014
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2015
+ } | {
2016
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2017
+ } | {
2018
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2019
+ } | {
2020
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2021
+ sharing_groups_allow?: string[] | null | undefined;
2022
+ sharing_groups_deny?: string[] | null | undefined;
2023
+ } | {
2024
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2025
+ sharing_groups_allow?: string[] | null | undefined;
2026
+ sharing_groups_deny?: string[] | null | undefined;
2027
+ } | {
2028
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2029
+ } | undefined;
2030
+ public: boolean;
2031
+ require_mfa?: boolean | undefined;
2032
+ root_path?: string | undefined;
2033
+ sharing_restrict_paths?: Record<string, unknown> | {
2034
+ DATA_TYPE: "path_restrictions#1.0.0";
2035
+ none?: string[] | undefined;
2036
+ read?: string[] | undefined;
2037
+ read_write?: string[] | undefined;
2038
+ } | null | undefined;
2039
+ sharing_users_allow?: string[] | null | undefined;
2040
+ sharing_users_deny?: string[] | null | undefined;
2041
+ storage_gateway_id?: string | undefined;
2042
+ tlsftp_url?: string | undefined;
2043
+ user_credential_id?: string | undefined;
2044
+ user_message?: string | null | undefined;
2045
+ user_message_link?: string | null | undefined;
2046
+ } | {
2047
+ DATA_TYPE: "collection#1.5.0";
2048
+ allow_guest_collections?: boolean | undefined;
2049
+ authentication_timeout_mins?: number | undefined;
2050
+ collection_base_path: string;
2051
+ collection_type: "mapped" | "guest";
2052
+ connector_id?: string | undefined;
2053
+ contact_email?: string | null | undefined;
2054
+ contact_info?: string | null | undefined;
2055
+ default_directory?: string | undefined;
2056
+ deleted?: boolean | undefined;
2057
+ department?: string | null | undefined;
2058
+ description?: string | null | undefined;
2059
+ disable_anonymous_writes?: boolean | undefined;
2060
+ disable_verify?: boolean | undefined;
2061
+ display_name: string;
2062
+ domain?: {
2063
+ DATA_TYPE: "domain#1.0.0";
2064
+ certificate?: string | null | undefined;
2065
+ certificate_chain?: string | null | undefined;
2066
+ certificate_chain_path?: string | null | undefined;
2067
+ certificate_path?: string | null | undefined;
2068
+ domain_name: string;
2069
+ private_key?: string | null | undefined;
2070
+ private_key_path?: string | null | undefined;
2071
+ wildcard: boolean;
2072
+ } | undefined;
2073
+ domain_name?: string | undefined;
2074
+ enable_https?: boolean | undefined;
2075
+ force_encryption?: boolean | undefined;
2076
+ force_verify?: boolean | undefined;
2077
+ high_assurance?: boolean | undefined;
2078
+ https_url?: string | undefined;
2079
+ id?: string | undefined;
2080
+ identity_id?: string | undefined;
2081
+ info_link?: string | null | undefined;
2082
+ keywords?: string[] | undefined;
2083
+ manager_url?: string | undefined;
2084
+ mapped_collection_id?: string | undefined;
2085
+ organization?: string | undefined;
2086
+ policies?: {
2087
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2088
+ } | {
2089
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2090
+ } | {
2091
+ DATA_TYPE: "box_collection_policies#1.0.0";
2092
+ } | {
2093
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2094
+ } | {
2095
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2096
+ project?: string | undefined;
2097
+ } | {
2098
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2099
+ } | {
2100
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2101
+ } | {
2102
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2103
+ } | {
2104
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2105
+ } | {
2106
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2107
+ } | {
2108
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2109
+ sharing_groups_allow?: string[] | null | undefined;
2110
+ sharing_groups_deny?: string[] | null | undefined;
2111
+ } | {
2112
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2113
+ sharing_groups_allow?: string[] | null | undefined;
2114
+ sharing_groups_deny?: string[] | null | undefined;
2115
+ } | {
2116
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2117
+ } | undefined;
2118
+ public: boolean;
2119
+ require_mfa?: boolean | undefined;
2120
+ root_path?: string | undefined;
2121
+ sharing_restrict_paths?: Record<string, unknown> | {
2122
+ DATA_TYPE: "path_restrictions#1.0.0";
2123
+ none?: string[] | undefined;
2124
+ read?: string[] | undefined;
2125
+ read_write?: string[] | undefined;
2126
+ } | null | undefined;
2127
+ sharing_users_allow?: string[] | null | undefined;
2128
+ sharing_users_deny?: string[] | null | undefined;
2129
+ storage_gateway_id?: string | undefined;
2130
+ tlsftp_url?: string | undefined;
2131
+ user_credential_id?: string | undefined;
2132
+ user_message?: string | null | undefined;
2133
+ user_message_link?: string | null | undefined;
2134
+ } | {
2135
+ DATA_TYPE: "collection#1.6.0";
2136
+ allow_guest_collections?: boolean | undefined;
2137
+ authentication_timeout_mins?: number | undefined;
2138
+ collection_base_path: string;
2139
+ collection_type: "mapped" | "guest";
2140
+ connector_id?: string | undefined;
2141
+ contact_email?: string | null | undefined;
2142
+ contact_info?: string | null | undefined;
2143
+ default_directory?: string | undefined;
2144
+ deleted?: boolean | undefined;
2145
+ department?: string | null | undefined;
2146
+ description?: string | null | undefined;
2147
+ disable_anonymous_writes?: boolean | undefined;
2148
+ disable_verify?: boolean | undefined;
2149
+ display_name: string;
2150
+ domain?: {
2151
+ DATA_TYPE: "domain#1.0.0";
2152
+ certificate?: string | null | undefined;
2153
+ certificate_chain?: string | null | undefined;
2154
+ certificate_chain_path?: string | null | undefined;
2155
+ certificate_path?: string | null | undefined;
2156
+ domain_name: string;
2157
+ private_key?: string | null | undefined;
2158
+ private_key_path?: string | null | undefined;
2159
+ wildcard: boolean;
2160
+ } | undefined;
2161
+ domain_name?: string | undefined;
2162
+ enable_https?: boolean | undefined;
2163
+ force_encryption?: boolean | undefined;
2164
+ force_verify?: boolean | undefined;
2165
+ guest_auth_policy_id?: string | null | undefined;
2166
+ high_assurance?: boolean | undefined;
2167
+ https_url?: string | undefined;
2168
+ id?: string | undefined;
2169
+ identity_id?: string | undefined;
2170
+ info_link?: string | null | undefined;
2171
+ keywords?: string[] | undefined;
2172
+ manager_url?: string | undefined;
2173
+ mapped_collection_id?: string | undefined;
2174
+ organization?: string | undefined;
2175
+ policies?: {
2176
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2177
+ } | {
2178
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2179
+ } | {
2180
+ DATA_TYPE: "box_collection_policies#1.0.0";
2181
+ } | {
2182
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2183
+ } | {
2184
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2185
+ project?: string | undefined;
2186
+ } | {
2187
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2188
+ } | {
2189
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2190
+ } | {
2191
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2192
+ } | {
2193
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2194
+ } | {
2195
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2196
+ } | {
2197
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2198
+ sharing_groups_allow?: string[] | null | undefined;
2199
+ sharing_groups_deny?: string[] | null | undefined;
2200
+ } | {
2201
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2202
+ sharing_groups_allow?: string[] | null | undefined;
2203
+ sharing_groups_deny?: string[] | null | undefined;
2204
+ } | {
2205
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2206
+ } | undefined;
2207
+ public: boolean;
2208
+ require_mfa?: boolean | undefined;
2209
+ root_path?: string | undefined;
2210
+ sharing_restrict_paths?: Record<string, unknown> | {
2211
+ DATA_TYPE: "path_restrictions#1.0.0";
2212
+ none?: string[] | undefined;
2213
+ read?: string[] | undefined;
2214
+ read_write?: string[] | undefined;
2215
+ } | null | undefined;
2216
+ sharing_users_allow?: string[] | null | undefined;
2217
+ sharing_users_deny?: string[] | null | undefined;
2218
+ storage_gateway_id?: string | undefined;
2219
+ tlsftp_url?: string | undefined;
2220
+ user_credential_id?: string | undefined;
2221
+ user_message?: string | null | undefined;
2222
+ user_message_link?: string | null | undefined;
2223
+ } | {
2224
+ DATA_TYPE: "collection#1.7.0";
2225
+ allow_guest_collections?: boolean | undefined;
2226
+ authentication_timeout_mins?: number | undefined;
2227
+ collection_base_path: string;
2228
+ collection_type: "mapped" | "guest";
2229
+ connector_id?: string | undefined;
2230
+ contact_email?: string | null | undefined;
2231
+ contact_info?: string | null | undefined;
2232
+ default_directory?: string | undefined;
2233
+ deleted?: boolean | undefined;
2234
+ department?: string | null | undefined;
2235
+ description?: string | null | undefined;
2236
+ disable_anonymous_writes?: boolean | undefined;
2237
+ disable_verify?: boolean | undefined;
2238
+ display_name: string;
2239
+ domain?: {
2240
+ DATA_TYPE: "domain#1.0.0";
2241
+ certificate?: string | null | undefined;
2242
+ certificate_chain?: string | null | undefined;
2243
+ certificate_chain_path?: string | null | undefined;
2244
+ certificate_path?: string | null | undefined;
2245
+ domain_name: string;
2246
+ private_key?: string | null | undefined;
2247
+ private_key_path?: string | null | undefined;
2248
+ wildcard: boolean;
2249
+ } | undefined;
2250
+ domain_name?: string | undefined;
2251
+ enable_https?: boolean | undefined;
2252
+ force_encryption?: boolean | undefined;
2253
+ force_verify?: boolean | undefined;
2254
+ guest_auth_policy_id?: string | null | undefined;
2255
+ high_assurance?: boolean | undefined;
2256
+ https_url?: string | undefined;
2257
+ id?: string | undefined;
2258
+ identity_id?: string | undefined;
2259
+ info_link?: string | null | undefined;
2260
+ keywords?: string[] | undefined;
2261
+ manager_url?: string | undefined;
2262
+ mapped_collection_id?: string | undefined;
2263
+ organization?: string | undefined;
2264
+ policies?: {
2265
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2266
+ } | {
2267
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2268
+ } | {
2269
+ DATA_TYPE: "box_collection_policies#1.0.0";
2270
+ } | {
2271
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2272
+ } | {
2273
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2274
+ project?: string | undefined;
2275
+ } | {
2276
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2277
+ } | {
2278
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2279
+ } | {
2280
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2281
+ } | {
2282
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2283
+ } | {
2284
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2285
+ } | {
2286
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2287
+ sharing_groups_allow?: string[] | null | undefined;
2288
+ sharing_groups_deny?: string[] | null | undefined;
2289
+ } | {
2290
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2291
+ sharing_groups_allow?: string[] | null | undefined;
2292
+ sharing_groups_deny?: string[] | null | undefined;
2293
+ } | {
2294
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2295
+ } | undefined;
2296
+ public: boolean;
2297
+ require_mfa?: boolean | undefined;
2298
+ root_path?: string | undefined;
2299
+ sharing_restrict_paths?: Record<string, unknown> | {
2300
+ DATA_TYPE: "path_restrictions#1.0.0";
2301
+ none?: string[] | undefined;
2302
+ read?: string[] | undefined;
2303
+ read_write?: string[] | undefined;
2304
+ } | null | undefined;
2305
+ sharing_users_allow?: string[] | null | undefined;
2306
+ sharing_users_deny?: string[] | null | undefined;
2307
+ storage_gateway_id?: string | undefined;
2308
+ tlsftp_url?: string | undefined;
2309
+ user_credential_id?: string | undefined;
2310
+ user_message?: string | null | undefined;
2311
+ user_message_link?: string | null | undefined;
2312
+ } | {
2313
+ DATA_TYPE: "collection#1.8.0";
2314
+ allow_guest_collections?: boolean | undefined;
2315
+ authentication_timeout_mins?: number | undefined;
2316
+ collection_base_path: string;
2317
+ collection_type: "mapped" | "guest";
2318
+ connector_id?: string | undefined;
2319
+ contact_email?: string | null | undefined;
2320
+ contact_info?: string | null | undefined;
2321
+ default_directory?: string | undefined;
2322
+ delete_protected?: boolean | undefined;
2323
+ deleted?: boolean | undefined;
2324
+ department?: string | null | undefined;
2325
+ description?: string | null | undefined;
2326
+ disable_anonymous_writes?: boolean | undefined;
2327
+ disable_verify?: boolean | undefined;
2328
+ display_name: string;
2329
+ domain?: {
2330
+ DATA_TYPE: "domain#1.0.0";
2331
+ certificate?: string | null | undefined;
2332
+ certificate_chain?: string | null | undefined;
2333
+ certificate_chain_path?: string | null | undefined;
2334
+ certificate_path?: string | null | undefined;
2335
+ domain_name: string;
2336
+ private_key?: string | null | undefined;
2337
+ private_key_path?: string | null | undefined;
2338
+ wildcard: boolean;
2339
+ } | undefined;
2340
+ domain_name?: string | undefined;
2341
+ enable_https?: boolean | undefined;
2342
+ force_encryption?: boolean | undefined;
2343
+ force_verify?: boolean | undefined;
2344
+ guest_auth_policy_id?: string | null | undefined;
2345
+ high_assurance?: boolean | undefined;
2346
+ https_url?: string | undefined;
2347
+ id?: string | undefined;
2348
+ identity_id?: string | undefined;
2349
+ info_link?: string | null | undefined;
2350
+ keywords?: string[] | undefined;
2351
+ manager_url?: string | undefined;
2352
+ mapped_collection_id?: string | undefined;
2353
+ organization?: string | undefined;
2354
+ policies?: {
2355
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2356
+ } | {
2357
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2358
+ } | {
2359
+ DATA_TYPE: "box_collection_policies#1.0.0";
2360
+ } | {
2361
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2362
+ } | {
2363
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2364
+ project?: string | undefined;
2365
+ } | {
2366
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2367
+ } | {
2368
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2369
+ } | {
2370
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2371
+ } | {
2372
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2373
+ } | {
2374
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2375
+ } | {
2376
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2377
+ sharing_groups_allow?: string[] | null | undefined;
2378
+ sharing_groups_deny?: string[] | null | undefined;
2379
+ } | {
2380
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2381
+ sharing_groups_allow?: string[] | null | undefined;
2382
+ sharing_groups_deny?: string[] | null | undefined;
2383
+ } | {
2384
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2385
+ } | undefined;
2386
+ public: boolean;
2387
+ require_mfa?: boolean | undefined;
2388
+ root_path?: string | undefined;
2389
+ sharing_restrict_paths?: Record<string, unknown> | {
2390
+ DATA_TYPE: "path_restrictions#1.0.0";
2391
+ none?: string[] | undefined;
2392
+ read?: string[] | undefined;
2393
+ read_write?: string[] | undefined;
2394
+ } | null | undefined;
2395
+ sharing_users_allow?: string[] | null | undefined;
2396
+ sharing_users_deny?: string[] | null | undefined;
2397
+ storage_gateway_id?: string | undefined;
2398
+ tlsftp_url?: string | undefined;
2399
+ user_credential_id?: string | undefined;
2400
+ user_message?: string | null | undefined;
2401
+ user_message_link?: string | null | undefined;
2402
+ })[] | undefined;
2403
+ } & {
2404
+ DATA_TYPE: "result#1.0.0";
2405
+ code: string;
2406
+ data?: Record<string, never>[] | undefined;
2407
+ detail?: Record<string, never> | undefined;
2408
+ has_next_page?: boolean | undefined;
2409
+ http_response_code: number;
2410
+ marker?: string | null | undefined;
2411
+ message?: string | undefined;
2412
+ }>>;
2413
+ getAll: (parameters?: {
2414
+ include?: "all"[] | undefined;
2415
+ storage_gateway?: string | undefined;
2416
+ } | undefined, sdkOptions?: import("../types").SDKOptions | undefined) => Promise<import("../types").JSONFetchResponse<{
2417
+ code?: "success" | undefined;
2418
+ data?: {
2419
+ DATA_TYPE: "user_credential#1.0.0";
2420
+ connector_id?: string | undefined;
2421
+ deleted?: boolean | undefined;
2422
+ display_name?: string | null | undefined;
2423
+ home_directory?: string | undefined;
2424
+ id?: string | undefined;
2425
+ identity_id?: string | undefined;
2426
+ invalid?: boolean | undefined;
2427
+ policies?: {
2428
+ DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
2429
+ access_token?: string | null | undefined;
2430
+ email?: string | null | undefined;
2431
+ refresh_token?: string | null | undefined;
2432
+ scopes?: string[] | undefined;
2433
+ sub?: string | null | undefined;
2434
+ tid?: string | undefined;
2435
+ token_expiry?: string | undefined;
2436
+ } | {
2437
+ DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
2438
+ access_id?: string | undefined;
2439
+ secret_key?: string | undefined;
2440
+ } | {
2441
+ DATA_TYPE: "box_user_credential_policies#1.0.0";
2442
+ } | {
2443
+ DATA_TYPE: "box_user_credential_policies#1.1.0";
2444
+ access_token?: string | null | undefined;
2445
+ email?: string | null | undefined;
2446
+ max_upload?: number | undefined;
2447
+ refresh_token?: string | null | undefined;
2448
+ scopes?: string[] | undefined;
2449
+ sub?: string | null | undefined;
2450
+ token_expiry?: string | undefined;
2451
+ } | {
2452
+ DATA_TYPE: "ceph_user_credential_policies#1.0.0";
2453
+ } | {
2454
+ DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
2455
+ access_token?: string | null | undefined;
2456
+ email?: string | undefined;
2457
+ projects?: {
2458
+ name?: string | undefined;
2459
+ projectId?: string | undefined;
2460
+ }[] | undefined;
2461
+ refresh_token?: string | null | undefined;
2462
+ scopes?: string[] | undefined;
2463
+ sub?: string | undefined;
2464
+ token_expiry?: string | undefined;
2465
+ } | {
2466
+ DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
2467
+ access_token?: string | null | undefined;
2468
+ email?: string | null | undefined;
2469
+ refresh_token?: string | null | undefined;
2470
+ scopes?: string[] | undefined;
2471
+ sub?: string | null | undefined;
2472
+ token_expiry?: string | undefined;
2473
+ } | {
2474
+ DATA_TYPE: "hpss_user_credential_policies#1.0.0";
2475
+ } | {
2476
+ DATA_TYPE: "irods_user_credential_policies#1.0.0";
2477
+ } | {
2478
+ DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
2479
+ access_token?: string | null | undefined;
2480
+ email?: string | null | undefined;
2481
+ refresh_token?: string | null | undefined;
2482
+ scopes?: string[] | undefined;
2483
+ sub?: string | null | undefined;
2484
+ tid?: string | undefined;
2485
+ token_expiry?: string | undefined;
2486
+ } | {
2487
+ DATA_TYPE: "posix_user_credential_policies#1.0.0";
2488
+ } | {
2489
+ DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
2490
+ } | {
2491
+ DATA_TYPE: "s3_user_credential_policies#1.0.0";
2492
+ s3_key_id?: string | null | undefined;
2493
+ s3_secret_key?: string | null | undefined;
2494
+ } | undefined;
2495
+ provisioned?: boolean | undefined;
2496
+ storage_gateway_id?: string | undefined;
2497
+ username?: string | undefined;
2498
+ }[] | undefined;
2499
+ } & {
2500
+ DATA_TYPE: "result#1.0.0";
2501
+ code: string;
2502
+ data?: Record<string, never>[] | undefined;
2503
+ detail?: Record<string, never> | undefined;
2504
+ has_next_page?: boolean | undefined;
2505
+ http_response_code: number;
2506
+ marker?: string | null | undefined;
2507
+ message?: string | undefined;
2508
+ }>>;
2509
+ };
2510
+ storageGateways: {
2511
+ get: (storage_gateway_id: string, parameters?: {
2512
+ include?: ("private_policies" | "accounts")[] | undefined;
2513
+ } | undefined, sdkOptions?: import("../types").SDKOptions | undefined) => Promise<import("../types").JSONFetchResponse<{
2514
+ code?: "success" | undefined;
2515
+ data?: ({
2516
+ DATA_TYPE: "storage_gateway#1.0.0";
2517
+ allowed_domains?: string[] | undefined;
2518
+ authentication_assurance_timeout?: number | null | undefined;
2519
+ authentication_timeout_mins?: number | null | undefined;
2520
+ connector_id?: string | undefined;
2521
+ deleted?: boolean | undefined;
2522
+ display_name?: string | undefined;
2523
+ high_assurance?: boolean | null | undefined;
2524
+ id?: string | undefined;
2525
+ identity_mappings?: ({
2526
+ DATA_TYPE: "external_identity_mapping#1.0.0";
2527
+ command?: string[] | undefined;
2528
+ } | {
2529
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
2530
+ mappings?: {
2531
+ ignore_case?: boolean | undefined;
2532
+ literal?: boolean | undefined;
2533
+ match?: string | undefined;
2534
+ output?: string | undefined;
2535
+ source?: string | undefined;
2536
+ }[] | undefined;
2537
+ })[] | null | undefined;
2538
+ load_dsi_module?: string | null | undefined;
2539
+ policies?: {
2540
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
2541
+ account: string | null;
2542
+ adls: boolean | null;
2543
+ auth_callback?: string | undefined;
2544
+ auth_type: string | null;
2545
+ client_id: string | null;
2546
+ secret: string | null;
2547
+ tenant: string | null;
2548
+ user_credential_required?: boolean | undefined;
2549
+ } | {
2550
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
2551
+ bp_access_id_file?: string | undefined;
2552
+ s3_endpoint?: string | undefined;
2553
+ } | {
2554
+ DATA_TYPE: "box_storage_policies#1.0.0";
2555
+ boxAppSettings: {
2556
+ appAuth: {
2557
+ passphrase: string;
2558
+ privateKey: string;
2559
+ publicKeyID: string;
2560
+ };
2561
+ clientID: string;
2562
+ clientSecret: string;
2563
+ };
2564
+ enterpriseID: string;
2565
+ } | {
2566
+ DATA_TYPE: "box_storage_policies#1.1.0";
2567
+ auth_callback?: string | undefined;
2568
+ boxAppSettings?: {
2569
+ appAuth: {
2570
+ passphrase: string;
2571
+ privateKey: string;
2572
+ publicKeyID: string;
2573
+ };
2574
+ clientID: string;
2575
+ clientSecret: string;
2576
+ } | undefined;
2577
+ client_id?: string | undefined;
2578
+ enterpriseID?: string | undefined;
2579
+ secret?: string | undefined;
2580
+ user_api_rate_limit?: number | undefined;
2581
+ user_credential_required?: boolean | undefined;
2582
+ } | {
2583
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
2584
+ ceph_admin_key_id?: string | undefined;
2585
+ ceph_admin_secret_key?: string | undefined;
2586
+ s3_buckets?: string[] | undefined;
2587
+ s3_endpoint?: string | undefined;
2588
+ } | {
2589
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
2590
+ auth_callback?: string | undefined;
2591
+ buckets?: string[] | null | undefined;
2592
+ client_id: string | null;
2593
+ projects?: string[] | null | undefined;
2594
+ secret: string | null;
2595
+ service_account_key?: Record<string, unknown> | null | undefined;
2596
+ user_credential_required?: boolean | undefined;
2597
+ } | {
2598
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
2599
+ auth_callback?: string | undefined;
2600
+ client_id: string | null;
2601
+ secret: string | null;
2602
+ user_api_rate_quota?: number | undefined;
2603
+ } | {
2604
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
2605
+ authentication_mech: "krb5" | "unix";
2606
+ authenticator: string;
2607
+ uda_checksum: boolean;
2608
+ } | {
2609
+ DATA_TYPE: "irods_storage_policies#1.0.0";
2610
+ environment?: {
2611
+ name: string;
2612
+ value: string;
2613
+ }[] | undefined;
2614
+ irods_authentication_file?: string | undefined;
2615
+ irods_environment_file: string;
2616
+ } | {
2617
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
2618
+ auth_callback?: string | undefined;
2619
+ client_id: string | null;
2620
+ secret: string | null;
2621
+ tenant?: string | null | undefined;
2622
+ user_api_rate_limit?: number | undefined;
2623
+ } | {
2624
+ DATA_TYPE: "posix_storage_policies#1.0.0";
2625
+ groups_allow?: string[] | null | undefined;
2626
+ groups_deny?: string[] | null | undefined;
2627
+ } | {
2628
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
2629
+ environment?: {
2630
+ name: string;
2631
+ value: string;
2632
+ }[] | undefined;
2633
+ groups_allow?: string[] | null | undefined;
2634
+ groups_deny?: string[] | null | undefined;
2635
+ stage_app: string;
2636
+ } | {
2637
+ DATA_TYPE: "s3_storage_policies#1.0.0";
2638
+ s3_buckets?: string[] | undefined;
2639
+ s3_endpoint?: string | undefined;
2640
+ s3_user_credential_required?: boolean | undefined;
2641
+ } | undefined;
2642
+ process_user?: string | null | undefined;
2643
+ require_high_assurance?: boolean | null | undefined;
2644
+ restrict_paths?: Record<string, unknown> | {
2645
+ DATA_TYPE: "path_restrictions#1.0.0";
2646
+ none?: string[] | undefined;
2647
+ read?: string[] | undefined;
2648
+ read_write?: string[] | undefined;
2649
+ } | null | undefined;
2650
+ users_allow?: string[] | null | undefined;
2651
+ users_deny?: string[] | null | undefined;
2652
+ } | {
2653
+ DATA_TYPE: "storage_gateway#1.1.0";
2654
+ allowed_domains?: string[] | undefined;
2655
+ authentication_assurance_timeout?: number | null | undefined;
2656
+ authentication_timeout_mins?: number | null | undefined;
2657
+ connector_id?: string | undefined;
2658
+ deleted?: boolean | undefined;
2659
+ display_name?: string | undefined;
2660
+ high_assurance?: boolean | null | undefined;
2661
+ id?: string | undefined;
2662
+ identity_mappings?: ({
2663
+ DATA_TYPE: "external_identity_mapping#1.0.0";
2664
+ command?: string[] | undefined;
2665
+ } | {
2666
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
2667
+ mappings?: {
2668
+ ignore_case?: boolean | undefined;
2669
+ literal?: boolean | undefined;
2670
+ match?: string | undefined;
2671
+ output?: string | undefined;
2672
+ source?: string | undefined;
2673
+ }[] | undefined;
2674
+ })[] | null | undefined;
2675
+ load_dsi_module?: string | null | undefined;
2676
+ policies?: {
2677
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
2678
+ account: string | null;
2679
+ adls: boolean | null;
2680
+ auth_callback?: string | undefined;
2681
+ auth_type: string | null;
2682
+ client_id: string | null;
2683
+ secret: string | null;
2684
+ tenant: string | null;
2685
+ user_credential_required?: boolean | undefined;
2686
+ } | {
2687
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
2688
+ bp_access_id_file?: string | undefined;
2689
+ s3_endpoint?: string | undefined;
2690
+ } | {
2691
+ DATA_TYPE: "box_storage_policies#1.0.0";
2692
+ boxAppSettings: {
2693
+ appAuth: {
2694
+ passphrase: string;
2695
+ privateKey: string;
2696
+ publicKeyID: string;
2697
+ };
2698
+ clientID: string;
2699
+ clientSecret: string;
2700
+ };
2701
+ enterpriseID: string;
2702
+ } | {
2703
+ DATA_TYPE: "box_storage_policies#1.1.0";
2704
+ auth_callback?: string | undefined;
2705
+ boxAppSettings?: {
2706
+ appAuth: {
2707
+ passphrase: string;
2708
+ privateKey: string;
2709
+ publicKeyID: string;
2710
+ };
2711
+ clientID: string;
2712
+ clientSecret: string;
2713
+ } | undefined;
2714
+ client_id?: string | undefined;
2715
+ enterpriseID?: string | undefined;
2716
+ secret?: string | undefined;
2717
+ user_api_rate_limit?: number | undefined;
2718
+ user_credential_required?: boolean | undefined;
2719
+ } | {
2720
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
2721
+ ceph_admin_key_id?: string | undefined;
2722
+ ceph_admin_secret_key?: string | undefined;
2723
+ s3_buckets?: string[] | undefined;
2724
+ s3_endpoint?: string | undefined;
2725
+ } | {
2726
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
2727
+ auth_callback?: string | undefined;
2728
+ buckets?: string[] | null | undefined;
2729
+ client_id: string | null;
2730
+ projects?: string[] | null | undefined;
2731
+ secret: string | null;
2732
+ service_account_key?: Record<string, unknown> | null | undefined;
2733
+ user_credential_required?: boolean | undefined;
2734
+ } | {
2735
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
2736
+ auth_callback?: string | undefined;
2737
+ client_id: string | null;
2738
+ secret: string | null;
2739
+ user_api_rate_quota?: number | undefined;
2740
+ } | {
2741
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
2742
+ authentication_mech: "krb5" | "unix";
2743
+ authenticator: string;
2744
+ uda_checksum: boolean;
2745
+ } | {
2746
+ DATA_TYPE: "irods_storage_policies#1.0.0";
2747
+ environment?: {
2748
+ name: string;
2749
+ value: string;
2750
+ }[] | undefined;
2751
+ irods_authentication_file?: string | undefined;
2752
+ irods_environment_file: string;
2753
+ } | {
2754
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
2755
+ auth_callback?: string | undefined;
2756
+ client_id: string | null;
2757
+ secret: string | null;
2758
+ tenant?: string | null | undefined;
2759
+ user_api_rate_limit?: number | undefined;
2760
+ } | {
2761
+ DATA_TYPE: "posix_storage_policies#1.0.0";
2762
+ groups_allow?: string[] | null | undefined;
2763
+ groups_deny?: string[] | null | undefined;
2764
+ } | {
2765
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
2766
+ environment?: {
2767
+ name: string;
2768
+ value: string;
2769
+ }[] | undefined;
2770
+ groups_allow?: string[] | null | undefined;
2771
+ groups_deny?: string[] | null | undefined;
2772
+ stage_app: string;
2773
+ } | {
2774
+ DATA_TYPE: "s3_storage_policies#1.0.0";
2775
+ s3_buckets?: string[] | undefined;
2776
+ s3_endpoint?: string | undefined;
2777
+ s3_user_credential_required?: boolean | undefined;
2778
+ } | undefined;
2779
+ process_user?: string | null | undefined;
2780
+ require_high_assurance?: boolean | null | undefined;
2781
+ require_mfa?: boolean | undefined;
2782
+ restrict_paths?: Record<string, unknown> | {
2783
+ DATA_TYPE: "path_restrictions#1.0.0";
2784
+ none?: string[] | undefined;
2785
+ read?: string[] | undefined;
2786
+ read_write?: string[] | undefined;
2787
+ } | null | undefined;
2788
+ users_allow?: string[] | null | undefined;
2789
+ users_deny?: string[] | null | undefined;
2790
+ } | {
2791
+ DATA_TYPE: "storage_gateway#1.2.0";
2792
+ admin_managed_credentials?: boolean | undefined;
2793
+ allowed_domains?: string[] | undefined;
2794
+ authentication_assurance_timeout?: number | null | undefined;
2795
+ authentication_timeout_mins?: number | null | undefined;
2796
+ connector_id?: string | undefined;
2797
+ deleted?: boolean | undefined;
2798
+ display_name?: string | undefined;
2799
+ high_assurance?: boolean | null | undefined;
2800
+ id?: string | undefined;
2801
+ identity_mappings?: ({
2802
+ DATA_TYPE: "external_identity_mapping#1.0.0";
2803
+ command?: string[] | undefined;
2804
+ } | {
2805
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
2806
+ mappings?: {
2807
+ ignore_case?: boolean | undefined;
2808
+ literal?: boolean | undefined;
2809
+ match?: string | undefined;
2810
+ output?: string | undefined;
2811
+ source?: string | undefined;
2812
+ }[] | undefined;
2813
+ })[] | null | undefined;
2814
+ load_dsi_module?: string | null | undefined;
2815
+ policies?: {
2816
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
2817
+ account: string | null;
2818
+ adls: boolean | null;
2819
+ auth_callback?: string | undefined;
2820
+ auth_type: string | null;
2821
+ client_id: string | null;
2822
+ secret: string | null;
2823
+ tenant: string | null;
2824
+ user_credential_required?: boolean | undefined;
2825
+ } | {
2826
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
2827
+ bp_access_id_file?: string | undefined;
2828
+ s3_endpoint?: string | undefined;
2829
+ } | {
2830
+ DATA_TYPE: "box_storage_policies#1.0.0";
2831
+ boxAppSettings: {
2832
+ appAuth: {
2833
+ passphrase: string;
2834
+ privateKey: string;
2835
+ publicKeyID: string;
2836
+ };
2837
+ clientID: string;
2838
+ clientSecret: string;
2839
+ };
2840
+ enterpriseID: string;
2841
+ } | {
2842
+ DATA_TYPE: "box_storage_policies#1.1.0";
2843
+ auth_callback?: string | undefined;
2844
+ boxAppSettings?: {
2845
+ appAuth: {
2846
+ passphrase: string;
2847
+ privateKey: string;
2848
+ publicKeyID: string;
2849
+ };
2850
+ clientID: string;
2851
+ clientSecret: string;
2852
+ } | undefined;
2853
+ client_id?: string | undefined;
2854
+ enterpriseID?: string | undefined;
2855
+ secret?: string | undefined;
2856
+ user_api_rate_limit?: number | undefined;
2857
+ user_credential_required?: boolean | undefined;
2858
+ } | {
2859
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
2860
+ ceph_admin_key_id?: string | undefined;
2861
+ ceph_admin_secret_key?: string | undefined;
2862
+ s3_buckets?: string[] | undefined;
2863
+ s3_endpoint?: string | undefined;
2864
+ } | {
2865
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
2866
+ auth_callback?: string | undefined;
2867
+ buckets?: string[] | null | undefined;
2868
+ client_id: string | null;
2869
+ projects?: string[] | null | undefined;
2870
+ secret: string | null;
2871
+ service_account_key?: Record<string, unknown> | null | undefined;
2872
+ user_credential_required?: boolean | undefined;
2873
+ } | {
2874
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
2875
+ auth_callback?: string | undefined;
2876
+ client_id: string | null;
2877
+ secret: string | null;
2878
+ user_api_rate_quota?: number | undefined;
2879
+ } | {
2880
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
2881
+ authentication_mech: "krb5" | "unix";
2882
+ authenticator: string;
2883
+ uda_checksum: boolean;
2884
+ } | {
2885
+ DATA_TYPE: "irods_storage_policies#1.0.0";
2886
+ environment?: {
2887
+ name: string;
2888
+ value: string;
2889
+ }[] | undefined;
2890
+ irods_authentication_file?: string | undefined;
2891
+ irods_environment_file: string;
2892
+ } | {
2893
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
2894
+ auth_callback?: string | undefined;
2895
+ client_id: string | null;
2896
+ secret: string | null;
2897
+ tenant?: string | null | undefined;
2898
+ user_api_rate_limit?: number | undefined;
2899
+ } | {
2900
+ DATA_TYPE: "posix_storage_policies#1.0.0";
2901
+ groups_allow?: string[] | null | undefined;
2902
+ groups_deny?: string[] | null | undefined;
2903
+ } | {
2904
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
2905
+ environment?: {
2906
+ name: string;
2907
+ value: string;
2908
+ }[] | undefined;
2909
+ groups_allow?: string[] | null | undefined;
2910
+ groups_deny?: string[] | null | undefined;
2911
+ stage_app: string;
2912
+ } | {
2913
+ DATA_TYPE: "s3_storage_policies#1.0.0";
2914
+ s3_buckets?: string[] | undefined;
2915
+ s3_endpoint?: string | undefined;
2916
+ s3_user_credential_required?: boolean | undefined;
2917
+ } | undefined;
2918
+ process_user?: string | null | undefined;
2919
+ require_high_assurance?: boolean | null | undefined;
2920
+ require_mfa?: boolean | undefined;
2921
+ restrict_paths?: Record<string, unknown> | {
2922
+ DATA_TYPE: "path_restrictions#1.0.0";
2923
+ none?: string[] | undefined;
2924
+ read?: string[] | undefined;
2925
+ read_write?: string[] | undefined;
2926
+ } | null | undefined;
2927
+ users_allow?: string[] | null | undefined;
2928
+ users_deny?: string[] | null | undefined;
2929
+ })[] | undefined;
2930
+ } & {
2931
+ DATA_TYPE: "result#1.0.0";
2932
+ code: string;
2933
+ data?: Record<string, never>[] | undefined;
2934
+ detail?: Record<string, never> | undefined;
2935
+ has_next_page?: boolean | undefined;
2936
+ http_response_code: number;
2937
+ marker?: string | null | undefined;
2938
+ message?: string | undefined;
2939
+ }>>;
2940
+ getAll: (parameters?: {
2941
+ include?: ("private_policies" | "accounts")[] | undefined;
2942
+ } | undefined, sdkOptions?: import("../types").SDKOptions | undefined) => Promise<import("../types").JSONFetchResponse<{
2943
+ code?: "success" | undefined;
2944
+ data?: ({
2945
+ DATA_TYPE: "storage_gateway#1.0.0";
2946
+ allowed_domains?: string[] | undefined;
2947
+ authentication_assurance_timeout?: number | null | undefined;
2948
+ authentication_timeout_mins?: number | null | undefined;
2949
+ connector_id?: string | undefined;
2950
+ deleted?: boolean | undefined;
2951
+ display_name?: string | undefined;
2952
+ high_assurance?: boolean | null | undefined;
2953
+ id?: string | undefined;
2954
+ identity_mappings?: ({
2955
+ DATA_TYPE: "external_identity_mapping#1.0.0";
2956
+ command?: string[] | undefined;
2957
+ } | {
2958
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
2959
+ mappings?: {
2960
+ ignore_case?: boolean | undefined;
2961
+ literal?: boolean | undefined;
2962
+ match?: string | undefined;
2963
+ output?: string | undefined;
2964
+ source?: string | undefined;
2965
+ }[] | undefined;
2966
+ })[] | null | undefined;
2967
+ load_dsi_module?: string | null | undefined;
2968
+ policies?: {
2969
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
2970
+ account: string | null;
2971
+ adls: boolean | null;
2972
+ auth_callback?: string | undefined;
2973
+ auth_type: string | null;
2974
+ client_id: string | null;
2975
+ secret: string | null;
2976
+ tenant: string | null;
2977
+ user_credential_required?: boolean | undefined;
2978
+ } | {
2979
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
2980
+ bp_access_id_file?: string | undefined;
2981
+ s3_endpoint?: string | undefined;
2982
+ } | {
2983
+ DATA_TYPE: "box_storage_policies#1.0.0";
2984
+ boxAppSettings: {
2985
+ appAuth: {
2986
+ passphrase: string;
2987
+ privateKey: string;
2988
+ publicKeyID: string;
2989
+ };
2990
+ clientID: string;
2991
+ clientSecret: string;
2992
+ };
2993
+ enterpriseID: string;
2994
+ } | {
2995
+ DATA_TYPE: "box_storage_policies#1.1.0";
2996
+ auth_callback?: string | undefined;
2997
+ boxAppSettings?: {
2998
+ appAuth: {
2999
+ passphrase: string;
3000
+ privateKey: string;
3001
+ publicKeyID: string;
3002
+ };
3003
+ clientID: string;
3004
+ clientSecret: string;
3005
+ } | undefined;
3006
+ client_id?: string | undefined;
3007
+ enterpriseID?: string | undefined;
3008
+ secret?: string | undefined;
3009
+ user_api_rate_limit?: number | undefined;
3010
+ user_credential_required?: boolean | undefined;
3011
+ } | {
3012
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
3013
+ ceph_admin_key_id?: string | undefined;
3014
+ ceph_admin_secret_key?: string | undefined;
3015
+ s3_buckets?: string[] | undefined;
3016
+ s3_endpoint?: string | undefined;
3017
+ } | {
3018
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
3019
+ auth_callback?: string | undefined;
3020
+ buckets?: string[] | null | undefined;
3021
+ client_id: string | null;
3022
+ projects?: string[] | null | undefined;
3023
+ secret: string | null;
3024
+ service_account_key?: Record<string, unknown> | null | undefined;
3025
+ user_credential_required?: boolean | undefined;
3026
+ } | {
3027
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
3028
+ auth_callback?: string | undefined;
3029
+ client_id: string | null;
3030
+ secret: string | null;
3031
+ user_api_rate_quota?: number | undefined;
3032
+ } | {
3033
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
3034
+ authentication_mech: "krb5" | "unix";
3035
+ authenticator: string;
3036
+ uda_checksum: boolean;
3037
+ } | {
3038
+ DATA_TYPE: "irods_storage_policies#1.0.0";
3039
+ environment?: {
3040
+ name: string;
3041
+ value: string;
3042
+ }[] | undefined;
3043
+ irods_authentication_file?: string | undefined;
3044
+ irods_environment_file: string;
3045
+ } | {
3046
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
3047
+ auth_callback?: string | undefined;
3048
+ client_id: string | null;
3049
+ secret: string | null;
3050
+ tenant?: string | null | undefined;
3051
+ user_api_rate_limit?: number | undefined;
3052
+ } | {
3053
+ DATA_TYPE: "posix_storage_policies#1.0.0";
3054
+ groups_allow?: string[] | null | undefined;
3055
+ groups_deny?: string[] | null | undefined;
3056
+ } | {
3057
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
3058
+ environment?: {
3059
+ name: string;
3060
+ value: string;
3061
+ }[] | undefined;
3062
+ groups_allow?: string[] | null | undefined;
3063
+ groups_deny?: string[] | null | undefined;
3064
+ stage_app: string;
3065
+ } | {
3066
+ DATA_TYPE: "s3_storage_policies#1.0.0";
3067
+ s3_buckets?: string[] | undefined;
3068
+ s3_endpoint?: string | undefined;
3069
+ s3_user_credential_required?: boolean | undefined;
3070
+ } | undefined;
3071
+ process_user?: string | null | undefined;
3072
+ require_high_assurance?: boolean | null | undefined;
3073
+ restrict_paths?: Record<string, unknown> | {
3074
+ DATA_TYPE: "path_restrictions#1.0.0";
3075
+ none?: string[] | undefined;
3076
+ read?: string[] | undefined;
3077
+ read_write?: string[] | undefined;
3078
+ } | null | undefined;
3079
+ users_allow?: string[] | null | undefined;
3080
+ users_deny?: string[] | null | undefined;
3081
+ } | {
3082
+ DATA_TYPE: "storage_gateway#1.1.0";
3083
+ allowed_domains?: string[] | undefined;
3084
+ authentication_assurance_timeout?: number | null | undefined;
3085
+ authentication_timeout_mins?: number | null | undefined;
3086
+ connector_id?: string | undefined;
3087
+ deleted?: boolean | undefined;
3088
+ display_name?: string | undefined;
3089
+ high_assurance?: boolean | null | undefined;
3090
+ id?: string | undefined;
3091
+ identity_mappings?: ({
3092
+ DATA_TYPE: "external_identity_mapping#1.0.0";
3093
+ command?: string[] | undefined;
3094
+ } | {
3095
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
3096
+ mappings?: {
3097
+ ignore_case?: boolean | undefined;
3098
+ literal?: boolean | undefined;
3099
+ match?: string | undefined;
3100
+ output?: string | undefined;
3101
+ source?: string | undefined;
3102
+ }[] | undefined;
3103
+ })[] | null | undefined;
3104
+ load_dsi_module?: string | null | undefined;
3105
+ policies?: {
3106
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
3107
+ account: string | null;
3108
+ adls: boolean | null;
3109
+ auth_callback?: string | undefined;
3110
+ auth_type: string | null;
3111
+ client_id: string | null;
3112
+ secret: string | null;
3113
+ tenant: string | null;
3114
+ user_credential_required?: boolean | undefined;
3115
+ } | {
3116
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
3117
+ bp_access_id_file?: string | undefined;
3118
+ s3_endpoint?: string | undefined;
3119
+ } | {
3120
+ DATA_TYPE: "box_storage_policies#1.0.0";
3121
+ boxAppSettings: {
3122
+ appAuth: {
3123
+ passphrase: string;
3124
+ privateKey: string;
3125
+ publicKeyID: string;
3126
+ };
3127
+ clientID: string;
3128
+ clientSecret: string;
3129
+ };
3130
+ enterpriseID: string;
3131
+ } | {
3132
+ DATA_TYPE: "box_storage_policies#1.1.0";
3133
+ auth_callback?: string | undefined;
3134
+ boxAppSettings?: {
3135
+ appAuth: {
3136
+ passphrase: string;
3137
+ privateKey: string;
3138
+ publicKeyID: string;
3139
+ };
3140
+ clientID: string;
3141
+ clientSecret: string;
3142
+ } | undefined;
3143
+ client_id?: string | undefined;
3144
+ enterpriseID?: string | undefined;
3145
+ secret?: string | undefined;
3146
+ user_api_rate_limit?: number | undefined;
3147
+ user_credential_required?: boolean | undefined;
3148
+ } | {
3149
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
3150
+ ceph_admin_key_id?: string | undefined;
3151
+ ceph_admin_secret_key?: string | undefined;
3152
+ s3_buckets?: string[] | undefined;
3153
+ s3_endpoint?: string | undefined;
3154
+ } | {
3155
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
3156
+ auth_callback?: string | undefined;
3157
+ buckets?: string[] | null | undefined;
3158
+ client_id: string | null;
3159
+ projects?: string[] | null | undefined;
3160
+ secret: string | null;
3161
+ service_account_key?: Record<string, unknown> | null | undefined;
3162
+ user_credential_required?: boolean | undefined;
3163
+ } | {
3164
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
3165
+ auth_callback?: string | undefined;
3166
+ client_id: string | null;
3167
+ secret: string | null;
3168
+ user_api_rate_quota?: number | undefined;
3169
+ } | {
3170
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
3171
+ authentication_mech: "krb5" | "unix";
3172
+ authenticator: string;
3173
+ uda_checksum: boolean;
3174
+ } | {
3175
+ DATA_TYPE: "irods_storage_policies#1.0.0";
3176
+ environment?: {
3177
+ name: string;
3178
+ value: string;
3179
+ }[] | undefined;
3180
+ irods_authentication_file?: string | undefined;
3181
+ irods_environment_file: string;
3182
+ } | {
3183
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
3184
+ auth_callback?: string | undefined;
3185
+ client_id: string | null;
3186
+ secret: string | null;
3187
+ tenant?: string | null | undefined;
3188
+ user_api_rate_limit?: number | undefined;
3189
+ } | {
3190
+ DATA_TYPE: "posix_storage_policies#1.0.0";
3191
+ groups_allow?: string[] | null | undefined;
3192
+ groups_deny?: string[] | null | undefined;
3193
+ } | {
3194
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
3195
+ environment?: {
3196
+ name: string;
3197
+ value: string;
3198
+ }[] | undefined;
3199
+ groups_allow?: string[] | null | undefined;
3200
+ groups_deny?: string[] | null | undefined;
3201
+ stage_app: string;
3202
+ } | {
3203
+ DATA_TYPE: "s3_storage_policies#1.0.0";
3204
+ s3_buckets?: string[] | undefined;
3205
+ s3_endpoint?: string | undefined;
3206
+ s3_user_credential_required?: boolean | undefined;
3207
+ } | undefined;
3208
+ process_user?: string | null | undefined;
3209
+ require_high_assurance?: boolean | null | undefined;
3210
+ require_mfa?: boolean | undefined;
3211
+ restrict_paths?: Record<string, unknown> | {
3212
+ DATA_TYPE: "path_restrictions#1.0.0";
3213
+ none?: string[] | undefined;
3214
+ read?: string[] | undefined;
3215
+ read_write?: string[] | undefined;
3216
+ } | null | undefined;
3217
+ users_allow?: string[] | null | undefined;
3218
+ users_deny?: string[] | null | undefined;
3219
+ } | {
3220
+ DATA_TYPE: "storage_gateway#1.2.0";
3221
+ admin_managed_credentials?: boolean | undefined;
3222
+ allowed_domains?: string[] | undefined;
3223
+ authentication_assurance_timeout?: number | null | undefined;
3224
+ authentication_timeout_mins?: number | null | undefined;
3225
+ connector_id?: string | undefined;
3226
+ deleted?: boolean | undefined;
3227
+ display_name?: string | undefined;
3228
+ high_assurance?: boolean | null | undefined;
3229
+ id?: string | undefined;
3230
+ identity_mappings?: ({
3231
+ DATA_TYPE: "external_identity_mapping#1.0.0";
3232
+ command?: string[] | undefined;
3233
+ } | {
3234
+ DATA_TYPE: "expression_identity_mapping#1.0.0";
3235
+ mappings?: {
3236
+ ignore_case?: boolean | undefined;
3237
+ literal?: boolean | undefined;
3238
+ match?: string | undefined;
3239
+ output?: string | undefined;
3240
+ source?: string | undefined;
3241
+ }[] | undefined;
3242
+ })[] | null | undefined;
3243
+ load_dsi_module?: string | null | undefined;
3244
+ policies?: {
3245
+ DATA_TYPE: "azure_blob_storage_policies#1.0.0";
3246
+ account: string | null;
3247
+ adls: boolean | null;
3248
+ auth_callback?: string | undefined;
3249
+ auth_type: string | null;
3250
+ client_id: string | null;
3251
+ secret: string | null;
3252
+ tenant: string | null;
3253
+ user_credential_required?: boolean | undefined;
3254
+ } | {
3255
+ DATA_TYPE: "blackpearl_storage_policies#1.0.0";
3256
+ bp_access_id_file?: string | undefined;
3257
+ s3_endpoint?: string | undefined;
3258
+ } | {
3259
+ DATA_TYPE: "box_storage_policies#1.0.0";
3260
+ boxAppSettings: {
3261
+ appAuth: {
3262
+ passphrase: string;
3263
+ privateKey: string;
3264
+ publicKeyID: string;
3265
+ };
3266
+ clientID: string;
3267
+ clientSecret: string;
3268
+ };
3269
+ enterpriseID: string;
3270
+ } | {
3271
+ DATA_TYPE: "box_storage_policies#1.1.0";
3272
+ auth_callback?: string | undefined;
3273
+ boxAppSettings?: {
3274
+ appAuth: {
3275
+ passphrase: string;
3276
+ privateKey: string;
3277
+ publicKeyID: string;
3278
+ };
3279
+ clientID: string;
3280
+ clientSecret: string;
3281
+ } | undefined;
3282
+ client_id?: string | undefined;
3283
+ enterpriseID?: string | undefined;
3284
+ secret?: string | undefined;
3285
+ user_api_rate_limit?: number | undefined;
3286
+ user_credential_required?: boolean | undefined;
3287
+ } | {
3288
+ DATA_TYPE: "ceph_storage_policies#1.0.0";
3289
+ ceph_admin_key_id?: string | undefined;
3290
+ ceph_admin_secret_key?: string | undefined;
3291
+ s3_buckets?: string[] | undefined;
3292
+ s3_endpoint?: string | undefined;
3293
+ } | {
3294
+ DATA_TYPE: "google_cloud_storage_policies#1.0.0";
3295
+ auth_callback?: string | undefined;
3296
+ buckets?: string[] | null | undefined;
3297
+ client_id: string | null;
3298
+ projects?: string[] | null | undefined;
3299
+ secret: string | null;
3300
+ service_account_key?: Record<string, unknown> | null | undefined;
3301
+ user_credential_required?: boolean | undefined;
3302
+ } | {
3303
+ DATA_TYPE: "google_drive_storage_policies#1.0.0";
3304
+ auth_callback?: string | undefined;
3305
+ client_id: string | null;
3306
+ secret: string | null;
3307
+ user_api_rate_quota?: number | undefined;
3308
+ } | {
3309
+ DATA_TYPE: "hpss_storage_policies#1.0.0";
3310
+ authentication_mech: "krb5" | "unix";
3311
+ authenticator: string;
3312
+ uda_checksum: boolean;
3313
+ } | {
3314
+ DATA_TYPE: "irods_storage_policies#1.0.0";
3315
+ environment?: {
3316
+ name: string;
3317
+ value: string;
3318
+ }[] | undefined;
3319
+ irods_authentication_file?: string | undefined;
3320
+ irods_environment_file: string;
3321
+ } | {
3322
+ DATA_TYPE: "onedrive_storage_policies#1.0.0";
3323
+ auth_callback?: string | undefined;
3324
+ client_id: string | null;
3325
+ secret: string | null;
3326
+ tenant?: string | null | undefined;
3327
+ user_api_rate_limit?: number | undefined;
3328
+ } | {
3329
+ DATA_TYPE: "posix_storage_policies#1.0.0";
3330
+ groups_allow?: string[] | null | undefined;
3331
+ groups_deny?: string[] | null | undefined;
3332
+ } | {
3333
+ DATA_TYPE: "posix_staging_storage_policies#1.0.0";
3334
+ environment?: {
3335
+ name: string;
3336
+ value: string;
3337
+ }[] | undefined;
3338
+ groups_allow?: string[] | null | undefined;
3339
+ groups_deny?: string[] | null | undefined;
3340
+ stage_app: string;
3341
+ } | {
3342
+ DATA_TYPE: "s3_storage_policies#1.0.0";
3343
+ s3_buckets?: string[] | undefined;
3344
+ s3_endpoint?: string | undefined;
3345
+ s3_user_credential_required?: boolean | undefined;
3346
+ } | undefined;
3347
+ process_user?: string | null | undefined;
3348
+ require_high_assurance?: boolean | null | undefined;
3349
+ require_mfa?: boolean | undefined;
3350
+ restrict_paths?: Record<string, unknown> | {
3351
+ DATA_TYPE: "path_restrictions#1.0.0";
3352
+ none?: string[] | undefined;
3353
+ read?: string[] | undefined;
3354
+ read_write?: string[] | undefined;
3355
+ } | null | undefined;
3356
+ users_allow?: string[] | null | undefined;
3357
+ users_deny?: string[] | null | undefined;
3358
+ })[] | undefined;
3359
+ } & {
3360
+ DATA_TYPE: "result#1.0.0";
3361
+ code: string;
3362
+ data?: Record<string, never>[] | undefined;
3363
+ detail?: Record<string, never> | undefined;
3364
+ has_next_page?: boolean | undefined;
3365
+ http_response_code: number;
3366
+ marker?: string | null | undefined;
3367
+ message?: string | undefined;
3368
+ }>>;
3369
+ };
3370
+ roles: {
3371
+ get: (role_id: string, _parameters?: undefined, sdkOptions?: import("../types").SDKOptions | undefined) => Promise<import("../types").JSONFetchResponse<{
3372
+ code?: "success" | undefined;
3373
+ data?: {
3374
+ DATA_TYPE: "role#1.0.0";
3375
+ id?: string | undefined;
3376
+ principal: string;
3377
+ collection?: string | null | undefined;
3378
+ role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
3379
+ }[] | undefined;
3380
+ } & {
3381
+ DATA_TYPE: "result#1.0.0";
3382
+ code: string;
3383
+ data?: Record<string, never>[] | undefined;
3384
+ detail?: Record<string, never> | undefined;
3385
+ has_next_page?: boolean | undefined;
3386
+ http_response_code: number;
3387
+ marker?: string | null | undefined;
3388
+ message?: string | undefined;
3389
+ }>>;
3390
+ getAll: (parameters?: {
3391
+ include?: "all_roles"[] | undefined;
3392
+ } | undefined, sdkOptions?: import("../types").SDKOptions | undefined) => Promise<import("../types").JSONFetchResponse<{
3393
+ code?: "success" | undefined;
3394
+ data?: {
3395
+ DATA_TYPE: "role#1.0.0";
3396
+ id?: string | undefined;
3397
+ principal: string;
3398
+ collection?: string | null | undefined;
3399
+ role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
3400
+ }[] | undefined;
3401
+ } & {
3402
+ DATA_TYPE: "result#1.0.0";
3403
+ code: string;
3404
+ data?: Record<string, never>[] | undefined;
3405
+ detail?: Record<string, never> | undefined;
3406
+ has_next_page?: boolean | undefined;
3407
+ http_response_code: number;
3408
+ marker?: string | null | undefined;
3409
+ message?: string | undefined;
3410
+ }>>;
3411
+ };
3412
+ };
3413
+ //# sourceMappingURL=client.d.ts.map