• 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.

    Parameters

    Returns {
        collections: {
            create: (
                ...args: [
                    options: {
                        payload: | {
                            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;
                            DATA_TYPE: "collection#1.0.0";
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.1.0";
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null
                            | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.2.0";
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.3.0";
                            default_directory?: string;
                            deleted?: boolean;
                            department?: null | string;
                            description?: null | string;
                            disable_verify?: boolean;
                            display_name: string;
                            domain?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.4.0";
                            default_directory?: string;
                            deleted?: boolean;
                            department?: null | string;
                            description?: null | string;
                            disable_verify?: boolean;
                            display_name: string;
                            domain?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.5.0";
                            default_directory?: string;
                            deleted?: boolean;
                            department?: null | string;
                            description?: null | string;
                            disable_anonymous_writes?: boolean;
                            disable_verify?: boolean;
                            display_name: string;
                            domain?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.6.0";
                            default_directory?: string;
                            deleted?: boolean;
                            department?: null | string;
                            description?: null | string;
                            disable_anonymous_writes?: boolean;
                            disable_verify?: boolean;
                            display_name: string;
                            domain?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.7.0";
                            default_directory?: string;
                            deleted?: boolean;
                            department?: null | string;
                            description?: null | string;
                            disable_anonymous_writes?: boolean;
                            disable_verify?: boolean;
                            display_name: string;
                            domain?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.8.0";
                            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?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            created_at?: null | string;
                            DATA_TYPE: "collection#1.9.0";
                            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?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                delete_protected?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                created_at?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                delete_protected?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                last_access?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            get: (
                ...args: [
                    collection_id: string,
                    options?: { query?: { include?: (...)[] } } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                delete_protected?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                created_at?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                delete_protected?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                last_access?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            getAll: (
                ...args: [
                    options?: {
                        query?: {
                            filter?: (...)[];
                            include?: (...)[];
                            mapped_collection_id?: string;
                            marker?: string;
                            page_size?: number;
                            storage_gateway_id?: string;
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                delete_protected?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                created_at?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                delete_protected?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                last_access?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            patch: (
                ...args: [
                    collection_id: string,
                    options: {
                        payload: Partial<
                            | {
                                allow_guest_collections?: (...)
                                | (...)
                                | (...);
                                authentication_timeout_mins?: (...) | (...);
                                collection_base_path: string;
                                collection_type: (...) | (...);
                                connector_id?: (...) | (...);
                                contact_email?: (...) | (...) | (...);
                                contact_info?: (...) | (...) | (...);
                                DATA_TYPE: "collection#1.0.0";
                                default_directory?: (...) | (...);
                                deleted?: (...) | (...) | (...);
                                department?: (...) | (...) | (...);
                                description?: (...) | (...) | (...);
                                disable_verify?: (...) | (...) | (...);
                                display_name: string;
                                domain_name?: (...) | (...);
                                force_encryption?: (...) | (...) | (...);
                                high_assurance?: (...) | (...) | (...);
                                https_url?: (...) | (...);
                                id?: (...) | (...);
                                identity_id?: (...) | (...);
                                info_link?: (...) | (...) | (...);
                                keywords?: (...) | (...);
                                manager_url?: (...) | (...);
                                mapped_collection_id?: (...) | (...);
                                organization?: (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                public: boolean;
                                root_path?: (...) | (...);
                                sharing_restrict_paths?: unknown;
                                storage_gateway_id?: (...) | (...);
                                tlsftp_url?: (...) | (...);
                                user_credential_id?: (...) | (...);
                            }
                            | {
                                allow_guest_collections?: (...)
                                | (...)
                                | (...);
                                authentication_timeout_mins?: (...) | (...);
                                collection_base_path: string;
                                collection_type: (...) | (...);
                                connector_id?: (...) | (...);
                                contact_email?: (...) | (...) | (...);
                                contact_info?: (...) | (...) | (...);
                                DATA_TYPE: "collection#1.1.0";
                                default_directory?: (...) | (...);
                                deleted?: (...) | (...) | (...);
                                department?: (...) | (...) | (...);
                                description?: (...) | (...) | (...);
                                disable_verify?: (...) | (...) | (...);
                                display_name: string;
                                domain_name?: (...) | (...);
                                enable_https?: (...) | (...) | (...);
                                force_encryption?: (...) | (...) | (...);
                                high_assurance?: (...) | (...) | (...);
                                https_url?: (...) | (...);
                                id?: (...) | (...);
                                identity_id?: (...) | (...);
                                info_link?: (...) | (...) | (...);
                                keywords?: (...) | (...);
                                manager_url?: (...) | (...);
                                mapped_collection_id?: (...) | (...);
                                organization?: (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                public: boolean;
                                root_path?: (...) | (...);
                                sharing_restrict_paths?: unknown;
                                storage_gateway_id?: (...) | (...);
                                tlsftp_url?: (...) | (...);
                                user_credential_id?: (...) | (...);
                                user_message?: (...) | (...) | (...);
                                user_message_link?: (...) | (...) | (...);
                            }
                            | {
                                allow_guest_collections?: (...)
                                | (...)
                                | (...);
                                authentication_timeout_mins?: (...) | (...);
                                collection_base_path: string;
                                collection_type: (...) | (...);
                                connector_id?: (...) | (...);
                                contact_email?: (...) | (...) | (...);
                                contact_info?: (...) | (...) | (...);
                                DATA_TYPE: "collection#1.2.0";
                                default_directory?: (...) | (...);
                                deleted?: (...) | (...) | (...);
                                department?: (...) | (...) | (...);
                                description?: (...) | (...) | (...);
                                disable_verify?: (...) | (...) | (...);
                                display_name: string;
                                domain_name?: (...) | (...);
                                enable_https?: (...) | (...) | (...);
                                force_encryption?: (...) | (...) | (...);
                                high_assurance?: (...) | (...) | (...);
                                https_url?: (...) | (...);
                                id?: (...) | (...);
                                identity_id?: (...) | (...);
                                info_link?: (...) | (...) | (...);
                                keywords?: (...) | (...);
                                manager_url?: (...) | (...);
                                mapped_collection_id?: (...) | (...);
                                organization?: (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                public: boolean;
                                root_path?: (...) | (...);
                                sharing_restrict_paths?: unknown;
                                sharing_users_allow?: (...) | (...) | (...);
                                sharing_users_deny?: (...) | (...) | (...);
                                storage_gateway_id?: (...) | (...);
                                tlsftp_url?: (...) | (...);
                                user_credential_id?: (...) | (...);
                                user_message?: (...) | (...) | (...);
                                user_message_link?: (...) | (...) | (...);
                            }
                            | {
                                allow_guest_collections?: (...)
                                | (...)
                                | (...);
                                authentication_timeout_mins?: (...) | (...);
                                collection_base_path: string;
                                collection_type: (...) | (...);
                                connector_id?: (...) | (...);
                                contact_email?: (...) | (...) | (...);
                                contact_info?: (...) | (...) | (...);
                                DATA_TYPE: "collection#1.3.0";
                                default_directory?: (...) | (...);
                                deleted?: (...) | (...) | (...);
                                department?: (...) | (...) | (...);
                                description?: (...) | (...) | (...);
                                disable_verify?: (...) | (...) | (...);
                                display_name: string;
                                domain?: (...) | (...);
                                domain_name?: (...) | (...);
                                enable_https?: (...) | (...) | (...);
                                force_encryption?: (...) | (...) | (...);
                                high_assurance?: (...) | (...) | (...);
                                https_url?: (...) | (...);
                                id?: (...) | (...);
                                identity_id?: (...) | (...);
                                info_link?: (...) | (...) | (...);
                                keywords?: (...) | (...);
                                manager_url?: (...) | (...);
                                mapped_collection_id?: (...) | (...);
                                organization?: (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                public: boolean;
                                root_path?: (...) | (...);
                                sharing_restrict_paths?: unknown;
                                sharing_users_allow?: (...) | (...) | (...);
                                sharing_users_deny?: (...) | (...) | (...);
                                storage_gateway_id?: (...) | (...);
                                tlsftp_url?: (...) | (...);
                                user_credential_id?: (...) | (...);
                                user_message?: (...) | (...) | (...);
                                user_message_link?: (...) | (...) | (...);
                            }
                            | {
                                allow_guest_collections?: (...)
                                | (...)
                                | (...);
                                authentication_timeout_mins?: (...) | (...);
                                collection_base_path: string;
                                collection_type: (...) | (...);
                                connector_id?: (...) | (...);
                                contact_email?: (...) | (...) | (...);
                                contact_info?: (...) | (...) | (...);
                                DATA_TYPE: "collection#1.4.0";
                                default_directory?: (...) | (...);
                                deleted?: (...) | (...) | (...);
                                department?: (...) | (...) | (...);
                                description?: (...) | (...) | (...);
                                disable_verify?: (...) | (...) | (...);
                                display_name: string;
                                domain?: (...) | (...);
                                domain_name?: (...) | (...);
                                enable_https?: (...) | (...) | (...);
                                force_encryption?: (...) | (...) | (...);
                                force_verify?: (...) | (...) | (...);
                                high_assurance?: (...) | (...) | (...);
                                https_url?: (...) | (...);
                                id?: (...) | (...);
                                identity_id?: (...) | (...);
                                info_link?: (...) | (...) | (...);
                                keywords?: (...) | (...);
                                manager_url?: (...) | (...);
                                mapped_collection_id?: (...) | (...);
                                organization?: (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                public: boolean;
                                require_mfa?: (...) | (...) | (...);
                                root_path?: (...) | (...);
                                sharing_restrict_paths?: unknown;
                                sharing_users_allow?: (...) | (...) | (...);
                                sharing_users_deny?: (...) | (...) | (...);
                                storage_gateway_id?: (...) | (...);
                                tlsftp_url?: (...) | (...);
                                user_credential_id?: (...) | (...);
                                user_message?: (...) | (...) | (...);
                                user_message_link?: (...) | (...) | (...);
                            }
                            | {
                                allow_guest_collections?: (...)
                                | (...)
                                | (...);
                                authentication_timeout_mins?: (...) | (...);
                                collection_base_path: string;
                                collection_type: (...) | (...);
                                connector_id?: (...) | (...);
                                contact_email?: (...) | (...) | (...);
                                contact_info?: (...) | (...) | (...);
                                DATA_TYPE: "collection#1.5.0";
                                default_directory?: (...) | (...);
                                deleted?: (...) | (...) | (...);
                                department?: (...) | (...) | (...);
                                description?: (...) | (...) | (...);
                                disable_anonymous_writes?: (...) | (...) | (...);
                                disable_verify?: (...) | (...) | (...);
                                display_name: string;
                                domain?: (...) | (...);
                                domain_name?: (...) | (...);
                                enable_https?: (...) | (...) | (...);
                                force_encryption?: (...) | (...) | (...);
                                force_verify?: (...) | (...) | (...);
                                high_assurance?: (...) | (...) | (...);
                                https_url?: (...) | (...);
                                id?: (...) | (...);
                                identity_id?: (...) | (...);
                                info_link?: (...) | (...) | (...);
                                keywords?: (...) | (...);
                                manager_url?: (...) | (...);
                                mapped_collection_id?: (...) | (...);
                                organization?: (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                public: boolean;
                                require_mfa?: (...) | (...) | (...);
                                root_path?: (...) | (...);
                                sharing_restrict_paths?: unknown;
                                sharing_users_allow?: (...) | (...) | (...);
                                sharing_users_deny?: (...) | (...) | (...);
                                storage_gateway_id?: (...) | (...);
                                tlsftp_url?: (...) | (...);
                                user_credential_id?: (...) | (...);
                                user_message?: (...) | (...) | (...);
                                user_message_link?: (...) | (...) | (...);
                            }
                            | {
                                allow_guest_collections?: (...)
                                | (...)
                                | (...);
                                authentication_timeout_mins?: (...) | (...);
                                collection_base_path: string;
                                collection_type: (...) | (...);
                                connector_id?: (...) | (...);
                                contact_email?: (...) | (...) | (...);
                                contact_info?: (...) | (...) | (...);
                                DATA_TYPE: "collection#1.6.0";
                                default_directory?: (...) | (...);
                                deleted?: (...) | (...) | (...);
                                department?: (...) | (...) | (...);
                                description?: (...) | (...) | (...);
                                disable_anonymous_writes?: (...) | (...) | (...);
                                disable_verify?: (...) | (...) | (...);
                                display_name: string;
                                domain?: (...) | (...);
                                domain_name?: (...) | (...);
                                enable_https?: (...) | (...) | (...);
                                force_encryption?: (...) | (...) | (...);
                                force_verify?: (...) | (...) | (...);
                                guest_auth_policy_id?: (...) | (...) | (...);
                                high_assurance?: (...) | (...) | (...);
                                https_url?: (...) | (...);
                                id?: (...) | (...);
                                identity_id?: (...) | (...);
                                info_link?: (...) | (...) | (...);
                                keywords?: (...) | (...);
                                manager_url?: (...) | (...);
                                mapped_collection_id?: (...) | (...);
                                organization?: (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                public: boolean;
                                require_mfa?: (...) | (...) | (...);
                                root_path?: (...) | (...);
                                sharing_restrict_paths?: unknown;
                                sharing_users_allow?: (...) | (...) | (...);
                                sharing_users_deny?: (...) | (...) | (...);
                                storage_gateway_id?: (...) | (...);
                                tlsftp_url?: (...) | (...);
                                user_credential_id?: (...) | (...);
                                user_message?: (...) | (...) | (...);
                                user_message_link?: (...) | (...) | (...);
                            }
                            | {
                                allow_guest_collections?: (...)
                                | (...)
                                | (...);
                                authentication_timeout_mins?: (...) | (...);
                                collection_base_path: string;
                                collection_type: (...) | (...);
                                connector_id?: (...) | (...);
                                contact_email?: (...) | (...) | (...);
                                contact_info?: (...) | (...) | (...);
                                DATA_TYPE: "collection#1.7.0";
                                default_directory?: (...) | (...);
                                deleted?: (...) | (...) | (...);
                                department?: (...) | (...) | (...);
                                description?: (...) | (...) | (...);
                                disable_anonymous_writes?: (...) | (...) | (...);
                                disable_verify?: (...) | (...) | (...);
                                display_name: string;
                                domain?: (...) | (...);
                                domain_name?: (...) | (...);
                                enable_https?: (...) | (...) | (...);
                                force_encryption?: (...) | (...) | (...);
                                force_verify?: (...) | (...) | (...);
                                guest_auth_policy_id?: (...) | (...) | (...);
                                high_assurance?: (...) | (...) | (...);
                                https_url?: (...) | (...);
                                id?: (...) | (...);
                                identity_id?: (...) | (...);
                                info_link?: (...) | (...) | (...);
                                keywords?: (...) | (...);
                                manager_url?: (...) | (...);
                                mapped_collection_id?: (...) | (...);
                                organization?: (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                public: boolean;
                                require_mfa?: (...) | (...) | (...);
                                root_path?: (...) | (...);
                                sharing_restrict_paths?: unknown;
                                sharing_users_allow?: (...) | (...) | (...);
                                sharing_users_deny?: (...) | (...) | (...);
                                storage_gateway_id?: (...) | (...);
                                tlsftp_url?: (...) | (...);
                                user_credential_id?: (...) | (...);
                                user_message?: (...) | (...) | (...);
                                user_message_link?: (...) | (...) | (...);
                            }
                            | {
                                allow_guest_collections?: (...)
                                | (...)
                                | (...);
                                authentication_timeout_mins?: (...) | (...);
                                collection_base_path: string;
                                collection_type: (...) | (...);
                                connector_id?: (...) | (...);
                                contact_email?: (...) | (...) | (...);
                                contact_info?: (...) | (...) | (...);
                                DATA_TYPE: "collection#1.8.0";
                                default_directory?: (...) | (...);
                                delete_protected?: (...) | (...) | (...);
                                deleted?: (...) | (...) | (...);
                                department?: (...) | (...) | (...);
                                description?: (...) | (...) | (...);
                                disable_anonymous_writes?: (...) | (...) | (...);
                                disable_verify?: (...) | (...) | (...);
                                display_name: string;
                                domain?: (...) | (...);
                                domain_name?: (...) | (...);
                                enable_https?: (...) | (...) | (...);
                                force_encryption?: (...) | (...) | (...);
                                force_verify?: (...) | (...) | (...);
                                guest_auth_policy_id?: (...) | (...) | (...);
                                high_assurance?: (...) | (...) | (...);
                                https_url?: (...) | (...);
                                id?: (...) | (...);
                                identity_id?: (...) | (...);
                                info_link?: (...) | (...) | (...);
                                keywords?: (...) | (...);
                                manager_url?: (...) | (...);
                                mapped_collection_id?: (...) | (...);
                                organization?: (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                public: boolean;
                                require_mfa?: (...) | (...) | (...);
                                root_path?: (...) | (...);
                                sharing_restrict_paths?: unknown;
                                sharing_users_allow?: (...) | (...) | (...);
                                sharing_users_deny?: (...) | (...) | (...);
                                storage_gateway_id?: (...) | (...);
                                tlsftp_url?: (...) | (...);
                                user_credential_id?: (...) | (...);
                                user_message?: (...) | (...) | (...);
                                user_message_link?: (...) | (...) | (...);
                            }
                            | {
                                allow_guest_collections?: (...)
                                | (...)
                                | (...);
                                authentication_timeout_mins?: (...) | (...);
                                collection_base_path: string;
                                collection_type: (...) | (...);
                                connector_id?: (...) | (...);
                                contact_email?: (...) | (...) | (...);
                                contact_info?: (...) | (...) | (...);
                                created_at?: (...) | (...) | (...);
                                DATA_TYPE: "collection#1.9.0";
                                default_directory?: (...) | (...);
                                delete_protected?: (...) | (...) | (...);
                                deleted?: (...) | (...) | (...);
                                department?: (...) | (...) | (...);
                                description?: (...) | (...) | (...);
                                disable_anonymous_writes?: (...) | (...) | (...);
                                disable_verify?: (...) | (...) | (...);
                                display_name: string;
                                domain?: (...) | (...);
                                domain_name?: (...) | (...);
                                enable_https?: (...) | (...) | (...);
                                force_encryption?: (...) | (...) | (...);
                                force_verify?: (...) | (...) | (...);
                                guest_auth_policy_id?: (...) | (...) | (...);
                                high_assurance?: (...) | (...) | (...);
                                https_url?: (...) | (...);
                                id?: (...) | (...);
                                identity_id?: (...) | (...);
                                info_link?: (...) | (...) | (...);
                                keywords?: (...) | (...);
                                last_access?: (...) | (...) | (...);
                                manager_url?: (...) | (...);
                                mapped_collection_id?: (...) | (...);
                                organization?: (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                public: boolean;
                                require_mfa?: (...) | (...) | (...);
                                root_path?: (...) | (...);
                                sharing_restrict_paths?: unknown;
                                sharing_users_allow?: (...) | (...) | (...);
                                sharing_users_deny?: (...) | (...) | (...);
                                storage_gateway_id?: (...) | (...);
                                tlsftp_url?: (...) | (...);
                                user_credential_id?: (...) | (...);
                                user_message?: (...) | (...) | (...);
                                user_message_link?: (...) | (...) | (...);
                            },
                        >;
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
            remove: (
                ...args: [
                    collection_id: string,
                    options?: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
            resetOwnerString: (
                ...args: [
                    collection_id: string,
                    options: {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | ((...) | (...) | (...) | (...))[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
            update: (
                ...args: [
                    collection_id: string,
                    options: {
                        payload: | {
                            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;
                            DATA_TYPE: "collection#1.0.0";
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.1.0";
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null
                            | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.2.0";
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.3.0";
                            default_directory?: string;
                            deleted?: boolean;
                            department?: null | string;
                            description?: null | string;
                            disable_verify?: boolean;
                            display_name: string;
                            domain?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.4.0";
                            default_directory?: string;
                            deleted?: boolean;
                            department?: null | string;
                            description?: null | string;
                            disable_verify?: boolean;
                            display_name: string;
                            domain?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.5.0";
                            default_directory?: string;
                            deleted?: boolean;
                            department?: null | string;
                            description?: null | string;
                            disable_anonymous_writes?: boolean;
                            disable_verify?: boolean;
                            display_name: string;
                            domain?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.6.0";
                            default_directory?: string;
                            deleted?: boolean;
                            department?: null | string;
                            description?: null | string;
                            disable_anonymous_writes?: boolean;
                            disable_verify?: boolean;
                            display_name: string;
                            domain?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.7.0";
                            default_directory?: string;
                            deleted?: boolean;
                            department?: null | string;
                            description?: null | string;
                            disable_anonymous_writes?: boolean;
                            disable_verify?: boolean;
                            display_name: string;
                            domain?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            DATA_TYPE: "collection#1.8.0";
                            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?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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;
                            created_at?: null | string;
                            DATA_TYPE: "collection#1.9.0";
                            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?: {
                                certificate?: ...;
                                certificate_chain?: ...;
                                certificate_chain_path?: ...;
                                certificate_path?: ...;
                                DATA_TYPE: ...;
                                domain_name: ...;
                                private_key?: ...;
                                private_key_path?: ...;
                                wildcard: ...;
                            };
                            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?: (...)[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ...; project?: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | { DATA_TYPE: ... }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    sharing_groups_allow?: ...;
                                    sharing_groups_deny?: ...;
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | (...)[];
                            sharing_users_deny?: null | (...)[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
            updateOwnerString: (
                ...args: [
                    collection_id: string,
                    options: {
                        payload: Partial<
                            { DATA_TYPE: "owner_string#1.0.0"; identity_id?: string },
                        >;
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
        };
        configuration: GCSConfiguration;
        endpoint: {
            get: (
                ...args: [
                    options?: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allow_udt?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                department?: ...;
                                description?: ...;
                                display_name: ...;
                                gcs_manager_url?: ...;
                                id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                organization?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                public?: ...;
                                subscription_id?: ...;
                            }
                            | {
                                allow_udt?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                department?: ...;
                                description?: ...;
                                display_name: ...;
                                gcs_manager_url?: ...;
                                gridftp_control_channel_port?: ...;
                                id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                organization?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                public?: ...;
                                subscription_id?: ...;
                            }
                            | {
                                allow_udt?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                department?: ...;
                                description?: ...;
                                display_name: ...;
                                earliest_last_access?: ...;
                                gcs_manager_url?: ...;
                                gridftp_control_channel_port?: ...;
                                id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                organization?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                public?: ...;
                                subscription_id?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            patch: (
                ...args: [
                    options?: {
                        payload: | Record<string, unknown>
                        | {
                            allow_udt?: boolean;
                            contact_email?: string;
                            contact_info?: string;
                            DATA_TYPE: "endpoint#1.0.0";
                            department?: string;
                            description?: string;
                            display_name: string;
                            gcs_manager_url?: string;
                            id?: string;
                            info_link?: string;
                            keywords?: (...)[];
                            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;
                        }
                        | {
                            allow_udt?: boolean;
                            contact_email?: string;
                            contact_info?: string;
                            DATA_TYPE: "endpoint#1.1.0";
                            department?: string;
                            description?: string;
                            display_name: string;
                            gcs_manager_url?: string;
                            gridftp_control_channel_port?: null
                            | number;
                            id?: string;
                            info_link?: string;
                            keywords?: (...)[];
                            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;
                        }
                        | {
                            allow_udt?: boolean;
                            contact_email?: string;
                            contact_info?: string;
                            DATA_TYPE: "endpoint#1.2.0";
                            department?: string;
                            description?: string;
                            display_name: string;
                            earliest_last_access?: string;
                            gcs_manager_url?: string;
                            gridftp_control_channel_port?: null
                            | number;
                            id?: string;
                            info_link?: string;
                            keywords?: (...)[];
                            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]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allow_udt?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                department?: ...;
                                description?: ...;
                                display_name: ...;
                                gcs_manager_url?: ...;
                                id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                organization?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                public?: ...;
                                subscription_id?: ...;
                            }
                            | {
                                allow_udt?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                department?: ...;
                                description?: ...;
                                display_name: ...;
                                gcs_manager_url?: ...;
                                gridftp_control_channel_port?: ...;
                                id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                organization?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                public?: ...;
                                subscription_id?: ...;
                            }
                            | {
                                allow_udt?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                department?: ...;
                                description?: ...;
                                display_name: ...;
                                earliest_last_access?: ...;
                                gcs_manager_url?: ...;
                                gridftp_control_channel_port?: ...;
                                id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                organization?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                public?: ...;
                                subscription_id?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            resetOwnerString: (
                ...args: [
                    options: {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | ((...) | (...) | (...) | (...))[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
            update: (
                ...args: [
                    options?: {
                        payload: | {
                            allow_udt?: boolean;
                            contact_email?: string;
                            contact_info?: string;
                            DATA_TYPE: "endpoint#1.0.0";
                            department?: string;
                            description?: string;
                            display_name: string;
                            gcs_manager_url?: string;
                            id?: string;
                            info_link?: string;
                            keywords?: (...)[];
                            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;
                        }
                        | {
                            allow_udt?: boolean;
                            contact_email?: string;
                            contact_info?: string;
                            DATA_TYPE: "endpoint#1.1.0";
                            department?: string;
                            description?: string;
                            display_name: string;
                            gcs_manager_url?: string;
                            gridftp_control_channel_port?: null
                            | number;
                            id?: string;
                            info_link?: string;
                            keywords?: (...)[];
                            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;
                        }
                        | {
                            allow_udt?: boolean;
                            contact_email?: string;
                            contact_info?: string;
                            DATA_TYPE: "endpoint#1.2.0";
                            department?: string;
                            description?: string;
                            display_name: string;
                            earliest_last_access?: string;
                            gcs_manager_url?: string;
                            gridftp_control_channel_port?: null
                            | number;
                            id?: string;
                            info_link?: string;
                            keywords?: (...)[];
                            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]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allow_udt?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                department?: ...;
                                description?: ...;
                                display_name: ...;
                                gcs_manager_url?: ...;
                                id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                organization?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                public?: ...;
                                subscription_id?: ...;
                            }
                            | {
                                allow_udt?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                department?: ...;
                                description?: ...;
                                display_name: ...;
                                gcs_manager_url?: ...;
                                gridftp_control_channel_port?: ...;
                                id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                organization?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                public?: ...;
                                subscription_id?: ...;
                            }
                            | {
                                allow_udt?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                department?: ...;
                                description?: ...;
                                display_name: ...;
                                earliest_last_access?: ...;
                                gcs_manager_url?: ...;
                                gridftp_control_channel_port?: ...;
                                id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                organization?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                public?: ...;
                                subscription_id?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            updateOwner: (
                ...args: [
                    options?: {
                        payload: { DATA_TYPE: "endpoint_owner#1.0.0"; identity_id: string };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
            updateOwnerString: (
                ...args: [
                    options?: {
                        payload: { DATA_TYPE: "owner_string#1.0.0"; identity_id?: string };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
            updateSubscriptionId: (
                ...args: [
                    options?: {
                        payload: {
                            DATA_TYPE: "endpoint_subscription#1.0.0";
                            subscription_id: null
                            | string;
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
        };
        https: {
            get: (
                ...args: [
                    path: string,
                    options?: { query?: { download?: boolean } } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<Response>;
            remove: (
                ...args: [
                    path: string,
                    options?: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<Response>;
            update: (
                ...args: [
                    path: string,
                    options: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<Response>;
        };
        nodes: {
            create: (
                ...args: [
                    options: {
                        payload: | {
                            DATA_TYPE: "node#1.0.0";
                            id?: string;
                            incoming_port_range?: (...)[];
                            ip_addresses: string[];
                            outgoing_port_range?: (...)[];
                            status: "active" | "inactive";
                        }
                        | {
                            data_interface?: null
                            | string;
                            DATA_TYPE: "node#1.1.0";
                            id?: string;
                            incoming_port_range?: (...)[];
                            ip_addresses: string[];
                            outgoing_port_range?: (...)[];
                            status: "active" | "inactive";
                        }
                        | {
                            data_interface?: null
                            | string;
                            data_interface6?: null | string;
                            DATA_TYPE: "node#1.2.0";
                            id?: string;
                            incoming_port_range?: (...)[];
                            ip_addresses: string[];
                            outgoing_port_range?: (...)[];
                            status: "active" | "inactive";
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                            | {
                                data_interface?: ...;
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                            | {
                                data_interface?: ...;
                                data_interface6?: ...;
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            get: (
                ...args: [
                    node_id: string,
                    options?: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                            | {
                                data_interface?: ...;
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                            | {
                                data_interface?: ...;
                                data_interface6?: ...;
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            getAll: (
                ...args: [
                    options?: { query?: { marker?: string; page_size?: number } } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                            | {
                                data_interface?: ...;
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                            | {
                                data_interface?: ...;
                                data_interface6?: ...;
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            patch: (
                ...args: [
                    node_id: string,
                    options: {
                        payload: Partial<
                            | {
                                DATA_TYPE: "node#1.0.0";
                                id?: (...)
                                | (...);
                                incoming_port_range?: (...) | (...);
                                ip_addresses: (...)[];
                                outgoing_port_range?: (...) | (...);
                                status: (...) | (...);
                            }
                            | {
                                data_interface?: (...)
                                | (...)
                                | (...);
                                DATA_TYPE: "node#1.1.0";
                                id?: (...) | (...);
                                incoming_port_range?: (...) | (...);
                                ip_addresses: (...)[];
                                outgoing_port_range?: (...) | (...);
                                status: (...) | (...);
                            }
                            | {
                                data_interface?: (...)
                                | (...)
                                | (...);
                                data_interface6?: (...) | (...) | (...);
                                DATA_TYPE: "node#1.2.0";
                                id?: (...) | (...);
                                incoming_port_range?: (...) | (...);
                                ip_addresses: (...)[];
                                outgoing_port_range?: (...) | (...);
                                status: (...) | (...);
                            },
                        >;
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                            | {
                                data_interface?: ...;
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                            | {
                                data_interface?: ...;
                                data_interface6?: ...;
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            remove: (
                ...args: [
                    node_id: string,
                    options?: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
            update: (
                ...args: [
                    node_id: string,
                    options: {
                        payload: | {
                            DATA_TYPE: "node#1.0.0";
                            id?: string;
                            incoming_port_range?: (...)[];
                            ip_addresses: string[];
                            outgoing_port_range?: (...)[];
                            status: "active" | "inactive";
                        }
                        | {
                            data_interface?: null
                            | string;
                            DATA_TYPE: "node#1.1.0";
                            id?: string;
                            incoming_port_range?: (...)[];
                            ip_addresses: string[];
                            outgoing_port_range?: (...)[];
                            status: "active" | "inactive";
                        }
                        | {
                            data_interface?: null
                            | string;
                            data_interface6?: null | string;
                            DATA_TYPE: "node#1.2.0";
                            id?: string;
                            incoming_port_range?: (...)[];
                            ip_addresses: string[];
                            outgoing_port_range?: (...)[];
                            status: "active" | "inactive";
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                            | {
                                data_interface?: ...;
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                            | {
                                data_interface?: ...;
                                data_interface6?: ...;
                                DATA_TYPE: ...;
                                id?: ...;
                                incoming_port_range?: ...;
                                ip_addresses: ...;
                                outgoing_port_range?: ...;
                                status: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
        };
        roles: {
            create: (
                ...args: [
                    options: {
                        payload: {
                            collection?: null
                            | string;
                            DATA_TYPE: "role#1.0.0";
                            id?: string;
                            principal: string;
                            role:
                                | "owner"
                                | "administrator"
                                | "access_manager"
                                | "activity_manager"
                                | "activity_monitor"
                                | "access_monitor";
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: {
                            collection?: (...)
                            | (...)
                            | (...);
                            DATA_TYPE: "role#1.0.0";
                            id?: (...) | (...);
                            principal: string;
                            role: (...) | (...) | (...) | (...) | (...) | (...);
                        }[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            get: (
                ...args: [
                    role_id: string,
                    options?: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: {
                            collection?: (...)
                            | (...)
                            | (...);
                            DATA_TYPE: "role#1.0.0";
                            id?: (...) | (...);
                            principal: string;
                            role: (...) | (...) | (...) | (...) | (...) | (...);
                        }[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            getAll: (
                ...args: [
                    options?: {
                        query?: {
                            collection_id?: string;
                            include?: (...)[];
                            marker?: string;
                            page_size?: number;
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: {
                            collection?: (...)
                            | (...)
                            | (...);
                            DATA_TYPE: "role#1.0.0";
                            id?: (...) | (...);
                            principal: string;
                            role: (...) | (...) | (...) | (...) | (...) | (...);
                        }[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            remove: (
                ...args: [
                    role_id: string,
                    options?: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
        };
        storageGateways: {
            create: (
                ...args: [
                    options: {
                        payload: | {
                            allowed_domains?: (...)[];
                            authentication_assurance_timeout?: null | number;
                            authentication_timeout_mins?: null | number;
                            connector_id?: string;
                            DATA_TYPE: "storage_gateway#1.0.0";
                            deleted?: boolean;
                            display_name?: string;
                            high_assurance?: null | boolean;
                            id?: string;
                            identity_mappings?: null | (...)[];
                            load_dsi_module?: null | string;
                            policies?:
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_requester_pays?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                | {
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    ceph_admin_key_id?: ...;
                                    ceph_admin_secret_key?: ...;
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    login_name?: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    irods_authentication_file?: ...;
                                    irods_environment_file: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    groups_allow?: ...;
                                    groups_deny?: ...;
                                    stage_app: ...;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | (...)[];
                            users_deny?: null | (...)[];
                        }
                        | {
                            allowed_domains?: (...)[];
                            authentication_assurance_timeout?: null | number;
                            authentication_timeout_mins?: null | number;
                            connector_id?: string;
                            DATA_TYPE: "storage_gateway#1.1.0";
                            deleted?: boolean;
                            display_name?: string;
                            high_assurance?: null | boolean;
                            id?: string;
                            identity_mappings?: null | (...)[];
                            load_dsi_module?: null | string;
                            policies?:
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_requester_pays?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                | {
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    ceph_admin_key_id?: ...;
                                    ceph_admin_secret_key?: ...;
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    login_name?: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    irods_authentication_file?: ...;
                                    irods_environment_file: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    groups_allow?: ...;
                                    groups_deny?: ...;
                                    stage_app: ...;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa?: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | (...)[];
                            users_deny?: null | (...)[];
                        }
                        | {
                            admin_managed_credentials?: boolean;
                            allowed_domains?: (...)[];
                            authentication_assurance_timeout?: null | number;
                            authentication_timeout_mins?: null | number;
                            connector_id?: string;
                            DATA_TYPE: "storage_gateway#1.2.0";
                            deleted?: boolean;
                            display_name?: string;
                            high_assurance?: null | boolean;
                            id?: string;
                            identity_mappings?: null | (...)[];
                            load_dsi_module?: null | string;
                            policies?:
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_requester_pays?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                | {
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    ceph_admin_key_id?: ...;
                                    ceph_admin_secret_key?: ...;
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    login_name?: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    irods_authentication_file?: ...;
                                    irods_environment_file: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    groups_allow?: ...;
                                    groups_deny?: ...;
                                    stage_app: ...;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa?: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | (...)[];
                            users_deny?: null | (...)[];
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                            | {
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                require_mfa?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                            | {
                                admin_managed_credentials?: ...;
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                require_mfa?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            get: (
                ...args: [
                    storage_gateway_id: string,
                    options?: { query?: { include?: (...)[] } } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                            | {
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                require_mfa?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                            | {
                                admin_managed_credentials?: ...;
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                require_mfa?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            getAll: (
                ...args: [
                    options?: {
                        query?: { include?: (...)[]; marker?: string; page_size?: number };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                            | {
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                require_mfa?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                            | {
                                admin_managed_credentials?: ...;
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                require_mfa?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            patch: (
                ...args: [
                    storage_gateway_id: string,
                    options: {
                        payload: Partial<
                            | {
                                allowed_domains?: (...)
                                | (...);
                                authentication_assurance_timeout?: (...) | (...) | (...);
                                authentication_timeout_mins?: (...) | (...) | (...);
                                connector_id?: (...) | (...);
                                DATA_TYPE: "storage_gateway#1.0.0";
                                deleted?: (...) | (...) | (...);
                                display_name?: (...) | (...);
                                high_assurance?: (...) | (...) | (...) | (...);
                                id?: (...) | (...);
                                identity_mappings?: (...) | (...) | (...);
                                load_dsi_module?: (...) | (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                process_user?: (...) | (...) | (...);
                                require_high_assurance?: (...) | (...) | (...) | (...);
                                restrict_paths?: unknown;
                                users_allow?: (...) | (...) | (...);
                                users_deny?: (...) | (...) | (...);
                            }
                            | {
                                allowed_domains?: (...)
                                | (...);
                                authentication_assurance_timeout?: (...) | (...) | (...);
                                authentication_timeout_mins?: (...) | (...) | (...);
                                connector_id?: (...) | (...);
                                DATA_TYPE: "storage_gateway#1.1.0";
                                deleted?: (...) | (...) | (...);
                                display_name?: (...) | (...);
                                high_assurance?: (...) | (...) | (...) | (...);
                                id?: (...) | (...);
                                identity_mappings?: (...) | (...) | (...);
                                load_dsi_module?: (...) | (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                process_user?: (...) | (...) | (...);
                                require_high_assurance?: (...) | (...) | (...) | (...);
                                require_mfa?: (...) | (...) | (...);
                                restrict_paths?: unknown;
                                users_allow?: (...) | (...) | (...);
                                users_deny?: (...) | (...) | (...);
                            }
                            | {
                                admin_managed_credentials?: (...)
                                | (...)
                                | (...);
                                allowed_domains?: (...) | (...);
                                authentication_assurance_timeout?: (...) | (...) | (...);
                                authentication_timeout_mins?: (...) | (...) | (...);
                                connector_id?: (...) | (...);
                                DATA_TYPE: "storage_gateway#1.2.0";
                                deleted?: (...) | (...) | (...);
                                display_name?: (...) | (...);
                                high_assurance?: (...) | (...) | (...) | (...);
                                id?: (...) | (...);
                                identity_mappings?: (...) | (...) | (...);
                                load_dsi_module?: (...) | (...) | (...);
                                policies?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                process_user?: (...) | (...) | (...);
                                require_high_assurance?: (...) | (...) | (...) | (...);
                                require_mfa?: (...) | (...) | (...);
                                restrict_paths?: unknown;
                                users_allow?: (...) | (...) | (...);
                                users_deny?: (...) | (...) | (...);
                            },
                        >;
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                            | {
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                require_mfa?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                            | {
                                admin_managed_credentials?: ...;
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                require_mfa?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            remove: (
                ...args: [
                    storage_gateway_id: string,
                    options?: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
            update: (
                ...args: [
                    storage_gateway_id: string,
                    options: {
                        payload: | {
                            allowed_domains?: (...)[];
                            authentication_assurance_timeout?: null | number;
                            authentication_timeout_mins?: null | number;
                            connector_id?: string;
                            DATA_TYPE: "storage_gateway#1.0.0";
                            deleted?: boolean;
                            display_name?: string;
                            high_assurance?: null | boolean;
                            id?: string;
                            identity_mappings?: null | (...)[];
                            load_dsi_module?: null | string;
                            policies?:
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_requester_pays?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                | {
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    ceph_admin_key_id?: ...;
                                    ceph_admin_secret_key?: ...;
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    login_name?: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    irods_authentication_file?: ...;
                                    irods_environment_file: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    groups_allow?: ...;
                                    groups_deny?: ...;
                                    stage_app: ...;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | (...)[];
                            users_deny?: null | (...)[];
                        }
                        | {
                            allowed_domains?: (...)[];
                            authentication_assurance_timeout?: null | number;
                            authentication_timeout_mins?: null | number;
                            connector_id?: string;
                            DATA_TYPE: "storage_gateway#1.1.0";
                            deleted?: boolean;
                            display_name?: string;
                            high_assurance?: null | boolean;
                            id?: string;
                            identity_mappings?: null | (...)[];
                            load_dsi_module?: null | string;
                            policies?:
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_requester_pays?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                | {
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    ceph_admin_key_id?: ...;
                                    ceph_admin_secret_key?: ...;
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    login_name?: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    irods_authentication_file?: ...;
                                    irods_environment_file: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    groups_allow?: ...;
                                    groups_deny?: ...;
                                    stage_app: ...;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa?: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | (...)[];
                            users_deny?: null | (...)[];
                        }
                        | {
                            admin_managed_credentials?: boolean;
                            allowed_domains?: (...)[];
                            authentication_assurance_timeout?: null | number;
                            authentication_timeout_mins?: null | number;
                            connector_id?: string;
                            DATA_TYPE: "storage_gateway#1.2.0";
                            deleted?: boolean;
                            display_name?: string;
                            high_assurance?: null | boolean;
                            id?: string;
                            identity_mappings?: null | (...)[];
                            load_dsi_module?: null | string;
                            policies?:
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                    s3_requester_pays?: ...;
                                    s3_user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    account: ...;
                                    adls: ...;
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    auth_type: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant: ...;
                                    user_credential_required?: ...;
                                }
                                | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                | {
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    boxAppSettings?: ...;
                                    client_id?: ...;
                                    DATA_TYPE: ...;
                                    enterpriseID?: ...;
                                    secret?: ...;
                                    user_api_rate_limit?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    ceph_admin_key_id?: ...;
                                    ceph_admin_secret_key?: ...;
                                    DATA_TYPE: ...;
                                    s3_buckets?: ...;
                                    s3_endpoint?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    buckets?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    projects?: ...;
                                    secret: ...;
                                    service_account_key?: ...;
                                    user_credential_required?: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    user_api_rate_quota?: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    authentication_mech: ...;
                                    authenticator: ...;
                                    DATA_TYPE: ...;
                                    login_name?: ...;
                                    uda_checksum: ...;
                                }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    irods_authentication_file?: ...;
                                    irods_environment_file: ...;
                                }
                                | {
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | {
                                    allow_any_account?: ...;
                                    auth_callback?: ...;
                                    client_id: ...;
                                    DATA_TYPE: ...;
                                    secret: ...;
                                    tenant?: ...;
                                    user_api_rate_limit?: ...;
                                }
                                | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                | {
                                    DATA_TYPE: ...;
                                    environment?: ...;
                                    groups_allow?: ...;
                                    groups_deny?: ...;
                                    stage_app: ...;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa?: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | (...)[];
                            users_deny?: null | (...)[];
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                            | {
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                require_mfa?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                            | {
                                admin_managed_credentials?: ...;
                                allowed_domains?: ...;
                                authentication_assurance_timeout?: ...;
                                authentication_timeout_mins?: ...;
                                connector_id?: ...;
                                DATA_TYPE: ...;
                                deleted?: ...;
                                display_name?: ...;
                                high_assurance?: ...;
                                id?: ...;
                                identity_mappings?: ...;
                                load_dsi_module?: ...;
                                policies?: ...;
                                process_user?: ...;
                                require_high_assurance?: ...;
                                require_mfa?: ...;
                                restrict_paths?: ...;
                                users_allow?: ...;
                                users_deny?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
        };
        userCredentials: {
            create: (
                ...args: [
                    options: {
                        payload: {
                            connector_id?: string;
                            DATA_TYPE: "user_credential#1.0.0";
                            deleted?: boolean;
                            display_name?: null
                            | string;
                            home_directory?: string;
                            id?: string;
                            identity_id?: string;
                            invalid?: boolean;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_user_credential_policies#1.0.0";
                                    s3_key_id?: (...)
                                    | (...)
                                    | (...);
                                    s3_secret_key?: (...) | (...) | (...);
                                }
                                | {
                                    DATA_TYPE: "s3_user_credential_policies#1.1.0";
                                    s3_key_id?: (...)
                                    | (...)
                                    | (...);
                                    s3_requester_pays?: (...) | (...) | (...);
                                    s3_secret_key?: (...) | (...) | (...);
                                }
                                | {
                                    access_token?: (...)
                                    | (...)
                                    | (...);
                                    DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                                    email?: (...) | (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...) | (...);
                                    tid?: (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | {
                                    access_id?: (...)
                                    | (...);
                                    DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                                    secret_key?: (...) | (...);
                                }
                                | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: (...) | (...) | (...);
                                    DATA_TYPE: "box_user_credential_policies#1.1.0";
                                    email?: (...) | (...) | (...);
                                    max_upload?: (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: (...) | (...) | (...);
                                    DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                                    email?: (...) | (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    root_info?: (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | {
                                    access_token?: (...)
                                    | (...)
                                    | (...);
                                    DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                                    email?: (...) | (...);
                                    projects?: (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | {
                                    access_token?: (...)
                                    | (...)
                                    | (...);
                                    DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                                    email?: (...) | (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                                | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: (...) | (...) | (...);
                                    DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                                    email?: (...) | (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...) | (...);
                                    tid?: (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                                | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                            provisioned?: boolean;
                            storage_gateway_id?: string;
                            username?: string;
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: {
                            connector_id?: (...)
                            | (...);
                            DATA_TYPE: "user_credential#1.0.0";
                            deleted?: (...) | (...) | (...);
                            display_name?: (...) | (...) | (...);
                            home_directory?: (...) | (...);
                            id?: (...) | (...);
                            identity_id?: (...) | (...);
                            invalid?: (...) | (...) | (...);
                            policies?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            provisioned?: (...) | (...) | (...);
                            storage_gateway_id?: (...) | (...);
                            username?: (...) | (...);
                        }[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            get: (
                ...args: [
                    user_credential_id: string,
                    options?: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                delete_protected?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                collection_base_path: ...;
                                collection_type: ...;
                                connector_id?: ...;
                                contact_email?: ...;
                                contact_info?: ...;
                                created_at?: ...;
                                DATA_TYPE: ...;
                                default_directory?: ...;
                                delete_protected?: ...;
                                deleted?: ...;
                                department?: ...;
                                description?: ...;
                                disable_anonymous_writes?: ...;
                                disable_verify?: ...;
                                display_name: ...;
                                domain?: ...;
                                domain_name?: ...;
                                enable_https?: ...;
                                force_encryption?: ...;
                                force_verify?: ...;
                                guest_auth_policy_id?: ...;
                                high_assurance?: ...;
                                https_url?: ...;
                                id?: ...;
                                identity_id?: ...;
                                info_link?: ...;
                                keywords?: ...;
                                last_access?: ...;
                                manager_url?: ...;
                                mapped_collection_id?: ...;
                                organization?: ...;
                                policies?: ...;
                                public: ...;
                                require_mfa?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            getAll: (
                ...args: [
                    options?: {
                        query?: {
                            include?: (...)[];
                            marker?: string;
                            page_size?: number;
                            storage_gateway?: string;
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: {
                            connector_id?: (...)
                            | (...);
                            DATA_TYPE: "user_credential#1.0.0";
                            deleted?: (...) | (...) | (...);
                            display_name?: (...) | (...) | (...);
                            home_directory?: (...) | (...);
                            id?: (...) | (...);
                            identity_id?: (...) | (...);
                            invalid?: (...) | (...) | (...);
                            policies?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            provisioned?: (...) | (...) | (...);
                            storage_gateway_id?: (...) | (...);
                            username?: (...) | (...);
                        }[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            patch: (
                ...args: [
                    user_credential_id: string,
                    options: {
                        payload: Partial<
                            {
                                connector_id?: string;
                                DATA_TYPE: "user_credential#1.0.0";
                                deleted?: boolean;
                                display_name?: null
                                | string;
                                home_directory?: string;
                                id?: string;
                                identity_id?: string;
                                invalid?: boolean;
                                policies?:
                                    | { DATA_TYPE: ...; s3_key_id?: ...; s3_secret_key?: ... }
                                    | {
                                        DATA_TYPE: ...;
                                        s3_key_id?: ...;
                                        s3_requester_pays?: ...;
                                        s3_secret_key?: ...;
                                    }
                                    | {
                                        access_token?: ...;
                                        DATA_TYPE: ...;
                                        email?: ...;
                                        refresh_token?: ...;
                                        scopes?: ...;
                                        sub?: ...;
                                        tid?: ...;
                                        token_expiry?: ...;
                                    }
                                    | { access_id?: ...; DATA_TYPE: ...; secret_key?: ... }
                                    | { DATA_TYPE: ... }
                                    | {
                                        access_token?: ...;
                                        DATA_TYPE: ...;
                                        email?: ...;
                                        max_upload?: ...;
                                        refresh_token?: ...;
                                        scopes?: ...;
                                        sub?: ...;
                                        token_expiry?: ...;
                                    }
                                    | { DATA_TYPE: ... }
                                    | {
                                        access_token?: ...;
                                        DATA_TYPE: ...;
                                        email?: ...;
                                        refresh_token?: ...;
                                        root_info?: ...;
                                        scopes?: ...;
                                        sub?: ...;
                                        token_expiry?: ...;
                                    }
                                    | {
                                        access_token?: ...;
                                        DATA_TYPE: ...;
                                        email?: ...;
                                        projects?: ...;
                                        refresh_token?: ...;
                                        scopes?: ...;
                                        sub?: ...;
                                        token_expiry?: ...;
                                    }
                                    | {
                                        access_token?: ...;
                                        DATA_TYPE: ...;
                                        email?: ...;
                                        refresh_token?: ...;
                                        scopes?: ...;
                                        sub?: ...;
                                        token_expiry?: ...;
                                    }
                                    | { DATA_TYPE: ... }
                                    | { DATA_TYPE: ... }
                                    | {
                                        access_token?: ...;
                                        DATA_TYPE: ...;
                                        email?: ...;
                                        refresh_token?: ...;
                                        scopes?: ...;
                                        sub?: ...;
                                        tid?: ...;
                                        token_expiry?: ...;
                                    }
                                    | { DATA_TYPE: ... }
                                    | { DATA_TYPE: ... };
                                provisioned?: boolean;
                                storage_gateway_id?: string;
                                username?: string;
                            },
                        >;
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: {
                            connector_id?: (...)
                            | (...);
                            DATA_TYPE: "user_credential#1.0.0";
                            deleted?: (...) | (...) | (...);
                            display_name?: (...) | (...) | (...);
                            home_directory?: (...) | (...);
                            id?: (...) | (...);
                            identity_id?: (...) | (...);
                            invalid?: (...) | (...) | (...);
                            policies?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            provisioned?: (...) | (...) | (...);
                            storage_gateway_id?: (...) | (...);
                            username?: (...) | (...);
                        }[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
            remove: (
                ...args: [
                    user_credential_id: string,
                    options?: { payload?: undefined; query?: undefined } & {
                        headers?: Headers;
                        query?: {
                            [key: string]:
                                | undefined
                                | null
                                | string
                                | number
                                | boolean
                                | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    | {
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.0.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    }
                    | {
                        authorization_parameters?: null
                        | { [key: string]: unknown };
                        code: string;
                        data?: Record<string, unknown>[];
                        DATA_TYPE: "result#1.1.0";
                        detail?: unknown;
                        has_next_page?: boolean;
                        http_response_code: number;
                        marker?: null | string;
                        message?: string;
                    },
                >,
            >;
            update: (
                ...args: [
                    user_credential_id: string,
                    options: {
                        payload: {
                            connector_id?: string;
                            DATA_TYPE: "user_credential#1.0.0";
                            deleted?: boolean;
                            display_name?: null
                            | string;
                            home_directory?: string;
                            id?: string;
                            identity_id?: string;
                            invalid?: boolean;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_user_credential_policies#1.0.0";
                                    s3_key_id?: (...)
                                    | (...)
                                    | (...);
                                    s3_secret_key?: (...) | (...) | (...);
                                }
                                | {
                                    DATA_TYPE: "s3_user_credential_policies#1.1.0";
                                    s3_key_id?: (...)
                                    | (...)
                                    | (...);
                                    s3_requester_pays?: (...) | (...) | (...);
                                    s3_secret_key?: (...) | (...) | (...);
                                }
                                | {
                                    access_token?: (...)
                                    | (...)
                                    | (...);
                                    DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                                    email?: (...) | (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...) | (...);
                                    tid?: (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | {
                                    access_id?: (...)
                                    | (...);
                                    DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                                    secret_key?: (...) | (...);
                                }
                                | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: (...) | (...) | (...);
                                    DATA_TYPE: "box_user_credential_policies#1.1.0";
                                    email?: (...) | (...) | (...);
                                    max_upload?: (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: (...) | (...) | (...);
                                    DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                                    email?: (...) | (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    root_info?: (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | {
                                    access_token?: (...)
                                    | (...)
                                    | (...);
                                    DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                                    email?: (...) | (...);
                                    projects?: (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | {
                                    access_token?: (...)
                                    | (...)
                                    | (...);
                                    DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                                    email?: (...) | (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                                | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: (...) | (...) | (...);
                                    DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                                    email?: (...) | (...) | (...);
                                    refresh_token?: (...) | (...) | (...);
                                    scopes?: (...) | (...);
                                    sub?: (...) | (...) | (...);
                                    tid?: (...) | (...);
                                    token_expiry?: (...) | (...);
                                }
                                | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                                | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                            provisioned?: boolean;
                            storage_gateway_id?: string;
                            username?: string;
                        };
                    } & {
                        headers?: Headers;
                        query?: {
                            [key: string]: | undefined
                            | null
                            | string
                            | number
                            | boolean
                            | (...)[];
                        };
                    },
                    sdkOptions?: SDKOptions,
                ],
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: {
                            connector_id?: (...)
                            | (...);
                            DATA_TYPE: "user_credential#1.0.0";
                            deleted?: (...) | (...) | (...);
                            display_name?: (...) | (...) | (...);
                            home_directory?: (...) | (...);
                            id?: (...) | (...);
                            identity_id?: (...) | (...);
                            invalid?: (...) | (...) | (...);
                            policies?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            provisioned?: (...) | (...) | (...);
                            storage_gateway_id?: (...) | (...);
                            username?: (...) | (...);
                        }[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
        };
        versioning: {
            info: (
                ...args: never,
            ) => Promise<
                JSONFetchResponse<
                    {
                        code?: "success";
                        data?: (
                            | { DATA_TYPE: ...; display_name: ...; id: ...; version?: ... }
                            | {
                                DATA_TYPE: ...;
                                display_name: ...;
                                id: ...;
                                is_baa?: ...;
                                is_ha?: ...;
                                version?: ...;
                            }
                            | {
                                api_version?: ...;
                                client_id?: ...;
                                DATA_TYPE: ...;
                                domain_name?: ...;
                                endpoint_id?: ...;
                                manager_version?: ...;
                            }
                        )[];
                    } & (
                        | {
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.0.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                        | {
                            authorization_parameters?: null
                            | { [key: string]: unknown };
                            code: string;
                            data?: Record<(...), (...)>[];
                            DATA_TYPE: "result#1.1.0";
                            detail?: unknown;
                            has_next_page?: boolean;
                            http_response_code: number;
                            marker?: null | string;
                            message?: string;
                        }
                    ),
                >,
            >;
        };
    }