- getClient(configuration): {
collections: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
configuration: GCSConfiguration;
endpoint: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
patch: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
update: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
roles: {
create: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
remove: ((...args) => Promise<JSONFetchResponse<{
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
storageGateways: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "storage_gateway#1.0.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.1.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.2.0";
admin_managed_credentials?: boolean;
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "storage_gateway#1.0.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.1.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.2.0";
admin_managed_credentials?: boolean;
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
userCredentials: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "user_credential#1.0.0";
connector_id?: string;
deleted?: boolean;
display_name?: null | string;
home_directory?: string;
id?: string;
identity_id?: string;
invalid?: boolean;
policies?: {
DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
access_id?: string;
secret_key?: string;
} | {
DATA_TYPE: "box_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "box_user_credential_policies#1.1.0";
access_token?: null | string;
email?: null | string;
max_upload?: number;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "ceph_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
access_token?: null | string;
email?: string;
projects?: {
name?: string;
projectId?: string;
}[];
refresh_token?: null | string;
scopes?: string[];
sub?: string;
token_expiry?: string;
} | {
DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "hpss_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "irods_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "posix_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "s3_user_credential_policies#1.0.0";
s3_key_id?: null | string;
s3_secret_key?: null | string;
};
provisioned?: boolean;
storage_gateway_id?: string;
username?: string;
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
versioning: {
info: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "connector#1.0.0";
display_name: string;
id: string;
version?: string;
} | {
DATA_TYPE: "info#1.0.0";
api_version?: string;
client_id?: string;
domain_name?: string;
endpoint_id?: string;
manager_version?: string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
} Returns {
collections: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
configuration: GCSConfiguration;
endpoint: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
patch: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
update: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
roles: {
create: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
remove: ((...args) => Promise<JSONFetchResponse<{
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
storageGateways: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "storage_gateway#1.0.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.1.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.2.0";
admin_managed_credentials?: boolean;
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "storage_gateway#1.0.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.1.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.2.0";
admin_managed_credentials?: boolean;
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
userCredentials: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "user_credential#1.0.0";
connector_id?: string;
deleted?: boolean;
display_name?: null | string;
home_directory?: string;
id?: string;
identity_id?: string;
invalid?: boolean;
policies?: {
DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
access_id?: string;
secret_key?: string;
} | {
DATA_TYPE: "box_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "box_user_credential_policies#1.1.0";
access_token?: null | string;
email?: null | string;
max_upload?: number;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "ceph_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
access_token?: null | string;
email?: string;
projects?: {
name?: string;
projectId?: string;
}[];
refresh_token?: null | string;
scopes?: string[];
sub?: string;
token_expiry?: string;
} | {
DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "hpss_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "irods_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "posix_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "s3_user_credential_policies#1.0.0";
s3_key_id?: null | string;
s3_secret_key?: null | string;
};
provisioned?: boolean;
storage_gateway_id?: string;
username?: string;
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
versioning: {
info: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "connector#1.0.0";
display_name: string;
id: string;
version?: string;
} | {
DATA_TYPE: "info#1.0.0";
api_version?: string;
client_id?: string;
domain_name?: string;
endpoint_id?: string;
manager_version?: string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
};
}
collections: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
}
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [collection_id: string, options?: {
query?: {
include?: "private_policies"[];
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [options?: {
query?: {
filter?: ("mapped_collections" | "guest_collections" | "managed_by_me" | "created_by_me")[];
include?: "private_policies"[];
mapped_collection_id?: string;
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
endpoint: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
patch: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
update: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
}
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [options?: {
payload?: undefined;
query?: undefined;
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
patch: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [options?: {
payload: Record<string, unknown> | {
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
update: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [options?: {
payload: {
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "endpoint#1.0.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
} | {
DATA_TYPE: "endpoint#1.1.0";
allow_udt?: boolean;
contact_email?: string;
contact_info?: string;
department?: string;
description?: string;
display_name: string;
gcs_manager_url?: string;
gridftp_control_channel_port?: null | number;
id?: string;
info_link?: string;
keywords?: string[];
max_concurrency?: number;
max_parallelism?: number;
network_use?: "normal" | "minimal" | "aggressive" | "custom";
organization?: string;
preferred_concurrency?: number;
preferred_parallelism?: number;
public?: boolean;
subscription_id?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
roles: {
create: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
remove: ((...args) => Promise<JSONFetchResponse<{
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
}
create: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [options: {
payload: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [role_id: string, options?: {
payload?: undefined;
query?: undefined;
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [options?: {
query?: {
include?: "all_roles"[];
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "role#1.0.0";
collection?: null | string;
id?: string;
principal: string;
role: "owner" | "administrator" | "access_manager" | "activity_manager" | "activity_monitor" | "access_monitor";
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
remove: ((...args) => Promise<JSONFetchResponse<{
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [role_id: string, options?: {
payload?: undefined;
query?: undefined;
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
storageGateways: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "storage_gateway#1.0.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.1.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.2.0";
admin_managed_credentials?: boolean;
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "storage_gateway#1.0.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.1.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.2.0";
admin_managed_credentials?: boolean;
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
}
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "storage_gateway#1.0.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.1.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.2.0";
admin_managed_credentials?: boolean;
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
Parameters
Rest
...args: [storage_gateway_id: string, options?: {
query?: {
include?: ("private_policies" | "accounts")[];
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "storage_gateway#1.0.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.1.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.2.0";
admin_managed_credentials?: boolean;
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "storage_gateway#1.0.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.1.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.2.0";
admin_managed_credentials?: boolean;
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
Parameters
Rest
...args: [options?: {
query?: {
include?: ("private_policies" | "accounts")[];
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "storage_gateway#1.0.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.1.0";
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
} | {
DATA_TYPE: "storage_gateway#1.2.0";
admin_managed_credentials?: boolean;
allowed_domains?: string[];
authentication_assurance_timeout?: null | number;
authentication_timeout_mins?: null | number;
connector_id?: string;
deleted?: boolean;
display_name?: string;
high_assurance?: null | boolean;
id?: string;
identity_mappings?: null | ({
DATA_TYPE: "external_identity_mapping#1.0.0";
command?: string[];
} | {
DATA_TYPE: "expression_identity_mapping#1.0.0";
mappings?: {
ignore_case?: boolean;
literal?: boolean;
match?: string;
output?: string;
source?: string;
}[];
})[];
load_dsi_module?: null | string;
policies?: {
DATA_TYPE: "azure_blob_storage_policies#1.0.0";
account: null | string;
adls: null | boolean;
auth_callback?: string;
auth_type: null | string;
client_id: null | string;
secret: null | string;
tenant: null | string;
user_credential_required?: boolean;
} | {
DATA_TYPE: "blackpearl_storage_policies#1.0.0";
bp_access_id_file?: string;
s3_endpoint?: string;
} | {
DATA_TYPE: "box_storage_policies#1.0.0";
boxAppSettings: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
enterpriseID: string;
} | {
DATA_TYPE: "box_storage_policies#1.1.0";
auth_callback?: string;
boxAppSettings?: {
appAuth: {
passphrase: string;
privateKey: string;
publicKeyID: string;
};
clientID: string;
clientSecret: string;
};
client_id?: string;
enterpriseID?: string;
secret?: string;
user_api_rate_limit?: number;
user_credential_required?: boolean;
} | {
DATA_TYPE: "ceph_storage_policies#1.0.0";
ceph_admin_key_id?: string;
ceph_admin_secret_key?: string;
s3_buckets?: string[];
s3_endpoint?: string;
} | {
DATA_TYPE: "google_cloud_storage_policies#1.0.0";
auth_callback?: string;
buckets?: null | string[];
client_id: null | string;
projects?: null | string[];
secret: null | string;
service_account_key?: null | Record<string, unknown>;
user_credential_required?: boolean;
} | {
DATA_TYPE: "google_drive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
user_api_rate_quota?: number;
} | {
DATA_TYPE: "hpss_storage_policies#1.0.0";
authentication_mech: "krb5" | "unix";
authenticator: string;
uda_checksum: boolean;
} | {
DATA_TYPE: "irods_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
irods_authentication_file?: string;
irods_environment_file: string;
} | {
DATA_TYPE: "onedrive_storage_policies#1.0.0";
auth_callback?: string;
client_id: null | string;
secret: null | string;
tenant?: null | string;
user_api_rate_limit?: number;
} | {
DATA_TYPE: "posix_storage_policies#1.0.0";
groups_allow?: null | string[];
groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_storage_policies#1.0.0";
environment?: {
name: string;
value: string;
}[];
groups_allow?: null | string[];
groups_deny?: null | string[];
stage_app: string;
} | {
DATA_TYPE: "s3_storage_policies#1.0.0";
s3_buckets?: string[];
s3_endpoint?: string;
s3_user_credential_required?: boolean;
};
process_user?: null | string;
require_high_assurance?: null | boolean;
require_mfa?: boolean;
restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
users_allow?: null | string[];
users_deny?: null | string[];
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
userCredentials: {
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "user_credential#1.0.0";
connector_id?: string;
deleted?: boolean;
display_name?: null | string;
home_directory?: string;
id?: string;
identity_id?: string;
invalid?: boolean;
policies?: {
DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
access_id?: string;
secret_key?: string;
} | {
DATA_TYPE: "box_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "box_user_credential_policies#1.1.0";
access_token?: null | string;
email?: null | string;
max_upload?: number;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "ceph_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
access_token?: null | string;
email?: string;
projects?: {
name?: string;
projectId?: string;
}[];
refresh_token?: null | string;
scopes?: string[];
sub?: string;
token_expiry?: string;
} | {
DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "hpss_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "irods_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "posix_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "s3_user_credential_policies#1.0.0";
s3_key_id?: null | string;
s3_secret_key?: null | string;
};
provisioned?: boolean;
storage_gateway_id?: string;
username?: string;
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
}
get: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [user_credential_id: string, options?: {
payload?: undefined;
query?: undefined;
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "collection#1.0.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
} | {
DATA_TYPE: "collection#1.1.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.2.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.3.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.4.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.5.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.6.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.7.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
} | {
DATA_TYPE: "collection#1.8.0";
allow_guest_collections?: boolean;
authentication_timeout_mins?: number;
collection_base_path: string;
collection_type: "mapped" | "guest";
connector_id?: string;
contact_email?: null | string;
contact_info?: null | string;
default_directory?: string;
delete_protected?: boolean;
deleted?: boolean;
department?: null | string;
description?: null | string;
disable_anonymous_writes?: boolean;
disable_verify?: boolean;
display_name: string;
domain?: {
DATA_TYPE: "domain#1.0.0";
certificate?: null | string;
certificate_chain?: null | string;
certificate_chain_path?: null | string;
certificate_path?: null | string;
domain_name: string;
private_key?: null | string;
private_key_path?: null | string;
wildcard: boolean;
};
domain_name?: string;
enable_https?: boolean;
force_encryption?: boolean;
force_verify?: boolean;
guest_auth_policy_id?: null | string;
high_assurance?: boolean;
https_url?: string;
id?: string;
identity_id?: string;
info_link?: null | string;
keywords?: string[];
manager_url?: string;
mapped_collection_id?: string;
organization?: string;
policies?: {
DATA_TYPE: "azure_blob_collection_policies#1.0.0";
} | {
DATA_TYPE: "blackpearl_collection_policies#1.0.0";
} | {
DATA_TYPE: "box_collection_policies#1.0.0";
} | {
DATA_TYPE: "ceph_collection_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
project?: string;
} | {
DATA_TYPE: "google_drive_collection_policies#1.0.0";
} | {
DATA_TYPE: "hpss_collection_policies#1.0.0";
} | {
DATA_TYPE: "irods_collection_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.0.0";
} | {
DATA_TYPE: "posix_collection_policies#1.1.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "posix_staging_collection_policies#1.0.0";
sharing_groups_allow?: null | string[];
sharing_groups_deny?: null | string[];
} | {
DATA_TYPE: "s3_collection_policies#1.0.0";
};
public: boolean;
require_mfa?: boolean;
root_path?: string;
sharing_restrict_paths?: null | Record<string, unknown> | {
DATA_TYPE: "path_restrictions#1.0.0";
none?: string[];
read?: string[];
read_write?: string[];
};
sharing_users_allow?: null | string[];
sharing_users_deny?: null | string[];
storage_gateway_id?: string;
tlsftp_url?: string;
user_credential_id?: string;
user_message?: null | string;
user_message_link?: null | string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
getAll: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "user_credential#1.0.0";
connector_id?: string;
deleted?: boolean;
display_name?: null | string;
home_directory?: string;
id?: string;
identity_id?: string;
invalid?: boolean;
policies?: {
DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
access_id?: string;
secret_key?: string;
} | {
DATA_TYPE: "box_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "box_user_credential_policies#1.1.0";
access_token?: null | string;
email?: null | string;
max_upload?: number;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "ceph_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
access_token?: null | string;
email?: string;
projects?: {
name?: string;
projectId?: string;
}[];
refresh_token?: null | string;
scopes?: string[];
sub?: string;
token_expiry?: string;
} | {
DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "hpss_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "irods_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "posix_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "s3_user_credential_policies#1.0.0";
s3_key_id?: null | string;
s3_secret_key?: null | string;
};
provisioned?: boolean;
storage_gateway_id?: string;
username?: string;
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "user_credential#1.0.0";
connector_id?: string;
deleted?: boolean;
display_name?: null | string;
home_directory?: string;
id?: string;
identity_id?: string;
invalid?: boolean;
policies?: {
DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
access_id?: string;
secret_key?: string;
} | {
DATA_TYPE: "box_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "box_user_credential_policies#1.1.0";
access_token?: null | string;
email?: null | string;
max_upload?: number;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "ceph_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
access_token?: null | string;
email?: string;
projects?: {
name?: string;
projectId?: string;
}[];
refresh_token?: null | string;
scopes?: string[];
sub?: string;
token_expiry?: string;
} | {
DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "hpss_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "irods_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "posix_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "s3_user_credential_policies#1.0.0";
s3_key_id?: null | string;
s3_secret_key?: null | string;
};
provisioned?: boolean;
storage_gateway_id?: string;
username?: string;
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [options?: {
query?: {
include?: "all"[];
storage_gateway?: string;
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: {
DATA_TYPE: "user_credential#1.0.0";
connector_id?: string;
deleted?: boolean;
display_name?: null | string;
home_directory?: string;
id?: string;
identity_id?: string;
invalid?: boolean;
policies?: {
DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
access_id?: string;
secret_key?: string;
} | {
DATA_TYPE: "box_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "box_user_credential_policies#1.1.0";
access_token?: null | string;
email?: null | string;
max_upload?: number;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "ceph_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
access_token?: null | string;
email?: string;
projects?: {
name?: string;
projectId?: string;
}[];
refresh_token?: null | string;
scopes?: string[];
sub?: string;
token_expiry?: string;
} | {
DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
token_expiry?: string;
} | {
DATA_TYPE: "hpss_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "irods_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
access_token?: null | string;
email?: null | string;
refresh_token?: null | string;
scopes?: string[];
sub?: null | string;
tid?: string;
token_expiry?: string;
} | {
DATA_TYPE: "posix_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "posix_staging_user_credential_policies#1.0.0";
} | {
DATA_TYPE: "s3_user_credential_policies#1.0.0";
s3_key_id?: null | string;
s3_secret_key?: null | string;
};
provisioned?: boolean;
storage_gateway_id?: string;
username?: string;
}[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
versioning: {
info: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "connector#1.0.0";
display_name: string;
id: string;
version?: string;
} | {
DATA_TYPE: "info#1.0.0";
api_version?: string;
client_id?: string;
domain_name?: string;
endpoint_id?: string;
manager_version?: string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>);
}
info: ((...args) => Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "connector#1.0.0";
display_name: string;
id: string;
version?: string;
} | {
DATA_TYPE: "info#1.0.0";
api_version?: string;
client_id?: string;
domain_name?: string;
endpoint_id?: string;
manager_version?: string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>)
- (...args): Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "connector#1.0.0";
display_name: string;
id: string;
version?: string;
} | {
DATA_TYPE: "info#1.0.0";
api_version?: string;
client_id?: string;
domain_name?: string;
endpoint_id?: string;
manager_version?: string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>> Parameters
Rest
...args: [options?: {
payload?: undefined;
query?: undefined;
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}, sdkOptions?: SDKOptions]
Returns Promise<JSONFetchResponse<{
code?: "success";
data?: ({
DATA_TYPE: "connector#1.0.0";
display_name: string;
id: string;
version?: string;
} | {
DATA_TYPE: "info#1.0.0";
api_version?: string;
client_id?: string;
domain_name?: string;
endpoint_id?: string;
manager_version?: string;
})[];
} & {
DATA_TYPE: "result#1.0.0";
code: string;
data?: Record<string, never>[];
detail?: Record<string, never>;
has_next_page?: boolean;
http_response_code: number;
marker?: null | string;
message?: string;
}>>
Create a Globus Connect Server Manager client. This client is used to create a SDK context that is bound to a specific Globus Connect Server.