@globus/sdk 0.4.2-alpha.0 → 0.6.0

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