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