@globus/sdk 1.15.1 → 1.17.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 (82) hide show
  1. package/cjs/lib/services/globus-connect-server/client.d.ts +3061 -0
  2. package/cjs/lib/services/globus-connect-server/client.d.ts.map +1 -1
  3. package/cjs/lib/services/globus-connect-server/client.js +5 -0
  4. package/cjs/lib/services/globus-connect-server/client.js.map +1 -1
  5. package/cjs/lib/services/globus-connect-server/service/collections.d.ts +53 -0
  6. package/cjs/lib/services/globus-connect-server/service/collections.d.ts.map +1 -1
  7. package/cjs/lib/services/globus-connect-server/service/collections.js +56 -1
  8. package/cjs/lib/services/globus-connect-server/service/collections.js.map +1 -1
  9. package/cjs/lib/services/globus-connect-server/service/storage-gateways.d.ts +45 -0
  10. package/cjs/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -1
  11. package/cjs/lib/services/globus-connect-server/service/storage-gateways.js +45 -1
  12. package/cjs/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -1
  13. package/cjs/lib/services/globus-connect-server/service/user-credentials.d.ts +45 -0
  14. package/cjs/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -1
  15. package/cjs/lib/services/globus-connect-server/service/user-credentials.js +45 -1
  16. package/cjs/lib/services/globus-connect-server/service/user-credentials.js.map +1 -1
  17. package/cjs/lib/services/transfer/config.d.ts +3 -0
  18. package/cjs/lib/services/transfer/config.d.ts.map +1 -1
  19. package/cjs/lib/services/transfer/config.js +4 -1
  20. package/cjs/lib/services/transfer/config.js.map +1 -1
  21. package/cjs/lib/services/transfer/index.d.ts +1 -0
  22. package/cjs/lib/services/transfer/index.d.ts.map +1 -1
  23. package/cjs/lib/services/transfer/index.js +2 -1
  24. package/cjs/lib/services/transfer/index.js.map +1 -1
  25. package/cjs/lib/services/transfer/service/endpoint-search.js +1 -1
  26. package/cjs/lib/services/transfer/service/endpoint-search.js.map +1 -1
  27. package/cjs/lib/services/transfer/service/endpoint.d.ts +13 -0
  28. package/cjs/lib/services/transfer/service/endpoint.d.ts.map +1 -1
  29. package/cjs/lib/services/transfer/service/endpoint.js +14 -2
  30. package/cjs/lib/services/transfer/service/endpoint.js.map +1 -1
  31. package/cjs/lib/services/transfer/service/file-operations.js +4 -4
  32. package/cjs/lib/services/transfer/service/file-operations.js.map +1 -1
  33. package/cjs/lib/services/transfer/service/task-submission.js +3 -3
  34. package/cjs/lib/services/transfer/service/task-submission.js.map +1 -1
  35. package/cjs/lib/services/transfer/service/task.d.ts +119 -0
  36. package/cjs/lib/services/transfer/service/task.d.ts.map +1 -0
  37. package/cjs/lib/services/transfer/service/task.js +101 -0
  38. package/cjs/lib/services/transfer/service/task.js.map +1 -0
  39. package/cjs/lib/services/transfer/types.d.ts +63 -0
  40. package/cjs/lib/services/transfer/types.d.ts.map +1 -1
  41. package/esm/lib/services/globus-connect-server/client.d.ts +3061 -0
  42. package/esm/lib/services/globus-connect-server/client.d.ts.map +1 -1
  43. package/esm/lib/services/globus-connect-server/client.js +5 -0
  44. package/esm/lib/services/globus-connect-server/client.js.map +1 -1
  45. package/esm/lib/services/globus-connect-server/service/collections.d.ts +53 -0
  46. package/esm/lib/services/globus-connect-server/service/collections.d.ts.map +1 -1
  47. package/esm/lib/services/globus-connect-server/service/collections.js +55 -0
  48. package/esm/lib/services/globus-connect-server/service/collections.js.map +1 -1
  49. package/esm/lib/services/globus-connect-server/service/storage-gateways.d.ts +45 -0
  50. package/esm/lib/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -1
  51. package/esm/lib/services/globus-connect-server/service/storage-gateways.js +45 -1
  52. package/esm/lib/services/globus-connect-server/service/storage-gateways.js.map +1 -1
  53. package/esm/lib/services/globus-connect-server/service/user-credentials.d.ts +45 -0
  54. package/esm/lib/services/globus-connect-server/service/user-credentials.d.ts.map +1 -1
  55. package/esm/lib/services/globus-connect-server/service/user-credentials.js +45 -1
  56. package/esm/lib/services/globus-connect-server/service/user-credentials.js.map +1 -1
  57. package/esm/lib/services/transfer/config.d.ts +3 -0
  58. package/esm/lib/services/transfer/config.d.ts.map +1 -1
  59. package/esm/lib/services/transfer/config.js +3 -0
  60. package/esm/lib/services/transfer/config.js.map +1 -1
  61. package/esm/lib/services/transfer/index.d.ts +1 -0
  62. package/esm/lib/services/transfer/index.d.ts.map +1 -1
  63. package/esm/lib/services/transfer/index.js +1 -0
  64. package/esm/lib/services/transfer/index.js.map +1 -1
  65. package/esm/lib/services/transfer/service/endpoint-search.js +2 -2
  66. package/esm/lib/services/transfer/service/endpoint-search.js.map +1 -1
  67. package/esm/lib/services/transfer/service/endpoint.d.ts +13 -0
  68. package/esm/lib/services/transfer/service/endpoint.d.ts.map +1 -1
  69. package/esm/lib/services/transfer/service/endpoint.js +15 -3
  70. package/esm/lib/services/transfer/service/endpoint.js.map +1 -1
  71. package/esm/lib/services/transfer/service/file-operations.js +5 -5
  72. package/esm/lib/services/transfer/service/file-operations.js.map +1 -1
  73. package/esm/lib/services/transfer/service/task-submission.js +4 -4
  74. package/esm/lib/services/transfer/service/task-submission.js.map +1 -1
  75. package/esm/lib/services/transfer/service/task.d.ts +119 -0
  76. package/esm/lib/services/transfer/service/task.d.ts.map +1 -0
  77. package/esm/lib/services/transfer/service/task.js +98 -0
  78. package/esm/lib/services/transfer/service/task.js.map +1 -0
  79. package/esm/lib/services/transfer/types.d.ts +63 -0
  80. package/esm/lib/services/transfer/types.d.ts.map +1 -1
  81. package/package.json +1 -1
  82. package/umd/globus.production.js +1 -1
@@ -1857,6 +1857,1512 @@ export declare function getClient(configuration: GCSConfiguration): {
1857
1857
  marker?: string | null | undefined;
1858
1858
  message?: string | undefined;
1859
1859
  }>>;
1860
+ create: (options: ({
1861
+ payload: {
1862
+ DATA_TYPE: "collection#1.0.0";
1863
+ allow_guest_collections?: boolean | undefined;
1864
+ authentication_timeout_mins?: number | undefined;
1865
+ collection_base_path: string;
1866
+ collection_type: "mapped" | "guest";
1867
+ connector_id?: string | undefined;
1868
+ contact_email?: string | null | undefined;
1869
+ contact_info?: string | null | undefined;
1870
+ default_directory?: string | undefined;
1871
+ deleted?: boolean | undefined;
1872
+ department?: string | null | undefined;
1873
+ description?: string | null | undefined;
1874
+ disable_verify?: boolean | undefined;
1875
+ display_name: string;
1876
+ domain_name?: string | undefined;
1877
+ force_encryption?: boolean | undefined;
1878
+ high_assurance?: boolean | undefined;
1879
+ https_url?: string | undefined;
1880
+ id?: string | undefined;
1881
+ identity_id?: string | undefined;
1882
+ info_link?: string | null | undefined;
1883
+ keywords?: string[] | undefined;
1884
+ manager_url?: string | undefined;
1885
+ mapped_collection_id?: string | undefined;
1886
+ organization?: string | undefined;
1887
+ policies?: {
1888
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1889
+ } | {
1890
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1891
+ } | {
1892
+ DATA_TYPE: "box_collection_policies#1.0.0";
1893
+ } | {
1894
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1895
+ } | {
1896
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1897
+ project?: string | undefined;
1898
+ } | {
1899
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1900
+ } | {
1901
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1902
+ } | {
1903
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1904
+ } | {
1905
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1906
+ } | {
1907
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1908
+ } | {
1909
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1910
+ sharing_groups_allow?: string[] | null | undefined;
1911
+ sharing_groups_deny?: string[] | null | undefined;
1912
+ } | {
1913
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1914
+ sharing_groups_allow?: string[] | null | undefined;
1915
+ sharing_groups_deny?: string[] | null | undefined;
1916
+ } | {
1917
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1918
+ } | undefined;
1919
+ public: boolean;
1920
+ root_path?: string | undefined;
1921
+ sharing_restrict_paths?: Record<string, unknown> | {
1922
+ DATA_TYPE: "path_restrictions#1.0.0";
1923
+ none?: string[] | undefined;
1924
+ read?: string[] | undefined;
1925
+ read_write?: string[] | undefined;
1926
+ } | null | undefined;
1927
+ storage_gateway_id?: string | undefined;
1928
+ tlsftp_url?: string | undefined;
1929
+ user_credential_id?: string | undefined;
1930
+ } | {
1931
+ DATA_TYPE: "collection#1.1.0";
1932
+ allow_guest_collections?: boolean | undefined;
1933
+ authentication_timeout_mins?: number | undefined;
1934
+ collection_base_path: string;
1935
+ collection_type: "mapped" | "guest";
1936
+ connector_id?: string | undefined;
1937
+ contact_email?: string | null | undefined;
1938
+ contact_info?: string | null | undefined;
1939
+ default_directory?: string | undefined;
1940
+ deleted?: boolean | undefined;
1941
+ department?: string | null | undefined;
1942
+ description?: string | null | undefined;
1943
+ disable_verify?: boolean | undefined;
1944
+ display_name: string;
1945
+ domain_name?: string | undefined;
1946
+ enable_https?: boolean | undefined;
1947
+ force_encryption?: boolean | undefined;
1948
+ high_assurance?: boolean | undefined;
1949
+ https_url?: string | undefined;
1950
+ id?: string | undefined;
1951
+ identity_id?: string | undefined;
1952
+ info_link?: string | null | undefined;
1953
+ keywords?: string[] | undefined;
1954
+ manager_url?: string | undefined;
1955
+ mapped_collection_id?: string | undefined;
1956
+ organization?: string | undefined;
1957
+ policies?: {
1958
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
1959
+ } | {
1960
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
1961
+ } | {
1962
+ DATA_TYPE: "box_collection_policies#1.0.0";
1963
+ } | {
1964
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
1965
+ } | {
1966
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
1967
+ project?: string | undefined;
1968
+ } | {
1969
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
1970
+ } | {
1971
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
1972
+ } | {
1973
+ DATA_TYPE: "irods_collection_policies#1.0.0";
1974
+ } | {
1975
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
1976
+ } | {
1977
+ DATA_TYPE: "posix_collection_policies#1.0.0";
1978
+ } | {
1979
+ DATA_TYPE: "posix_collection_policies#1.1.0";
1980
+ sharing_groups_allow?: string[] | null | undefined;
1981
+ sharing_groups_deny?: string[] | null | undefined;
1982
+ } | {
1983
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
1984
+ sharing_groups_allow?: string[] | null | undefined;
1985
+ sharing_groups_deny?: string[] | null | undefined;
1986
+ } | {
1987
+ DATA_TYPE: "s3_collection_policies#1.0.0";
1988
+ } | undefined;
1989
+ public: boolean;
1990
+ root_path?: string | undefined;
1991
+ sharing_restrict_paths?: Record<string, unknown> | {
1992
+ DATA_TYPE: "path_restrictions#1.0.0";
1993
+ none?: string[] | undefined;
1994
+ read?: string[] | undefined;
1995
+ read_write?: string[] | undefined;
1996
+ } | null | undefined;
1997
+ storage_gateway_id?: string | undefined;
1998
+ tlsftp_url?: string | undefined;
1999
+ user_credential_id?: string | undefined;
2000
+ user_message?: string | null | undefined;
2001
+ user_message_link?: string | null | undefined;
2002
+ } | {
2003
+ DATA_TYPE: "collection#1.2.0";
2004
+ allow_guest_collections?: boolean | undefined;
2005
+ authentication_timeout_mins?: number | undefined;
2006
+ collection_base_path: string;
2007
+ collection_type: "mapped" | "guest";
2008
+ connector_id?: string | undefined;
2009
+ contact_email?: string | null | undefined;
2010
+ contact_info?: string | null | undefined;
2011
+ default_directory?: string | undefined;
2012
+ deleted?: boolean | undefined;
2013
+ department?: string | null | undefined;
2014
+ description?: string | null | undefined;
2015
+ disable_verify?: boolean | undefined;
2016
+ display_name: string;
2017
+ domain_name?: string | undefined;
2018
+ enable_https?: boolean | undefined;
2019
+ force_encryption?: boolean | undefined;
2020
+ high_assurance?: boolean | undefined;
2021
+ https_url?: string | undefined;
2022
+ id?: string | undefined;
2023
+ identity_id?: string | undefined;
2024
+ info_link?: string | null | undefined;
2025
+ keywords?: string[] | undefined;
2026
+ manager_url?: string | undefined;
2027
+ mapped_collection_id?: string | undefined;
2028
+ organization?: string | undefined;
2029
+ policies?: {
2030
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2031
+ } | {
2032
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2033
+ } | {
2034
+ DATA_TYPE: "box_collection_policies#1.0.0";
2035
+ } | {
2036
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2037
+ } | {
2038
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2039
+ project?: string | undefined;
2040
+ } | {
2041
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2042
+ } | {
2043
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2044
+ } | {
2045
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2046
+ } | {
2047
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2048
+ } | {
2049
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2050
+ } | {
2051
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2052
+ sharing_groups_allow?: string[] | null | undefined;
2053
+ sharing_groups_deny?: string[] | null | undefined;
2054
+ } | {
2055
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2056
+ sharing_groups_allow?: string[] | null | undefined;
2057
+ sharing_groups_deny?: string[] | null | undefined;
2058
+ } | {
2059
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2060
+ } | undefined;
2061
+ public: boolean;
2062
+ root_path?: string | undefined;
2063
+ sharing_restrict_paths?: Record<string, unknown> | {
2064
+ DATA_TYPE: "path_restrictions#1.0.0";
2065
+ none?: string[] | undefined;
2066
+ read?: string[] | undefined;
2067
+ read_write?: string[] | undefined;
2068
+ } | null | undefined;
2069
+ sharing_users_allow?: string[] | null | undefined;
2070
+ sharing_users_deny?: string[] | null | undefined;
2071
+ storage_gateway_id?: string | undefined;
2072
+ tlsftp_url?: string | undefined;
2073
+ user_credential_id?: string | undefined;
2074
+ user_message?: string | null | undefined;
2075
+ user_message_link?: string | null | undefined;
2076
+ } | {
2077
+ DATA_TYPE: "collection#1.3.0";
2078
+ allow_guest_collections?: boolean | undefined;
2079
+ authentication_timeout_mins?: number | undefined;
2080
+ collection_base_path: string;
2081
+ collection_type: "mapped" | "guest";
2082
+ connector_id?: string | undefined;
2083
+ contact_email?: string | null | undefined;
2084
+ contact_info?: string | null | undefined;
2085
+ default_directory?: string | undefined;
2086
+ deleted?: boolean | undefined;
2087
+ department?: string | null | undefined;
2088
+ description?: string | null | undefined;
2089
+ disable_verify?: boolean | undefined;
2090
+ display_name: string;
2091
+ domain?: {
2092
+ DATA_TYPE: "domain#1.0.0";
2093
+ certificate?: string | null | undefined;
2094
+ certificate_chain?: string | null | undefined;
2095
+ certificate_chain_path?: string | null | undefined;
2096
+ certificate_path?: string | null | undefined;
2097
+ domain_name: string;
2098
+ private_key?: string | null | undefined;
2099
+ private_key_path?: string | null | undefined;
2100
+ wildcard: boolean;
2101
+ } | undefined;
2102
+ domain_name?: string | undefined;
2103
+ enable_https?: boolean | undefined;
2104
+ force_encryption?: boolean | undefined;
2105
+ high_assurance?: boolean | undefined;
2106
+ https_url?: string | undefined;
2107
+ id?: string | undefined;
2108
+ identity_id?: string | undefined;
2109
+ info_link?: string | null | undefined;
2110
+ keywords?: string[] | undefined;
2111
+ manager_url?: string | undefined;
2112
+ mapped_collection_id?: string | undefined;
2113
+ organization?: string | undefined;
2114
+ policies?: {
2115
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2116
+ } | {
2117
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2118
+ } | {
2119
+ DATA_TYPE: "box_collection_policies#1.0.0";
2120
+ } | {
2121
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2122
+ } | {
2123
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2124
+ project?: string | undefined;
2125
+ } | {
2126
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2127
+ } | {
2128
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2129
+ } | {
2130
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2131
+ } | {
2132
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2133
+ } | {
2134
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2135
+ } | {
2136
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2137
+ sharing_groups_allow?: string[] | null | undefined;
2138
+ sharing_groups_deny?: string[] | null | undefined;
2139
+ } | {
2140
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2141
+ sharing_groups_allow?: string[] | null | undefined;
2142
+ sharing_groups_deny?: string[] | null | undefined;
2143
+ } | {
2144
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2145
+ } | undefined;
2146
+ public: boolean;
2147
+ root_path?: string | undefined;
2148
+ sharing_restrict_paths?: Record<string, unknown> | {
2149
+ DATA_TYPE: "path_restrictions#1.0.0";
2150
+ none?: string[] | undefined;
2151
+ read?: string[] | undefined;
2152
+ read_write?: string[] | undefined;
2153
+ } | null | undefined;
2154
+ sharing_users_allow?: string[] | null | undefined;
2155
+ sharing_users_deny?: string[] | null | undefined;
2156
+ storage_gateway_id?: string | undefined;
2157
+ tlsftp_url?: string | undefined;
2158
+ user_credential_id?: string | undefined;
2159
+ user_message?: string | null | undefined;
2160
+ user_message_link?: string | null | undefined;
2161
+ } | {
2162
+ DATA_TYPE: "collection#1.4.0";
2163
+ allow_guest_collections?: boolean | undefined;
2164
+ authentication_timeout_mins?: number | undefined;
2165
+ collection_base_path: string;
2166
+ collection_type: "mapped" | "guest";
2167
+ connector_id?: string | undefined;
2168
+ contact_email?: string | null | undefined;
2169
+ contact_info?: string | null | undefined;
2170
+ default_directory?: string | undefined;
2171
+ deleted?: boolean | undefined;
2172
+ department?: string | null | undefined;
2173
+ description?: string | null | undefined;
2174
+ disable_verify?: boolean | undefined;
2175
+ display_name: string;
2176
+ domain?: {
2177
+ DATA_TYPE: "domain#1.0.0";
2178
+ certificate?: string | null | undefined;
2179
+ certificate_chain?: string | null | undefined;
2180
+ certificate_chain_path?: string | null | undefined;
2181
+ certificate_path?: string | null | undefined;
2182
+ domain_name: string;
2183
+ private_key?: string | null | undefined;
2184
+ private_key_path?: string | null | undefined;
2185
+ wildcard: boolean;
2186
+ } | undefined;
2187
+ domain_name?: string | undefined;
2188
+ enable_https?: boolean | undefined;
2189
+ force_encryption?: boolean | undefined;
2190
+ force_verify?: boolean | undefined;
2191
+ high_assurance?: boolean | undefined;
2192
+ https_url?: string | undefined;
2193
+ id?: string | undefined;
2194
+ identity_id?: string | undefined;
2195
+ info_link?: string | null | undefined;
2196
+ keywords?: string[] | undefined;
2197
+ manager_url?: string | undefined;
2198
+ mapped_collection_id?: string | undefined;
2199
+ organization?: string | undefined;
2200
+ policies?: {
2201
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2202
+ } | {
2203
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2204
+ } | {
2205
+ DATA_TYPE: "box_collection_policies#1.0.0";
2206
+ } | {
2207
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2208
+ } | {
2209
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2210
+ project?: string | undefined;
2211
+ } | {
2212
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2213
+ } | {
2214
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2215
+ } | {
2216
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2217
+ } | {
2218
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2219
+ } | {
2220
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2221
+ } | {
2222
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2223
+ sharing_groups_allow?: string[] | null | undefined;
2224
+ sharing_groups_deny?: string[] | null | undefined;
2225
+ } | {
2226
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2227
+ sharing_groups_allow?: string[] | null | undefined;
2228
+ sharing_groups_deny?: string[] | null | undefined;
2229
+ } | {
2230
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2231
+ } | undefined;
2232
+ public: boolean;
2233
+ require_mfa?: boolean | undefined;
2234
+ root_path?: string | undefined;
2235
+ sharing_restrict_paths?: Record<string, unknown> | {
2236
+ DATA_TYPE: "path_restrictions#1.0.0";
2237
+ none?: string[] | undefined;
2238
+ read?: string[] | undefined;
2239
+ read_write?: string[] | undefined;
2240
+ } | null | undefined;
2241
+ sharing_users_allow?: string[] | null | undefined;
2242
+ sharing_users_deny?: string[] | null | undefined;
2243
+ storage_gateway_id?: string | undefined;
2244
+ tlsftp_url?: string | undefined;
2245
+ user_credential_id?: string | undefined;
2246
+ user_message?: string | null | undefined;
2247
+ user_message_link?: string | null | undefined;
2248
+ } | {
2249
+ DATA_TYPE: "collection#1.5.0";
2250
+ allow_guest_collections?: boolean | undefined;
2251
+ authentication_timeout_mins?: number | undefined;
2252
+ collection_base_path: string;
2253
+ collection_type: "mapped" | "guest";
2254
+ connector_id?: string | undefined;
2255
+ contact_email?: string | null | undefined;
2256
+ contact_info?: string | null | undefined;
2257
+ default_directory?: string | undefined;
2258
+ deleted?: boolean | undefined;
2259
+ department?: string | null | undefined;
2260
+ description?: string | null | undefined;
2261
+ disable_anonymous_writes?: boolean | undefined;
2262
+ disable_verify?: boolean | undefined;
2263
+ display_name: string;
2264
+ domain?: {
2265
+ DATA_TYPE: "domain#1.0.0";
2266
+ certificate?: string | null | undefined;
2267
+ certificate_chain?: string | null | undefined;
2268
+ certificate_chain_path?: string | null | undefined;
2269
+ certificate_path?: string | null | undefined;
2270
+ domain_name: string;
2271
+ private_key?: string | null | undefined;
2272
+ private_key_path?: string | null | undefined;
2273
+ wildcard: boolean;
2274
+ } | undefined;
2275
+ domain_name?: string | undefined;
2276
+ enable_https?: boolean | undefined;
2277
+ force_encryption?: boolean | undefined;
2278
+ force_verify?: boolean | undefined;
2279
+ high_assurance?: boolean | undefined;
2280
+ https_url?: string | undefined;
2281
+ id?: string | undefined;
2282
+ identity_id?: string | undefined;
2283
+ info_link?: string | null | undefined;
2284
+ keywords?: string[] | undefined;
2285
+ manager_url?: string | undefined;
2286
+ mapped_collection_id?: string | undefined;
2287
+ organization?: string | undefined;
2288
+ policies?: {
2289
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2290
+ } | {
2291
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2292
+ } | {
2293
+ DATA_TYPE: "box_collection_policies#1.0.0";
2294
+ } | {
2295
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2296
+ } | {
2297
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2298
+ project?: string | undefined;
2299
+ } | {
2300
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2301
+ } | {
2302
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2303
+ } | {
2304
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2305
+ } | {
2306
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2307
+ } | {
2308
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2309
+ } | {
2310
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2311
+ sharing_groups_allow?: string[] | null | undefined;
2312
+ sharing_groups_deny?: string[] | null | undefined;
2313
+ } | {
2314
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2315
+ sharing_groups_allow?: string[] | null | undefined;
2316
+ sharing_groups_deny?: string[] | null | undefined;
2317
+ } | {
2318
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2319
+ } | undefined;
2320
+ public: boolean;
2321
+ require_mfa?: boolean | undefined;
2322
+ root_path?: string | undefined;
2323
+ sharing_restrict_paths?: Record<string, unknown> | {
2324
+ DATA_TYPE: "path_restrictions#1.0.0";
2325
+ none?: string[] | undefined;
2326
+ read?: string[] | undefined;
2327
+ read_write?: string[] | undefined;
2328
+ } | null | undefined;
2329
+ sharing_users_allow?: string[] | null | undefined;
2330
+ sharing_users_deny?: string[] | null | undefined;
2331
+ storage_gateway_id?: string | undefined;
2332
+ tlsftp_url?: string | undefined;
2333
+ user_credential_id?: string | undefined;
2334
+ user_message?: string | null | undefined;
2335
+ user_message_link?: string | null | undefined;
2336
+ } | {
2337
+ DATA_TYPE: "collection#1.6.0";
2338
+ allow_guest_collections?: boolean | undefined;
2339
+ authentication_timeout_mins?: number | undefined;
2340
+ collection_base_path: string;
2341
+ collection_type: "mapped" | "guest";
2342
+ connector_id?: string | undefined;
2343
+ contact_email?: string | null | undefined;
2344
+ contact_info?: string | null | undefined;
2345
+ default_directory?: string | undefined;
2346
+ deleted?: boolean | undefined;
2347
+ department?: string | null | undefined;
2348
+ description?: string | null | undefined;
2349
+ disable_anonymous_writes?: boolean | undefined;
2350
+ disable_verify?: boolean | undefined;
2351
+ display_name: string;
2352
+ domain?: {
2353
+ DATA_TYPE: "domain#1.0.0";
2354
+ certificate?: string | null | undefined;
2355
+ certificate_chain?: string | null | undefined;
2356
+ certificate_chain_path?: string | null | undefined;
2357
+ certificate_path?: string | null | undefined;
2358
+ domain_name: string;
2359
+ private_key?: string | null | undefined;
2360
+ private_key_path?: string | null | undefined;
2361
+ wildcard: boolean;
2362
+ } | undefined;
2363
+ domain_name?: string | undefined;
2364
+ enable_https?: boolean | undefined;
2365
+ force_encryption?: boolean | undefined;
2366
+ force_verify?: boolean | undefined;
2367
+ guest_auth_policy_id?: string | null | undefined;
2368
+ high_assurance?: boolean | undefined;
2369
+ https_url?: string | undefined;
2370
+ id?: string | undefined;
2371
+ identity_id?: string | undefined;
2372
+ info_link?: string | null | undefined;
2373
+ keywords?: string[] | undefined;
2374
+ manager_url?: string | undefined;
2375
+ mapped_collection_id?: string | undefined;
2376
+ organization?: string | undefined;
2377
+ policies?: {
2378
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2379
+ } | {
2380
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2381
+ } | {
2382
+ DATA_TYPE: "box_collection_policies#1.0.0";
2383
+ } | {
2384
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2385
+ } | {
2386
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2387
+ project?: string | undefined;
2388
+ } | {
2389
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2390
+ } | {
2391
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2392
+ } | {
2393
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2394
+ } | {
2395
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2396
+ } | {
2397
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2398
+ } | {
2399
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2400
+ sharing_groups_allow?: string[] | null | undefined;
2401
+ sharing_groups_deny?: string[] | null | undefined;
2402
+ } | {
2403
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2404
+ sharing_groups_allow?: string[] | null | undefined;
2405
+ sharing_groups_deny?: string[] | null | undefined;
2406
+ } | {
2407
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2408
+ } | undefined;
2409
+ public: boolean;
2410
+ require_mfa?: boolean | undefined;
2411
+ root_path?: string | undefined;
2412
+ sharing_restrict_paths?: Record<string, unknown> | {
2413
+ DATA_TYPE: "path_restrictions#1.0.0";
2414
+ none?: string[] | undefined;
2415
+ read?: string[] | undefined;
2416
+ read_write?: string[] | undefined;
2417
+ } | null | undefined;
2418
+ sharing_users_allow?: string[] | null | undefined;
2419
+ sharing_users_deny?: string[] | null | undefined;
2420
+ storage_gateway_id?: string | undefined;
2421
+ tlsftp_url?: string | undefined;
2422
+ user_credential_id?: string | undefined;
2423
+ user_message?: string | null | undefined;
2424
+ user_message_link?: string | null | undefined;
2425
+ } | {
2426
+ DATA_TYPE: "collection#1.7.0";
2427
+ allow_guest_collections?: boolean | undefined;
2428
+ authentication_timeout_mins?: number | undefined;
2429
+ collection_base_path: string;
2430
+ collection_type: "mapped" | "guest";
2431
+ connector_id?: string | undefined;
2432
+ contact_email?: string | null | undefined;
2433
+ contact_info?: string | null | undefined;
2434
+ default_directory?: string | undefined;
2435
+ deleted?: boolean | undefined;
2436
+ department?: string | null | undefined;
2437
+ description?: string | null | undefined;
2438
+ disable_anonymous_writes?: boolean | undefined;
2439
+ disable_verify?: boolean | undefined;
2440
+ display_name: string;
2441
+ domain?: {
2442
+ DATA_TYPE: "domain#1.0.0";
2443
+ certificate?: string | null | undefined;
2444
+ certificate_chain?: string | null | undefined;
2445
+ certificate_chain_path?: string | null | undefined;
2446
+ certificate_path?: string | null | undefined;
2447
+ domain_name: string;
2448
+ private_key?: string | null | undefined;
2449
+ private_key_path?: string | null | undefined;
2450
+ wildcard: boolean;
2451
+ } | undefined;
2452
+ domain_name?: string | undefined;
2453
+ enable_https?: boolean | undefined;
2454
+ force_encryption?: boolean | undefined;
2455
+ force_verify?: boolean | undefined;
2456
+ guest_auth_policy_id?: string | null | undefined;
2457
+ high_assurance?: boolean | undefined;
2458
+ https_url?: string | undefined;
2459
+ id?: string | undefined;
2460
+ identity_id?: string | undefined;
2461
+ info_link?: string | null | undefined;
2462
+ keywords?: string[] | undefined;
2463
+ manager_url?: string | undefined;
2464
+ mapped_collection_id?: string | undefined;
2465
+ organization?: string | undefined;
2466
+ policies?: {
2467
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2468
+ } | {
2469
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2470
+ } | {
2471
+ DATA_TYPE: "box_collection_policies#1.0.0";
2472
+ } | {
2473
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2474
+ } | {
2475
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2476
+ project?: string | undefined;
2477
+ } | {
2478
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2479
+ } | {
2480
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2481
+ } | {
2482
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2483
+ } | {
2484
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2485
+ } | {
2486
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2487
+ } | {
2488
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2489
+ sharing_groups_allow?: string[] | null | undefined;
2490
+ sharing_groups_deny?: string[] | null | undefined;
2491
+ } | {
2492
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2493
+ sharing_groups_allow?: string[] | null | undefined;
2494
+ sharing_groups_deny?: string[] | null | undefined;
2495
+ } | {
2496
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2497
+ } | undefined;
2498
+ public: boolean;
2499
+ require_mfa?: boolean | undefined;
2500
+ root_path?: string | undefined;
2501
+ sharing_restrict_paths?: Record<string, unknown> | {
2502
+ DATA_TYPE: "path_restrictions#1.0.0";
2503
+ none?: string[] | undefined;
2504
+ read?: string[] | undefined;
2505
+ read_write?: string[] | undefined;
2506
+ } | null | undefined;
2507
+ sharing_users_allow?: string[] | null | undefined;
2508
+ sharing_users_deny?: string[] | null | undefined;
2509
+ storage_gateway_id?: string | undefined;
2510
+ tlsftp_url?: string | undefined;
2511
+ user_credential_id?: string | undefined;
2512
+ user_message?: string | null | undefined;
2513
+ user_message_link?: string | null | undefined;
2514
+ } | {
2515
+ DATA_TYPE: "collection#1.8.0";
2516
+ allow_guest_collections?: boolean | undefined;
2517
+ authentication_timeout_mins?: number | undefined;
2518
+ collection_base_path: string;
2519
+ collection_type: "mapped" | "guest";
2520
+ connector_id?: string | undefined;
2521
+ contact_email?: string | null | undefined;
2522
+ contact_info?: string | null | undefined;
2523
+ default_directory?: string | undefined;
2524
+ delete_protected?: boolean | undefined;
2525
+ deleted?: boolean | undefined;
2526
+ department?: string | null | undefined;
2527
+ description?: string | null | undefined;
2528
+ disable_anonymous_writes?: boolean | undefined;
2529
+ disable_verify?: boolean | undefined;
2530
+ display_name: string;
2531
+ domain?: {
2532
+ DATA_TYPE: "domain#1.0.0";
2533
+ certificate?: string | null | undefined;
2534
+ certificate_chain?: string | null | undefined;
2535
+ certificate_chain_path?: string | null | undefined;
2536
+ certificate_path?: string | null | undefined;
2537
+ domain_name: string;
2538
+ private_key?: string | null | undefined;
2539
+ private_key_path?: string | null | undefined;
2540
+ wildcard: boolean;
2541
+ } | undefined;
2542
+ domain_name?: string | undefined;
2543
+ enable_https?: boolean | undefined;
2544
+ force_encryption?: boolean | undefined;
2545
+ force_verify?: boolean | undefined;
2546
+ guest_auth_policy_id?: string | null | undefined;
2547
+ high_assurance?: boolean | undefined;
2548
+ https_url?: string | undefined;
2549
+ id?: string | undefined;
2550
+ identity_id?: string | undefined;
2551
+ info_link?: string | null | undefined;
2552
+ keywords?: string[] | undefined;
2553
+ manager_url?: string | undefined;
2554
+ mapped_collection_id?: string | undefined;
2555
+ organization?: string | undefined;
2556
+ policies?: {
2557
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2558
+ } | {
2559
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2560
+ } | {
2561
+ DATA_TYPE: "box_collection_policies#1.0.0";
2562
+ } | {
2563
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2564
+ } | {
2565
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2566
+ project?: string | undefined;
2567
+ } | {
2568
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2569
+ } | {
2570
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2571
+ } | {
2572
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2573
+ } | {
2574
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2575
+ } | {
2576
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2577
+ } | {
2578
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2579
+ sharing_groups_allow?: string[] | null | undefined;
2580
+ sharing_groups_deny?: string[] | null | undefined;
2581
+ } | {
2582
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2583
+ sharing_groups_allow?: string[] | null | undefined;
2584
+ sharing_groups_deny?: string[] | null | undefined;
2585
+ } | {
2586
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2587
+ } | undefined;
2588
+ public: boolean;
2589
+ require_mfa?: boolean | undefined;
2590
+ root_path?: string | undefined;
2591
+ sharing_restrict_paths?: Record<string, unknown> | {
2592
+ DATA_TYPE: "path_restrictions#1.0.0";
2593
+ none?: string[] | undefined;
2594
+ read?: string[] | undefined;
2595
+ read_write?: string[] | undefined;
2596
+ } | null | undefined;
2597
+ sharing_users_allow?: string[] | null | undefined;
2598
+ sharing_users_deny?: string[] | null | undefined;
2599
+ storage_gateway_id?: string | undefined;
2600
+ tlsftp_url?: string | undefined;
2601
+ user_credential_id?: string | undefined;
2602
+ user_message?: string | null | undefined;
2603
+ user_message_link?: string | null | undefined;
2604
+ };
2605
+ } & {
2606
+ query?: {
2607
+ [key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
2608
+ } | undefined;
2609
+ headers?: import("../types.js").Headers | undefined;
2610
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
2611
+ code?: "success" | undefined;
2612
+ data?: ({
2613
+ DATA_TYPE: "collection#1.0.0";
2614
+ allow_guest_collections?: boolean | undefined;
2615
+ authentication_timeout_mins?: number | undefined;
2616
+ collection_base_path: string;
2617
+ collection_type: "mapped" | "guest";
2618
+ connector_id?: string | undefined;
2619
+ contact_email?: string | null | undefined;
2620
+ contact_info?: string | null | undefined;
2621
+ default_directory?: string | undefined;
2622
+ deleted?: boolean | undefined;
2623
+ department?: string | null | undefined;
2624
+ description?: string | null | undefined;
2625
+ disable_verify?: boolean | undefined;
2626
+ display_name: string;
2627
+ domain_name?: string | undefined;
2628
+ force_encryption?: boolean | undefined;
2629
+ high_assurance?: boolean | undefined;
2630
+ https_url?: string | undefined;
2631
+ id?: string | undefined;
2632
+ identity_id?: string | undefined;
2633
+ info_link?: string | null | undefined;
2634
+ keywords?: string[] | undefined;
2635
+ manager_url?: string | undefined;
2636
+ mapped_collection_id?: string | undefined;
2637
+ organization?: string | undefined;
2638
+ policies?: {
2639
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2640
+ } | {
2641
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2642
+ } | {
2643
+ DATA_TYPE: "box_collection_policies#1.0.0";
2644
+ } | {
2645
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2646
+ } | {
2647
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2648
+ project?: string | undefined;
2649
+ } | {
2650
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2651
+ } | {
2652
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2653
+ } | {
2654
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2655
+ } | {
2656
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2657
+ } | {
2658
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2659
+ } | {
2660
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2661
+ sharing_groups_allow?: string[] | null | undefined;
2662
+ sharing_groups_deny?: string[] | null | undefined;
2663
+ } | {
2664
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2665
+ sharing_groups_allow?: string[] | null | undefined;
2666
+ sharing_groups_deny?: string[] | null | undefined;
2667
+ } | {
2668
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2669
+ } | undefined;
2670
+ public: boolean;
2671
+ root_path?: string | undefined;
2672
+ sharing_restrict_paths?: Record<string, unknown> | {
2673
+ DATA_TYPE: "path_restrictions#1.0.0";
2674
+ none?: string[] | undefined;
2675
+ read?: string[] | undefined;
2676
+ read_write?: string[] | undefined;
2677
+ } | null | undefined;
2678
+ storage_gateway_id?: string | undefined;
2679
+ tlsftp_url?: string | undefined;
2680
+ user_credential_id?: string | undefined;
2681
+ } | {
2682
+ DATA_TYPE: "collection#1.1.0";
2683
+ allow_guest_collections?: boolean | undefined;
2684
+ authentication_timeout_mins?: number | undefined;
2685
+ collection_base_path: string;
2686
+ collection_type: "mapped" | "guest";
2687
+ connector_id?: string | undefined;
2688
+ contact_email?: string | null | undefined;
2689
+ contact_info?: string | null | undefined;
2690
+ default_directory?: string | undefined;
2691
+ deleted?: boolean | undefined;
2692
+ department?: string | null | undefined;
2693
+ description?: string | null | undefined;
2694
+ disable_verify?: boolean | undefined;
2695
+ display_name: string;
2696
+ domain_name?: string | undefined;
2697
+ enable_https?: boolean | undefined;
2698
+ force_encryption?: boolean | undefined;
2699
+ high_assurance?: boolean | undefined;
2700
+ https_url?: string | undefined;
2701
+ id?: string | undefined;
2702
+ identity_id?: string | undefined;
2703
+ info_link?: string | null | undefined;
2704
+ keywords?: string[] | undefined;
2705
+ manager_url?: string | undefined;
2706
+ mapped_collection_id?: string | undefined;
2707
+ organization?: string | undefined;
2708
+ policies?: {
2709
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2710
+ } | {
2711
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2712
+ } | {
2713
+ DATA_TYPE: "box_collection_policies#1.0.0";
2714
+ } | {
2715
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2716
+ } | {
2717
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2718
+ project?: string | undefined;
2719
+ } | {
2720
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2721
+ } | {
2722
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2723
+ } | {
2724
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2725
+ } | {
2726
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2727
+ } | {
2728
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2729
+ } | {
2730
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2731
+ sharing_groups_allow?: string[] | null | undefined;
2732
+ sharing_groups_deny?: string[] | null | undefined;
2733
+ } | {
2734
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2735
+ sharing_groups_allow?: string[] | null | undefined;
2736
+ sharing_groups_deny?: string[] | null | undefined;
2737
+ } | {
2738
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2739
+ } | undefined;
2740
+ public: boolean;
2741
+ root_path?: string | undefined;
2742
+ sharing_restrict_paths?: Record<string, unknown> | {
2743
+ DATA_TYPE: "path_restrictions#1.0.0";
2744
+ none?: string[] | undefined;
2745
+ read?: string[] | undefined;
2746
+ read_write?: string[] | undefined;
2747
+ } | null | undefined;
2748
+ storage_gateway_id?: string | undefined;
2749
+ tlsftp_url?: string | undefined;
2750
+ user_credential_id?: string | undefined;
2751
+ user_message?: string | null | undefined;
2752
+ user_message_link?: string | null | undefined;
2753
+ } | {
2754
+ DATA_TYPE: "collection#1.2.0";
2755
+ allow_guest_collections?: boolean | undefined;
2756
+ authentication_timeout_mins?: number | undefined;
2757
+ collection_base_path: string;
2758
+ collection_type: "mapped" | "guest";
2759
+ connector_id?: string | undefined;
2760
+ contact_email?: string | null | undefined;
2761
+ contact_info?: string | null | undefined;
2762
+ default_directory?: string | undefined;
2763
+ deleted?: boolean | undefined;
2764
+ department?: string | null | undefined;
2765
+ description?: string | null | undefined;
2766
+ disable_verify?: boolean | undefined;
2767
+ display_name: string;
2768
+ domain_name?: string | undefined;
2769
+ enable_https?: boolean | undefined;
2770
+ force_encryption?: boolean | undefined;
2771
+ high_assurance?: boolean | undefined;
2772
+ https_url?: string | undefined;
2773
+ id?: string | undefined;
2774
+ identity_id?: string | undefined;
2775
+ info_link?: string | null | undefined;
2776
+ keywords?: string[] | undefined;
2777
+ manager_url?: string | undefined;
2778
+ mapped_collection_id?: string | undefined;
2779
+ organization?: string | undefined;
2780
+ policies?: {
2781
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2782
+ } | {
2783
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2784
+ } | {
2785
+ DATA_TYPE: "box_collection_policies#1.0.0";
2786
+ } | {
2787
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2788
+ } | {
2789
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2790
+ project?: string | undefined;
2791
+ } | {
2792
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2793
+ } | {
2794
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2795
+ } | {
2796
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2797
+ } | {
2798
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2799
+ } | {
2800
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2801
+ } | {
2802
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2803
+ sharing_groups_allow?: string[] | null | undefined;
2804
+ sharing_groups_deny?: string[] | null | undefined;
2805
+ } | {
2806
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2807
+ sharing_groups_allow?: string[] | null | undefined;
2808
+ sharing_groups_deny?: string[] | null | undefined;
2809
+ } | {
2810
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2811
+ } | undefined;
2812
+ public: boolean;
2813
+ root_path?: string | undefined;
2814
+ sharing_restrict_paths?: Record<string, unknown> | {
2815
+ DATA_TYPE: "path_restrictions#1.0.0";
2816
+ none?: string[] | undefined;
2817
+ read?: string[] | undefined;
2818
+ read_write?: string[] | undefined;
2819
+ } | null | undefined;
2820
+ sharing_users_allow?: string[] | null | undefined;
2821
+ sharing_users_deny?: string[] | null | undefined;
2822
+ storage_gateway_id?: string | undefined;
2823
+ tlsftp_url?: string | undefined;
2824
+ user_credential_id?: string | undefined;
2825
+ user_message?: string | null | undefined;
2826
+ user_message_link?: string | null | undefined;
2827
+ } | {
2828
+ DATA_TYPE: "collection#1.3.0";
2829
+ allow_guest_collections?: boolean | undefined;
2830
+ authentication_timeout_mins?: number | undefined;
2831
+ collection_base_path: string;
2832
+ collection_type: "mapped" | "guest";
2833
+ connector_id?: string | undefined;
2834
+ contact_email?: string | null | undefined;
2835
+ contact_info?: string | null | undefined;
2836
+ default_directory?: string | undefined;
2837
+ deleted?: boolean | undefined;
2838
+ department?: string | null | undefined;
2839
+ description?: string | null | undefined;
2840
+ disable_verify?: boolean | undefined;
2841
+ display_name: string;
2842
+ domain?: {
2843
+ DATA_TYPE: "domain#1.0.0";
2844
+ certificate?: string | null | undefined;
2845
+ certificate_chain?: string | null | undefined;
2846
+ certificate_chain_path?: string | null | undefined;
2847
+ certificate_path?: string | null | undefined;
2848
+ domain_name: string;
2849
+ private_key?: string | null | undefined;
2850
+ private_key_path?: string | null | undefined;
2851
+ wildcard: boolean;
2852
+ } | undefined;
2853
+ domain_name?: string | undefined;
2854
+ enable_https?: boolean | undefined;
2855
+ force_encryption?: boolean | undefined;
2856
+ high_assurance?: boolean | undefined;
2857
+ https_url?: string | undefined;
2858
+ id?: string | undefined;
2859
+ identity_id?: string | undefined;
2860
+ info_link?: string | null | undefined;
2861
+ keywords?: string[] | undefined;
2862
+ manager_url?: string | undefined;
2863
+ mapped_collection_id?: string | undefined;
2864
+ organization?: string | undefined;
2865
+ policies?: {
2866
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2867
+ } | {
2868
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2869
+ } | {
2870
+ DATA_TYPE: "box_collection_policies#1.0.0";
2871
+ } | {
2872
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2873
+ } | {
2874
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2875
+ project?: string | undefined;
2876
+ } | {
2877
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2878
+ } | {
2879
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2880
+ } | {
2881
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2882
+ } | {
2883
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2884
+ } | {
2885
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2886
+ } | {
2887
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2888
+ sharing_groups_allow?: string[] | null | undefined;
2889
+ sharing_groups_deny?: string[] | null | undefined;
2890
+ } | {
2891
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2892
+ sharing_groups_allow?: string[] | null | undefined;
2893
+ sharing_groups_deny?: string[] | null | undefined;
2894
+ } | {
2895
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2896
+ } | undefined;
2897
+ public: boolean;
2898
+ root_path?: string | undefined;
2899
+ sharing_restrict_paths?: Record<string, unknown> | {
2900
+ DATA_TYPE: "path_restrictions#1.0.0";
2901
+ none?: string[] | undefined;
2902
+ read?: string[] | undefined;
2903
+ read_write?: string[] | undefined;
2904
+ } | null | undefined;
2905
+ sharing_users_allow?: string[] | null | undefined;
2906
+ sharing_users_deny?: string[] | null | undefined;
2907
+ storage_gateway_id?: string | undefined;
2908
+ tlsftp_url?: string | undefined;
2909
+ user_credential_id?: string | undefined;
2910
+ user_message?: string | null | undefined;
2911
+ user_message_link?: string | null | undefined;
2912
+ } | {
2913
+ DATA_TYPE: "collection#1.4.0";
2914
+ allow_guest_collections?: boolean | undefined;
2915
+ authentication_timeout_mins?: number | undefined;
2916
+ collection_base_path: string;
2917
+ collection_type: "mapped" | "guest";
2918
+ connector_id?: string | undefined;
2919
+ contact_email?: string | null | undefined;
2920
+ contact_info?: string | null | undefined;
2921
+ default_directory?: string | undefined;
2922
+ deleted?: boolean | undefined;
2923
+ department?: string | null | undefined;
2924
+ description?: string | null | undefined;
2925
+ disable_verify?: boolean | undefined;
2926
+ display_name: string;
2927
+ domain?: {
2928
+ DATA_TYPE: "domain#1.0.0";
2929
+ certificate?: string | null | undefined;
2930
+ certificate_chain?: string | null | undefined;
2931
+ certificate_chain_path?: string | null | undefined;
2932
+ certificate_path?: string | null | undefined;
2933
+ domain_name: string;
2934
+ private_key?: string | null | undefined;
2935
+ private_key_path?: string | null | undefined;
2936
+ wildcard: boolean;
2937
+ } | undefined;
2938
+ domain_name?: string | undefined;
2939
+ enable_https?: boolean | undefined;
2940
+ force_encryption?: boolean | undefined;
2941
+ force_verify?: boolean | undefined;
2942
+ high_assurance?: boolean | undefined;
2943
+ https_url?: string | undefined;
2944
+ id?: string | undefined;
2945
+ identity_id?: string | undefined;
2946
+ info_link?: string | null | undefined;
2947
+ keywords?: string[] | undefined;
2948
+ manager_url?: string | undefined;
2949
+ mapped_collection_id?: string | undefined;
2950
+ organization?: string | undefined;
2951
+ policies?: {
2952
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
2953
+ } | {
2954
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
2955
+ } | {
2956
+ DATA_TYPE: "box_collection_policies#1.0.0";
2957
+ } | {
2958
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
2959
+ } | {
2960
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
2961
+ project?: string | undefined;
2962
+ } | {
2963
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
2964
+ } | {
2965
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
2966
+ } | {
2967
+ DATA_TYPE: "irods_collection_policies#1.0.0";
2968
+ } | {
2969
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
2970
+ } | {
2971
+ DATA_TYPE: "posix_collection_policies#1.0.0";
2972
+ } | {
2973
+ DATA_TYPE: "posix_collection_policies#1.1.0";
2974
+ sharing_groups_allow?: string[] | null | undefined;
2975
+ sharing_groups_deny?: string[] | null | undefined;
2976
+ } | {
2977
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
2978
+ sharing_groups_allow?: string[] | null | undefined;
2979
+ sharing_groups_deny?: string[] | null | undefined;
2980
+ } | {
2981
+ DATA_TYPE: "s3_collection_policies#1.0.0";
2982
+ } | undefined;
2983
+ public: boolean;
2984
+ require_mfa?: boolean | undefined;
2985
+ root_path?: string | undefined;
2986
+ sharing_restrict_paths?: Record<string, unknown> | {
2987
+ DATA_TYPE: "path_restrictions#1.0.0";
2988
+ none?: string[] | undefined;
2989
+ read?: string[] | undefined;
2990
+ read_write?: string[] | undefined;
2991
+ } | null | undefined;
2992
+ sharing_users_allow?: string[] | null | undefined;
2993
+ sharing_users_deny?: string[] | null | undefined;
2994
+ storage_gateway_id?: string | undefined;
2995
+ tlsftp_url?: string | undefined;
2996
+ user_credential_id?: string | undefined;
2997
+ user_message?: string | null | undefined;
2998
+ user_message_link?: string | null | undefined;
2999
+ } | {
3000
+ DATA_TYPE: "collection#1.5.0";
3001
+ allow_guest_collections?: boolean | undefined;
3002
+ authentication_timeout_mins?: number | undefined;
3003
+ collection_base_path: string;
3004
+ collection_type: "mapped" | "guest";
3005
+ connector_id?: string | undefined;
3006
+ contact_email?: string | null | undefined;
3007
+ contact_info?: string | null | undefined;
3008
+ default_directory?: string | undefined;
3009
+ deleted?: boolean | undefined;
3010
+ department?: string | null | undefined;
3011
+ description?: string | null | undefined;
3012
+ disable_anonymous_writes?: boolean | undefined;
3013
+ disable_verify?: boolean | undefined;
3014
+ display_name: string;
3015
+ domain?: {
3016
+ DATA_TYPE: "domain#1.0.0";
3017
+ certificate?: string | null | undefined;
3018
+ certificate_chain?: string | null | undefined;
3019
+ certificate_chain_path?: string | null | undefined;
3020
+ certificate_path?: string | null | undefined;
3021
+ domain_name: string;
3022
+ private_key?: string | null | undefined;
3023
+ private_key_path?: string | null | undefined;
3024
+ wildcard: boolean;
3025
+ } | undefined;
3026
+ domain_name?: string | undefined;
3027
+ enable_https?: boolean | undefined;
3028
+ force_encryption?: boolean | undefined;
3029
+ force_verify?: boolean | undefined;
3030
+ high_assurance?: boolean | undefined;
3031
+ https_url?: string | undefined;
3032
+ id?: string | undefined;
3033
+ identity_id?: string | undefined;
3034
+ info_link?: string | null | undefined;
3035
+ keywords?: string[] | undefined;
3036
+ manager_url?: string | undefined;
3037
+ mapped_collection_id?: string | undefined;
3038
+ organization?: string | undefined;
3039
+ policies?: {
3040
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3041
+ } | {
3042
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3043
+ } | {
3044
+ DATA_TYPE: "box_collection_policies#1.0.0";
3045
+ } | {
3046
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3047
+ } | {
3048
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3049
+ project?: string | undefined;
3050
+ } | {
3051
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3052
+ } | {
3053
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3054
+ } | {
3055
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3056
+ } | {
3057
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3058
+ } | {
3059
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3060
+ } | {
3061
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3062
+ sharing_groups_allow?: string[] | null | undefined;
3063
+ sharing_groups_deny?: string[] | null | undefined;
3064
+ } | {
3065
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3066
+ sharing_groups_allow?: string[] | null | undefined;
3067
+ sharing_groups_deny?: string[] | null | undefined;
3068
+ } | {
3069
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3070
+ } | undefined;
3071
+ public: boolean;
3072
+ require_mfa?: boolean | undefined;
3073
+ root_path?: string | undefined;
3074
+ sharing_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
+ sharing_users_allow?: string[] | null | undefined;
3081
+ sharing_users_deny?: string[] | null | undefined;
3082
+ storage_gateway_id?: string | undefined;
3083
+ tlsftp_url?: string | undefined;
3084
+ user_credential_id?: string | undefined;
3085
+ user_message?: string | null | undefined;
3086
+ user_message_link?: string | null | undefined;
3087
+ } | {
3088
+ DATA_TYPE: "collection#1.6.0";
3089
+ allow_guest_collections?: boolean | undefined;
3090
+ authentication_timeout_mins?: number | undefined;
3091
+ collection_base_path: string;
3092
+ collection_type: "mapped" | "guest";
3093
+ connector_id?: string | undefined;
3094
+ contact_email?: string | null | undefined;
3095
+ contact_info?: string | null | undefined;
3096
+ default_directory?: string | undefined;
3097
+ deleted?: boolean | undefined;
3098
+ department?: string | null | undefined;
3099
+ description?: string | null | undefined;
3100
+ disable_anonymous_writes?: boolean | undefined;
3101
+ disable_verify?: boolean | undefined;
3102
+ display_name: string;
3103
+ domain?: {
3104
+ DATA_TYPE: "domain#1.0.0";
3105
+ certificate?: string | null | undefined;
3106
+ certificate_chain?: string | null | undefined;
3107
+ certificate_chain_path?: string | null | undefined;
3108
+ certificate_path?: string | null | undefined;
3109
+ domain_name: string;
3110
+ private_key?: string | null | undefined;
3111
+ private_key_path?: string | null | undefined;
3112
+ wildcard: boolean;
3113
+ } | undefined;
3114
+ domain_name?: string | undefined;
3115
+ enable_https?: boolean | undefined;
3116
+ force_encryption?: boolean | undefined;
3117
+ force_verify?: boolean | undefined;
3118
+ guest_auth_policy_id?: string | null | undefined;
3119
+ high_assurance?: boolean | undefined;
3120
+ https_url?: string | undefined;
3121
+ id?: string | undefined;
3122
+ identity_id?: string | undefined;
3123
+ info_link?: string | null | undefined;
3124
+ keywords?: string[] | undefined;
3125
+ manager_url?: string | undefined;
3126
+ mapped_collection_id?: string | undefined;
3127
+ organization?: string | undefined;
3128
+ policies?: {
3129
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3130
+ } | {
3131
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3132
+ } | {
3133
+ DATA_TYPE: "box_collection_policies#1.0.0";
3134
+ } | {
3135
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3136
+ } | {
3137
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3138
+ project?: string | undefined;
3139
+ } | {
3140
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3141
+ } | {
3142
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3143
+ } | {
3144
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3145
+ } | {
3146
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3147
+ } | {
3148
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3149
+ } | {
3150
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3151
+ sharing_groups_allow?: string[] | null | undefined;
3152
+ sharing_groups_deny?: string[] | null | undefined;
3153
+ } | {
3154
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3155
+ sharing_groups_allow?: string[] | null | undefined;
3156
+ sharing_groups_deny?: string[] | null | undefined;
3157
+ } | {
3158
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3159
+ } | undefined;
3160
+ public: boolean;
3161
+ require_mfa?: boolean | undefined;
3162
+ root_path?: string | undefined;
3163
+ sharing_restrict_paths?: Record<string, unknown> | {
3164
+ DATA_TYPE: "path_restrictions#1.0.0";
3165
+ none?: string[] | undefined;
3166
+ read?: string[] | undefined;
3167
+ read_write?: string[] | undefined;
3168
+ } | null | undefined;
3169
+ sharing_users_allow?: string[] | null | undefined;
3170
+ sharing_users_deny?: string[] | null | undefined;
3171
+ storage_gateway_id?: string | undefined;
3172
+ tlsftp_url?: string | undefined;
3173
+ user_credential_id?: string | undefined;
3174
+ user_message?: string | null | undefined;
3175
+ user_message_link?: string | null | undefined;
3176
+ } | {
3177
+ DATA_TYPE: "collection#1.7.0";
3178
+ allow_guest_collections?: boolean | undefined;
3179
+ authentication_timeout_mins?: number | undefined;
3180
+ collection_base_path: string;
3181
+ collection_type: "mapped" | "guest";
3182
+ connector_id?: string | undefined;
3183
+ contact_email?: string | null | undefined;
3184
+ contact_info?: string | null | undefined;
3185
+ default_directory?: string | undefined;
3186
+ deleted?: boolean | undefined;
3187
+ department?: string | null | undefined;
3188
+ description?: string | null | undefined;
3189
+ disable_anonymous_writes?: boolean | undefined;
3190
+ disable_verify?: boolean | undefined;
3191
+ display_name: string;
3192
+ domain?: {
3193
+ DATA_TYPE: "domain#1.0.0";
3194
+ certificate?: string | null | undefined;
3195
+ certificate_chain?: string | null | undefined;
3196
+ certificate_chain_path?: string | null | undefined;
3197
+ certificate_path?: string | null | undefined;
3198
+ domain_name: string;
3199
+ private_key?: string | null | undefined;
3200
+ private_key_path?: string | null | undefined;
3201
+ wildcard: boolean;
3202
+ } | undefined;
3203
+ domain_name?: string | undefined;
3204
+ enable_https?: boolean | undefined;
3205
+ force_encryption?: boolean | undefined;
3206
+ force_verify?: boolean | undefined;
3207
+ guest_auth_policy_id?: string | null | undefined;
3208
+ high_assurance?: boolean | undefined;
3209
+ https_url?: string | undefined;
3210
+ id?: string | undefined;
3211
+ identity_id?: string | undefined;
3212
+ info_link?: string | null | undefined;
3213
+ keywords?: string[] | undefined;
3214
+ manager_url?: string | undefined;
3215
+ mapped_collection_id?: string | undefined;
3216
+ organization?: string | undefined;
3217
+ policies?: {
3218
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3219
+ } | {
3220
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3221
+ } | {
3222
+ DATA_TYPE: "box_collection_policies#1.0.0";
3223
+ } | {
3224
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3225
+ } | {
3226
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3227
+ project?: string | undefined;
3228
+ } | {
3229
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3230
+ } | {
3231
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3232
+ } | {
3233
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3234
+ } | {
3235
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3236
+ } | {
3237
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3238
+ } | {
3239
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3240
+ sharing_groups_allow?: string[] | null | undefined;
3241
+ sharing_groups_deny?: string[] | null | undefined;
3242
+ } | {
3243
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3244
+ sharing_groups_allow?: string[] | null | undefined;
3245
+ sharing_groups_deny?: string[] | null | undefined;
3246
+ } | {
3247
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3248
+ } | undefined;
3249
+ public: boolean;
3250
+ require_mfa?: boolean | undefined;
3251
+ root_path?: string | undefined;
3252
+ sharing_restrict_paths?: Record<string, unknown> | {
3253
+ DATA_TYPE: "path_restrictions#1.0.0";
3254
+ none?: string[] | undefined;
3255
+ read?: string[] | undefined;
3256
+ read_write?: string[] | undefined;
3257
+ } | null | undefined;
3258
+ sharing_users_allow?: string[] | null | undefined;
3259
+ sharing_users_deny?: string[] | null | undefined;
3260
+ storage_gateway_id?: string | undefined;
3261
+ tlsftp_url?: string | undefined;
3262
+ user_credential_id?: string | undefined;
3263
+ user_message?: string | null | undefined;
3264
+ user_message_link?: string | null | undefined;
3265
+ } | {
3266
+ DATA_TYPE: "collection#1.8.0";
3267
+ allow_guest_collections?: boolean | undefined;
3268
+ authentication_timeout_mins?: number | undefined;
3269
+ collection_base_path: string;
3270
+ collection_type: "mapped" | "guest";
3271
+ connector_id?: string | undefined;
3272
+ contact_email?: string | null | undefined;
3273
+ contact_info?: string | null | undefined;
3274
+ default_directory?: string | undefined;
3275
+ delete_protected?: boolean | undefined;
3276
+ deleted?: boolean | undefined;
3277
+ department?: string | null | undefined;
3278
+ description?: string | null | undefined;
3279
+ disable_anonymous_writes?: boolean | undefined;
3280
+ disable_verify?: boolean | undefined;
3281
+ display_name: string;
3282
+ domain?: {
3283
+ DATA_TYPE: "domain#1.0.0";
3284
+ certificate?: string | null | undefined;
3285
+ certificate_chain?: string | null | undefined;
3286
+ certificate_chain_path?: string | null | undefined;
3287
+ certificate_path?: string | null | undefined;
3288
+ domain_name: string;
3289
+ private_key?: string | null | undefined;
3290
+ private_key_path?: string | null | undefined;
3291
+ wildcard: boolean;
3292
+ } | undefined;
3293
+ domain_name?: string | undefined;
3294
+ enable_https?: boolean | undefined;
3295
+ force_encryption?: boolean | undefined;
3296
+ force_verify?: boolean | undefined;
3297
+ guest_auth_policy_id?: string | null | undefined;
3298
+ high_assurance?: boolean | undefined;
3299
+ https_url?: string | undefined;
3300
+ id?: string | undefined;
3301
+ identity_id?: string | undefined;
3302
+ info_link?: string | null | undefined;
3303
+ keywords?: string[] | undefined;
3304
+ manager_url?: string | undefined;
3305
+ mapped_collection_id?: string | undefined;
3306
+ organization?: string | undefined;
3307
+ policies?: {
3308
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3309
+ } | {
3310
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3311
+ } | {
3312
+ DATA_TYPE: "box_collection_policies#1.0.0";
3313
+ } | {
3314
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3315
+ } | {
3316
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3317
+ project?: string | undefined;
3318
+ } | {
3319
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3320
+ } | {
3321
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3322
+ } | {
3323
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3324
+ } | {
3325
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3326
+ } | {
3327
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3328
+ } | {
3329
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3330
+ sharing_groups_allow?: string[] | null | undefined;
3331
+ sharing_groups_deny?: string[] | null | undefined;
3332
+ } | {
3333
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3334
+ sharing_groups_allow?: string[] | null | undefined;
3335
+ sharing_groups_deny?: string[] | null | undefined;
3336
+ } | {
3337
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3338
+ } | undefined;
3339
+ public: boolean;
3340
+ require_mfa?: boolean | undefined;
3341
+ root_path?: string | undefined;
3342
+ sharing_restrict_paths?: Record<string, unknown> | {
3343
+ DATA_TYPE: "path_restrictions#1.0.0";
3344
+ none?: string[] | undefined;
3345
+ read?: string[] | undefined;
3346
+ read_write?: string[] | undefined;
3347
+ } | null | undefined;
3348
+ sharing_users_allow?: string[] | null | undefined;
3349
+ sharing_users_deny?: string[] | null | undefined;
3350
+ storage_gateway_id?: string | undefined;
3351
+ tlsftp_url?: string | undefined;
3352
+ user_credential_id?: string | undefined;
3353
+ user_message?: string | null | undefined;
3354
+ user_message_link?: string | null | undefined;
3355
+ })[] | undefined;
3356
+ } & {
3357
+ DATA_TYPE: "result#1.0.0";
3358
+ code: string;
3359
+ data?: Record<string, never>[] | undefined;
3360
+ detail?: Record<string, never> | undefined;
3361
+ has_next_page?: boolean | undefined;
3362
+ http_response_code: number;
3363
+ marker?: string | null | undefined;
3364
+ message?: string | undefined;
3365
+ }>>;
1860
3366
  remove: (collection_id: string, options?: ({
1861
3367
  query?: undefined;
1862
3368
  payload?: undefined;
@@ -1875,6 +3381,1561 @@ export declare function getClient(configuration: GCSConfiguration): {
1875
3381
  marker?: string | null | undefined;
1876
3382
  message?: string | undefined;
1877
3383
  }>>;
3384
+ update: (collection_id: string, options: ({
3385
+ payload: {
3386
+ DATA_TYPE: "collection#1.0.0";
3387
+ allow_guest_collections?: boolean | undefined;
3388
+ authentication_timeout_mins?: number | undefined;
3389
+ collection_base_path: string;
3390
+ collection_type: "mapped" | "guest";
3391
+ connector_id?: string | undefined;
3392
+ contact_email?: string | null | undefined;
3393
+ contact_info?: string | null | undefined;
3394
+ default_directory?: string | undefined;
3395
+ deleted?: boolean | undefined;
3396
+ department?: string | null | undefined;
3397
+ description?: string | null | undefined;
3398
+ disable_verify?: boolean | undefined;
3399
+ display_name: string;
3400
+ domain_name?: string | undefined;
3401
+ force_encryption?: boolean | undefined;
3402
+ high_assurance?: boolean | undefined;
3403
+ https_url?: string | undefined;
3404
+ id?: string | undefined;
3405
+ identity_id?: string | undefined;
3406
+ info_link?: string | null | undefined;
3407
+ keywords?: string[] | undefined;
3408
+ manager_url?: string | undefined;
3409
+ mapped_collection_id?: string | undefined;
3410
+ organization?: string | undefined;
3411
+ policies?: {
3412
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3413
+ } | {
3414
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3415
+ } | {
3416
+ DATA_TYPE: "box_collection_policies#1.0.0";
3417
+ } | {
3418
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3419
+ } | {
3420
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3421
+ project?: string | undefined;
3422
+ } | {
3423
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3424
+ } | {
3425
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3426
+ } | {
3427
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3428
+ } | {
3429
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3430
+ } | {
3431
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3432
+ } | {
3433
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3434
+ sharing_groups_allow?: string[] | null | undefined;
3435
+ sharing_groups_deny?: string[] | null | undefined;
3436
+ } | {
3437
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3438
+ sharing_groups_allow?: string[] | null | undefined;
3439
+ sharing_groups_deny?: string[] | null | undefined;
3440
+ } | {
3441
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3442
+ } | undefined;
3443
+ public: boolean;
3444
+ root_path?: string | undefined;
3445
+ sharing_restrict_paths?: Record<string, unknown> | {
3446
+ DATA_TYPE: "path_restrictions#1.0.0";
3447
+ none?: string[] | undefined;
3448
+ read?: string[] | undefined;
3449
+ read_write?: string[] | undefined;
3450
+ } | null | undefined;
3451
+ storage_gateway_id?: string | undefined;
3452
+ tlsftp_url?: string | undefined;
3453
+ user_credential_id?: string | undefined;
3454
+ } | {
3455
+ DATA_TYPE: "collection#1.1.0";
3456
+ allow_guest_collections?: boolean | undefined;
3457
+ authentication_timeout_mins?: number | undefined;
3458
+ collection_base_path: string;
3459
+ collection_type: "mapped" | "guest";
3460
+ connector_id?: string | undefined;
3461
+ contact_email?: string | null | undefined;
3462
+ contact_info?: string | null | undefined;
3463
+ default_directory?: string | undefined;
3464
+ deleted?: boolean | undefined;
3465
+ department?: string | null | undefined;
3466
+ description?: string | null | undefined;
3467
+ disable_verify?: boolean | undefined;
3468
+ display_name: string;
3469
+ domain_name?: string | undefined;
3470
+ enable_https?: boolean | undefined;
3471
+ force_encryption?: boolean | undefined;
3472
+ high_assurance?: boolean | undefined;
3473
+ https_url?: string | undefined;
3474
+ id?: string | undefined;
3475
+ identity_id?: string | undefined;
3476
+ info_link?: string | null | undefined;
3477
+ keywords?: string[] | undefined;
3478
+ manager_url?: string | undefined;
3479
+ mapped_collection_id?: string | undefined;
3480
+ organization?: string | undefined;
3481
+ policies?: {
3482
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3483
+ } | {
3484
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3485
+ } | {
3486
+ DATA_TYPE: "box_collection_policies#1.0.0";
3487
+ } | {
3488
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3489
+ } | {
3490
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3491
+ project?: string | undefined;
3492
+ } | {
3493
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3494
+ } | {
3495
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3496
+ } | {
3497
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3498
+ } | {
3499
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3500
+ } | {
3501
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3502
+ } | {
3503
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3504
+ sharing_groups_allow?: string[] | null | undefined;
3505
+ sharing_groups_deny?: string[] | null | undefined;
3506
+ } | {
3507
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3508
+ sharing_groups_allow?: string[] | null | undefined;
3509
+ sharing_groups_deny?: string[] | null | undefined;
3510
+ } | {
3511
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3512
+ } | undefined;
3513
+ public: boolean;
3514
+ root_path?: string | undefined;
3515
+ sharing_restrict_paths?: Record<string, unknown> | {
3516
+ DATA_TYPE: "path_restrictions#1.0.0";
3517
+ none?: string[] | undefined;
3518
+ read?: string[] | undefined;
3519
+ read_write?: string[] | undefined;
3520
+ } | null | undefined;
3521
+ storage_gateway_id?: string | undefined;
3522
+ tlsftp_url?: string | undefined;
3523
+ user_credential_id?: string | undefined;
3524
+ user_message?: string | null | undefined;
3525
+ user_message_link?: string | null | undefined;
3526
+ } | {
3527
+ DATA_TYPE: "collection#1.2.0";
3528
+ allow_guest_collections?: boolean | undefined;
3529
+ authentication_timeout_mins?: number | undefined;
3530
+ collection_base_path: string;
3531
+ collection_type: "mapped" | "guest";
3532
+ connector_id?: string | undefined;
3533
+ contact_email?: string | null | undefined;
3534
+ contact_info?: string | null | undefined;
3535
+ default_directory?: string | undefined;
3536
+ deleted?: boolean | undefined;
3537
+ department?: string | null | undefined;
3538
+ description?: string | null | undefined;
3539
+ disable_verify?: boolean | undefined;
3540
+ display_name: string;
3541
+ domain_name?: string | undefined;
3542
+ enable_https?: boolean | undefined;
3543
+ force_encryption?: boolean | undefined;
3544
+ high_assurance?: boolean | undefined;
3545
+ https_url?: string | undefined;
3546
+ id?: string | undefined;
3547
+ identity_id?: string | undefined;
3548
+ info_link?: string | null | undefined;
3549
+ keywords?: string[] | undefined;
3550
+ manager_url?: string | undefined;
3551
+ mapped_collection_id?: string | undefined;
3552
+ organization?: string | undefined;
3553
+ policies?: {
3554
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3555
+ } | {
3556
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3557
+ } | {
3558
+ DATA_TYPE: "box_collection_policies#1.0.0";
3559
+ } | {
3560
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3561
+ } | {
3562
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3563
+ project?: string | undefined;
3564
+ } | {
3565
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3566
+ } | {
3567
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3568
+ } | {
3569
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3570
+ } | {
3571
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3572
+ } | {
3573
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3574
+ } | {
3575
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3576
+ sharing_groups_allow?: string[] | null | undefined;
3577
+ sharing_groups_deny?: string[] | null | undefined;
3578
+ } | {
3579
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3580
+ sharing_groups_allow?: string[] | null | undefined;
3581
+ sharing_groups_deny?: string[] | null | undefined;
3582
+ } | {
3583
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3584
+ } | undefined;
3585
+ public: boolean;
3586
+ root_path?: string | undefined;
3587
+ sharing_restrict_paths?: Record<string, unknown> | {
3588
+ DATA_TYPE: "path_restrictions#1.0.0";
3589
+ none?: string[] | undefined;
3590
+ read?: string[] | undefined;
3591
+ read_write?: string[] | undefined;
3592
+ } | null | undefined;
3593
+ sharing_users_allow?: string[] | null | undefined;
3594
+ sharing_users_deny?: string[] | null | undefined;
3595
+ storage_gateway_id?: string | undefined;
3596
+ tlsftp_url?: string | undefined;
3597
+ user_credential_id?: string | undefined;
3598
+ user_message?: string | null | undefined;
3599
+ user_message_link?: string | null | undefined;
3600
+ } | {
3601
+ DATA_TYPE: "collection#1.3.0";
3602
+ allow_guest_collections?: boolean | undefined;
3603
+ authentication_timeout_mins?: number | undefined;
3604
+ collection_base_path: string;
3605
+ collection_type: "mapped" | "guest";
3606
+ connector_id?: string | undefined;
3607
+ contact_email?: string | null | undefined;
3608
+ contact_info?: string | null | undefined;
3609
+ default_directory?: string | undefined;
3610
+ deleted?: boolean | undefined;
3611
+ department?: string | null | undefined;
3612
+ description?: string | null | undefined;
3613
+ disable_verify?: boolean | undefined;
3614
+ display_name: string;
3615
+ domain?: {
3616
+ DATA_TYPE: "domain#1.0.0";
3617
+ certificate?: string | null | undefined;
3618
+ certificate_chain?: string | null | undefined;
3619
+ certificate_chain_path?: string | null | undefined;
3620
+ certificate_path?: string | null | undefined;
3621
+ domain_name: string;
3622
+ private_key?: string | null | undefined;
3623
+ private_key_path?: string | null | undefined;
3624
+ wildcard: boolean;
3625
+ } | undefined;
3626
+ domain_name?: string | undefined;
3627
+ enable_https?: boolean | undefined;
3628
+ force_encryption?: boolean | undefined;
3629
+ high_assurance?: boolean | undefined;
3630
+ https_url?: string | undefined;
3631
+ id?: string | undefined;
3632
+ identity_id?: string | undefined;
3633
+ info_link?: string | null | undefined;
3634
+ keywords?: string[] | undefined;
3635
+ manager_url?: string | undefined;
3636
+ mapped_collection_id?: string | undefined;
3637
+ organization?: string | undefined;
3638
+ policies?: {
3639
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3640
+ } | {
3641
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3642
+ } | {
3643
+ DATA_TYPE: "box_collection_policies#1.0.0";
3644
+ } | {
3645
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3646
+ } | {
3647
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3648
+ project?: string | undefined;
3649
+ } | {
3650
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3651
+ } | {
3652
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3653
+ } | {
3654
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3655
+ } | {
3656
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3657
+ } | {
3658
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3659
+ } | {
3660
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3661
+ sharing_groups_allow?: string[] | null | undefined;
3662
+ sharing_groups_deny?: string[] | null | undefined;
3663
+ } | {
3664
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3665
+ sharing_groups_allow?: string[] | null | undefined;
3666
+ sharing_groups_deny?: string[] | null | undefined;
3667
+ } | {
3668
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3669
+ } | undefined;
3670
+ public: boolean;
3671
+ root_path?: string | undefined;
3672
+ sharing_restrict_paths?: Record<string, unknown> | {
3673
+ DATA_TYPE: "path_restrictions#1.0.0";
3674
+ none?: string[] | undefined;
3675
+ read?: string[] | undefined;
3676
+ read_write?: string[] | undefined;
3677
+ } | null | undefined;
3678
+ sharing_users_allow?: string[] | null | undefined;
3679
+ sharing_users_deny?: string[] | null | undefined;
3680
+ storage_gateway_id?: string | undefined;
3681
+ tlsftp_url?: string | undefined;
3682
+ user_credential_id?: string | undefined;
3683
+ user_message?: string | null | undefined;
3684
+ user_message_link?: string | null | undefined;
3685
+ } | {
3686
+ DATA_TYPE: "collection#1.4.0";
3687
+ allow_guest_collections?: boolean | undefined;
3688
+ authentication_timeout_mins?: number | undefined;
3689
+ collection_base_path: string;
3690
+ collection_type: "mapped" | "guest";
3691
+ connector_id?: string | undefined;
3692
+ contact_email?: string | null | undefined;
3693
+ contact_info?: string | null | undefined;
3694
+ default_directory?: string | undefined;
3695
+ deleted?: boolean | undefined;
3696
+ department?: string | null | undefined;
3697
+ description?: string | null | undefined;
3698
+ disable_verify?: boolean | undefined;
3699
+ display_name: string;
3700
+ domain?: {
3701
+ DATA_TYPE: "domain#1.0.0";
3702
+ certificate?: string | null | undefined;
3703
+ certificate_chain?: string | null | undefined;
3704
+ certificate_chain_path?: string | null | undefined;
3705
+ certificate_path?: string | null | undefined;
3706
+ domain_name: string;
3707
+ private_key?: string | null | undefined;
3708
+ private_key_path?: string | null | undefined;
3709
+ wildcard: boolean;
3710
+ } | undefined;
3711
+ domain_name?: string | undefined;
3712
+ enable_https?: boolean | undefined;
3713
+ force_encryption?: boolean | undefined;
3714
+ force_verify?: boolean | undefined;
3715
+ high_assurance?: boolean | undefined;
3716
+ https_url?: string | undefined;
3717
+ id?: string | undefined;
3718
+ identity_id?: string | undefined;
3719
+ info_link?: string | null | undefined;
3720
+ keywords?: string[] | undefined;
3721
+ manager_url?: string | undefined;
3722
+ mapped_collection_id?: string | undefined;
3723
+ organization?: string | undefined;
3724
+ policies?: {
3725
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3726
+ } | {
3727
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3728
+ } | {
3729
+ DATA_TYPE: "box_collection_policies#1.0.0";
3730
+ } | {
3731
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3732
+ } | {
3733
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3734
+ project?: string | undefined;
3735
+ } | {
3736
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3737
+ } | {
3738
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3739
+ } | {
3740
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3741
+ } | {
3742
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3743
+ } | {
3744
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3745
+ } | {
3746
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3747
+ sharing_groups_allow?: string[] | null | undefined;
3748
+ sharing_groups_deny?: string[] | null | undefined;
3749
+ } | {
3750
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3751
+ sharing_groups_allow?: string[] | null | undefined;
3752
+ sharing_groups_deny?: string[] | null | undefined;
3753
+ } | {
3754
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3755
+ } | undefined;
3756
+ public: boolean;
3757
+ require_mfa?: boolean | undefined;
3758
+ root_path?: string | undefined;
3759
+ sharing_restrict_paths?: Record<string, unknown> | {
3760
+ DATA_TYPE: "path_restrictions#1.0.0";
3761
+ none?: string[] | undefined;
3762
+ read?: string[] | undefined;
3763
+ read_write?: string[] | undefined;
3764
+ } | null | undefined;
3765
+ sharing_users_allow?: string[] | null | undefined;
3766
+ sharing_users_deny?: string[] | null | undefined;
3767
+ storage_gateway_id?: string | undefined;
3768
+ tlsftp_url?: string | undefined;
3769
+ user_credential_id?: string | undefined;
3770
+ user_message?: string | null | undefined;
3771
+ user_message_link?: string | null | undefined;
3772
+ } | {
3773
+ DATA_TYPE: "collection#1.5.0";
3774
+ allow_guest_collections?: boolean | undefined;
3775
+ authentication_timeout_mins?: number | undefined;
3776
+ collection_base_path: string;
3777
+ collection_type: "mapped" | "guest";
3778
+ connector_id?: string | undefined;
3779
+ contact_email?: string | null | undefined;
3780
+ contact_info?: string | null | undefined;
3781
+ default_directory?: string | undefined;
3782
+ deleted?: boolean | undefined;
3783
+ department?: string | null | undefined;
3784
+ description?: string | null | undefined;
3785
+ disable_anonymous_writes?: boolean | undefined;
3786
+ disable_verify?: boolean | undefined;
3787
+ display_name: string;
3788
+ domain?: {
3789
+ DATA_TYPE: "domain#1.0.0";
3790
+ certificate?: string | null | undefined;
3791
+ certificate_chain?: string | null | undefined;
3792
+ certificate_chain_path?: string | null | undefined;
3793
+ certificate_path?: string | null | undefined;
3794
+ domain_name: string;
3795
+ private_key?: string | null | undefined;
3796
+ private_key_path?: string | null | undefined;
3797
+ wildcard: boolean;
3798
+ } | undefined;
3799
+ domain_name?: string | undefined;
3800
+ enable_https?: boolean | undefined;
3801
+ force_encryption?: boolean | undefined;
3802
+ force_verify?: boolean | undefined;
3803
+ high_assurance?: boolean | undefined;
3804
+ https_url?: string | undefined;
3805
+ id?: string | undefined;
3806
+ identity_id?: string | undefined;
3807
+ info_link?: string | null | undefined;
3808
+ keywords?: string[] | undefined;
3809
+ manager_url?: string | undefined;
3810
+ mapped_collection_id?: string | undefined;
3811
+ organization?: string | undefined;
3812
+ policies?: {
3813
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3814
+ } | {
3815
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3816
+ } | {
3817
+ DATA_TYPE: "box_collection_policies#1.0.0";
3818
+ } | {
3819
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3820
+ } | {
3821
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3822
+ project?: string | undefined;
3823
+ } | {
3824
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3825
+ } | {
3826
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3827
+ } | {
3828
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3829
+ } | {
3830
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3831
+ } | {
3832
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3833
+ } | {
3834
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3835
+ sharing_groups_allow?: string[] | null | undefined;
3836
+ sharing_groups_deny?: string[] | null | undefined;
3837
+ } | {
3838
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3839
+ sharing_groups_allow?: string[] | null | undefined;
3840
+ sharing_groups_deny?: string[] | null | undefined;
3841
+ } | {
3842
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3843
+ } | undefined;
3844
+ public: boolean;
3845
+ require_mfa?: boolean | undefined;
3846
+ root_path?: string | undefined;
3847
+ sharing_restrict_paths?: Record<string, unknown> | {
3848
+ DATA_TYPE: "path_restrictions#1.0.0";
3849
+ none?: string[] | undefined;
3850
+ read?: string[] | undefined;
3851
+ read_write?: string[] | undefined;
3852
+ } | null | undefined;
3853
+ sharing_users_allow?: string[] | null | undefined;
3854
+ sharing_users_deny?: string[] | null | undefined;
3855
+ storage_gateway_id?: string | undefined;
3856
+ tlsftp_url?: string | undefined;
3857
+ user_credential_id?: string | undefined;
3858
+ user_message?: string | null | undefined;
3859
+ user_message_link?: string | null | undefined;
3860
+ } | {
3861
+ DATA_TYPE: "collection#1.6.0";
3862
+ allow_guest_collections?: boolean | undefined;
3863
+ authentication_timeout_mins?: number | undefined;
3864
+ collection_base_path: string;
3865
+ collection_type: "mapped" | "guest";
3866
+ connector_id?: string | undefined;
3867
+ contact_email?: string | null | undefined;
3868
+ contact_info?: string | null | undefined;
3869
+ default_directory?: string | undefined;
3870
+ deleted?: boolean | undefined;
3871
+ department?: string | null | undefined;
3872
+ description?: string | null | undefined;
3873
+ disable_anonymous_writes?: boolean | undefined;
3874
+ disable_verify?: boolean | undefined;
3875
+ display_name: string;
3876
+ domain?: {
3877
+ DATA_TYPE: "domain#1.0.0";
3878
+ certificate?: string | null | undefined;
3879
+ certificate_chain?: string | null | undefined;
3880
+ certificate_chain_path?: string | null | undefined;
3881
+ certificate_path?: string | null | undefined;
3882
+ domain_name: string;
3883
+ private_key?: string | null | undefined;
3884
+ private_key_path?: string | null | undefined;
3885
+ wildcard: boolean;
3886
+ } | undefined;
3887
+ domain_name?: string | undefined;
3888
+ enable_https?: boolean | undefined;
3889
+ force_encryption?: boolean | undefined;
3890
+ force_verify?: boolean | undefined;
3891
+ guest_auth_policy_id?: string | null | undefined;
3892
+ high_assurance?: boolean | undefined;
3893
+ https_url?: string | undefined;
3894
+ id?: string | undefined;
3895
+ identity_id?: string | undefined;
3896
+ info_link?: string | null | undefined;
3897
+ keywords?: string[] | undefined;
3898
+ manager_url?: string | undefined;
3899
+ mapped_collection_id?: string | undefined;
3900
+ organization?: string | undefined;
3901
+ policies?: {
3902
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3903
+ } | {
3904
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3905
+ } | {
3906
+ DATA_TYPE: "box_collection_policies#1.0.0";
3907
+ } | {
3908
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3909
+ } | {
3910
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
3911
+ project?: string | undefined;
3912
+ } | {
3913
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
3914
+ } | {
3915
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
3916
+ } | {
3917
+ DATA_TYPE: "irods_collection_policies#1.0.0";
3918
+ } | {
3919
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
3920
+ } | {
3921
+ DATA_TYPE: "posix_collection_policies#1.0.0";
3922
+ } | {
3923
+ DATA_TYPE: "posix_collection_policies#1.1.0";
3924
+ sharing_groups_allow?: string[] | null | undefined;
3925
+ sharing_groups_deny?: string[] | null | undefined;
3926
+ } | {
3927
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
3928
+ sharing_groups_allow?: string[] | null | undefined;
3929
+ sharing_groups_deny?: string[] | null | undefined;
3930
+ } | {
3931
+ DATA_TYPE: "s3_collection_policies#1.0.0";
3932
+ } | undefined;
3933
+ public: boolean;
3934
+ require_mfa?: boolean | undefined;
3935
+ root_path?: string | undefined;
3936
+ sharing_restrict_paths?: Record<string, unknown> | {
3937
+ DATA_TYPE: "path_restrictions#1.0.0";
3938
+ none?: string[] | undefined;
3939
+ read?: string[] | undefined;
3940
+ read_write?: string[] | undefined;
3941
+ } | null | undefined;
3942
+ sharing_users_allow?: string[] | null | undefined;
3943
+ sharing_users_deny?: string[] | null | undefined;
3944
+ storage_gateway_id?: string | undefined;
3945
+ tlsftp_url?: string | undefined;
3946
+ user_credential_id?: string | undefined;
3947
+ user_message?: string | null | undefined;
3948
+ user_message_link?: string | null | undefined;
3949
+ } | {
3950
+ DATA_TYPE: "collection#1.7.0";
3951
+ allow_guest_collections?: boolean | undefined;
3952
+ authentication_timeout_mins?: number | undefined;
3953
+ collection_base_path: string;
3954
+ collection_type: "mapped" | "guest";
3955
+ connector_id?: string | undefined;
3956
+ contact_email?: string | null | undefined;
3957
+ contact_info?: string | null | undefined;
3958
+ default_directory?: string | undefined;
3959
+ deleted?: boolean | undefined;
3960
+ department?: string | null | undefined;
3961
+ description?: string | null | undefined;
3962
+ disable_anonymous_writes?: boolean | undefined;
3963
+ disable_verify?: boolean | undefined;
3964
+ display_name: string;
3965
+ domain?: {
3966
+ DATA_TYPE: "domain#1.0.0";
3967
+ certificate?: string | null | undefined;
3968
+ certificate_chain?: string | null | undefined;
3969
+ certificate_chain_path?: string | null | undefined;
3970
+ certificate_path?: string | null | undefined;
3971
+ domain_name: string;
3972
+ private_key?: string | null | undefined;
3973
+ private_key_path?: string | null | undefined;
3974
+ wildcard: boolean;
3975
+ } | undefined;
3976
+ domain_name?: string | undefined;
3977
+ enable_https?: boolean | undefined;
3978
+ force_encryption?: boolean | undefined;
3979
+ force_verify?: boolean | undefined;
3980
+ guest_auth_policy_id?: string | null | undefined;
3981
+ high_assurance?: boolean | undefined;
3982
+ https_url?: string | undefined;
3983
+ id?: string | undefined;
3984
+ identity_id?: string | undefined;
3985
+ info_link?: string | null | undefined;
3986
+ keywords?: string[] | undefined;
3987
+ manager_url?: string | undefined;
3988
+ mapped_collection_id?: string | undefined;
3989
+ organization?: string | undefined;
3990
+ policies?: {
3991
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
3992
+ } | {
3993
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
3994
+ } | {
3995
+ DATA_TYPE: "box_collection_policies#1.0.0";
3996
+ } | {
3997
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
3998
+ } | {
3999
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4000
+ project?: string | undefined;
4001
+ } | {
4002
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4003
+ } | {
4004
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4005
+ } | {
4006
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4007
+ } | {
4008
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4009
+ } | {
4010
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4011
+ } | {
4012
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4013
+ sharing_groups_allow?: string[] | null | undefined;
4014
+ sharing_groups_deny?: string[] | null | undefined;
4015
+ } | {
4016
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4017
+ sharing_groups_allow?: string[] | null | undefined;
4018
+ sharing_groups_deny?: string[] | null | undefined;
4019
+ } | {
4020
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4021
+ } | undefined;
4022
+ public: boolean;
4023
+ require_mfa?: boolean | undefined;
4024
+ root_path?: string | undefined;
4025
+ sharing_restrict_paths?: Record<string, unknown> | {
4026
+ DATA_TYPE: "path_restrictions#1.0.0";
4027
+ none?: string[] | undefined;
4028
+ read?: string[] | undefined;
4029
+ read_write?: string[] | undefined;
4030
+ } | null | undefined;
4031
+ sharing_users_allow?: string[] | null | undefined;
4032
+ sharing_users_deny?: string[] | null | undefined;
4033
+ storage_gateway_id?: string | undefined;
4034
+ tlsftp_url?: string | undefined;
4035
+ user_credential_id?: string | undefined;
4036
+ user_message?: string | null | undefined;
4037
+ user_message_link?: string | null | undefined;
4038
+ } | {
4039
+ DATA_TYPE: "collection#1.8.0";
4040
+ allow_guest_collections?: boolean | undefined;
4041
+ authentication_timeout_mins?: number | undefined;
4042
+ collection_base_path: string;
4043
+ collection_type: "mapped" | "guest";
4044
+ connector_id?: string | undefined;
4045
+ contact_email?: string | null | undefined;
4046
+ contact_info?: string | null | undefined;
4047
+ default_directory?: string | undefined;
4048
+ delete_protected?: boolean | undefined;
4049
+ deleted?: boolean | undefined;
4050
+ department?: string | null | undefined;
4051
+ description?: string | null | undefined;
4052
+ disable_anonymous_writes?: boolean | undefined;
4053
+ disable_verify?: boolean | undefined;
4054
+ display_name: string;
4055
+ domain?: {
4056
+ DATA_TYPE: "domain#1.0.0";
4057
+ certificate?: string | null | undefined;
4058
+ certificate_chain?: string | null | undefined;
4059
+ certificate_chain_path?: string | null | undefined;
4060
+ certificate_path?: string | null | undefined;
4061
+ domain_name: string;
4062
+ private_key?: string | null | undefined;
4063
+ private_key_path?: string | null | undefined;
4064
+ wildcard: boolean;
4065
+ } | undefined;
4066
+ domain_name?: string | undefined;
4067
+ enable_https?: boolean | undefined;
4068
+ force_encryption?: boolean | undefined;
4069
+ force_verify?: boolean | undefined;
4070
+ guest_auth_policy_id?: string | null | undefined;
4071
+ high_assurance?: boolean | undefined;
4072
+ https_url?: string | undefined;
4073
+ id?: string | undefined;
4074
+ identity_id?: string | undefined;
4075
+ info_link?: string | null | undefined;
4076
+ keywords?: string[] | undefined;
4077
+ manager_url?: string | undefined;
4078
+ mapped_collection_id?: string | undefined;
4079
+ organization?: string | undefined;
4080
+ policies?: {
4081
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
4082
+ } | {
4083
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
4084
+ } | {
4085
+ DATA_TYPE: "box_collection_policies#1.0.0";
4086
+ } | {
4087
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
4088
+ } | {
4089
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4090
+ project?: string | undefined;
4091
+ } | {
4092
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4093
+ } | {
4094
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4095
+ } | {
4096
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4097
+ } | {
4098
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4099
+ } | {
4100
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4101
+ } | {
4102
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4103
+ sharing_groups_allow?: string[] | null | undefined;
4104
+ sharing_groups_deny?: string[] | null | undefined;
4105
+ } | {
4106
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4107
+ sharing_groups_allow?: string[] | null | undefined;
4108
+ sharing_groups_deny?: string[] | null | undefined;
4109
+ } | {
4110
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4111
+ } | undefined;
4112
+ public: boolean;
4113
+ require_mfa?: boolean | undefined;
4114
+ root_path?: string | undefined;
4115
+ sharing_restrict_paths?: Record<string, unknown> | {
4116
+ DATA_TYPE: "path_restrictions#1.0.0";
4117
+ none?: string[] | undefined;
4118
+ read?: string[] | undefined;
4119
+ read_write?: string[] | undefined;
4120
+ } | null | undefined;
4121
+ sharing_users_allow?: string[] | null | undefined;
4122
+ sharing_users_deny?: string[] | null | undefined;
4123
+ storage_gateway_id?: string | undefined;
4124
+ tlsftp_url?: string | undefined;
4125
+ user_credential_id?: string | undefined;
4126
+ user_message?: string | null | undefined;
4127
+ user_message_link?: string | null | undefined;
4128
+ };
4129
+ } & {
4130
+ query?: {
4131
+ [key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
4132
+ } | undefined;
4133
+ headers?: import("../types.js").Headers | undefined;
4134
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
4135
+ DATA_TYPE: "result#1.0.0";
4136
+ code: string;
4137
+ data?: Record<string, never>[] | undefined;
4138
+ detail?: Record<string, never> | undefined;
4139
+ has_next_page?: boolean | undefined;
4140
+ http_response_code: number;
4141
+ marker?: string | null | undefined;
4142
+ message?: string | undefined;
4143
+ }>>;
4144
+ patch: (collection_id: string, options: ({
4145
+ payload: Partial<{
4146
+ DATA_TYPE: "collection#1.0.0";
4147
+ allow_guest_collections?: boolean | undefined;
4148
+ authentication_timeout_mins?: number | undefined;
4149
+ collection_base_path: string;
4150
+ collection_type: "mapped" | "guest";
4151
+ connector_id?: string | undefined;
4152
+ contact_email?: string | null | undefined;
4153
+ contact_info?: string | null | undefined;
4154
+ default_directory?: string | undefined;
4155
+ deleted?: boolean | undefined;
4156
+ department?: string | null | undefined;
4157
+ description?: string | null | undefined;
4158
+ disable_verify?: boolean | undefined;
4159
+ display_name: string;
4160
+ domain_name?: string | undefined;
4161
+ force_encryption?: boolean | undefined;
4162
+ high_assurance?: boolean | undefined;
4163
+ https_url?: string | undefined;
4164
+ id?: string | undefined;
4165
+ identity_id?: string | undefined;
4166
+ info_link?: string | null | undefined;
4167
+ keywords?: string[] | undefined;
4168
+ manager_url?: string | undefined;
4169
+ mapped_collection_id?: string | undefined;
4170
+ organization?: string | undefined;
4171
+ policies?: {
4172
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
4173
+ } | {
4174
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
4175
+ } | {
4176
+ DATA_TYPE: "box_collection_policies#1.0.0";
4177
+ } | {
4178
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
4179
+ } | {
4180
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4181
+ project?: string | undefined;
4182
+ } | {
4183
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4184
+ } | {
4185
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4186
+ } | {
4187
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4188
+ } | {
4189
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4190
+ } | {
4191
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4192
+ } | {
4193
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4194
+ sharing_groups_allow?: string[] | null | undefined;
4195
+ sharing_groups_deny?: string[] | null | undefined;
4196
+ } | {
4197
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4198
+ sharing_groups_allow?: string[] | null | undefined;
4199
+ sharing_groups_deny?: string[] | null | undefined;
4200
+ } | {
4201
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4202
+ } | undefined;
4203
+ public: boolean;
4204
+ root_path?: string | undefined;
4205
+ sharing_restrict_paths?: Record<string, unknown> | {
4206
+ DATA_TYPE: "path_restrictions#1.0.0";
4207
+ none?: string[] | undefined;
4208
+ read?: string[] | undefined;
4209
+ read_write?: string[] | undefined;
4210
+ } | null | undefined;
4211
+ storage_gateway_id?: string | undefined;
4212
+ tlsftp_url?: string | undefined;
4213
+ user_credential_id?: string | undefined;
4214
+ } | {
4215
+ DATA_TYPE: "collection#1.1.0";
4216
+ allow_guest_collections?: boolean | undefined;
4217
+ authentication_timeout_mins?: number | undefined;
4218
+ collection_base_path: string;
4219
+ collection_type: "mapped" | "guest";
4220
+ connector_id?: string | undefined;
4221
+ contact_email?: string | null | undefined;
4222
+ contact_info?: string | null | undefined;
4223
+ default_directory?: string | undefined;
4224
+ deleted?: boolean | undefined;
4225
+ department?: string | null | undefined;
4226
+ description?: string | null | undefined;
4227
+ disable_verify?: boolean | undefined;
4228
+ display_name: string;
4229
+ domain_name?: string | undefined;
4230
+ enable_https?: boolean | undefined;
4231
+ force_encryption?: boolean | undefined;
4232
+ high_assurance?: boolean | undefined;
4233
+ https_url?: string | undefined;
4234
+ id?: string | undefined;
4235
+ identity_id?: string | undefined;
4236
+ info_link?: string | null | undefined;
4237
+ keywords?: string[] | undefined;
4238
+ manager_url?: string | undefined;
4239
+ mapped_collection_id?: string | undefined;
4240
+ organization?: string | undefined;
4241
+ policies?: {
4242
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
4243
+ } | {
4244
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
4245
+ } | {
4246
+ DATA_TYPE: "box_collection_policies#1.0.0";
4247
+ } | {
4248
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
4249
+ } | {
4250
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4251
+ project?: string | undefined;
4252
+ } | {
4253
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4254
+ } | {
4255
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4256
+ } | {
4257
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4258
+ } | {
4259
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4260
+ } | {
4261
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4262
+ } | {
4263
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4264
+ sharing_groups_allow?: string[] | null | undefined;
4265
+ sharing_groups_deny?: string[] | null | undefined;
4266
+ } | {
4267
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4268
+ sharing_groups_allow?: string[] | null | undefined;
4269
+ sharing_groups_deny?: string[] | null | undefined;
4270
+ } | {
4271
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4272
+ } | undefined;
4273
+ public: boolean;
4274
+ root_path?: string | undefined;
4275
+ sharing_restrict_paths?: Record<string, unknown> | {
4276
+ DATA_TYPE: "path_restrictions#1.0.0";
4277
+ none?: string[] | undefined;
4278
+ read?: string[] | undefined;
4279
+ read_write?: string[] | undefined;
4280
+ } | null | undefined;
4281
+ storage_gateway_id?: string | undefined;
4282
+ tlsftp_url?: string | undefined;
4283
+ user_credential_id?: string | undefined;
4284
+ user_message?: string | null | undefined;
4285
+ user_message_link?: string | null | undefined;
4286
+ } | {
4287
+ DATA_TYPE: "collection#1.2.0";
4288
+ allow_guest_collections?: boolean | undefined;
4289
+ authentication_timeout_mins?: number | undefined;
4290
+ collection_base_path: string;
4291
+ collection_type: "mapped" | "guest";
4292
+ connector_id?: string | undefined;
4293
+ contact_email?: string | null | undefined;
4294
+ contact_info?: string | null | undefined;
4295
+ default_directory?: string | undefined;
4296
+ deleted?: boolean | undefined;
4297
+ department?: string | null | undefined;
4298
+ description?: string | null | undefined;
4299
+ disable_verify?: boolean | undefined;
4300
+ display_name: string;
4301
+ domain_name?: string | undefined;
4302
+ enable_https?: boolean | undefined;
4303
+ force_encryption?: boolean | undefined;
4304
+ high_assurance?: boolean | undefined;
4305
+ https_url?: string | undefined;
4306
+ id?: string | undefined;
4307
+ identity_id?: string | undefined;
4308
+ info_link?: string | null | undefined;
4309
+ keywords?: string[] | undefined;
4310
+ manager_url?: string | undefined;
4311
+ mapped_collection_id?: string | undefined;
4312
+ organization?: string | undefined;
4313
+ policies?: {
4314
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
4315
+ } | {
4316
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
4317
+ } | {
4318
+ DATA_TYPE: "box_collection_policies#1.0.0";
4319
+ } | {
4320
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
4321
+ } | {
4322
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4323
+ project?: string | undefined;
4324
+ } | {
4325
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4326
+ } | {
4327
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4328
+ } | {
4329
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4330
+ } | {
4331
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4332
+ } | {
4333
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4334
+ } | {
4335
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4336
+ sharing_groups_allow?: string[] | null | undefined;
4337
+ sharing_groups_deny?: string[] | null | undefined;
4338
+ } | {
4339
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4340
+ sharing_groups_allow?: string[] | null | undefined;
4341
+ sharing_groups_deny?: string[] | null | undefined;
4342
+ } | {
4343
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4344
+ } | undefined;
4345
+ public: boolean;
4346
+ root_path?: string | undefined;
4347
+ sharing_restrict_paths?: Record<string, unknown> | {
4348
+ DATA_TYPE: "path_restrictions#1.0.0";
4349
+ none?: string[] | undefined;
4350
+ read?: string[] | undefined;
4351
+ read_write?: string[] | undefined;
4352
+ } | null | undefined;
4353
+ sharing_users_allow?: string[] | null | undefined;
4354
+ sharing_users_deny?: string[] | null | undefined;
4355
+ storage_gateway_id?: string | undefined;
4356
+ tlsftp_url?: string | undefined;
4357
+ user_credential_id?: string | undefined;
4358
+ user_message?: string | null | undefined;
4359
+ user_message_link?: string | null | undefined;
4360
+ } | {
4361
+ DATA_TYPE: "collection#1.3.0";
4362
+ allow_guest_collections?: boolean | undefined;
4363
+ authentication_timeout_mins?: number | undefined;
4364
+ collection_base_path: string;
4365
+ collection_type: "mapped" | "guest";
4366
+ connector_id?: string | undefined;
4367
+ contact_email?: string | null | undefined;
4368
+ contact_info?: string | null | undefined;
4369
+ default_directory?: string | undefined;
4370
+ deleted?: boolean | undefined;
4371
+ department?: string | null | undefined;
4372
+ description?: string | null | undefined;
4373
+ disable_verify?: boolean | undefined;
4374
+ display_name: string;
4375
+ domain?: {
4376
+ DATA_TYPE: "domain#1.0.0";
4377
+ certificate?: string | null | undefined;
4378
+ certificate_chain?: string | null | undefined;
4379
+ certificate_chain_path?: string | null | undefined;
4380
+ certificate_path?: string | null | undefined;
4381
+ domain_name: string;
4382
+ private_key?: string | null | undefined;
4383
+ private_key_path?: string | null | undefined;
4384
+ wildcard: boolean;
4385
+ } | undefined;
4386
+ domain_name?: string | undefined;
4387
+ enable_https?: boolean | undefined;
4388
+ force_encryption?: boolean | undefined;
4389
+ high_assurance?: boolean | undefined;
4390
+ https_url?: string | undefined;
4391
+ id?: string | undefined;
4392
+ identity_id?: string | undefined;
4393
+ info_link?: string | null | undefined;
4394
+ keywords?: string[] | undefined;
4395
+ manager_url?: string | undefined;
4396
+ mapped_collection_id?: string | undefined;
4397
+ organization?: string | undefined;
4398
+ policies?: {
4399
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
4400
+ } | {
4401
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
4402
+ } | {
4403
+ DATA_TYPE: "box_collection_policies#1.0.0";
4404
+ } | {
4405
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
4406
+ } | {
4407
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4408
+ project?: string | undefined;
4409
+ } | {
4410
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4411
+ } | {
4412
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4413
+ } | {
4414
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4415
+ } | {
4416
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4417
+ } | {
4418
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4419
+ } | {
4420
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4421
+ sharing_groups_allow?: string[] | null | undefined;
4422
+ sharing_groups_deny?: string[] | null | undefined;
4423
+ } | {
4424
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4425
+ sharing_groups_allow?: string[] | null | undefined;
4426
+ sharing_groups_deny?: string[] | null | undefined;
4427
+ } | {
4428
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4429
+ } | undefined;
4430
+ public: boolean;
4431
+ root_path?: string | undefined;
4432
+ sharing_restrict_paths?: Record<string, unknown> | {
4433
+ DATA_TYPE: "path_restrictions#1.0.0";
4434
+ none?: string[] | undefined;
4435
+ read?: string[] | undefined;
4436
+ read_write?: string[] | undefined;
4437
+ } | null | undefined;
4438
+ sharing_users_allow?: string[] | null | undefined;
4439
+ sharing_users_deny?: string[] | null | undefined;
4440
+ storage_gateway_id?: string | undefined;
4441
+ tlsftp_url?: string | undefined;
4442
+ user_credential_id?: string | undefined;
4443
+ user_message?: string | null | undefined;
4444
+ user_message_link?: string | null | undefined;
4445
+ } | {
4446
+ DATA_TYPE: "collection#1.4.0";
4447
+ allow_guest_collections?: boolean | undefined;
4448
+ authentication_timeout_mins?: number | undefined;
4449
+ collection_base_path: string;
4450
+ collection_type: "mapped" | "guest";
4451
+ connector_id?: string | undefined;
4452
+ contact_email?: string | null | undefined;
4453
+ contact_info?: string | null | undefined;
4454
+ default_directory?: string | undefined;
4455
+ deleted?: boolean | undefined;
4456
+ department?: string | null | undefined;
4457
+ description?: string | null | undefined;
4458
+ disable_verify?: boolean | undefined;
4459
+ display_name: string;
4460
+ domain?: {
4461
+ DATA_TYPE: "domain#1.0.0";
4462
+ certificate?: string | null | undefined;
4463
+ certificate_chain?: string | null | undefined;
4464
+ certificate_chain_path?: string | null | undefined;
4465
+ certificate_path?: string | null | undefined;
4466
+ domain_name: string;
4467
+ private_key?: string | null | undefined;
4468
+ private_key_path?: string | null | undefined;
4469
+ wildcard: boolean;
4470
+ } | undefined;
4471
+ domain_name?: string | undefined;
4472
+ enable_https?: boolean | undefined;
4473
+ force_encryption?: boolean | undefined;
4474
+ force_verify?: boolean | undefined;
4475
+ high_assurance?: boolean | undefined;
4476
+ https_url?: string | undefined;
4477
+ id?: string | undefined;
4478
+ identity_id?: string | undefined;
4479
+ info_link?: string | null | undefined;
4480
+ keywords?: string[] | undefined;
4481
+ manager_url?: string | undefined;
4482
+ mapped_collection_id?: string | undefined;
4483
+ organization?: string | undefined;
4484
+ policies?: {
4485
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
4486
+ } | {
4487
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
4488
+ } | {
4489
+ DATA_TYPE: "box_collection_policies#1.0.0";
4490
+ } | {
4491
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
4492
+ } | {
4493
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4494
+ project?: string | undefined;
4495
+ } | {
4496
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4497
+ } | {
4498
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4499
+ } | {
4500
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4501
+ } | {
4502
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4503
+ } | {
4504
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4505
+ } | {
4506
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4507
+ sharing_groups_allow?: string[] | null | undefined;
4508
+ sharing_groups_deny?: string[] | null | undefined;
4509
+ } | {
4510
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4511
+ sharing_groups_allow?: string[] | null | undefined;
4512
+ sharing_groups_deny?: string[] | null | undefined;
4513
+ } | {
4514
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4515
+ } | undefined;
4516
+ public: boolean;
4517
+ require_mfa?: boolean | undefined;
4518
+ root_path?: string | undefined;
4519
+ sharing_restrict_paths?: Record<string, unknown> | {
4520
+ DATA_TYPE: "path_restrictions#1.0.0";
4521
+ none?: string[] | undefined;
4522
+ read?: string[] | undefined;
4523
+ read_write?: string[] | undefined;
4524
+ } | null | undefined;
4525
+ sharing_users_allow?: string[] | null | undefined;
4526
+ sharing_users_deny?: string[] | null | undefined;
4527
+ storage_gateway_id?: string | undefined;
4528
+ tlsftp_url?: string | undefined;
4529
+ user_credential_id?: string | undefined;
4530
+ user_message?: string | null | undefined;
4531
+ user_message_link?: string | null | undefined;
4532
+ } | {
4533
+ DATA_TYPE: "collection#1.5.0";
4534
+ allow_guest_collections?: boolean | undefined;
4535
+ authentication_timeout_mins?: number | undefined;
4536
+ collection_base_path: string;
4537
+ collection_type: "mapped" | "guest";
4538
+ connector_id?: string | undefined;
4539
+ contact_email?: string | null | undefined;
4540
+ contact_info?: string | null | undefined;
4541
+ default_directory?: string | undefined;
4542
+ deleted?: boolean | undefined;
4543
+ department?: string | null | undefined;
4544
+ description?: string | null | undefined;
4545
+ disable_anonymous_writes?: boolean | undefined;
4546
+ disable_verify?: boolean | undefined;
4547
+ display_name: string;
4548
+ domain?: {
4549
+ DATA_TYPE: "domain#1.0.0";
4550
+ certificate?: string | null | undefined;
4551
+ certificate_chain?: string | null | undefined;
4552
+ certificate_chain_path?: string | null | undefined;
4553
+ certificate_path?: string | null | undefined;
4554
+ domain_name: string;
4555
+ private_key?: string | null | undefined;
4556
+ private_key_path?: string | null | undefined;
4557
+ wildcard: boolean;
4558
+ } | undefined;
4559
+ domain_name?: string | undefined;
4560
+ enable_https?: boolean | undefined;
4561
+ force_encryption?: boolean | undefined;
4562
+ force_verify?: boolean | undefined;
4563
+ high_assurance?: boolean | undefined;
4564
+ https_url?: string | undefined;
4565
+ id?: string | undefined;
4566
+ identity_id?: string | undefined;
4567
+ info_link?: string | null | undefined;
4568
+ keywords?: string[] | undefined;
4569
+ manager_url?: string | undefined;
4570
+ mapped_collection_id?: string | undefined;
4571
+ organization?: string | undefined;
4572
+ policies?: {
4573
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
4574
+ } | {
4575
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
4576
+ } | {
4577
+ DATA_TYPE: "box_collection_policies#1.0.0";
4578
+ } | {
4579
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
4580
+ } | {
4581
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4582
+ project?: string | undefined;
4583
+ } | {
4584
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4585
+ } | {
4586
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4587
+ } | {
4588
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4589
+ } | {
4590
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4591
+ } | {
4592
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4593
+ } | {
4594
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4595
+ sharing_groups_allow?: string[] | null | undefined;
4596
+ sharing_groups_deny?: string[] | null | undefined;
4597
+ } | {
4598
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4599
+ sharing_groups_allow?: string[] | null | undefined;
4600
+ sharing_groups_deny?: string[] | null | undefined;
4601
+ } | {
4602
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4603
+ } | undefined;
4604
+ public: boolean;
4605
+ require_mfa?: boolean | undefined;
4606
+ root_path?: string | undefined;
4607
+ sharing_restrict_paths?: Record<string, unknown> | {
4608
+ DATA_TYPE: "path_restrictions#1.0.0";
4609
+ none?: string[] | undefined;
4610
+ read?: string[] | undefined;
4611
+ read_write?: string[] | undefined;
4612
+ } | null | undefined;
4613
+ sharing_users_allow?: string[] | null | undefined;
4614
+ sharing_users_deny?: string[] | null | undefined;
4615
+ storage_gateway_id?: string | undefined;
4616
+ tlsftp_url?: string | undefined;
4617
+ user_credential_id?: string | undefined;
4618
+ user_message?: string | null | undefined;
4619
+ user_message_link?: string | null | undefined;
4620
+ } | {
4621
+ DATA_TYPE: "collection#1.6.0";
4622
+ allow_guest_collections?: boolean | undefined;
4623
+ authentication_timeout_mins?: number | undefined;
4624
+ collection_base_path: string;
4625
+ collection_type: "mapped" | "guest";
4626
+ connector_id?: string | undefined;
4627
+ contact_email?: string | null | undefined;
4628
+ contact_info?: string | null | undefined;
4629
+ default_directory?: string | undefined;
4630
+ deleted?: boolean | undefined;
4631
+ department?: string | null | undefined;
4632
+ description?: string | null | undefined;
4633
+ disable_anonymous_writes?: boolean | undefined;
4634
+ disable_verify?: boolean | undefined;
4635
+ display_name: string;
4636
+ domain?: {
4637
+ DATA_TYPE: "domain#1.0.0";
4638
+ certificate?: string | null | undefined;
4639
+ certificate_chain?: string | null | undefined;
4640
+ certificate_chain_path?: string | null | undefined;
4641
+ certificate_path?: string | null | undefined;
4642
+ domain_name: string;
4643
+ private_key?: string | null | undefined;
4644
+ private_key_path?: string | null | undefined;
4645
+ wildcard: boolean;
4646
+ } | undefined;
4647
+ domain_name?: string | undefined;
4648
+ enable_https?: boolean | undefined;
4649
+ force_encryption?: boolean | undefined;
4650
+ force_verify?: boolean | undefined;
4651
+ guest_auth_policy_id?: string | null | undefined;
4652
+ high_assurance?: boolean | undefined;
4653
+ https_url?: string | undefined;
4654
+ id?: string | undefined;
4655
+ identity_id?: string | undefined;
4656
+ info_link?: string | null | undefined;
4657
+ keywords?: string[] | undefined;
4658
+ manager_url?: string | undefined;
4659
+ mapped_collection_id?: string | undefined;
4660
+ organization?: string | undefined;
4661
+ policies?: {
4662
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
4663
+ } | {
4664
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
4665
+ } | {
4666
+ DATA_TYPE: "box_collection_policies#1.0.0";
4667
+ } | {
4668
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
4669
+ } | {
4670
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4671
+ project?: string | undefined;
4672
+ } | {
4673
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4674
+ } | {
4675
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4676
+ } | {
4677
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4678
+ } | {
4679
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4680
+ } | {
4681
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4682
+ } | {
4683
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4684
+ sharing_groups_allow?: string[] | null | undefined;
4685
+ sharing_groups_deny?: string[] | null | undefined;
4686
+ } | {
4687
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4688
+ sharing_groups_allow?: string[] | null | undefined;
4689
+ sharing_groups_deny?: string[] | null | undefined;
4690
+ } | {
4691
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4692
+ } | undefined;
4693
+ public: boolean;
4694
+ require_mfa?: boolean | undefined;
4695
+ root_path?: string | undefined;
4696
+ sharing_restrict_paths?: Record<string, unknown> | {
4697
+ DATA_TYPE: "path_restrictions#1.0.0";
4698
+ none?: string[] | undefined;
4699
+ read?: string[] | undefined;
4700
+ read_write?: string[] | undefined;
4701
+ } | null | undefined;
4702
+ sharing_users_allow?: string[] | null | undefined;
4703
+ sharing_users_deny?: string[] | null | undefined;
4704
+ storage_gateway_id?: string | undefined;
4705
+ tlsftp_url?: string | undefined;
4706
+ user_credential_id?: string | undefined;
4707
+ user_message?: string | null | undefined;
4708
+ user_message_link?: string | null | undefined;
4709
+ } | {
4710
+ DATA_TYPE: "collection#1.7.0";
4711
+ allow_guest_collections?: boolean | undefined;
4712
+ authentication_timeout_mins?: number | undefined;
4713
+ collection_base_path: string;
4714
+ collection_type: "mapped" | "guest";
4715
+ connector_id?: string | undefined;
4716
+ contact_email?: string | null | undefined;
4717
+ contact_info?: string | null | undefined;
4718
+ default_directory?: string | undefined;
4719
+ deleted?: boolean | undefined;
4720
+ department?: string | null | undefined;
4721
+ description?: string | null | undefined;
4722
+ disable_anonymous_writes?: boolean | undefined;
4723
+ disable_verify?: boolean | undefined;
4724
+ display_name: string;
4725
+ domain?: {
4726
+ DATA_TYPE: "domain#1.0.0";
4727
+ certificate?: string | null | undefined;
4728
+ certificate_chain?: string | null | undefined;
4729
+ certificate_chain_path?: string | null | undefined;
4730
+ certificate_path?: string | null | undefined;
4731
+ domain_name: string;
4732
+ private_key?: string | null | undefined;
4733
+ private_key_path?: string | null | undefined;
4734
+ wildcard: boolean;
4735
+ } | undefined;
4736
+ domain_name?: string | undefined;
4737
+ enable_https?: boolean | undefined;
4738
+ force_encryption?: boolean | undefined;
4739
+ force_verify?: boolean | undefined;
4740
+ guest_auth_policy_id?: string | null | undefined;
4741
+ high_assurance?: boolean | undefined;
4742
+ https_url?: string | undefined;
4743
+ id?: string | undefined;
4744
+ identity_id?: string | undefined;
4745
+ info_link?: string | null | undefined;
4746
+ keywords?: string[] | undefined;
4747
+ manager_url?: string | undefined;
4748
+ mapped_collection_id?: string | undefined;
4749
+ organization?: string | undefined;
4750
+ policies?: {
4751
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
4752
+ } | {
4753
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
4754
+ } | {
4755
+ DATA_TYPE: "box_collection_policies#1.0.0";
4756
+ } | {
4757
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
4758
+ } | {
4759
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4760
+ project?: string | undefined;
4761
+ } | {
4762
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4763
+ } | {
4764
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4765
+ } | {
4766
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4767
+ } | {
4768
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4769
+ } | {
4770
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4771
+ } | {
4772
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4773
+ sharing_groups_allow?: string[] | null | undefined;
4774
+ sharing_groups_deny?: string[] | null | undefined;
4775
+ } | {
4776
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4777
+ sharing_groups_allow?: string[] | null | undefined;
4778
+ sharing_groups_deny?: string[] | null | undefined;
4779
+ } | {
4780
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4781
+ } | undefined;
4782
+ public: boolean;
4783
+ require_mfa?: boolean | undefined;
4784
+ root_path?: string | undefined;
4785
+ sharing_restrict_paths?: Record<string, unknown> | {
4786
+ DATA_TYPE: "path_restrictions#1.0.0";
4787
+ none?: string[] | undefined;
4788
+ read?: string[] | undefined;
4789
+ read_write?: string[] | undefined;
4790
+ } | null | undefined;
4791
+ sharing_users_allow?: string[] | null | undefined;
4792
+ sharing_users_deny?: string[] | null | undefined;
4793
+ storage_gateway_id?: string | undefined;
4794
+ tlsftp_url?: string | undefined;
4795
+ user_credential_id?: string | undefined;
4796
+ user_message?: string | null | undefined;
4797
+ user_message_link?: string | null | undefined;
4798
+ } | {
4799
+ DATA_TYPE: "collection#1.8.0";
4800
+ allow_guest_collections?: boolean | undefined;
4801
+ authentication_timeout_mins?: number | undefined;
4802
+ collection_base_path: string;
4803
+ collection_type: "mapped" | "guest";
4804
+ connector_id?: string | undefined;
4805
+ contact_email?: string | null | undefined;
4806
+ contact_info?: string | null | undefined;
4807
+ default_directory?: string | undefined;
4808
+ delete_protected?: boolean | undefined;
4809
+ deleted?: boolean | undefined;
4810
+ department?: string | null | undefined;
4811
+ description?: string | null | undefined;
4812
+ disable_anonymous_writes?: boolean | undefined;
4813
+ disable_verify?: boolean | undefined;
4814
+ display_name: string;
4815
+ domain?: {
4816
+ DATA_TYPE: "domain#1.0.0";
4817
+ certificate?: string | null | undefined;
4818
+ certificate_chain?: string | null | undefined;
4819
+ certificate_chain_path?: string | null | undefined;
4820
+ certificate_path?: string | null | undefined;
4821
+ domain_name: string;
4822
+ private_key?: string | null | undefined;
4823
+ private_key_path?: string | null | undefined;
4824
+ wildcard: boolean;
4825
+ } | undefined;
4826
+ domain_name?: string | undefined;
4827
+ enable_https?: boolean | undefined;
4828
+ force_encryption?: boolean | undefined;
4829
+ force_verify?: boolean | undefined;
4830
+ guest_auth_policy_id?: string | null | undefined;
4831
+ high_assurance?: boolean | undefined;
4832
+ https_url?: string | undefined;
4833
+ id?: string | undefined;
4834
+ identity_id?: string | undefined;
4835
+ info_link?: string | null | undefined;
4836
+ keywords?: string[] | undefined;
4837
+ manager_url?: string | undefined;
4838
+ mapped_collection_id?: string | undefined;
4839
+ organization?: string | undefined;
4840
+ policies?: {
4841
+ DATA_TYPE: "azure_blob_collection_policies#1.0.0";
4842
+ } | {
4843
+ DATA_TYPE: "blackpearl_collection_policies#1.0.0";
4844
+ } | {
4845
+ DATA_TYPE: "box_collection_policies#1.0.0";
4846
+ } | {
4847
+ DATA_TYPE: "ceph_collection_policies#1.0.0";
4848
+ } | {
4849
+ DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
4850
+ project?: string | undefined;
4851
+ } | {
4852
+ DATA_TYPE: "google_drive_collection_policies#1.0.0";
4853
+ } | {
4854
+ DATA_TYPE: "hpss_collection_policies#1.0.0";
4855
+ } | {
4856
+ DATA_TYPE: "irods_collection_policies#1.0.0";
4857
+ } | {
4858
+ DATA_TYPE: "onedrive_collection_policies#1.0.0";
4859
+ } | {
4860
+ DATA_TYPE: "posix_collection_policies#1.0.0";
4861
+ } | {
4862
+ DATA_TYPE: "posix_collection_policies#1.1.0";
4863
+ sharing_groups_allow?: string[] | null | undefined;
4864
+ sharing_groups_deny?: string[] | null | undefined;
4865
+ } | {
4866
+ DATA_TYPE: "posix_staging_collection_policies#1.0.0";
4867
+ sharing_groups_allow?: string[] | null | undefined;
4868
+ sharing_groups_deny?: string[] | null | undefined;
4869
+ } | {
4870
+ DATA_TYPE: "s3_collection_policies#1.0.0";
4871
+ } | undefined;
4872
+ public: boolean;
4873
+ require_mfa?: boolean | undefined;
4874
+ root_path?: string | undefined;
4875
+ sharing_restrict_paths?: Record<string, unknown> | {
4876
+ DATA_TYPE: "path_restrictions#1.0.0";
4877
+ none?: string[] | undefined;
4878
+ read?: string[] | undefined;
4879
+ read_write?: string[] | undefined;
4880
+ } | null | undefined;
4881
+ sharing_users_allow?: string[] | null | undefined;
4882
+ sharing_users_deny?: string[] | null | undefined;
4883
+ storage_gateway_id?: string | undefined;
4884
+ tlsftp_url?: string | undefined;
4885
+ user_credential_id?: string | undefined;
4886
+ user_message?: string | null | undefined;
4887
+ user_message_link?: string | null | undefined;
4888
+ }>;
4889
+ } & {
4890
+ query?: {
4891
+ [key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
4892
+ } | undefined;
4893
+ headers?: import("../types.js").Headers | undefined;
4894
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
4895
+ DATA_TYPE: "result#1.0.0";
4896
+ code: string;
4897
+ data?: Record<string, never>[] | undefined;
4898
+ detail?: Record<string, never> | undefined;
4899
+ has_next_page?: boolean | undefined;
4900
+ http_response_code: number;
4901
+ marker?: string | null | undefined;
4902
+ message?: string | undefined;
4903
+ }>>;
4904
+ updateOwnerString: (collection_id: string, options: ({
4905
+ payload: Partial<{
4906
+ DATA_TYPE: "owner_string#1.0.0";
4907
+ identity_id?: string | undefined;
4908
+ }>;
4909
+ } & {
4910
+ query?: {
4911
+ [key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
4912
+ } | undefined;
4913
+ headers?: import("../types.js").Headers | undefined;
4914
+ }) | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
4915
+ DATA_TYPE: "result#1.0.0";
4916
+ code: string;
4917
+ data?: Record<string, never>[] | undefined;
4918
+ detail?: Record<string, never> | undefined;
4919
+ has_next_page?: boolean | undefined;
4920
+ http_response_code: number;
4921
+ marker?: string | null | undefined;
4922
+ message?: string | undefined;
4923
+ }>>;
4924
+ resetOwnerString: (collection_id: string, options: {
4925
+ query?: {
4926
+ [key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
4927
+ } | undefined;
4928
+ headers?: import("../types.js").Headers | undefined;
4929
+ } | undefined, sdkOptions?: import("../types.js").SDKOptions | undefined) => Promise<import("../types.js").JSONFetchResponse<{
4930
+ DATA_TYPE: "result#1.0.0";
4931
+ code: string;
4932
+ data?: Record<string, never>[] | undefined;
4933
+ detail?: Record<string, never> | undefined;
4934
+ has_next_page?: boolean | undefined;
4935
+ http_response_code: number;
4936
+ marker?: string | null | undefined;
4937
+ message?: string | undefined;
4938
+ }>>;
1878
4939
  };
1879
4940
  userCredentials: {
1880
4941
  get: (user_credential_id: string, options?: ({