Globus SDK for JavaScript
    Preparing search index...
    interface paths {
        "/api/collections": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: {
                        filter?: string[];
                        include?: "private_policies"[];
                        mapped_collection_id?: string;
                        marker?: string;
                        page_size?: number;
                        storage_gateway_id?: string;
                    };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        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?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        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?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        storage_gateway_id?: ...;
                                        tlsftp_url?: ...;
                                        user_credential_id?: ...;
                                        user_message?: ...;
                                        user_message_link?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        allow_guest_collections?: ...;
                                        authentication_timeout_mins?: ...;
                                        auto_delete_timeout?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        skip_auto_delete?: ...;
                                        storage_gateway_id?: ...;
                                        tlsftp_url?: ...;
                                        user_credential_id?: ...;
                                        user_message?: ...;
                                        user_message_link?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        activity_notification_policy?: ...;
                                        allow_guest_collections?: ...;
                                        authentication_timeout_mins?: ...;
                                        auto_delete_timeout?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        skip_auto_delete?: ...;
                                        storage_gateway_id?: ...;
                                        subscription_admin_verified?: ...;
                                        tlsftp_url?: ...;
                                        user_credential_id?: ...;
                                        user_message?: ...;
                                        user_message_link?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        activity_notification_policy?: ...;
                                        allow_guest_collections?: ...;
                                        associated_flow_policy?: ...;
                                        authentication_timeout_mins?: ...;
                                        auto_delete_timeout?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        skip_auto_delete?: ...;
                                        storage_gateway_id?: ...;
                                        subscription_admin_verified?: ...;
                                        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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            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?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            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?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            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?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null
                            | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null
                            | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null
                            | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            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.10.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            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.11.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            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.12.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            allow_guest_collections?: boolean;
                            authentication_timeout_mins?: number;
                            auto_delete_timeout?: null | 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.13.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            skip_auto_delete?: boolean;
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            activity_notification_policy?: {
                                status: string[];
                                transfer_use: string[];
                            };
                            allow_guest_collections?: boolean;
                            authentication_timeout_mins?: number;
                            auto_delete_timeout?: null
                            | 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.14.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            skip_auto_delete?: boolean;
                            storage_gateway_id?: string;
                            subscription_admin_verified?: boolean;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            activity_notification_policy?: {
                                status: string[];
                                transfer_use: string[];
                            };
                            allow_guest_collections?: boolean;
                            associated_flow_policy?: unknown;
                            authentication_timeout_mins?: number;
                            auto_delete_timeout?: null
                            | 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.15.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            skip_auto_delete?: boolean;
                            storage_gateway_id?: string;
                            subscription_admin_verified?: boolean;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        };
                    };
                };
                responses: {
                    "201": {
                        content: {
                            "application/json": {
                                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?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        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?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        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?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        storage_gateway_id?: ...;
                                        tlsftp_url?: ...;
                                        user_credential_id?: ...;
                                        user_message?: ...;
                                        user_message_link?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        allow_guest_collections?: ...;
                                        authentication_timeout_mins?: ...;
                                        auto_delete_timeout?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        skip_auto_delete?: ...;
                                        storage_gateway_id?: ...;
                                        tlsftp_url?: ...;
                                        user_credential_id?: ...;
                                        user_message?: ...;
                                        user_message_link?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        activity_notification_policy?: ...;
                                        allow_guest_collections?: ...;
                                        authentication_timeout_mins?: ...;
                                        auto_delete_timeout?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        skip_auto_delete?: ...;
                                        storage_gateway_id?: ...;
                                        subscription_admin_verified?: ...;
                                        tlsftp_url?: ...;
                                        user_credential_id?: ...;
                                        user_message?: ...;
                                        user_message_link?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        activity_notification_policy?: ...;
                                        allow_guest_collections?: ...;
                                        associated_flow_policy?: ...;
                                        authentication_timeout_mins?: ...;
                                        auto_delete_timeout?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        skip_auto_delete?: ...;
                                        storage_gateway_id?: ...;
                                        subscription_admin_verified?: ...;
                                        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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | {
                                    DATA_TYPE: "authentication_timeout#1.0.0";
                                    high_assurance?: boolean;
                                    identities?: (...)[];
                                }
                                | {
                                    DATA_TYPE: "authentication_timeout#1.1.0";
                                    high_assurance?: boolean;
                                    identities?: (...)[];
                                    require_mfa?: boolean;
                                }
                                | {
                                    accounts: {
                                        DATA_TYPE: ...;
                                        identity_id?: ...;
                                        storage_gateway_id?: ...;
                                        username?: ...;
                                    }[];
                                    DATA_TYPE: "credential_not_found#1.0.0";
                                }
                                | { DATA_TYPE: "id_not_in_identity_set#1.0.0"; id?: string }
                                | {
                                    DATA_TYPE: "invalid_credential#1.0.0";
                                    user_credential_id: string;
                                }
                                | { DATA_TYPE: "invalid_user#1.0.0"; usernames?: (...)[] }
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] }
                                | {
                                    allowed_domains?: (...)[];
                                    DATA_TYPE: "not_from_allowed_domain#1.0.0";
                                }
                                | {
                                    add_ons?: (...)[];
                                    DATA_TYPE: "subscription_required#1.0.0";
                                    subscription_level?: string;
                                };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "409": {
                        content: {
                            "application/json": {
                                code?: "conflict";
                                detail?: | string
                                | { DATA_TYPE: "resource_conflict#1.0.0"; resources?: (...)[] };
                                http_response_code?: 409;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: undefined;
            trace?: undefined;
        };
        "/api/collections/{collection_id}": {
            delete: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: { include?: "private_policies"[] };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        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?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        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?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        storage_gateway_id?: ...;
                                        tlsftp_url?: ...;
                                        user_credential_id?: ...;
                                        user_message?: ...;
                                        user_message_link?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        allow_guest_collections?: ...;
                                        authentication_timeout_mins?: ...;
                                        auto_delete_timeout?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        skip_auto_delete?: ...;
                                        storage_gateway_id?: ...;
                                        tlsftp_url?: ...;
                                        user_credential_id?: ...;
                                        user_message?: ...;
                                        user_message_link?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        activity_notification_policy?: ...;
                                        allow_guest_collections?: ...;
                                        authentication_timeout_mins?: ...;
                                        auto_delete_timeout?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        skip_auto_delete?: ...;
                                        storage_gateway_id?: ...;
                                        subscription_admin_verified?: ...;
                                        tlsftp_url?: ...;
                                        user_credential_id?: ...;
                                        user_message?: ...;
                                        user_message_link?: ...;
                                    }
                                    | {
                                        acl_expiration_mins?: ...;
                                        activity_notification_policy?: ...;
                                        allow_guest_collections?: ...;
                                        associated_flow_policy?: ...;
                                        authentication_timeout_mins?: ...;
                                        auto_delete_timeout?: ...;
                                        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?: ...;
                                        restrict_transfers_to_high_assurance?: ...;
                                        root_path?: ...;
                                        sharing_restrict_paths?: ...;
                                        sharing_users_allow?: ...;
                                        sharing_users_deny?: ...;
                                        skip_auto_delete?: ...;
                                        storage_gateway_id?: ...;
                                        subscription_admin_verified?: ...;
                                        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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            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?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            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?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            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?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null
                            | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null
                            | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null
                            | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            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.10.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            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.11.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            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.12.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            allow_guest_collections?: boolean;
                            authentication_timeout_mins?: number;
                            auto_delete_timeout?: null | 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.13.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            skip_auto_delete?: boolean;
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            activity_notification_policy?: {
                                status: string[];
                                transfer_use: string[];
                            };
                            allow_guest_collections?: boolean;
                            authentication_timeout_mins?: number;
                            auto_delete_timeout?: null
                            | 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.14.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            skip_auto_delete?: boolean;
                            storage_gateway_id?: string;
                            subscription_admin_verified?: boolean;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            activity_notification_policy?: {
                                status: string[];
                                transfer_use: string[];
                            };
                            allow_guest_collections?: boolean;
                            associated_flow_policy?: unknown;
                            authentication_timeout_mins?: number;
                            auto_delete_timeout?: null
                            | 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.15.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            skip_auto_delete?: boolean;
                            storage_gateway_id?: string;
                            subscription_admin_verified?: boolean;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            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?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            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?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            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?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null
                            | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null
                            | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null
                            | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            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.10.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            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.11.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            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.12.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            allow_guest_collections?: boolean;
                            authentication_timeout_mins?: number;
                            auto_delete_timeout?: null | 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.13.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            skip_auto_delete?: boolean;
                            storage_gateway_id?: string;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            activity_notification_policy?: {
                                status: string[];
                                transfer_use: string[];
                            };
                            allow_guest_collections?: boolean;
                            authentication_timeout_mins?: number;
                            auto_delete_timeout?: null
                            | 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.14.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            skip_auto_delete?: boolean;
                            storage_gateway_id?: string;
                            subscription_admin_verified?: boolean;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        }
                        | {
                            acl_expiration_mins?: null
                            | number;
                            activity_notification_policy?: {
                                status: string[];
                                transfer_use: string[];
                            };
                            allow_guest_collections?: boolean;
                            associated_flow_policy?: unknown;
                            authentication_timeout_mins?: number;
                            auto_delete_timeout?: null
                            | 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.15.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?: null | string;
                                certificate_chain?: null | string;
                                certificate_chain_path?: null | string;
                                certificate_path?: null | string;
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: null | string;
                                private_key_path?: null | string;
                                wildcard: boolean;
                            };
                            domain_name?: string;
                            enable_https?: boolean;
                            force_encryption?: boolean;
                            force_verify?: boolean;
                            guest_auth_policy_id?: null
                            | string;
                            high_assurance?: boolean;
                            https_url?: string;
                            id?: string;
                            identity_id?: string;
                            info_link?: null | string;
                            keywords?: string[];
                            last_access?: null | string;
                            manager_url?: string;
                            mapped_collection_id?: string;
                            organization?: string;
                            policies?:
                                | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                                | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                                | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                                | { DATA_TYPE: "box_collection_policies#1.0.0" }
                                | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                                | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                    project?: string;
                                }
                                | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                                | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                                | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                                | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                                | {
                                    DATA_TYPE: "posix_collection_policies#1.1.0";
                                    sharing_groups_allow?: null | string[];
                                    sharing_groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                    sharing_groups_allow?: null
                                    | string[];
                                    sharing_groups_deny?: null | string[];
                                };
                            public: boolean;
                            require_mfa?: boolean;
                            restrict_transfers_to_high_assurance?: | null
                            | "inbound"
                            | "outbound"
                            | "all";
                            root_path?: string;
                            sharing_restrict_paths?: unknown;
                            sharing_users_allow?: null
                            | string[];
                            sharing_users_deny?: null | string[];
                            skip_auto_delete?: boolean;
                            storage_gateway_id?: string;
                            subscription_admin_verified?: boolean;
                            tlsftp_url?: string;
                            user_credential_id?: string;
                            user_message?: null | string;
                            user_message_link?: null | string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/collections/{collection_id}/check": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                code?: "success";
                                data?: {
                                    DATA_TYPE: "check_result#1.0.0";
                                    error?: (...)
                                    | (...)
                                    | (...);
                                    id?: (...) | (...);
                                    message?: (...) | (...);
                                }[];
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put?: undefined;
            trace?: undefined;
        };
        "/api/collections/{collection_id}/domain": {
            delete: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                code?: "success";
                                data?: {
                                    certificate?: (...)
                                    | (...)
                                    | (...);
                                    certificate_chain?: (...) | (...) | (...);
                                    certificate_chain_path?: (...) | (...) | (...);
                                    certificate_path?: (...) | (...) | (...);
                                    DATA_TYPE: "domain#1.0.0";
                                    domain_name: string;
                                    private_key?: (...) | (...) | (...);
                                    private_key_path?: (...) | (...) | (...);
                                    wildcard: boolean;
                                }[];
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            certificate?: null
                            | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/collections/{collection_id}/owner": {
            delete?: undefined;
            get?: undefined;
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            DATA_TYPE: "collection_owner#1.0.0";
                            identity_id: string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/collections/{collection_id}/owner_string": {
            delete: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            get?: undefined;
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            DATA_TYPE: "owner_string#1.0.0";
                            identity_id?: string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/collections/{collection_id}/subscription_admin_verified": {
            delete?: undefined;
            get?: undefined;
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { collection_id: string };
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            DATA_TYPE: "subscription_admin_verified#1.0.0";
                            subscription_admin_verified: boolean;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/collections/batch_delete": {
            delete?: undefined;
            get?: undefined;
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": { DATA_TYPE: "batch#1.0.0"; ids?: string[] };
                    };
                };
                responses: {
                    "202": {
                        content: {
                            "application/json": {
                                code?: "success";
                                data?: { DATA_TYPE: "batch#1.0.0"; ids?: (...)
                                | (...) }[];
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": | (
                                { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                            )
                            | (
                                { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "batch#1.0.0"; ids?: string[] | undefined; } | undefined; } & ({ DATA_TYPE: "result#1.0.0"; ... 6 more ...; message?: string | undefined; } | { ...; })
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: undefined;
            trace?: undefined;
        };
        "/api/collections/check": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: {
                        filter?: string[];
                        mapped_collection_id?: string;
                        marker?: string;
                        page_size?: number;
                        storage_gateway_id?: string;
                    };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                code?: "success";
                                data?: {
                                    DATA_TYPE: "check_result#1.0.0";
                                    error?: (...)
                                    | (...)
                                    | (...);
                                    id?: (...) | (...);
                                    message?: (...) | (...);
                                }[];
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put?: undefined;
            trace?: undefined;
        };
        "/api/endpoint": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: { include?: "endpoint"[] };
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            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?: string[];
                            max_concurrency?: number;
                            max_parallelism?: number;
                            network_use: "normal"
                            | "minimal"
                            | "aggressive"
                            | "custom";
                            organization?: string;
                            preferred_concurrency?: number;
                            preferred_parallelism?: number;
                            public: boolean;
                            subscription_id?: null | string;
                        }
                        | {
                            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?: string[];
                            max_concurrency?: number;
                            max_parallelism?: number;
                            network_use: "normal" | "minimal" | "aggressive" | "custom";
                            organization?: string;
                            preferred_concurrency?: number;
                            preferred_parallelism?: number;
                            public: boolean;
                            subscription_id?: null | string;
                        }
                        | {
                            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?: string[];
                            max_concurrency?: number;
                            max_parallelism?: number;
                            network_use: "normal" | "minimal" | "aggressive" | "custom";
                            organization?: string;
                            preferred_concurrency?: number;
                            preferred_parallelism?: number;
                            public: boolean;
                            subscription_id?: null | string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: { include?: "endpoint"[] };
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            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?: string[];
                            max_concurrency?: number;
                            max_parallelism?: number;
                            network_use: "normal"
                            | "minimal"
                            | "aggressive"
                            | "custom";
                            organization?: string;
                            preferred_concurrency?: number;
                            preferred_parallelism?: number;
                            public: boolean;
                            subscription_id?: null | string;
                        }
                        | {
                            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?: string[];
                            max_concurrency?: number;
                            max_parallelism?: number;
                            network_use: "normal" | "minimal" | "aggressive" | "custom";
                            organization?: string;
                            preferred_concurrency?: number;
                            preferred_parallelism?: number;
                            public: boolean;
                            subscription_id?: null | string;
                        }
                        | {
                            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?: string[];
                            max_concurrency?: number;
                            max_parallelism?: number;
                            network_use: "normal" | "minimal" | "aggressive" | "custom";
                            organization?: string;
                            preferred_concurrency?: number;
                            preferred_parallelism?: number;
                            public: boolean;
                            subscription_id?: null | string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/endpoint/domain": {
            delete: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            certificate?: null
                            | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/endpoint/owner": {
            delete?: undefined;
            get?: undefined;
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            DATA_TYPE: "endpoint_owner#1.0.0";
                            identity_id: string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/endpoint/owner_string": {
            delete: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            get?: undefined;
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            DATA_TYPE: "owner_string#1.0.0";
                            identity_id?: string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/endpoint/subscription_id": {
            delete?: undefined;
            get?: undefined;
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            DATA_TYPE: "endpoint_subscription#1.0.0";
                            subscription_id: null
                            | string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/info": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: { marker?: string; page_size?: number };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put?: undefined;
            trace?: undefined;
        };
        "/api/nodes": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: { marker?: string; page_size?: number };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            DATA_TYPE: "node#1.0.0";
                            id?: string;
                            incoming_port_range?: number[];
                            ip_addresses: string[];
                            outgoing_port_range?: number[];
                            status: "active"
                            | "inactive";
                        }
                        | {
                            data_interface?: null
                            | string;
                            DATA_TYPE: "node#1.1.0";
                            id?: string;
                            incoming_port_range?: number[];
                            ip_addresses: string[];
                            outgoing_port_range?: number[];
                            status: "active" | "inactive";
                        }
                        | {
                            data_interface?: null
                            | string;
                            data_interface6?: null | string;
                            DATA_TYPE: "node#1.2.0";
                            id?: string;
                            incoming_port_range?: number[];
                            ip_addresses: string[];
                            outgoing_port_range?: number[];
                            status: "active" | "inactive";
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": | (
                                { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                            )
                            | (
                                { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "limit_exceeded#1.0.0"; } | undefined; } & ({ DATA_TYPE: "result#1.0.0"; ... 6 more ...; message?: string | undefined; } | { ...; })
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: undefined;
            trace?: undefined;
        };
        "/api/nodes/{node_id}": {
            delete: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { node_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { node_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { node_id: string };
                    query?: { include?: "node"[] };
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            DATA_TYPE: "node#1.0.0";
                            id?: string;
                            incoming_port_range?: number[];
                            ip_addresses: string[];
                            outgoing_port_range?: number[];
                            status: "active"
                            | "inactive";
                        }
                        | {
                            data_interface?: null
                            | string;
                            DATA_TYPE: "node#1.1.0";
                            id?: string;
                            incoming_port_range?: number[];
                            ip_addresses: string[];
                            outgoing_port_range?: number[];
                            status: "active" | "inactive";
                        }
                        | {
                            data_interface?: null
                            | string;
                            data_interface6?: null | string;
                            DATA_TYPE: "node#1.2.0";
                            id?: string;
                            incoming_port_range?: number[];
                            ip_addresses: string[];
                            outgoing_port_range?: number[];
                            status: "active" | "inactive";
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { node_id: string };
                    query?: { include?: "node"[] };
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            DATA_TYPE: "node#1.0.0";
                            id?: string;
                            incoming_port_range?: number[];
                            ip_addresses: string[];
                            outgoing_port_range?: number[];
                            status: "active"
                            | "inactive";
                        }
                        | {
                            data_interface?: null
                            | string;
                            DATA_TYPE: "node#1.1.0";
                            id?: string;
                            incoming_port_range?: number[];
                            ip_addresses: string[];
                            outgoing_port_range?: number[];
                            status: "active" | "inactive";
                        }
                        | {
                            data_interface?: null
                            | string;
                            data_interface6?: null | string;
                            DATA_TYPE: "node#1.2.0";
                            id?: string;
                            incoming_port_range?: number[];
                            ip_addresses: string[];
                            outgoing_port_range?: number[];
                            status: "active" | "inactive";
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/roles": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: {
                        collection_id?: string;
                        include?: "all_roles"[];
                        marker?: string;
                        page_size?: number;
                    };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            collection?: null
                            | string;
                            DATA_TYPE: "role#1.0.0";
                            id?: string;
                            principal: string;
                            role:
                                | "owner"
                                | "administrator"
                                | "access_manager"
                                | "activity_manager"
                                | "activity_monitor"
                                | "access_monitor";
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": | (
                                { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                            )
                            | (
                                { code?: "subscription_required" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "subscription_required#1.0.0"; add_ons?: string[] | undefined; subscription_level?: string | undefined; } | undefined; } & ({ ...; } | { ...; })
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "409": {
                        content: {
                            "application/json": { code?: "exists"; http_response_code?: 409 } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: undefined;
            trace?: undefined;
        };
        "/api/roles/{role_id}": {
            delete: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { role_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": | (
                                { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                            )
                            | (
                                { code?: "subscription_required" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "subscription_required#1.0.0"; add_ons?: string[] | undefined; subscription_level?: string | undefined; } | undefined; } & ({ ...; } | { ...; })
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "409": {
                        content: {
                            "application/json": { code?: "conflict"; http_response_code?: 409 } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { role_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put?: undefined;
            trace?: undefined;
        };
        "/api/sharing_policies": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query: {
                        collection_id: string;
                        marker?: string;
                        page_size?: number;
                        username?: string;
                    };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                code?: "success";
                                data?: {
                                    collection_id: string;
                                    DATA_TYPE: "sharing_policy#1.0.0";
                                    id?: (...)
                                    | (...);
                                    sharing_restrict_paths: {
                                        DATA_TYPE: ...;
                                        none?: ...;
                                        read?: ...;
                                        read_write?: ...;
                                    };
                                    users?: (...)
                                    | (...);
                                }[];
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            collection_id: string;
                            DATA_TYPE: "sharing_policy#1.0.0";
                            id?: string;
                            sharing_restrict_paths: {
                                DATA_TYPE: "path_restrictions#1.0.0";
                                none?: string[];
                                read?: string[];
                                read_write?: string[];
                            };
                            users?: string[];
                        };
                    };
                };
                responses: {
                    "201": {
                        content: {
                            "application/json": {
                                code?: "success";
                                data?: {
                                    collection_id: string;
                                    DATA_TYPE: "sharing_policy#1.0.0";
                                    id?: (...)
                                    | (...);
                                    sharing_restrict_paths: {
                                        DATA_TYPE: ...;
                                        none?: ...;
                                        read?: ...;
                                        read_write?: ...;
                                    };
                                    users?: (...)
                                    | (...);
                                }[];
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: undefined;
            trace?: undefined;
        };
        "/api/sharing_policies/{sharing_policy_id}": {
            delete: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { sharing_policy_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { sharing_policy_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                code?: "success";
                                data?: {
                                    collection_id: string;
                                    DATA_TYPE: "sharing_policy#1.0.0";
                                    id?: (...)
                                    | (...);
                                    sharing_restrict_paths: {
                                        DATA_TYPE: ...;
                                        none?: ...;
                                        read?: ...;
                                        read_write?: ...;
                                    };
                                    users?: (...)
                                    | (...);
                                }[];
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put?: undefined;
            trace?: undefined;
        };
        "/api/storage_gateways": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: {
                        include?: ("private_policies" | "accounts")[];
                        marker?: string;
                        page_size?: number;
                    };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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?: ...;
                                    }
                                    | {
                                        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?: ...;
                                        max_concurrency?: ...;
                                        max_parallelism?: ...;
                                        network_use?: ...;
                                        policies?: ...;
                                        preferred_concurrency?: ...;
                                        preferred_parallelism?: ...;
                                        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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            allowed_domains?: string[];
                            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
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        }
                        | {
                            allowed_domains?: string[];
                            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
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        }
                        | {
                            admin_managed_credentials: boolean;
                            allowed_domains?: string[];
                            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
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        }
                        | {
                            admin_managed_credentials: boolean;
                            allowed_domains?: string[];
                            authentication_assurance_timeout?: null
                            | number;
                            authentication_timeout_mins?: null | number;
                            connector_id?: string;
                            DATA_TYPE: "storage_gateway#1.3.0";
                            deleted?: boolean;
                            display_name?: string;
                            high_assurance?: null | boolean;
                            id?: string;
                            identity_mappings?:
                                | null
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            max_concurrency?: number;
                            max_parallelism?: number;
                            network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            preferred_concurrency?: number;
                            preferred_parallelism?: number;
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        };
                    };
                };
                responses: {
                    "201": {
                        content: {
                            "application/json": {
                                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?: ...;
                                    }
                                    | {
                                        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?: ...;
                                        max_concurrency?: ...;
                                        max_parallelism?: ...;
                                        network_use?: ...;
                                        policies?: ...;
                                        preferred_concurrency?: ...;
                                        preferred_parallelism?: ...;
                                        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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: undefined;
            trace?: undefined;
        };
        "/api/storage_gateways/{storage_gateway_id}": {
            delete: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { storage_gateway_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { storage_gateway_id: string };
                    query?: { include?: ("private_policies" | "accounts")[] };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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?: ...;
                                    }
                                    | {
                                        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?: ...;
                                        max_concurrency?: ...;
                                        max_parallelism?: ...;
                                        network_use?: ...;
                                        policies?: ...;
                                        preferred_concurrency?: ...;
                                        preferred_parallelism?: ...;
                                        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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { storage_gateway_id: string };
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            allowed_domains?: string[];
                            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
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        }
                        | {
                            allowed_domains?: string[];
                            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
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        }
                        | {
                            admin_managed_credentials: boolean;
                            allowed_domains?: string[];
                            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
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        }
                        | {
                            admin_managed_credentials: boolean;
                            allowed_domains?: string[];
                            authentication_assurance_timeout?: null
                            | number;
                            authentication_timeout_mins?: null | number;
                            connector_id?: string;
                            DATA_TYPE: "storage_gateway#1.3.0";
                            deleted?: boolean;
                            display_name?: string;
                            high_assurance?: null | boolean;
                            id?: string;
                            identity_mappings?:
                                | null
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            max_concurrency?: number;
                            max_parallelism?: number;
                            network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            preferred_concurrency?: number;
                            preferred_parallelism?: number;
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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?: ...;
                                    }
                                    | {
                                        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?: ...;
                                        max_concurrency?: ...;
                                        max_parallelism?: ...;
                                        network_use?: ...;
                                        policies?: ...;
                                        preferred_concurrency?: ...;
                                        preferred_parallelism?: ...;
                                        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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { storage_gateway_id: string };
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": | {
                            allowed_domains?: string[];
                            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
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        }
                        | {
                            allowed_domains?: string[];
                            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
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        }
                        | {
                            admin_managed_credentials: boolean;
                            allowed_domains?: string[];
                            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
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        }
                        | {
                            admin_managed_credentials: boolean;
                            allowed_domains?: string[];
                            authentication_assurance_timeout?: null
                            | number;
                            authentication_timeout_mins?: null | number;
                            connector_id?: string;
                            DATA_TYPE: "storage_gateway#1.3.0";
                            deleted?: boolean;
                            display_name?: string;
                            high_assurance?: null | boolean;
                            id?: string;
                            identity_mappings?:
                                | null
                                | (
                                    | {
                                        command?: (...)
                                        | (...);
                                        DATA_TYPE: "external_identity_mapping#1.0.0";
                                    }
                                    | {
                                        DATA_TYPE: "expression_identity_mapping#1.0.0";
                                        mappings?: (...)
                                        | (...);
                                    }
                                )[];
                            load_dsi_module?: null
                            | string;
                            max_concurrency?: number;
                            max_parallelism?: number;
                            network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                            policies?:
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.1.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    DATA_TYPE: "s3_storage_policies#1.2.0";
                                    s3_allow_multi_keys?: boolean;
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                    s3_requester_pays?: boolean;
                                    s3_user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    account: null
                                    | string;
                                    adls: null | boolean;
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    auth_type: null | string;
                                    client_id: null | string;
                                    DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant: null | string;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    bp_access_id_file?: string;
                                    DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                    s3_endpoint?: string;
                                }
                                | {
                                    boxAppSettings: {
                                        appAuth: {
                                            passphrase: string;
                                            privateKey: string;
                                            publicKeyID: string;
                                        };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    DATA_TYPE: "box_storage_policies#1.0.0";
                                    enterpriseID: string;
                                }
                                | {
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.1.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    boxAppSettings?: {
                                        appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                        clientID: string;
                                        clientSecret: string;
                                    };
                                    client_id?: string;
                                    DATA_TYPE: "box_storage_policies#1.2.0";
                                    enterpriseID?: string;
                                    secret?: string;
                                    user_api_rate_limit?: number;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    ceph_admin_key_id?: string;
                                    ceph_admin_secret_key?: string;
                                    DATA_TYPE: "ceph_storage_policies#1.0.0";
                                    s3_buckets?: string[];
                                    s3_endpoint?: string;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    buckets?: null
                                    | string[];
                                    client_id: null | string;
                                    DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                    projects?: null | string[];
                                    secret: null | string;
                                    service_account_key?: null | Record<string, unknown>;
                                    user_credential_required?: boolean;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                    secret: null | string;
                                    user_api_rate_quota?: number;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.0.0";
                                    uda_checksum: boolean;
                                }
                                | {
                                    authentication_mech: "krb5"
                                    | "unix";
                                    authenticator: string;
                                    DATA_TYPE: "hpss_storage_policies#1.1.0";
                                    login_name?: string;
                                    uda_checksum: boolean;
                                }
                                | {
                                    DATA_TYPE: "irods_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    irods_authentication_file?: string;
                                    irods_environment_file: string;
                                }
                                | {
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    allow_any_account?: boolean;
                                    auth_callback?: string;
                                    client_id: null
                                    | string;
                                    DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                    secret: null | string;
                                    tenant?: null | string;
                                    user_api_rate_limit?: number;
                                }
                                | {
                                    DATA_TYPE: "posix_storage_policies#1.0.0";
                                    groups_allow?: null
                                    | string[];
                                    groups_deny?: null | string[];
                                }
                                | {
                                    DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                    environment?: { name: ...; value: ... }[];
                                    groups_allow?: null | string[];
                                    groups_deny?: null | string[];
                                    stage_app: string;
                                };
                            preferred_concurrency?: number;
                            preferred_parallelism?: number;
                            process_user?: null
                            | string;
                            require_high_assurance?: null | boolean;
                            require_mfa: boolean;
                            restrict_paths?: unknown;
                            users_allow?: null | string[];
                            users_deny?: null | string[];
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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?: ...;
                                    }
                                    | {
                                        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?: ...;
                                        max_concurrency?: ...;
                                        max_parallelism?: ...;
                                        network_use?: ...;
                                        policies?: ...;
                                        preferred_concurrency?: ...;
                                        preferred_parallelism?: ...;
                                        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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/user_credentials": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: {
                        include?: "all"[];
                        marker?: string;
                        page_size?: number;
                        storage_gateway?: string;
                    };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            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?: null
                                    | string;
                                    s3_secret_key?: null | string;
                                }
                                | {
                                    DATA_TYPE: "s3_user_credential_policies#1.1.0";
                                    s3_key_id?: null
                                    | string;
                                    s3_requester_pays?: boolean;
                                    s3_secret_key?: null | string;
                                }
                                | {
                                    DATA_TYPE: "s3_user_credential_policies#1.2.0";
                                    s3_key_id?: null
                                    | string;
                                    s3_multi_keys?:
                                        | null
                                        | {
                                            path_prefixes: (...)[];
                                            s3_key_id?: (...) | (...) | (...);
                                            s3_secret_key?: (...) | (...) | (...);
                                        }[];
                                    s3_requester_pays?: boolean;
                                    s3_secret_key?: null
                                    | string;
                                }
                                | {
                                    access_token?: null
                                    | string;
                                    DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    tid?: string;
                                    token_expiry?: string;
                                }
                                | {
                                    access_id?: string;
                                    DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                                    secret_key?: string;
                                }
                                | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: null | string;
                                    DATA_TYPE: "box_user_credential_policies#1.1.0";
                                    email?: null | string;
                                    max_upload?: number;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    token_expiry?: string;
                                }
                                | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: null | string;
                                    DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    root_info?: Record<string, unknown>;
                                    scopes?: string[];
                                    sub?: null | string;
                                    token_expiry?: string;
                                }
                                | {
                                    access_token?: null
                                    | string;
                                    DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                                    email?: string;
                                    projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: string;
                                    token_expiry?: string;
                                }
                                | {
                                    access_token?: null
                                    | string;
                                    DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    token_expiry?: string;
                                }
                                | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                                | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: null | string;
                                    DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    tid?: string;
                                    token_expiry?: string;
                                }
                                | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                                | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                            provisioned?: boolean;
                            storage_gateway_id?: string;
                            username?: string;
                        };
                    };
                };
                responses: {
                    "201": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: undefined;
            trace?: undefined;
        };
        "/api/user_credentials/{user_credential_id}": {
            delete: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { user_credential_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { user_credential_id: string };
                    query?: undefined;
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { user_credential_id: string };
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            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?: null
                                    | string;
                                    s3_secret_key?: null | string;
                                }
                                | {
                                    DATA_TYPE: "s3_user_credential_policies#1.1.0";
                                    s3_key_id?: null
                                    | string;
                                    s3_requester_pays?: boolean;
                                    s3_secret_key?: null | string;
                                }
                                | {
                                    DATA_TYPE: "s3_user_credential_policies#1.2.0";
                                    s3_key_id?: null
                                    | string;
                                    s3_multi_keys?:
                                        | null
                                        | {
                                            path_prefixes: (...)[];
                                            s3_key_id?: (...) | (...) | (...);
                                            s3_secret_key?: (...) | (...) | (...);
                                        }[];
                                    s3_requester_pays?: boolean;
                                    s3_secret_key?: null
                                    | string;
                                }
                                | {
                                    access_token?: null
                                    | string;
                                    DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    tid?: string;
                                    token_expiry?: string;
                                }
                                | {
                                    access_id?: string;
                                    DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                                    secret_key?: string;
                                }
                                | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: null | string;
                                    DATA_TYPE: "box_user_credential_policies#1.1.0";
                                    email?: null | string;
                                    max_upload?: number;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    token_expiry?: string;
                                }
                                | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: null | string;
                                    DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    root_info?: Record<string, unknown>;
                                    scopes?: string[];
                                    sub?: null | string;
                                    token_expiry?: string;
                                }
                                | {
                                    access_token?: null
                                    | string;
                                    DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                                    email?: string;
                                    projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: string;
                                    token_expiry?: string;
                                }
                                | {
                                    access_token?: null
                                    | string;
                                    DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    token_expiry?: string;
                                }
                                | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                                | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: null | string;
                                    DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    tid?: string;
                                    token_expiry?: string;
                                }
                                | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                                | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                            provisioned?: boolean;
                            storage_gateway_id?: string;
                            username?: string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            post?: undefined;
            put: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { user_credential_id: string };
                    query?: undefined;
                };
                requestBody: {
                    content: {
                        "application/json": {
                            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?: null
                                    | string;
                                    s3_secret_key?: null | string;
                                }
                                | {
                                    DATA_TYPE: "s3_user_credential_policies#1.1.0";
                                    s3_key_id?: null
                                    | string;
                                    s3_requester_pays?: boolean;
                                    s3_secret_key?: null | string;
                                }
                                | {
                                    DATA_TYPE: "s3_user_credential_policies#1.2.0";
                                    s3_key_id?: null
                                    | string;
                                    s3_multi_keys?:
                                        | null
                                        | {
                                            path_prefixes: (...)[];
                                            s3_key_id?: (...) | (...) | (...);
                                            s3_secret_key?: (...) | (...) | (...);
                                        }[];
                                    s3_requester_pays?: boolean;
                                    s3_secret_key?: null
                                    | string;
                                }
                                | {
                                    access_token?: null
                                    | string;
                                    DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    tid?: string;
                                    token_expiry?: string;
                                }
                                | {
                                    access_id?: string;
                                    DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                                    secret_key?: string;
                                }
                                | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: null | string;
                                    DATA_TYPE: "box_user_credential_policies#1.1.0";
                                    email?: null | string;
                                    max_upload?: number;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    token_expiry?: string;
                                }
                                | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: null | string;
                                    DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    root_info?: Record<string, unknown>;
                                    scopes?: string[];
                                    sub?: null | string;
                                    token_expiry?: string;
                                }
                                | {
                                    access_token?: null
                                    | string;
                                    DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                                    email?: string;
                                    projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: string;
                                    token_expiry?: string;
                                }
                                | {
                                    access_token?: null
                                    | string;
                                    DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    token_expiry?: string;
                                }
                                | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                                | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                                | {
                                    access_token?: null | string;
                                    DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                                    email?: null | string;
                                    refresh_token?: null | string;
                                    scopes?: string[];
                                    sub?: null | string;
                                    tid?: string;
                                    token_expiry?: string;
                                }
                                | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                                | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                            provisioned?: boolean;
                            storage_gateway_id?: string;
                            username?: string;
                        };
                    };
                };
                responses: {
                    "200": {
                        content: {
                            "application/json": {
                                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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "403": {
                        content: {
                            "application/json": {
                                code?: "permission_denied";
                                detail?: | string
                                | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                                http_response_code?: 403;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "404": {
                        content: {
                            "application/json": {
                                code?: "not_found";
                                http_response_code?: 404;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            trace?: undefined;
        };
        "/api/v1/authcallback": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query: { code?: string; error?: string; state: string };
                };
                requestBody?: undefined;
                responses: {
                    "302": { content?: undefined; headers: { [name: string]: unknown } };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put?: undefined;
            trace?: undefined;
        };
        "/api/v1/authcallback_google": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query: { code?: string; error?: string; state: string };
                };
                requestBody?: undefined;
                responses: {
                    "302": { content?: undefined; headers: { [name: string]: unknown } };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put?: undefined;
            trace?: undefined;
        };
        "/api/v1/authclicomplete": {
            delete?: undefined;
            get: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: { user_credential_id?: string };
                };
                requestBody?: undefined;
                responses: {
                    "200": {
                        content: {
                            "application/json": | {
                                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;
                            };
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post?: undefined;
            put?: undefined;
            trace?: undefined;
        };
        "/api/v1/user_credentials": {
            delete?: undefined;
            get?: undefined;
            head?: undefined;
            options?: undefined;
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            patch?: undefined;
            post: {
                parameters: {
                    cookie?: undefined;
                    header?: undefined;
                    path?: undefined;
                    query?: undefined;
                };
                requestBody?: {
                    content: {
                        "application/x-www-form-urlencoded": {
                            access_token?: string;
                            identity_id: string;
                            login_hint?: string;
                            redirect_uri: string;
                            storage_gateway: string;
                        };
                    };
                };
                responses: {
                    "303": { content?: undefined; headers: { [name: string]: unknown } };
                    "400": {
                        content: {
                            "application/json": {
                                code?: "bad_request";
                                http_response_code?: 400;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "401": {
                        content: {
                            "application/json": {
                                code?: "not_authorized";
                                detail?: | string
                                | {
                                    DATA_TYPE: "missing_required_scopes#1.0.0";
                                    required_scopes?: (...)[];
                                };
                                http_response_code?: 401;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "415": {
                        content: {
                            "application/json": {
                                code?: "unsupported_media_type";
                                http_response_code?: 415;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                    "422": {
                        content: {
                            "application/json": {
                                code?: "unprocessable_entity";
                                detail?: | string
                                | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                                http_response_code?: 422;
                            } & (
                                | {
                                    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;
                                }
                            );
                        };
                        headers: { [name: string]: unknown };
                    };
                };
            };
            put?: undefined;
            trace?: undefined;
        };
    }
    Index

    Properties

    "/api/collections": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    filter?: string[];
                    include?: "private_policies"[];
                    mapped_collection_id?: string;
                    marker?: string;
                    page_size?: number;
                    storage_gateway_id?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    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?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    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?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    storage_gateway_id?: ...;
                                    tlsftp_url?: ...;
                                    user_credential_id?: ...;
                                    user_message?: ...;
                                    user_message_link?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    allow_guest_collections?: ...;
                                    authentication_timeout_mins?: ...;
                                    auto_delete_timeout?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    skip_auto_delete?: ...;
                                    storage_gateway_id?: ...;
                                    tlsftp_url?: ...;
                                    user_credential_id?: ...;
                                    user_message?: ...;
                                    user_message_link?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    activity_notification_policy?: ...;
                                    allow_guest_collections?: ...;
                                    authentication_timeout_mins?: ...;
                                    auto_delete_timeout?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    skip_auto_delete?: ...;
                                    storage_gateway_id?: ...;
                                    subscription_admin_verified?: ...;
                                    tlsftp_url?: ...;
                                    user_credential_id?: ...;
                                    user_message?: ...;
                                    user_message_link?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    activity_notification_policy?: ...;
                                    allow_guest_collections?: ...;
                                    associated_flow_policy?: ...;
                                    authentication_timeout_mins?: ...;
                                    auto_delete_timeout?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    skip_auto_delete?: ...;
                                    storage_gateway_id?: ...;
                                    subscription_admin_verified?: ...;
                                    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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": | {
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.10.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.11.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.12.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null | 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.13.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.14.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        associated_flow_policy?: unknown;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.15.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            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?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    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?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    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?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    storage_gateway_id?: ...;
                                    tlsftp_url?: ...;
                                    user_credential_id?: ...;
                                    user_message?: ...;
                                    user_message_link?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    allow_guest_collections?: ...;
                                    authentication_timeout_mins?: ...;
                                    auto_delete_timeout?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    skip_auto_delete?: ...;
                                    storage_gateway_id?: ...;
                                    tlsftp_url?: ...;
                                    user_credential_id?: ...;
                                    user_message?: ...;
                                    user_message_link?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    activity_notification_policy?: ...;
                                    allow_guest_collections?: ...;
                                    authentication_timeout_mins?: ...;
                                    auto_delete_timeout?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    skip_auto_delete?: ...;
                                    storage_gateway_id?: ...;
                                    subscription_admin_verified?: ...;
                                    tlsftp_url?: ...;
                                    user_credential_id?: ...;
                                    user_message?: ...;
                                    user_message_link?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    activity_notification_policy?: ...;
                                    allow_guest_collections?: ...;
                                    associated_flow_policy?: ...;
                                    authentication_timeout_mins?: ...;
                                    auto_delete_timeout?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    skip_auto_delete?: ...;
                                    storage_gateway_id?: ...;
                                    subscription_admin_verified?: ...;
                                    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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | {
                                DATA_TYPE: "authentication_timeout#1.0.0";
                                high_assurance?: boolean;
                                identities?: (...)[];
                            }
                            | {
                                DATA_TYPE: "authentication_timeout#1.1.0";
                                high_assurance?: boolean;
                                identities?: (...)[];
                                require_mfa?: boolean;
                            }
                            | {
                                accounts: {
                                    DATA_TYPE: ...;
                                    identity_id?: ...;
                                    storage_gateway_id?: ...;
                                    username?: ...;
                                }[];
                                DATA_TYPE: "credential_not_found#1.0.0";
                            }
                            | { DATA_TYPE: "id_not_in_identity_set#1.0.0"; id?: string }
                            | {
                                DATA_TYPE: "invalid_credential#1.0.0";
                                user_credential_id: string;
                            }
                            | { DATA_TYPE: "invalid_user#1.0.0"; usernames?: (...)[] }
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] }
                            | {
                                allowed_domains?: (...)[];
                                DATA_TYPE: "not_from_allowed_domain#1.0.0";
                            }
                            | {
                                add_ons?: (...)[];
                                DATA_TYPE: "subscription_required#1.0.0";
                                subscription_level?: string;
                            };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "409": {
                    content: {
                        "application/json": {
                            code?: "conflict";
                            detail?: | string
                            | { DATA_TYPE: "resource_conflict#1.0.0"; resources?: (...)[] };
                            http_response_code?: 409;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: {
                  filter?: string[];
                  include?: "private_policies"[];
                  mapped_collection_id?: string;
                  marker?: string;
                  page_size?: number;
                  storage_gateway_id?: string;
              };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  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?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  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?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  auto_delete_timeout?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  skip_auto_delete?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  activity_notification_policy?: ...;
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  auto_delete_timeout?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  skip_auto_delete?: ...;
                                  storage_gateway_id?: ...;
                                  subscription_admin_verified?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  activity_notification_policy?: ...;
                                  allow_guest_collections?: ...;
                                  associated_flow_policy?: ...;
                                  authentication_timeout_mins?: ...;
                                  auto_delete_timeout?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  skip_auto_delete?: ...;
                                  storage_gateway_id?: ...;
                                  subscription_admin_verified?: ...;
                                  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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      List the collections on this endpoint

      This operation requires either the endpoint to have the public property set to true or the caller to have a role that allows viewing this Collection.

      The result of this can be limited by using the `filter` query parameter to
      choose which of the visible collections to return.  This is a
      comma-separated list of filters to apply to the result set:
      
      <dl>
      <dt>mapped_collections</dt>
          <dd>Only collections with collection_type equal to <em>mapped</em>.</dd>
      <dt>guest_collections</dt>
          <dd>Only collections with collection_type equal to <em>guest</em>.</dd>
      <dt>managed_by_me</dt>
          <dd>Only collections where one of caller's identities (either directly or
          via a group role assignment) is granted a role on the collection.</dd>
      <dt>created_by_me</dt>
          <dd>Only collections where one of the caller's identities matches the
          `identity_id` property of the collection.</dd>
      <dt>last_access < YYYY-MM-DD</dt>
      <dt>last_access <= YYYY-MM-DD</dt>
      <dt>last_access <= YYYY-MM-DD</dt>
      <dt>last_access = YYYY-MM-DD</dt>
      <dt>last_access >= YYYY-MM-DD</dt>
      <dt>last_access < YYYY-MM-DD</dt>
          <dd>Only collections accessed before or after the given date</dd>
      <dt>created_at < YYYY-MM-DD</dt>
      <dt>created_at <= YYYY-MM-DD</dt>
      <dt>created_at <= YYYY-MM-DD</dt>
      <dt>created_at = YYYY-MM-DD</dt>
      <dt>created_at >= YYYY-MM-DD</dt>
      <dt>created_at < YYYY-MM-DD</dt>
          <dd>Only collections created before or after the given date</dd>
      </dl>
      
      The result can also be limited by including the `mapped_collection_id`
      query parameter. This limits the response to guest collections which have
      been created using the specified mapped collection.
      
      Normally, only public collection configuration policy data is included in
      the response. If the query parameter `include=private_policies` is passed
      to this API, and the caller has an administrator role on this collection,
      the response will include all private policies for the collection as well.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                filter?: string[];
                include?: "private_policies"[];
                mapped_collection_id?: string;
                marker?: string;
                page_size?: number;
                storage_gateway_id?: string;
            };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • Optionalquery?: {
              filter?: string[];
              include?: "private_policies"[];
              mapped_collection_id?: string;
              marker?: string;
              page_size?: number;
              storage_gateway_id?: string;
          }
          • Optionalfilter?: string[]

            Filter to apply to the return set

          • Optionalinclude?: "private_policies"[]

            Document values to include

          • Optionalmapped_collection_id?: string

            Filter collections which were created using this mapped_collection_id

          • Optionalmarker?: string

            Pagination marker for a paginated response

          • Optionalpage_size?: number

            Maximum page size for a paginated response

          • Optionalstorage_gateway_id?: string

            Filter collections which were created using this storage_gateway_id

      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                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?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                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?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                auto_delete_timeout?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                skip_auto_delete?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                activity_notification_policy?: ...;
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                auto_delete_timeout?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                skip_auto_delete?: ...;
                                storage_gateway_id?: ...;
                                subscription_admin_verified?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                activity_notification_policy?: ...;
                                allow_guest_collections?: ...;
                                associated_flow_policy?: ...;
                                authentication_timeout_mins?: ...;
                                auto_delete_timeout?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                skip_auto_delete?: ...;
                                storage_gateway_id?: ...;
                                subscription_admin_verified?: ...;
                                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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              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?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              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?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              storage_gateway_id?: ...;
                              tlsftp_url?: ...;
                              user_credential_id?: ...;
                              user_message?: ...;
                              user_message_link?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              allow_guest_collections?: ...;
                              authentication_timeout_mins?: ...;
                              auto_delete_timeout?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              skip_auto_delete?: ...;
                              storage_gateway_id?: ...;
                              tlsftp_url?: ...;
                              user_credential_id?: ...;
                              user_message?: ...;
                              user_message_link?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              activity_notification_policy?: ...;
                              allow_guest_collections?: ...;
                              authentication_timeout_mins?: ...;
                              auto_delete_timeout?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              skip_auto_delete?: ...;
                              storage_gateway_id?: ...;
                              subscription_admin_verified?: ...;
                              tlsftp_url?: ...;
                              user_credential_id?: ...;
                              user_message?: ...;
                              user_message_link?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              activity_notification_policy?: ...;
                              allow_guest_collections?: ...;
                              associated_flow_policy?: ...;
                              authentication_timeout_mins?: ...;
                              auto_delete_timeout?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              skip_auto_delete?: ...;
                              storage_gateway_id?: ...;
                              subscription_admin_verified?: ...;
                              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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          List collections response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • post: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": | {
                      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?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      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?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      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?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null
                      | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null
                      | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null
                      | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      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.10.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      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.11.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      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.12.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      allow_guest_collections?: boolean;
                      authentication_timeout_mins?: number;
                      auto_delete_timeout?: null | 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.13.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      skip_auto_delete?: boolean;
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      activity_notification_policy?: {
                          status: string[];
                          transfer_use: string[];
                      };
                      allow_guest_collections?: boolean;
                      authentication_timeout_mins?: number;
                      auto_delete_timeout?: null
                      | 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.14.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      skip_auto_delete?: boolean;
                      storage_gateway_id?: string;
                      subscription_admin_verified?: boolean;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      activity_notification_policy?: {
                          status: string[];
                          transfer_use: string[];
                      };
                      allow_guest_collections?: boolean;
                      associated_flow_policy?: unknown;
                      authentication_timeout_mins?: number;
                      auto_delete_timeout?: null
                      | 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.15.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      skip_auto_delete?: boolean;
                      storage_gateway_id?: string;
                      subscription_admin_verified?: boolean;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  };
              };
          };
          responses: {
              "201": {
                  content: {
                      "application/json": {
                          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?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  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?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  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?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  auto_delete_timeout?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  skip_auto_delete?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  activity_notification_policy?: ...;
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  auto_delete_timeout?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  skip_auto_delete?: ...;
                                  storage_gateway_id?: ...;
                                  subscription_admin_verified?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  activity_notification_policy?: ...;
                                  allow_guest_collections?: ...;
                                  associated_flow_policy?: ...;
                                  authentication_timeout_mins?: ...;
                                  auto_delete_timeout?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  skip_auto_delete?: ...;
                                  storage_gateway_id?: ...;
                                  subscription_admin_verified?: ...;
                                  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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | {
                              DATA_TYPE: "authentication_timeout#1.0.0";
                              high_assurance?: boolean;
                              identities?: (...)[];
                          }
                          | {
                              DATA_TYPE: "authentication_timeout#1.1.0";
                              high_assurance?: boolean;
                              identities?: (...)[];
                              require_mfa?: boolean;
                          }
                          | {
                              accounts: {
                                  DATA_TYPE: ...;
                                  identity_id?: ...;
                                  storage_gateway_id?: ...;
                                  username?: ...;
                              }[];
                              DATA_TYPE: "credential_not_found#1.0.0";
                          }
                          | { DATA_TYPE: "id_not_in_identity_set#1.0.0"; id?: string }
                          | { DATA_TYPE: "invalid_credential#1.0.0"; user_credential_id: string }
                          | { DATA_TYPE: "invalid_user#1.0.0"; usernames?: (...)[] }
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] }
                          | {
                              allowed_domains?: (...)[];
                              DATA_TYPE: "not_from_allowed_domain#1.0.0";
                          }
                          | {
                              add_ons?: (...)[];
                              DATA_TYPE: "subscription_required#1.0.0";
                              subscription_level?: string;
                          };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "409": {
                  content: {
                      "application/json": {
                          code?: "conflict";
                          detail?: | string
                          | { DATA_TYPE: "resource_conflict#1.0.0"; resources?: (...)[] };
                          http_response_code?: 409;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Create a collection

      This is used to create either a mapped or a guest collection. When created, a "collection:administrator" role for that collection will be created using the caller's identity.

      The collection is assigned a unique DNS name. For guest collections, this
      DNS name begins with "g-". By default, for mapped collections this name
      begins with "m-", but a user with an "endpoint:administrator" role may
      assign a custom domain name for a mapped collection.
      
      In order to create a guest collection, the caller must have an identity
      that matches the Storage Gateway policies.
      
      In order to create a mapped collection, the caller must have an
      "endpoint:administrator" or "endpoint:owner" role.
      
      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json":
                    | {
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.10.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.11.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.12.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null | 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.13.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.14.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        associated_flow_policy?: unknown;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.15.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    };
            };
        }

        Collection definition

      • responses: {
            "201": {
                content: {
                    "application/json": {
                        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?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                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?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                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?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                auto_delete_timeout?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                skip_auto_delete?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                activity_notification_policy?: ...;
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                auto_delete_timeout?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                skip_auto_delete?: ...;
                                storage_gateway_id?: ...;
                                subscription_admin_verified?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                activity_notification_policy?: ...;
                                allow_guest_collections?: ...;
                                associated_flow_policy?: ...;
                                authentication_timeout_mins?: ...;
                                auto_delete_timeout?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                skip_auto_delete?: ...;
                                storage_gateway_id?: ...;
                                subscription_admin_verified?: ...;
                                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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | {
                            DATA_TYPE: "authentication_timeout#1.0.0";
                            high_assurance?: boolean;
                            identities?: (...)[];
                        }
                        | {
                            DATA_TYPE: "authentication_timeout#1.1.0";
                            high_assurance?: boolean;
                            identities?: (...)[];
                            require_mfa?: boolean;
                        }
                        | {
                            accounts: {
                                DATA_TYPE: ...;
                                identity_id?: ...;
                                storage_gateway_id?: ...;
                                username?: ...;
                            }[];
                            DATA_TYPE: "credential_not_found#1.0.0";
                        }
                        | { DATA_TYPE: "id_not_in_identity_set#1.0.0"; id?: string }
                        | { DATA_TYPE: "invalid_credential#1.0.0"; user_credential_id: string }
                        | { DATA_TYPE: "invalid_user#1.0.0"; usernames?: (...)[] }
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] }
                        | {
                            allowed_domains?: (...)[];
                            DATA_TYPE: "not_from_allowed_domain#1.0.0";
                        }
                        | {
                            add_ons?: (...)[];
                            DATA_TYPE: "subscription_required#1.0.0";
                            subscription_level?: string;
                        };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        code?: "conflict";
                        detail?: | string
                        | { DATA_TYPE: "resource_conflict#1.0.0"; resources?: (...)[] };
                        http_response_code?: 409;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 201: {
              content: {
                  "application/json": {
                      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?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              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?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              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?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              storage_gateway_id?: ...;
                              tlsftp_url?: ...;
                              user_credential_id?: ...;
                              user_message?: ...;
                              user_message_link?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              allow_guest_collections?: ...;
                              authentication_timeout_mins?: ...;
                              auto_delete_timeout?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              skip_auto_delete?: ...;
                              storage_gateway_id?: ...;
                              tlsftp_url?: ...;
                              user_credential_id?: ...;
                              user_message?: ...;
                              user_message_link?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              activity_notification_policy?: ...;
                              allow_guest_collections?: ...;
                              authentication_timeout_mins?: ...;
                              auto_delete_timeout?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              skip_auto_delete?: ...;
                              storage_gateway_id?: ...;
                              subscription_admin_verified?: ...;
                              tlsftp_url?: ...;
                              user_credential_id?: ...;
                              user_message?: ...;
                              user_message_link?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              activity_notification_policy?: ...;
                              allow_guest_collections?: ...;
                              associated_flow_policy?: ...;
                              authentication_timeout_mins?: ...;
                              auto_delete_timeout?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              skip_auto_delete?: ...;
                              storage_gateway_id?: ...;
                              subscription_admin_verified?: ...;
                              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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Create collections response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "authentication_timeout#1.0.0";
                              high_assurance?: boolean;
                              identities?: (...)[];
                          }
                          | {
                              DATA_TYPE: "authentication_timeout#1.1.0";
                              high_assurance?: boolean;
                              identities?: (...)[];
                              require_mfa?: boolean;
                          }
                          | {
                              accounts: {
                                  DATA_TYPE: ...;
                                  identity_id?: ...;
                                  storage_gateway_id?: ...;
                                  username?: ...;
                              }[];
                              DATA_TYPE: "credential_not_found#1.0.0";
                          }
                          | { DATA_TYPE: "id_not_in_identity_set#1.0.0"; id?: string }
                          | { DATA_TYPE: "invalid_credential#1.0.0"; user_credential_id: string }
                          | { DATA_TYPE: "invalid_user#1.0.0"; usernames?: (...)[] }
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] }
                          | {
                              allowed_domains?: (...)[];
                              DATA_TYPE: "not_from_allowed_domain#1.0.0";
                          }
                          | {
                              add_ons?: (...)[];
                              DATA_TYPE: "subscription_required#1.0.0";
                              subscription_level?: string;
                          };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 409: {
              content: {
                  "application/json": {
                      code?: "conflict";
                      detail?:
                          | string
                          | { DATA_TYPE: "resource_conflict#1.0.0"; resources?: (...)[] };
                      http_response_code?: 409;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Conflict

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/collections/{collection_id}": {
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: { include?: "private_policies"[] };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    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?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    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?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    storage_gateway_id?: ...;
                                    tlsftp_url?: ...;
                                    user_credential_id?: ...;
                                    user_message?: ...;
                                    user_message_link?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    allow_guest_collections?: ...;
                                    authentication_timeout_mins?: ...;
                                    auto_delete_timeout?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    skip_auto_delete?: ...;
                                    storage_gateway_id?: ...;
                                    tlsftp_url?: ...;
                                    user_credential_id?: ...;
                                    user_message?: ...;
                                    user_message_link?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    activity_notification_policy?: ...;
                                    allow_guest_collections?: ...;
                                    authentication_timeout_mins?: ...;
                                    auto_delete_timeout?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    skip_auto_delete?: ...;
                                    storage_gateway_id?: ...;
                                    subscription_admin_verified?: ...;
                                    tlsftp_url?: ...;
                                    user_credential_id?: ...;
                                    user_message?: ...;
                                    user_message_link?: ...;
                                }
                                | {
                                    acl_expiration_mins?: ...;
                                    activity_notification_policy?: ...;
                                    allow_guest_collections?: ...;
                                    associated_flow_policy?: ...;
                                    authentication_timeout_mins?: ...;
                                    auto_delete_timeout?: ...;
                                    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?: ...;
                                    restrict_transfers_to_high_assurance?: ...;
                                    root_path?: ...;
                                    sharing_restrict_paths?: ...;
                                    sharing_users_allow?: ...;
                                    sharing_users_deny?: ...;
                                    skip_auto_delete?: ...;
                                    storage_gateway_id?: ...;
                                    subscription_admin_verified?: ...;
                                    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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": | {
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.10.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.11.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.12.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null | 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.13.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.14.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        associated_flow_policy?: unknown;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.15.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": | {
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.10.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.11.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.12.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null | 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.13.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.14.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        associated_flow_policy?: unknown;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.15.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • delete: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Delete a collection

      Deletes a collection owned by the caller or an endpoint administrator. If the collection has the delete_protection property set to true, the collection can not be deleted.

      When a collection is deleted, all collection-specific roles and
      sharing_policies are also deleted.
      
      If a mapped collection is deleted, then all guest collections and roles
      associated them are also deleted.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Delete collections response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: { include?: "private_policies"[] };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  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?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  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?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  auto_delete_timeout?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  skip_auto_delete?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  activity_notification_policy?: ...;
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  auto_delete_timeout?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  skip_auto_delete?: ...;
                                  storage_gateway_id?: ...;
                                  subscription_admin_verified?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  acl_expiration_mins?: ...;
                                  activity_notification_policy?: ...;
                                  allow_guest_collections?: ...;
                                  associated_flow_policy?: ...;
                                  authentication_timeout_mins?: ...;
                                  auto_delete_timeout?: ...;
                                  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?: ...;
                                  restrict_transfers_to_high_assurance?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  skip_auto_delete?: ...;
                                  storage_gateway_id?: ...;
                                  subscription_admin_verified?: ...;
                                  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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Get information about a collection

      This operation requires either the endpoint to have the public property set to true or the caller to have a role that allows viewing this Endpoint. Some property visibility is limited for users who do not have an administrator role.

      Normally, only public collection configuration policy data is included in
      the response. If the query parameter `include=private_policies` is passed
      to this API, and the caller has an administrator role on this collection,
      the response will include all private policies for the collection as well.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: { include?: "private_policies"[] };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: { include?: "private_policies"[] }
          • Optionalinclude?: "private_policies"[]

            Document values to include

      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                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?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                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?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                auto_delete_timeout?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                skip_auto_delete?: ...;
                                storage_gateway_id?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                activity_notification_policy?: ...;
                                allow_guest_collections?: ...;
                                authentication_timeout_mins?: ...;
                                auto_delete_timeout?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                skip_auto_delete?: ...;
                                storage_gateway_id?: ...;
                                subscription_admin_verified?: ...;
                                tlsftp_url?: ...;
                                user_credential_id?: ...;
                                user_message?: ...;
                                user_message_link?: ...;
                            }
                            | {
                                acl_expiration_mins?: ...;
                                activity_notification_policy?: ...;
                                allow_guest_collections?: ...;
                                associated_flow_policy?: ...;
                                authentication_timeout_mins?: ...;
                                auto_delete_timeout?: ...;
                                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?: ...;
                                restrict_transfers_to_high_assurance?: ...;
                                root_path?: ...;
                                sharing_restrict_paths?: ...;
                                sharing_users_allow?: ...;
                                sharing_users_deny?: ...;
                                skip_auto_delete?: ...;
                                storage_gateway_id?: ...;
                                subscription_admin_verified?: ...;
                                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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              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?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              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?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              storage_gateway_id?: ...;
                              tlsftp_url?: ...;
                              user_credential_id?: ...;
                              user_message?: ...;
                              user_message_link?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              allow_guest_collections?: ...;
                              authentication_timeout_mins?: ...;
                              auto_delete_timeout?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              skip_auto_delete?: ...;
                              storage_gateway_id?: ...;
                              tlsftp_url?: ...;
                              user_credential_id?: ...;
                              user_message?: ...;
                              user_message_link?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              activity_notification_policy?: ...;
                              allow_guest_collections?: ...;
                              authentication_timeout_mins?: ...;
                              auto_delete_timeout?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              skip_auto_delete?: ...;
                              storage_gateway_id?: ...;
                              subscription_admin_verified?: ...;
                              tlsftp_url?: ...;
                              user_credential_id?: ...;
                              user_message?: ...;
                              user_message_link?: ...;
                          }
                          | {
                              acl_expiration_mins?: ...;
                              activity_notification_policy?: ...;
                              allow_guest_collections?: ...;
                              associated_flow_policy?: ...;
                              authentication_timeout_mins?: ...;
                              auto_delete_timeout?: ...;
                              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?: ...;
                              restrict_transfers_to_high_assurance?: ...;
                              root_path?: ...;
                              sharing_restrict_paths?: ...;
                              sharing_users_allow?: ...;
                              sharing_users_deny?: ...;
                              skip_auto_delete?: ...;
                              storage_gateway_id?: ...;
                              subscription_admin_verified?: ...;
                              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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          List collections response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • patch: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": | {
                      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?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      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?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      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?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null
                      | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null
                      | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null
                      | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      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.10.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      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.11.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      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.12.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      allow_guest_collections?: boolean;
                      authentication_timeout_mins?: number;
                      auto_delete_timeout?: null | 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.13.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      skip_auto_delete?: boolean;
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      activity_notification_policy?: {
                          status: string[];
                          transfer_use: string[];
                      };
                      allow_guest_collections?: boolean;
                      authentication_timeout_mins?: number;
                      auto_delete_timeout?: null
                      | 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.14.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      skip_auto_delete?: boolean;
                      storage_gateway_id?: string;
                      subscription_admin_verified?: boolean;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      activity_notification_policy?: {
                          status: string[];
                          transfer_use: string[];
                      };
                      allow_guest_collections?: boolean;
                      associated_flow_policy?: unknown;
                      authentication_timeout_mins?: number;
                      auto_delete_timeout?: null
                      | 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.15.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      skip_auto_delete?: boolean;
                      storage_gateway_id?: string;
                      subscription_admin_verified?: boolean;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Update a collection

      Updates a collection, changing only the properties included in the input document. It optionally returns a document containing the document after the change is applied. Items explicitly set to null in the input are removed from the collection document.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: undefined
      • requestBody: {
            content: {
                "application/json":
                    | {
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.10.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.11.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.12.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null | 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.13.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.14.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        associated_flow_policy?: unknown;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.15.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    };
            };
        }

        Changes to apply to the collection

      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Update collections response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": | {
                      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?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      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?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      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?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null
                      | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null
                      | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null
                      | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      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.10.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      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.11.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      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.12.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      allow_guest_collections?: boolean;
                      authentication_timeout_mins?: number;
                      auto_delete_timeout?: null | 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.13.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      skip_auto_delete?: boolean;
                      storage_gateway_id?: string;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      activity_notification_policy?: {
                          status: string[];
                          transfer_use: string[];
                      };
                      allow_guest_collections?: boolean;
                      authentication_timeout_mins?: number;
                      auto_delete_timeout?: null
                      | 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.14.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      skip_auto_delete?: boolean;
                      storage_gateway_id?: string;
                      subscription_admin_verified?: boolean;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  }
                  | {
                      acl_expiration_mins?: null
                      | number;
                      activity_notification_policy?: {
                          status: string[];
                          transfer_use: string[];
                      };
                      allow_guest_collections?: boolean;
                      associated_flow_policy?: unknown;
                      authentication_timeout_mins?: number;
                      auto_delete_timeout?: null
                      | 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.15.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?: null | string;
                          certificate_chain?: null | string;
                          certificate_chain_path?: null | string;
                          certificate_path?: null | string;
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: null | string;
                          private_key_path?: null | string;
                          wildcard: boolean;
                      };
                      domain_name?: string;
                      enable_https?: boolean;
                      force_encryption?: boolean;
                      force_verify?: boolean;
                      guest_auth_policy_id?: null
                      | string;
                      high_assurance?: boolean;
                      https_url?: string;
                      id?: string;
                      identity_id?: string;
                      info_link?: null | string;
                      keywords?: string[];
                      last_access?: null | string;
                      manager_url?: string;
                      mapped_collection_id?: string;
                      organization?: string;
                      policies?:
                          | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                          | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                          | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                          | { DATA_TYPE: "box_collection_policies#1.0.0" }
                          | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                          | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                              project?: string;
                          }
                          | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                          | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                          | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                          | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                          | {
                              DATA_TYPE: "posix_collection_policies#1.1.0";
                              sharing_groups_allow?: null | string[];
                              sharing_groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                              sharing_groups_allow?: null
                              | string[];
                              sharing_groups_deny?: null | string[];
                          };
                      public: boolean;
                      require_mfa?: boolean;
                      restrict_transfers_to_high_assurance?: | null
                      | "inbound"
                      | "outbound"
                      | "all";
                      root_path?: string;
                      sharing_restrict_paths?: unknown;
                      sharing_users_allow?: null
                      | string[];
                      sharing_users_deny?: null | string[];
                      skip_auto_delete?: boolean;
                      storage_gateway_id?: string;
                      subscription_admin_verified?: boolean;
                      tlsftp_url?: string;
                      user_credential_id?: string;
                      user_message?: null | string;
                      user_message_link?: null | string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Update a collection

      Update a collection, completely replacing its definition with the new document. It returns a document containing the collection after the update has been applied.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: undefined
      • requestBody: {
            content: {
                "application/json":
                    | {
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        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?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null
                        | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.10.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.11.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        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.12.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null | 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.13.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.14.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    }
                    | {
                        acl_expiration_mins?: null
                        | number;
                        activity_notification_policy?: {
                            status: string[];
                            transfer_use: string[];
                        };
                        allow_guest_collections?: boolean;
                        associated_flow_policy?: unknown;
                        authentication_timeout_mins?: number;
                        auto_delete_timeout?: null
                        | 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.15.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?: null | string;
                            certificate_chain?: null | string;
                            certificate_chain_path?: null | string;
                            certificate_path?: null | string;
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: null | string;
                            private_key_path?: null | string;
                            wildcard: boolean;
                        };
                        domain_name?: string;
                        enable_https?: boolean;
                        force_encryption?: boolean;
                        force_verify?: boolean;
                        guest_auth_policy_id?: null
                        | string;
                        high_assurance?: boolean;
                        https_url?: string;
                        id?: string;
                        identity_id?: string;
                        info_link?: null | string;
                        keywords?: string[];
                        last_access?: null | string;
                        manager_url?: string;
                        mapped_collection_id?: string;
                        organization?: string;
                        policies?:
                            | { DATA_TYPE: "s3_collection_policies#1.0.0" }
                            | { DATA_TYPE: "azure_blob_collection_policies#1.0.0" }
                            | { DATA_TYPE: "blackpearl_collection_policies#1.0.0" }
                            | { DATA_TYPE: "box_collection_policies#1.0.0" }
                            | { DATA_TYPE: "ceph_collection_policies#1.0.0" }
                            | { DATA_TYPE: "dropbox_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "google_cloud_storage_collection_policies#1.0.0";
                                project?: string;
                            }
                            | { DATA_TYPE: "google_drive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "hpss_collection_policies#1.0.0" }
                            | { DATA_TYPE: "irods_collection_policies#1.0.0" }
                            | { DATA_TYPE: "onedrive_collection_policies#1.0.0" }
                            | { DATA_TYPE: "posix_collection_policies#1.0.0" }
                            | {
                                DATA_TYPE: "posix_collection_policies#1.1.0";
                                sharing_groups_allow?: null | string[];
                                sharing_groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_collection_policies#1.0.0";
                                sharing_groups_allow?: null
                                | string[];
                                sharing_groups_deny?: null | string[];
                            };
                        public: boolean;
                        require_mfa?: boolean;
                        restrict_transfers_to_high_assurance?: | null
                        | "inbound"
                        | "outbound"
                        | "all";
                        root_path?: string;
                        sharing_restrict_paths?: unknown;
                        sharing_users_allow?: null
                        | string[];
                        sharing_users_deny?: null | string[];
                        skip_auto_delete?: boolean;
                        storage_gateway_id?: string;
                        subscription_admin_verified?: boolean;
                        tlsftp_url?: string;
                        user_credential_id?: string;
                        user_message?: null | string;
                        user_message_link?: null | string;
                    };
            };
        }

        New collection definition

      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Update collections response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/collections/{collection_id}/check": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            code?: "success";
                            data?: {
                                DATA_TYPE: "check_result#1.0.0";
                                error?: (...)
                                | (...)
                                | (...);
                                id?: (...) | (...);
                                message?: (...) | (...);
                            }[];
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          code?: "success";
                          data?: {
                              DATA_TYPE: "check_result#1.0.0";
                              error?: (...)
                              | (...)
                              | (...);
                              id?: (...) | (...);
                              message?: (...) | (...);
                          }[];
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Check a collection for configuration problems

      Check the configuration of a collection for configuration problems. Returns a list of configuration error details.

      This operation requires the caller to have an endpoint owner or
      administrator role, or a collection administrator role.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        code?: "success";
                        data?: {
                            DATA_TYPE: "check_result#1.0.0";
                            error?: (...) | (...) | (...);
                            id?: (...) | (...);
                            message?: (...) | (...);
                        }[];
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      code?: "success";
                      data?: {
                          DATA_TYPE: "check_result#1.0.0";
                          error?: (...) | (...) | (...);
                          id?: (...) | (...);
                          message?: (...) | (...);
                      }[];
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Check response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/collections/{collection_id}/domain": {
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            code?: "success";
                            data?: {
                                certificate?: (...)
                                | (...)
                                | (...);
                                certificate_chain?: (...) | (...) | (...);
                                certificate_chain_path?: (...) | (...) | (...);
                                certificate_path?: (...) | (...) | (...);
                                DATA_TYPE: "domain#1.0.0";
                                domain_name: string;
                                private_key?: (...) | (...) | (...);
                                private_key_path?: (...) | (...) | (...);
                                wildcard: boolean;
                            }[];
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        certificate?: null
                        | string;
                        certificate_chain?: null | string;
                        certificate_chain_path?: null | string;
                        certificate_path?: null | string;
                        DATA_TYPE: "domain#1.0.0";
                        domain_name: string;
                        private_key?: null | string;
                        private_key_path?: null | string;
                        wildcard: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • delete: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Delete custom domain for a collection

      Delete the custom collection domain.

      If this is a mapped collection, this will cause the collection to revert to
      a subdomain of the endpoint's domain (if it is wildcard domain) or a
      subdomain of the endpoint's data.globus.org domain. If this mapped collection
      has a wildcard domain when this is called, then all guest collections without
      custom domains will have their domains changed as well.
      
      If this is a guest collection, and the mapped collection it was created from
      has a custom wildcard domain, then this collection will become a subdomain
      of that domain; otherwise it will revert to a subdomain of either the
      endpoint's domain (if it is a wildcard domain) or a subdomain of the endpoint's
      data.globus.org domain.
      
      This requires an `administrator` role on the Endpoint.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Delete collection domain response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          code?: "success";
                          data?: {
                              certificate?: (...)
                              | (...)
                              | (...);
                              certificate_chain?: (...) | (...) | (...);
                              certificate_chain_path?: (...) | (...) | (...);
                              certificate_path?: (...) | (...) | (...);
                              DATA_TYPE: "domain#1.0.0";
                              domain_name: string;
                              private_key?: (...) | (...) | (...);
                              private_key_path?: (...) | (...) | (...);
                              wildcard: boolean;
                          }[];
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Get custom domain for a collection

      Get the custom domain document associated with this collection.

      This requires an `administrator` role on the Endpoint
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        code?: "success";
                        data?: {
                            certificate?: (...) | (...) | (...);
                            certificate_chain?: (...) | (...) | (...);
                            certificate_chain_path?: (...) | (...) | (...);
                            certificate_path?: (...) | (...) | (...);
                            DATA_TYPE: "domain#1.0.0";
                            domain_name: string;
                            private_key?: (...) | (...) | (...);
                            private_key_path?: (...) | (...) | (...);
                            wildcard: boolean;
                        }[];
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      code?: "success";
                      data?: {
                          certificate?: (...) | (...) | (...);
                          certificate_chain?: (...) | (...) | (...);
                          certificate_chain_path?: (...) | (...) | (...);
                          certificate_path?: (...) | (...) | (...);
                          DATA_TYPE: "domain#1.0.0";
                          domain_name: string;
                          private_key?: (...) | (...) | (...);
                          private_key_path?: (...) | (...) | (...);
                          wildcard: boolean;
                      }[];
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Get collection domain response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      certificate?: null
                      | string;
                      certificate_chain?: null | string;
                      certificate_chain_path?: null | string;
                      certificate_path?: null | string;
                      DATA_TYPE: "domain#1.0.0";
                      domain_name: string;
                      private_key?: null | string;
                      private_key_path?: null | string;
                      wildcard: boolean;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Set custom domain for a collection

      Register a new custom domain and certificate to to be used to serve this collection.

      The domain is used for the collection. If this is a mapped collection
      and the `wildcard` property is set to true, then all all guest collections
      associated with this collection that do not have a custom domain will be
      updated to use subdomains of that domain. Otherwise, only this collection
      will use that domain.
      
      This requires an `administrator` role on the Endpoint
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: undefined
      • requestBody: {
            content: {
                "application/json": {
                    certificate?: null | string;
                    certificate_chain?: null | string;
                    certificate_chain_path?: null | string;
                    certificate_path?: null | string;
                    DATA_TYPE: "domain#1.0.0";
                    domain_name: string;
                    private_key?: null | string;
                    private_key_path?: null | string;
                    wildcard: boolean;
                };
            };
        }

        New collection domain definition

      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Set collection domain response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/collections/{collection_id}/owner": {
        delete?: undefined;
        get?: undefined;
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        DATA_TYPE: "collection_owner#1.0.0";
                        identity_id: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • Optionalget?: undefined
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      DATA_TYPE: "collection_owner#1.0.0";
                      identity_id: string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Set collection owner

      Assign a new identity to act as the mapped collection owner. Caller must have an endpoint admin or owner role.

      - This is only allowed for mapped collections
      - Owner ID can not be the endpoint client ID
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            ID of the collection

        • Optionalquery?: undefined
      • requestBody: {
            content: {
                "application/json": {
                    DATA_TYPE: "collection_owner#1.0.0";
                    identity_id: string;
                };
            };
        }
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Set collection owner response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/collections/{collection_id}/owner_string": {
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        get?: undefined;
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        DATA_TYPE: "owner_string#1.0.0";
                        identity_id?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • delete: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Reset advertised owner of collection

      Reset the advertised owner string of the collection to the endpoint's client_id.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Delete collection owner string response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalget?: undefined
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      DATA_TYPE: "owner_string#1.0.0";
                      identity_id?: string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Set advertised owner of collection

      Update the advertised owner string of the collection

      Modify the collection's advertised owner to match the username of one of
      the caller's linked identities.  The identity must have an administrator
      role on the collection.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: undefined
      • requestBody: {
            content: {
                "application/json": {
                    DATA_TYPE: "owner_string#1.0.0";
                    identity_id?: string;
                };
            };
        }

        New collection owner string

      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Set collection owner string response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/collections/{collection_id}/subscription_admin_verified": {
        delete?: undefined;
        get?: undefined;
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { collection_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        DATA_TYPE: "subscription_admin_verified#1.0.0";
                        subscription_admin_verified: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • Optionalget?: undefined
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { collection_id: string };
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      DATA_TYPE: "subscription_admin_verified#1.0.0";
                      subscription_admin_verified: boolean;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Set the subscription_admin_verified property for a collection

      Set the subscription_admin_verified property of the collection. This only be invoked if the endpoint is associated with a subscription and the caller is a subscription administrator for that subscription.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { collection_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { collection_id: string }
          • collection_id: string

            Id of the collection

        • Optionalquery?: undefined
      • requestBody: {
            content: {
                "application/json": {
                    DATA_TYPE: "subscription_admin_verified#1.0.0";
                    subscription_admin_verified: boolean;
                };
            };
        }

        New value of the subscription_admin_verified property of this collection

      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Set collection subscription admin verified response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/collections/batch_delete": {
        delete?: undefined;
        get?: undefined;
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": { DATA_TYPE: "batch#1.0.0"; ids?: string[] };
                };
            };
            responses: {
                "202": {
                    content: {
                        "application/json": {
                            code?: "success";
                            data?: { DATA_TYPE: "batch#1.0.0"; ids?: (...)
                            | (...) }[];
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": | (
                            { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                        )
                        | (
                            { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "batch#1.0.0"; ids?: string[] | undefined; } | undefined; } & ({ DATA_TYPE: "result#1.0.0"; ... 6 more ...; message?: string | undefined; } | { ...; })
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • Optionalget?: undefined
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • post: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": { DATA_TYPE: "batch#1.0.0"; ids?: string[] };
              };
          };
          responses: {
              "202": {
                  content: {
                      "application/json": {
                          code?: "success";
                          data?: { DATA_TYPE: "batch#1.0.0"; ids?: (...)
                          | (...) }[];
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                      )
                      | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "batch#1.0.0"; ids?: string[] | undefined; } | undefined; } & ({ DATA_TYPE: "result#1.0.0"; ... 6 more ...; message?: string | undefined; } | { ...; })
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Delete multiple guest collections

      Initiate the deletion of multiple guest collections. The input document contains a list of the IDs of collections to delete.

      If any of the collections have collection_type of "mapped", then this
      operation returns an error indicating which ones were not valid or this
      operation.
      
      If any of the collections do not exist or are already deleted, then they
      are silently ignored.
      
      Deletion does not happen immediately; it is handled in the background by
      the GCS Manager Assistant process.
      
      On success, this operation returns a message body containing the list of
      collections from the input that this GCS manager node will delete.
      
      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json": { DATA_TYPE: "batch#1.0.0"; ids?: string[] };
            };
        }

        List of collection ids to delete

      • responses: {
            "202": {
                content: {
                    "application/json": {
                        code?: "success";
                        data?: { DATA_TYPE: "batch#1.0.0"; ids?: (...) | (...) }[];
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": | (
                        { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                    )
                    | (
                        { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "batch#1.0.0"; ids?: string[] | undefined; } | undefined; } & ({ DATA_TYPE: "result#1.0.0"; ... 6 more ...; message?: string | undefined; } | { ...; })
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 202: {
              content: {
                  "application/json": {
                      code?: "success";
                      data?: { DATA_TYPE: "batch#1.0.0"; ids?: (...) | (...) }[];
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Delete multiple collections response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json":
                      | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                      )
                      | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "batch#1.0.0"; ids?: string[] | undefined; } | undefined; } & ({ DATA_TYPE: "result#1.0.0"; ... 6 more ...; message?: string | undefined; } | { ...; })
                      );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/collections/check": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    filter?: string[];
                    mapped_collection_id?: string;
                    marker?: string;
                    page_size?: number;
                    storage_gateway_id?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            code?: "success";
                            data?: {
                                DATA_TYPE: "check_result#1.0.0";
                                error?: (...)
                                | (...)
                                | (...);
                                id?: (...) | (...);
                                message?: (...) | (...);
                            }[];
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: {
                  filter?: string[];
                  mapped_collection_id?: string;
                  marker?: string;
                  page_size?: number;
                  storage_gateway_id?: string;
              };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          code?: "success";
                          data?: {
                              DATA_TYPE: "check_result#1.0.0";
                              error?: (...)
                              | (...)
                              | (...);
                              id?: (...) | (...);
                              message?: (...) | (...);
                          }[];
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Check the collections on this endpoint

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                filter?: string[];
                mapped_collection_id?: string;
                marker?: string;
                page_size?: number;
                storage_gateway_id?: string;
            };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • Optionalquery?: {
              filter?: string[];
              mapped_collection_id?: string;
              marker?: string;
              page_size?: number;
              storage_gateway_id?: string;
          }
          • Optionalfilter?: string[]

            Filter to apply to the return set

          • Optionalmapped_collection_id?: string

            Filter collections which were created using this mapped_collection_id

          • Optionalmarker?: string

            Pagination marker for a paginated response

          • Optionalpage_size?: number

            Maximum page size for a paginated response

          • Optionalstorage_gateway_id?: string

            Filter collections which were created using this storage_gateway_id

      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        code?: "success";
                        data?: {
                            DATA_TYPE: "check_result#1.0.0";
                            error?: (...) | (...) | (...);
                            id?: (...) | (...);
                            message?: (...) | (...);
                        }[];
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      code?: "success";
                      data?: {
                          DATA_TYPE: "check_result#1.0.0";
                          error?: (...) | (...) | (...);
                          id?: (...) | (...);
                          message?: (...) | (...);
                      }[];
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Check collections response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/endpoint": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { include?: "endpoint"[] };
            };
            requestBody: {
                content: {
                    "application/json": | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal"
                        | "minimal"
                        | "aggressive"
                        | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    }
                    | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal" | "minimal" | "aggressive" | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    }
                    | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal" | "minimal" | "aggressive" | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { include?: "endpoint"[] };
            };
            requestBody: {
                content: {
                    "application/json": | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal"
                        | "minimal"
                        | "aggressive"
                        | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    }
                    | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal" | "minimal" | "aggressive" | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    }
                    | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal" | "minimal" | "aggressive" | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Get endpoint definition

      Get the endpoint.

      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Get endpoint response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • patch: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: { include?: "endpoint"[] };
          };
          requestBody: {
              content: {
                  "application/json": | {
                      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?: string[];
                      max_concurrency?: number;
                      max_parallelism?: number;
                      network_use: "normal"
                      | "minimal"
                      | "aggressive"
                      | "custom";
                      organization?: string;
                      preferred_concurrency?: number;
                      preferred_parallelism?: number;
                      public: boolean;
                      subscription_id?: null | string;
                  }
                  | {
                      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?: string[];
                      max_concurrency?: number;
                      max_parallelism?: number;
                      network_use: "normal" | "minimal" | "aggressive" | "custom";
                      organization?: string;
                      preferred_concurrency?: number;
                      preferred_parallelism?: number;
                      public: boolean;
                      subscription_id?: null | string;
                  }
                  | {
                      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?: string[];
                      max_concurrency?: number;
                      max_parallelism?: number;
                      network_use: "normal" | "minimal" | "aggressive" | "custom";
                      organization?: string;
                      preferred_concurrency?: number;
                      preferred_parallelism?: number;
                      public: boolean;
                      subscription_id?: null | string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Update an endpoint

      Update the Endpoint document, changing only the properties included in the input. Items explicitly set to null in the input are removed from the endpoint document. This operation optionally returns the endpoint after applying the changes in the input if the include=endpoint query parameter is passed to this operation.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { include?: "endpoint"[] };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • Optionalquery?: { include?: "endpoint"[] }
          • Optionalinclude?: "endpoint"[]

            List of document types to include in the response

      • requestBody: {
            content: {
                "application/json":
                    | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal"
                        | "minimal"
                        | "aggressive"
                        | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    }
                    | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal" | "minimal" | "aggressive" | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    }
                    | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal" | "minimal" | "aggressive" | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    };
            };
        }

        Changes to the Endpoint document

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Update endpoint response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: { include?: "endpoint"[] };
          };
          requestBody: {
              content: {
                  "application/json": | {
                      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?: string[];
                      max_concurrency?: number;
                      max_parallelism?: number;
                      network_use: "normal"
                      | "minimal"
                      | "aggressive"
                      | "custom";
                      organization?: string;
                      preferred_concurrency?: number;
                      preferred_parallelism?: number;
                      public: boolean;
                      subscription_id?: null | string;
                  }
                  | {
                      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?: string[];
                      max_concurrency?: number;
                      max_parallelism?: number;
                      network_use: "normal" | "minimal" | "aggressive" | "custom";
                      organization?: string;
                      preferred_concurrency?: number;
                      preferred_parallelism?: number;
                      public: boolean;
                      subscription_id?: null | string;
                  }
                  | {
                      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?: string[];
                      max_concurrency?: number;
                      max_parallelism?: number;
                      network_use: "normal" | "minimal" | "aggressive" | "custom";
                      organization?: string;
                      preferred_concurrency?: number;
                      preferred_parallelism?: number;
                      public: boolean;
                      subscription_id?: null | string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Update an endpoint

      Update the endpoint document, replacing all properties with those in the input. This operation optionally returns the Endpoint after the update if the include=endpoint query parameter is passed to this operation.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { include?: "endpoint"[] };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • Optionalquery?: { include?: "endpoint"[] }
          • Optionalinclude?: "endpoint"[]

            List of document types to include in the response

      • requestBody: {
            content: {
                "application/json":
                    | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal"
                        | "minimal"
                        | "aggressive"
                        | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    }
                    | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal" | "minimal" | "aggressive" | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    }
                    | {
                        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?: string[];
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use: "normal" | "minimal" | "aggressive" | "custom";
                        organization?: string;
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        public: boolean;
                        subscription_id?: null | string;
                    };
            };
        }

        New endpoint document

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Update endpoint response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/endpoint/domain": {
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        certificate?: null
                        | string;
                        certificate_chain?: null | string;
                        certificate_chain_path?: null | string;
                        certificate_path?: null | string;
                        DATA_TYPE: "domain#1.0.0";
                        domain_name: string;
                        private_key?: null | string;
                        private_key_path?: null | string;
                        wildcard: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • delete: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Delete endpoint domain

      Delete the custom endpoint domain. This will cause the endpoint to revert to using a data.globus.org domain for the GCS Manager and any collections which do not have custom domains associated with them.

      This requires an `administrator` role on the Endpoint.
      
      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Delete endpoint domain response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Get endpoint domain

      Get the custom domain document associated with this endpoint.

      This requires an `administrator` role on the Endpoint.
      
      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Get endpoint domain response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      certificate?: null
                      | string;
                      certificate_chain?: null | string;
                      certificate_chain_path?: null | string;
                      certificate_path?: null | string;
                      DATA_TYPE: "domain#1.0.0";
                      domain_name: string;
                      private_key?: null | string;
                      private_key_path?: null | string;
                      wildcard: boolean;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Set endpoint domain

      Register a new custom domain and certificate to to be used to serve the endpoint or collection.

      The domain is used for the endpoint itself. If the `wildcard`
      property is set to true, then all all collections associated
      with that endpoint that do not have a custom domain will be
      updated to use subdomains of that domain. Otherwise, only the
      endpoint will use that domain.
      
      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json": {
                    certificate?: null | string;
                    certificate_chain?: null | string;
                    certificate_chain_path?: null | string;
                    certificate_path?: null | string;
                    DATA_TYPE: "domain#1.0.0";
                    domain_name: string;
                    private_key?: null | string;
                    private_key_path?: null | string;
                    wildcard: boolean;
                };
            };
        }

        Put domain request

      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Set endpoint domain response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/endpoint/owner": {
        delete?: undefined;
        get?: undefined;
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        DATA_TYPE: "endpoint_owner#1.0.0";
                        identity_id: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • Optionalget?: undefined
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      DATA_TYPE: "endpoint_owner#1.0.0";
                      identity_id: string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Set endpoint owner

      Assign a new identity to act as the endpoint owner.

      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json": {
                    DATA_TYPE: "endpoint_owner#1.0.0";
                    identity_id: string;
                };
            };
        }
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Set endpoint owner response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/endpoint/owner_string": {
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        get?: undefined;
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        DATA_TYPE: "owner_string#1.0.0";
                        identity_id?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • delete: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Reset advertised owner string

      Reset the endpoint's advertised owner to the client_id of the endpoint.

      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Reset advertised owner string response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

    • Optionalget?: undefined
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      DATA_TYPE: "owner_string#1.0.0";
                      identity_id?: string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Set endpoint owner string

      Modify the endpoint's advertised owner to match the username of one of the caller's linked identities. The identity must have an administrator role on the endpoint.

      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json": {
                    DATA_TYPE: "owner_string#1.0.0";
                    identity_id?: string;
                };
            };
        }

        New endpoint owner_string

      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Set endpoint owner string response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/endpoint/subscription_id": {
        delete?: undefined;
        get?: undefined;
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        DATA_TYPE: "endpoint_subscription#1.0.0";
                        subscription_id: null
                        | string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • Optionalget?: undefined
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      DATA_TYPE: "endpoint_subscription#1.0.0";
                      subscription_id: null
                      | string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Set the endpoint subscription id

      Change the subscription_id of this endpoint. Because subscription is enforcement is handled in a separate service than GCS and an organization's subscription manager may not be the administrator of the endpoint, this API has allows for both role-based authorization and subscription manager based authorization.

      The authorization allows the following:
      
      <dl>
      <dt>Caller has a role but is not subscription manager</dt>
      <dd>Remove an existing subscription from an endpoint, even if the
          caller is not a manager for that subscription.</dd>
      
      <dt>Caller does not have a role but is a subscription manager</dt>
      <dd>Set the subscription_id to a subscription they manage on a
          currently-unmanaged endpoint or remove the subscription_id from
          the endpoint if it is one that they managed.</dd>
      
      <dt>Caller has a role and is a subscription manager</dt>
      <dd>Set the subscription_id to a subscription they manage on an endpoint
          even if it is currently managed by a subscription that the caller is
          not a manager of.</dd>
      </dl>
      
      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json": {
                    DATA_TYPE: "endpoint_subscription#1.0.0";
                    subscription_id: null | string;
                };
            };
        }

        Endpoint subscription request

      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Set endpoint owner response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/info": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { marker?: string; page_size?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: { marker?: string; page_size?: number };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Get GCS service information

      Returns information about the GCS Manager service for this endpoint, as well as additional features such as connectors that it provides as extensions to the API defined in this document.

      This operation can be performed without an `Authorization` header.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { marker?: string; page_size?: number };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • Optionalquery?: { marker?: string; page_size?: number }
          • Optionalmarker?: string

            Pagination marker for a paginated response

          • Optionalpage_size?: number

            Maximum page size for a paginated response

      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Get info response

    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/nodes": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { marker?: string; page_size?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": | {
                        DATA_TYPE: "node#1.0.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active"
                        | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        DATA_TYPE: "node#1.1.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        data_interface6?: null | string;
                        DATA_TYPE: "node#1.2.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": | (
                            { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                        )
                        | (
                            { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "limit_exceeded#1.0.0"; } | undefined; } & ({ DATA_TYPE: "result#1.0.0"; ... 6 more ...; message?: string | undefined; } | { ...; })
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: { marker?: string; page_size?: number };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      List endpoint nodes

      Get the endpoint's list of nodes.

      This operation requires either the endpoint to have the `public` property
      set to true or the caller to have a role that allows viewing this endpoint
      or a collection on it.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { marker?: string; page_size?: number };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • Optionalquery?: { marker?: string; page_size?: number }
          • Optionalmarker?: string

            Pagination marker for a paginated response

          • Optionalpage_size?: number

            Maximum page size for a paginated response

      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          List nodes response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • post: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": | {
                      DATA_TYPE: "node#1.0.0";
                      id?: string;
                      incoming_port_range?: number[];
                      ip_addresses: string[];
                      outgoing_port_range?: number[];
                      status: "active"
                      | "inactive";
                  }
                  | {
                      data_interface?: null
                      | string;
                      DATA_TYPE: "node#1.1.0";
                      id?: string;
                      incoming_port_range?: number[];
                      ip_addresses: string[];
                      outgoing_port_range?: number[];
                      status: "active" | "inactive";
                  }
                  | {
                      data_interface?: null
                      | string;
                      data_interface6?: null | string;
                      DATA_TYPE: "node#1.2.0";
                      id?: string;
                      incoming_port_range?: number[];
                      ip_addresses: string[];
                      outgoing_port_range?: number[];
                      status: "active" | "inactive";
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                      )
                      | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "limit_exceeded#1.0.0"; } | undefined; } & ({ DATA_TYPE: "result#1.0.0"; ... 6 more ...; message?: string | undefined; } | { ...; })
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Create a new node

      Create a new node to describe a host which is providing service for this endpoint. This adds the node's IP address to the DNS record for this endpoint's GCS Manager and for all collections.

      On success returns a copy of the created Node with the system generated id
      added.
      
      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json":
                    | {
                        DATA_TYPE: "node#1.0.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active"
                        | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        DATA_TYPE: "node#1.1.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        data_interface6?: null | string;
                        DATA_TYPE: "node#1.2.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    };
            };
        }

        New node definition

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": | (
                        { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                    )
                    | (
                        { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "limit_exceeded#1.0.0"; } | undefined; } & ({ DATA_TYPE: "result#1.0.0"; ... 6 more ...; message?: string | undefined; } | { ...; })
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Create node response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json":
                      | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                      )
                      | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "limit_exceeded#1.0.0"; } | undefined; } & ({ DATA_TYPE: "result#1.0.0"; ... 6 more ...; message?: string | undefined; } | { ...; })
                      );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/nodes/{node_id}": {
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { node_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { node_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { node_id: string };
                query?: { include?: "node"[] };
            };
            requestBody: {
                content: {
                    "application/json": | {
                        DATA_TYPE: "node#1.0.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active"
                        | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        DATA_TYPE: "node#1.1.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        data_interface6?: null | string;
                        DATA_TYPE: "node#1.2.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { node_id: string };
                query?: { include?: "node"[] };
            };
            requestBody: {
                content: {
                    "application/json": | {
                        DATA_TYPE: "node#1.0.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active"
                        | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        DATA_TYPE: "node#1.1.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        data_interface6?: null | string;
                        DATA_TYPE: "node#1.2.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • delete: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { node_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Delete a node

      Delete the Node document for the given node.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { node_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { node_id: string }
          • node_id: string

            Id of the node

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Delete node response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { node_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Get node

      Get information about one of the endpoint's node.

      This operation requires either the endpoint to have the public property set
      to true or the caller to have a role that allows viewing this Endpoint or a
      Collection on it.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { node_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { node_id: string }
          • node_id: string

            Id of the node

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Get node response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • patch: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { node_id: string };
              query?: { include?: "node"[] };
          };
          requestBody: {
              content: {
                  "application/json": | {
                      DATA_TYPE: "node#1.0.0";
                      id?: string;
                      incoming_port_range?: number[];
                      ip_addresses: string[];
                      outgoing_port_range?: number[];
                      status: "active"
                      | "inactive";
                  }
                  | {
                      data_interface?: null
                      | string;
                      DATA_TYPE: "node#1.1.0";
                      id?: string;
                      incoming_port_range?: number[];
                      ip_addresses: string[];
                      outgoing_port_range?: number[];
                      status: "active" | "inactive";
                  }
                  | {
                      data_interface?: null
                      | string;
                      data_interface6?: null | string;
                      DATA_TYPE: "node#1.2.0";
                      id?: string;
                      incoming_port_range?: number[];
                      ip_addresses: string[];
                      outgoing_port_range?: number[];
                      status: "active" | "inactive";
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Update a node

      Update a node, changing only the properties included in the input document. Items explicitly set to null in the input are removed from the Node document. This operation optionally returns the node definition after applying the changes in the input if the include=node query parameter is passed to this operation.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { node_id: string };
            query?: { include?: "node"[] };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { node_id: string }
          • node_id: string

            Id of the node

        • Optionalquery?: { include?: "node"[] }
          • Optionalinclude?: "node"[]

            Flag indicating whether to request all roles assignments for the endpoint or collection.

      • requestBody: {
            content: {
                "application/json":
                    | {
                        DATA_TYPE: "node#1.0.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active"
                        | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        DATA_TYPE: "node#1.1.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        data_interface6?: null | string;
                        DATA_TYPE: "node#1.2.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    };
            };
        }

        Updates to node definition

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Update node response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { node_id: string };
              query?: { include?: "node"[] };
          };
          requestBody: {
              content: {
                  "application/json": | {
                      DATA_TYPE: "node#1.0.0";
                      id?: string;
                      incoming_port_range?: number[];
                      ip_addresses: string[];
                      outgoing_port_range?: number[];
                      status: "active"
                      | "inactive";
                  }
                  | {
                      data_interface?: null
                      | string;
                      DATA_TYPE: "node#1.1.0";
                      id?: string;
                      incoming_port_range?: number[];
                      ip_addresses: string[];
                      outgoing_port_range?: number[];
                      status: "active" | "inactive";
                  }
                  | {
                      data_interface?: null
                      | string;
                      data_interface6?: null | string;
                      DATA_TYPE: "node#1.2.0";
                      id?: string;
                      incoming_port_range?: number[];
                      ip_addresses: string[];
                      outgoing_port_range?: number[];
                      status: "active" | "inactive";
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Update a node

      Update a node, replacing all properties with those in the input. This operation optionally returns the node's definition after the update if the include=node query parameter is passed to this operation.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { node_id: string };
            query?: { include?: "node"[] };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { node_id: string }
          • node_id: string

            Id of the node

        • Optionalquery?: { include?: "node"[] }
          • Optionalinclude?: "node"[]

            Flag indicating whether to request all roles assignments for the endpoint or collection.

      • requestBody: {
            content: {
                "application/json":
                    | {
                        DATA_TYPE: "node#1.0.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active"
                        | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        DATA_TYPE: "node#1.1.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    }
                    | {
                        data_interface?: null
                        | string;
                        data_interface6?: null | string;
                        DATA_TYPE: "node#1.2.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    };
            };
        }

        New node definition

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Update node response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/roles": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    collection_id?: string;
                    include?: "all_roles"[];
                    marker?: string;
                    page_size?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        collection?: null
                        | string;
                        DATA_TYPE: "role#1.0.0";
                        id?: string;
                        principal: string;
                        role:
                            | "owner"
                            | "administrator"
                            | "access_manager"
                            | "activity_manager"
                            | "activity_monitor"
                            | "access_monitor";
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": | (
                            { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                        )
                        | (
                            { code?: "subscription_required" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "subscription_required#1.0.0"; add_ons?: string[] | undefined; subscription_level?: string | undefined; } | undefined; } & ({ ...; } | { ...; })
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "409": {
                    content: {
                        "application/json": { code?: "exists"; http_response_code?: 409 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: {
                  collection_id?: string;
                  include?: "all_roles"[];
                  marker?: string;
                  page_size?: number;
              };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      List roles

      Get the endpoint's or a collection's list of role associations.

      If the `collection_id` query parameter is passed to this operation, then
      the roles related to that collection are returned. Otherwise, this
      operation returns endpoint roles.
      
      The `include` parameter determines whether this operation returns all roles
      relevant to the resource or only those that the caller has.
      
      To obtain information about *all* roles, the caller must pass the
      "all_roles" value as the value of the "include" parameter.  This requires
      the "administrator" role for the endpoint Or Collection the role is
      associated with.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                collection_id?: string;
                include?: "all_roles"[];
                marker?: string;
                page_size?: number;
            };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • Optionalquery?: {
              collection_id?: string;
              include?: "all_roles"[];
              marker?: string;
              page_size?: number;
          }
          • Optionalcollection_id?: string

            ID of the collection

          • Optionalinclude?: "all_roles"[]

            Flag indicating whether to request all roles assignments for the endpoint or collection.

          • Optionalmarker?: string

            Pagination marker for a paginated response

          • Optionalpage_size?: number

            Maximum page size for a paginated response

      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          List roles response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • post: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      collection?: null
                      | string;
                      DATA_TYPE: "role#1.0.0";
                      id?: string;
                      principal: string;
                      role:
                          | "owner"
                          | "administrator"
                          | "access_manager"
                          | "activity_manager"
                          | "activity_monitor"
                          | "access_monitor";
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                      )
                      | (
                          { code?: "subscription_required" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "subscription_required#1.0.0"; add_ons?: string[] | undefined; subscription_level?: string | undefined; } | undefined; } & ({ ...; } | { ...; })
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "409": {
                  content: {
                      "application/json": { code?: "exists"; http_response_code?: 409 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Create a role

      Assign a role to an identity or group for the endpoint or a collection.

      See
      https://docs.globus.org/globus-connect-server/v5.4/reference/endpoint/role/[endpoint roles]
      and
      https://docs.globus.org/globus-connect-server/v5.4/reference/collection/role/[collection
      roles] for description of the available roles.
      
      To assign a role to a collection, include the collection's ID in the
      collection property of the input document.
      
      
      When creating an endpoint role, the caller must have then
      `endpoint:administrator` role assigned to one of their identities.
      
      When creating a collection role for a *mapped* collection, the caller must
      have either the `endpoint:administrator` role or the
      `collection:administrator` role assigned for that collection.
      
      When creating a collection role for a *guest* collection, the caller must have
      a `collection:administrator` role on the collection.
      
      On success returns a copy of the created role with the system generated id
      added.
      
      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json": {
                    collection?: null | string;
                    DATA_TYPE: "role#1.0.0";
                    id?: string;
                    principal: string;
                    role:
                        | "owner"
                        | "administrator"
                        | "access_manager"
                        | "activity_manager"
                        | "activity_monitor"
                        | "access_monitor";
                };
            };
        }

        New role assignment document

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": | (
                        { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                    )
                    | (
                        { code?: "subscription_required" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "subscription_required#1.0.0"; add_ons?: string[] | undefined; subscription_level?: string | undefined; } | undefined; } & ({ ...; } | { ...; })
                    );
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": { code?: "exists"; http_response_code?: 409 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Create role response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Bad Request

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json":
                      | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                      )
                      | (
                          { code?: "subscription_required" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "subscription_required#1.0.0"; add_ons?: string[] | undefined; subscription_level?: string | undefined; } | undefined; } & ({ ...; } | { ...; })
                      );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 409: {
              content: {
                  "application/json": { code?: "exists"; http_response_code?: 409 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Conflict

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/roles/{role_id}": {
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { role_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": | (
                            { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                        )
                        | (
                            { code?: "subscription_required" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "subscription_required#1.0.0"; add_ons?: string[] | undefined; subscription_level?: string | undefined; } | undefined; } & ({ ...; } | { ...; })
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "409": {
                    content: {
                        "application/json": { code?: "conflict"; http_response_code?: 409 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { role_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • delete: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { role_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                      )
                      | (
                          { code?: "subscription_required" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "subscription_required#1.0.0"; add_ons?: string[] | undefined; subscription_level?: string | undefined; } | undefined; } & ({ ...; } | { ...; })
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "409": {
                  content: {
                      "application/json": { code?: "conflict"; http_response_code?: 409 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Delete a role

      Delete one of the endpoint or collection roles on this endpoint.

      To delete an endpoint role, the caller must have an `endpoint:administrator`
      role.
      
      To delete a *mapped* collection role, the caller must have one of
      `endpoint:administrator` or `collection:administrator` role for the
      collection.
      
      To delete a *guest* collection role, the caller must have one of
      `endpoint:administrator`, `collection:administrator` role for the
      guest collection, or `collection:administrator` for the mapped collection
      the guest collection was created on.
      
      The `endpoint:owner`, or the `collection:administrator` role for the creator
      of a collection may not be deleted using this API.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { role_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { role_id: string }
          • role_id: string

            Id of the role

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": | (
                        { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                    )
                    | (
                        { code?: "subscription_required" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "subscription_required#1.0.0"; add_ons?: string[] | undefined; subscription_level?: string | undefined; } | undefined; } & ({ ...; } | { ...; })
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": { code?: "conflict"; http_response_code?: 409 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Delete role response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json":
                      | (
                          { code?: "permission_denied" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: { collection?: string | undefined; role: "owner" | ... 4 more ... | "access_monitor"; }[] | undefined; } | undefined; } & ({ ...; } | { ...; })
                      )
                      | (
                          { code?: "subscription_required" | undefined; http_response_code?: 403 | undefined; detail?: string | { DATA_TYPE: "subscription_required#1.0.0"; add_ons?: string[] | undefined; subscription_level?: string | undefined; } | undefined; } & ({ ...; } | { ...; })
                      );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 409: {
              content: {
                  "application/json": { code?: "conflict"; http_response_code?: 409 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Conflict

    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { role_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Get a role

      Get one of the role assignments on this endpoint.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { role_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { role_id: string }
          • role_id: string

            Id of the role

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Get role response

        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/sharing_policies": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: {
                    collection_id: string;
                    marker?: string;
                    page_size?: number;
                    username?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            code?: "success";
                            data?: {
                                collection_id: string;
                                DATA_TYPE: "sharing_policy#1.0.0";
                                id?: (...)
                                | (...);
                                sharing_restrict_paths: {
                                    DATA_TYPE: ...;
                                    none?: ...;
                                    read?: ...;
                                    read_write?: ...;
                                };
                                users?: (...)
                                | (...);
                            }[];
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        collection_id: string;
                        DATA_TYPE: "sharing_policy#1.0.0";
                        id?: string;
                        sharing_restrict_paths: {
                            DATA_TYPE: "path_restrictions#1.0.0";
                            none?: string[];
                            read?: string[];
                            read_write?: string[];
                        };
                        users?: string[];
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            code?: "success";
                            data?: {
                                collection_id: string;
                                DATA_TYPE: "sharing_policy#1.0.0";
                                id?: (...)
                                | (...);
                                sharing_restrict_paths: {
                                    DATA_TYPE: ...;
                                    none?: ...;
                                    read?: ...;
                                    read_write?: ...;
                                };
                                users?: (...)
                                | (...);
                            }[];
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query: {
                  collection_id: string;
                  marker?: string;
                  page_size?: number;
                  username?: string;
              };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          code?: "success";
                          data?: {
                              collection_id: string;
                              DATA_TYPE: "sharing_policy#1.0.0";
                              id?: (...)
                              | (...);
                              sharing_restrict_paths: {
                                  DATA_TYPE: ...;
                                  none?: ...;
                                  read?: ...;
                                  read_write?: ...;
                              };
                              users?: (...)
                              | (...);
                          }[];
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      List sharing policies

      List the sharing policies for a mapped collection. This may return a paginated result; the marker and page_size query parameters can be used to obtain the next page of response data for the query.

      If the `username` query parameter is passed to this function then only the
      policies which are relevant to the given username are returned. This will
      include policies where the **users** property is `null` or contains the
      given username.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: {
                collection_id: string;
                marker?: string;
                page_size?: number;
                username?: string;
            };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • query: {
              collection_id: string;
              marker?: string;
              page_size?: number;
              username?: string;
          }
          • collection_id: string

            ID of the collection

          • Optionalmarker?: string

            Pagination marker for a paginated response

          • Optionalpage_size?: number

            Maximum page size for a paginated response

          • Optionalusername?: string

            Username to query information about

      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        code?: "success";
                        data?: {
                            collection_id: string;
                            DATA_TYPE: "sharing_policy#1.0.0";
                            id?: (...) | (...);
                            sharing_restrict_paths: {
                                DATA_TYPE: ...;
                                none?: ...;
                                read?: ...;
                                read_write?: ...;
                            };
                            users?: (...)
                            | (...);
                        }[];
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      code?: "success";
                      data?: {
                          collection_id: string;
                          DATA_TYPE: "sharing_policy#1.0.0";
                          id?: (...) | (...);
                          sharing_restrict_paths: {
                              DATA_TYPE: ...;
                              none?: ...;
                              read?: ...;
                              read_write?: ...;
                          };
                          users?: (...)
                          | (...);
                      }[];
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          List sharing policies response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • post: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      collection_id: string;
                      DATA_TYPE: "sharing_policy#1.0.0";
                      id?: string;
                      sharing_restrict_paths: {
                          DATA_TYPE: "path_restrictions#1.0.0";
                          none?: string[];
                          read?: string[];
                          read_write?: string[];
                      };
                      users?: string[];
                  };
              };
          };
          responses: {
              "201": {
                  content: {
                      "application/json": {
                          code?: "success";
                          data?: {
                              collection_id: string;
                              DATA_TYPE: "sharing_policy#1.0.0";
                              id?: (...)
                              | (...);
                              sharing_restrict_paths: {
                                  DATA_TYPE: ...;
                                  none?: ...;
                                  read?: ...;
                                  read_write?: ...;
                              };
                              users?: (...)
                              | (...);
                          }[];
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Create a sharing policy

      Create a new sharing policy document for a mapped collection. This new document will be added to the set of sharing policy documents for this collection. The sharing policy documents which either have no user constraint, or match the guest collection owner are used to determine which paths are available to be shared.

      This returns the policy document with the "id" field populated with the
      assigned ID of this policy.
      
      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json": {
                    collection_id: string;
                    DATA_TYPE: "sharing_policy#1.0.0";
                    id?: string;
                    sharing_restrict_paths: {
                        DATA_TYPE: "path_restrictions#1.0.0";
                        none?: string[];
                        read?: string[];
                        read_write?: string[];
                    };
                    users?: string[];
                };
            };
        }

        New sharing policy

      • responses: {
            "201": {
                content: {
                    "application/json": {
                        code?: "success";
                        data?: {
                            collection_id: string;
                            DATA_TYPE: "sharing_policy#1.0.0";
                            id?: (...) | (...);
                            sharing_restrict_paths: {
                                DATA_TYPE: ...;
                                none?: ...;
                                read?: ...;
                                read_write?: ...;
                            };
                            users?: (...)
                            | (...);
                        }[];
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 201: {
              content: {
                  "application/json": {
                      code?: "success";
                      data?: {
                          collection_id: string;
                          DATA_TYPE: "sharing_policy#1.0.0";
                          id?: (...) | (...);
                          sharing_restrict_paths: {
                              DATA_TYPE: ...;
                              none?: ...;
                              read?: ...;
                              read_write?: ...;
                          };
                          users?: (...)
                          | (...);
                      }[];
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          List sharing policies response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/sharing_policies/{sharing_policy_id}": {
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { sharing_policy_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { sharing_policy_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            code?: "success";
                            data?: {
                                collection_id: string;
                                DATA_TYPE: "sharing_policy#1.0.0";
                                id?: (...)
                                | (...);
                                sharing_restrict_paths: {
                                    DATA_TYPE: ...;
                                    none?: ...;
                                    read?: ...;
                                    read_write?: ...;
                                };
                                users?: (...)
                                | (...);
                            }[];
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • delete: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { sharing_policy_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Delete a sharing policy

      Delete a sharing policy.

      This may alter the behavior of existing guest collections, if the policies
      change the visible parts of the storage gateway's virtual file system for
      the guest collection creator.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { sharing_policy_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { sharing_policy_id: string }
          • sharing_policy_id: string

            Id of the sharing policy

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Delete sharing policy response

        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { sharing_policy_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          code?: "success";
                          data?: {
                              collection_id: string;
                              DATA_TYPE: "sharing_policy#1.0.0";
                              id?: (...)
                              | (...);
                              sharing_restrict_paths: {
                                  DATA_TYPE: ...;
                                  none?: ...;
                                  read?: ...;
                                  read_write?: ...;
                              };
                              users?: (...)
                              | (...);
                          }[];
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Get a sharing policy

      Get a sharing policy.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { sharing_policy_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { sharing_policy_id: string }
          • sharing_policy_id: string

            Id of the sharing policy

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        code?: "success";
                        data?: {
                            collection_id: string;
                            DATA_TYPE: "sharing_policy#1.0.0";
                            id?: (...) | (...);
                            sharing_restrict_paths: {
                                DATA_TYPE: ...;
                                none?: ...;
                                read?: ...;
                                read_write?: ...;
                            };
                            users?: (...)
                            | (...);
                        }[];
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      code?: "success";
                      data?: {
                          collection_id: string;
                          DATA_TYPE: "sharing_policy#1.0.0";
                          id?: (...) | (...);
                          sharing_restrict_paths: {
                              DATA_TYPE: ...;
                              none?: ...;
                              read?: ...;
                              read_write?: ...;
                          };
                          users?: (...)
                          | (...);
                      }[];
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Get sharing policy response

        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/storage_gateways": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    include?: ("private_policies" | "accounts")[];
                    marker?: string;
                    page_size?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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?: ...;
                                }
                                | {
                                    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?: ...;
                                    max_concurrency?: ...;
                                    max_parallelism?: ...;
                                    network_use?: ...;
                                    policies?: ...;
                                    preferred_concurrency?: ...;
                                    preferred_parallelism?: ...;
                                    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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        authentication_assurance_timeout?: null
                        | number;
                        authentication_timeout_mins?: null | number;
                        connector_id?: string;
                        DATA_TYPE: "storage_gateway#1.3.0";
                        deleted?: boolean;
                        display_name?: string;
                        high_assurance?: null | boolean;
                        id?: string;
                        identity_mappings?:
                            | null
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            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?: ...;
                                }
                                | {
                                    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?: ...;
                                    max_concurrency?: ...;
                                    max_parallelism?: ...;
                                    network_use?: ...;
                                    policies?: ...;
                                    preferred_concurrency?: ...;
                                    preferred_parallelism?: ...;
                                    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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: {
                  include?: ("private_policies" | "accounts")[];
                  marker?: string;
                  page_size?: number;
              };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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?: ...;
                              }
                              | {
                                  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?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use?: ...;
                                  policies?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      List storage gateways

      List the storage gateways on an endpoint.

      The `include` query parameter controls what additional information is
      included in the `Result` document.  This operation requires either the
      endpoint to have the `public` property set to true, the caller to have a
      role that allows viewing this Endpoint, the user to have an identity which
      is allowed by the individual Storage Gateway policies, or an identity which
      has a permission for a collection created on this Storage Gateway.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                include?: ("private_policies" | "accounts")[];
                marker?: string;
                page_size?: number;
            };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • Optionalquery?: {
              include?: ("private_policies" | "accounts")[];
              marker?: string;
              page_size?: number;
          }
          • Optionalinclude?: ("private_policies" | "accounts")[]
          • Optionalmarker?: string

            Pagination marker for a paginated response

          • Optionalpage_size?: number

            Maximum page size for a paginated response

      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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?: ...;
                            }
                            | {
                                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?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                policies?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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?: ...;
                          }
                          | {
                              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?: ...;
                              max_concurrency?: ...;
                              max_parallelism?: ...;
                              network_use?: ...;
                              policies?: ...;
                              preferred_concurrency?: ...;
                              preferred_parallelism?: ...;
                              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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          List storage gateways response

    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • post: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": | {
                      allowed_domains?: string[];
                      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
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  }
                  | {
                      allowed_domains?: string[];
                      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
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      require_mfa: boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  }
                  | {
                      admin_managed_credentials: boolean;
                      allowed_domains?: string[];
                      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
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      require_mfa: boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  }
                  | {
                      admin_managed_credentials: boolean;
                      allowed_domains?: string[];
                      authentication_assurance_timeout?: null
                      | number;
                      authentication_timeout_mins?: null | number;
                      connector_id?: string;
                      DATA_TYPE: "storage_gateway#1.3.0";
                      deleted?: boolean;
                      display_name?: string;
                      high_assurance?: null | boolean;
                      id?: string;
                      identity_mappings?:
                          | null
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      max_concurrency?: number;
                      max_parallelism?: number;
                      network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      preferred_concurrency?: number;
                      preferred_parallelism?: number;
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      require_mfa: boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  };
              };
          };
          responses: {
              "201": {
                  content: {
                      "application/json": {
                          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?: ...;
                              }
                              | {
                                  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?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use?: ...;
                                  policies?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Create a storage gateway

      Create a storage gateway on an endpoint. On success, this operation returns a copy of the created storage gateway with the system generated id added.

      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json":
                    | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        authentication_assurance_timeout?: null
                        | number;
                        authentication_timeout_mins?: null | number;
                        connector_id?: string;
                        DATA_TYPE: "storage_gateway#1.3.0";
                        deleted?: boolean;
                        display_name?: string;
                        high_assurance?: null | boolean;
                        id?: string;
                        identity_mappings?:
                            | null
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    };
            };
        }

        New storage gateway definition

      • responses: {
            "201": {
                content: {
                    "application/json": {
                        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?: ...;
                            }
                            | {
                                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?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                policies?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 201: {
              content: {
                  "application/json": {
                      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?: ...;
                          }
                          | {
                              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?: ...;
                              max_concurrency?: ...;
                              max_parallelism?: ...;
                              network_use?: ...;
                              policies?: ...;
                              preferred_concurrency?: ...;
                              preferred_parallelism?: ...;
                              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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Post storage gateways response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/storage_gateways/{storage_gateway_id}": {
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { storage_gateway_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { storage_gateway_id: string };
                query?: { include?: ("private_policies" | "accounts")[] };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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?: ...;
                                }
                                | {
                                    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?: ...;
                                    max_concurrency?: ...;
                                    max_parallelism?: ...;
                                    network_use?: ...;
                                    policies?: ...;
                                    preferred_concurrency?: ...;
                                    preferred_parallelism?: ...;
                                    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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { storage_gateway_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        authentication_assurance_timeout?: null
                        | number;
                        authentication_timeout_mins?: null | number;
                        connector_id?: string;
                        DATA_TYPE: "storage_gateway#1.3.0";
                        deleted?: boolean;
                        display_name?: string;
                        high_assurance?: null | boolean;
                        id?: string;
                        identity_mappings?:
                            | null
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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?: ...;
                                }
                                | {
                                    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?: ...;
                                    max_concurrency?: ...;
                                    max_parallelism?: ...;
                                    network_use?: ...;
                                    policies?: ...;
                                    preferred_concurrency?: ...;
                                    preferred_parallelism?: ...;
                                    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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { storage_gateway_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        authentication_assurance_timeout?: null
                        | number;
                        authentication_timeout_mins?: null | number;
                        connector_id?: string;
                        DATA_TYPE: "storage_gateway#1.3.0";
                        deleted?: boolean;
                        display_name?: string;
                        high_assurance?: null | boolean;
                        id?: string;
                        identity_mappings?:
                            | null
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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?: ...;
                                }
                                | {
                                    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?: ...;
                                    max_concurrency?: ...;
                                    max_parallelism?: ...;
                                    network_use?: ...;
                                    policies?: ...;
                                    preferred_concurrency?: ...;
                                    preferred_parallelism?: ...;
                                    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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • delete: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { storage_gateway_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Delete a storage gateway

      Delete a storage gateway.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { storage_gateway_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { storage_gateway_id: string }
          • storage_gateway_id: string

            Id of the storage gateway

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Get storage gateways response

        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { storage_gateway_id: string };
              query?: { include?: ("private_policies" | "accounts")[] };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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?: ...;
                              }
                              | {
                                  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?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use?: ...;
                                  policies?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Get a storage gateway

      Get a storage gateway's definition.

      The `include` query parameter controls what additional information is
      included in the `Result` document. This operation requires either the
      endpoint to have the `public` property set to true, the caller to have a
      role that allows viewing this Endpoint, the user to have an identity which
      is allowed by the individual storage gateway policies, or an identity which
      has a permission for a collection created on this storage gateway.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { storage_gateway_id: string };
            query?: { include?: ("private_policies" | "accounts")[] };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { storage_gateway_id: string }
          • storage_gateway_id: string

            Id of the storage gateway

        • Optionalquery?: { include?: ("private_policies" | "accounts")[] }
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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?: ...;
                            }
                            | {
                                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?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                policies?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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?: ...;
                          }
                          | {
                              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?: ...;
                              max_concurrency?: ...;
                              max_parallelism?: ...;
                              network_use?: ...;
                              policies?: ...;
                              preferred_concurrency?: ...;
                              preferred_parallelism?: ...;
                              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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Get storage gateways response

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • patch: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { storage_gateway_id: string };
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": | {
                      allowed_domains?: string[];
                      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
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  }
                  | {
                      allowed_domains?: string[];
                      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
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      require_mfa: boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  }
                  | {
                      admin_managed_credentials: boolean;
                      allowed_domains?: string[];
                      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
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      require_mfa: boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  }
                  | {
                      admin_managed_credentials: boolean;
                      allowed_domains?: string[];
                      authentication_assurance_timeout?: null
                      | number;
                      authentication_timeout_mins?: null | number;
                      connector_id?: string;
                      DATA_TYPE: "storage_gateway#1.3.0";
                      deleted?: boolean;
                      display_name?: string;
                      high_assurance?: null | boolean;
                      id?: string;
                      identity_mappings?:
                          | null
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      max_concurrency?: number;
                      max_parallelism?: number;
                      network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      preferred_concurrency?: number;
                      preferred_parallelism?: number;
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      require_mfa: boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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?: ...;
                              }
                              | {
                                  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?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use?: ...;
                                  policies?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Update a storage gateway

      Update a storage gateway, change only the properties included in the input document. It returns a document containing the storage gateway after the changes have been applied. Items explicitly set to null in the input are removed from the storage gateway.

      Some properties are immutable, in general, the `id`,  `connector_id`, and
      `high_assurance` properties cannot be changed, though storage
      gateways may enforce additional restrictions.
      
      This operation may return a Conflict error if any collections exist which
      would be not be consistent with the change in Storage Gateway policies.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { storage_gateway_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { storage_gateway_id: string }
          • storage_gateway_id: string

            Id of the storage gateway

        • Optionalquery?: undefined
      • requestBody: {
            content: {
                "application/json":
                    | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        authentication_assurance_timeout?: null
                        | number;
                        authentication_timeout_mins?: null | number;
                        connector_id?: string;
                        DATA_TYPE: "storage_gateway#1.3.0";
                        deleted?: boolean;
                        display_name?: string;
                        high_assurance?: null | boolean;
                        id?: string;
                        identity_mappings?:
                            | null
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    };
            };
        }

        Updates to the storage gateway definition

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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?: ...;
                            }
                            | {
                                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?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                policies?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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?: ...;
                          }
                          | {
                              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?: ...;
                              max_concurrency?: ...;
                              max_parallelism?: ...;
                              network_use?: ...;
                              policies?: ...;
                              preferred_concurrency?: ...;
                              preferred_parallelism?: ...;
                              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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Update storage gateway response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { storage_gateway_id: string };
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": | {
                      allowed_domains?: string[];
                      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
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  }
                  | {
                      allowed_domains?: string[];
                      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
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      require_mfa: boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  }
                  | {
                      admin_managed_credentials: boolean;
                      allowed_domains?: string[];
                      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
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      require_mfa: boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  }
                  | {
                      admin_managed_credentials: boolean;
                      allowed_domains?: string[];
                      authentication_assurance_timeout?: null
                      | number;
                      authentication_timeout_mins?: null | number;
                      connector_id?: string;
                      DATA_TYPE: "storage_gateway#1.3.0";
                      deleted?: boolean;
                      display_name?: string;
                      high_assurance?: null | boolean;
                      id?: string;
                      identity_mappings?:
                          | null
                          | (
                              | {
                                  command?: (...)
                                  | (...);
                                  DATA_TYPE: "external_identity_mapping#1.0.0";
                              }
                              | {
                                  DATA_TYPE: "expression_identity_mapping#1.0.0";
                                  mappings?: (...)
                                  | (...);
                              }
                          )[];
                      load_dsi_module?: null
                      | string;
                      max_concurrency?: number;
                      max_parallelism?: number;
                      network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                      policies?:
                          | {
                              DATA_TYPE: "s3_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.1.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              DATA_TYPE: "s3_storage_policies#1.2.0";
                              s3_allow_multi_keys?: boolean;
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                              s3_requester_pays?: boolean;
                              s3_user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              account: null
                              | string;
                              adls: null | boolean;
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              auth_type: null | string;
                              client_id: null | string;
                              DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                              secret: null | string;
                              tenant: null | string;
                              user_credential_required?: boolean;
                          }
                          | {
                              bp_access_id_file?: string;
                              DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                              s3_endpoint?: string;
                          }
                          | {
                              boxAppSettings: {
                                  appAuth: {
                                      passphrase: string;
                                      privateKey: string;
                                      publicKeyID: string;
                                  };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              DATA_TYPE: "box_storage_policies#1.0.0";
                              enterpriseID: string;
                          }
                          | {
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.1.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              boxAppSettings?: {
                                  appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                  clientID: string;
                                  clientSecret: string;
                              };
                              client_id?: string;
                              DATA_TYPE: "box_storage_policies#1.2.0";
                              enterpriseID?: string;
                              secret?: string;
                              user_api_rate_limit?: number;
                              user_credential_required?: boolean;
                          }
                          | {
                              ceph_admin_key_id?: string;
                              ceph_admin_secret_key?: string;
                              DATA_TYPE: "ceph_storage_policies#1.0.0";
                              s3_buckets?: string[];
                              s3_endpoint?: string;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "dropbox_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              buckets?: null
                              | string[];
                              client_id: null | string;
                              DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                              projects?: null | string[];
                              secret: null | string;
                              service_account_key?: null | Record<string, unknown>;
                              user_credential_required?: boolean;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.0.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "google_drive_storage_policies#1.1.0";
                              secret: null | string;
                              user_api_rate_quota?: number;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.0.0";
                              uda_checksum: boolean;
                          }
                          | {
                              authentication_mech: "krb5"
                              | "unix";
                              authenticator: string;
                              DATA_TYPE: "hpss_storage_policies#1.1.0";
                              login_name?: string;
                              uda_checksum: boolean;
                          }
                          | {
                              DATA_TYPE: "irods_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              irods_authentication_file?: string;
                              irods_environment_file: string;
                          }
                          | {
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.0.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              allow_any_account?: boolean;
                              auth_callback?: string;
                              client_id: null
                              | string;
                              DATA_TYPE: "onedrive_storage_policies#1.1.0";
                              secret: null | string;
                              tenant?: null | string;
                              user_api_rate_limit?: number;
                          }
                          | {
                              DATA_TYPE: "posix_storage_policies#1.0.0";
                              groups_allow?: null
                              | string[];
                              groups_deny?: null | string[];
                          }
                          | {
                              DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                              environment?: { name: ...; value: ... }[];
                              groups_allow?: null | string[];
                              groups_deny?: null | string[];
                              stage_app: string;
                          };
                      preferred_concurrency?: number;
                      preferred_parallelism?: number;
                      process_user?: null
                      | string;
                      require_high_assurance?: null | boolean;
                      require_mfa: boolean;
                      restrict_paths?: unknown;
                      users_allow?: null | string[];
                      users_deny?: null | string[];
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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?: ...;
                              }
                              | {
                                  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?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use?: ...;
                                  policies?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Update a storage gateway

      Update a storage gateway, completely replacing its definition with the new document. It returns a document containing the storage gateway after the update has been applied.

      This operation may return a Conflict error if any collections exist which
      would be not be consistent with the change in Storage Gateway policies.
      
      The `high_assurance` property cannot be changed.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { storage_gateway_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { storage_gateway_id: string }
          • storage_gateway_id: string

            Id of the storage gateway

        • Optionalquery?: undefined
      • requestBody: {
            content: {
                "application/json":
                    | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        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
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    }
                    | {
                        admin_managed_credentials: boolean;
                        allowed_domains?: string[];
                        authentication_assurance_timeout?: null
                        | number;
                        authentication_timeout_mins?: null | number;
                        connector_id?: string;
                        DATA_TYPE: "storage_gateway#1.3.0";
                        deleted?: boolean;
                        display_name?: string;
                        high_assurance?: null | boolean;
                        id?: string;
                        identity_mappings?:
                            | null
                            | (
                                | {
                                    command?: (...)
                                    | (...);
                                    DATA_TYPE: "external_identity_mapping#1.0.0";
                                }
                                | {
                                    DATA_TYPE: "expression_identity_mapping#1.0.0";
                                    mappings?: (...)
                                    | (...);
                                }
                            )[];
                        load_dsi_module?: null
                        | string;
                        max_concurrency?: number;
                        max_parallelism?: number;
                        network_use?: null | "normal" | "minimal" | "aggressive" | "custom";
                        policies?:
                            | {
                                DATA_TYPE: "s3_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.1.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                DATA_TYPE: "s3_storage_policies#1.2.0";
                                s3_allow_multi_keys?: boolean;
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                                s3_requester_pays?: boolean;
                                s3_user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.0.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                account: null
                                | string;
                                adls: null | boolean;
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                auth_type: null | string;
                                client_id: null | string;
                                DATA_TYPE: "azure_blob_storage_policies#1.1.0";
                                secret: null | string;
                                tenant: null | string;
                                user_credential_required?: boolean;
                            }
                            | {
                                bp_access_id_file?: string;
                                DATA_TYPE: "blackpearl_storage_policies#1.0.0";
                                s3_endpoint?: string;
                            }
                            | {
                                boxAppSettings: {
                                    appAuth: {
                                        passphrase: string;
                                        privateKey: string;
                                        publicKeyID: string;
                                    };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                DATA_TYPE: "box_storage_policies#1.0.0";
                                enterpriseID: string;
                            }
                            | {
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.1.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                boxAppSettings?: {
                                    appAuth: { passphrase: ...; privateKey: ...; publicKeyID: ... };
                                    clientID: string;
                                    clientSecret: string;
                                };
                                client_id?: string;
                                DATA_TYPE: "box_storage_policies#1.2.0";
                                enterpriseID?: string;
                                secret?: string;
                                user_api_rate_limit?: number;
                                user_credential_required?: boolean;
                            }
                            | {
                                ceph_admin_key_id?: string;
                                ceph_admin_secret_key?: string;
                                DATA_TYPE: "ceph_storage_policies#1.0.0";
                                s3_buckets?: string[];
                                s3_endpoint?: string;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "dropbox_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.0.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                buckets?: null
                                | string[];
                                client_id: null | string;
                                DATA_TYPE: "google_cloud_storage_policies#1.1.0";
                                projects?: null | string[];
                                secret: null | string;
                                service_account_key?: null | Record<string, unknown>;
                                user_credential_required?: boolean;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.0.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "google_drive_storage_policies#1.1.0";
                                secret: null | string;
                                user_api_rate_quota?: number;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.0.0";
                                uda_checksum: boolean;
                            }
                            | {
                                authentication_mech: "krb5"
                                | "unix";
                                authenticator: string;
                                DATA_TYPE: "hpss_storage_policies#1.1.0";
                                login_name?: string;
                                uda_checksum: boolean;
                            }
                            | {
                                DATA_TYPE: "irods_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                irods_authentication_file?: string;
                                irods_environment_file: string;
                            }
                            | {
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.0.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                allow_any_account?: boolean;
                                auth_callback?: string;
                                client_id: null
                                | string;
                                DATA_TYPE: "onedrive_storage_policies#1.1.0";
                                secret: null | string;
                                tenant?: null | string;
                                user_api_rate_limit?: number;
                            }
                            | {
                                DATA_TYPE: "posix_storage_policies#1.0.0";
                                groups_allow?: null
                                | string[];
                                groups_deny?: null | string[];
                            }
                            | {
                                DATA_TYPE: "posix_staging_storage_policies#1.0.0";
                                environment?: { name: ...; value: ... }[];
                                groups_allow?: null | string[];
                                groups_deny?: null | string[];
                                stage_app: string;
                            };
                        preferred_concurrency?: number;
                        preferred_parallelism?: number;
                        process_user?: null
                        | string;
                        require_high_assurance?: null | boolean;
                        require_mfa: boolean;
                        restrict_paths?: unknown;
                        users_allow?: null | string[];
                        users_deny?: null | string[];
                    };
            };
        }

        Updated storage gateway definition

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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?: ...;
                            }
                            | {
                                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?: ...;
                                max_concurrency?: ...;
                                max_parallelism?: ...;
                                network_use?: ...;
                                policies?: ...;
                                preferred_concurrency?: ...;
                                preferred_parallelism?: ...;
                                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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: | string
                        | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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?: ...;
                          }
                          | {
                              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?: ...;
                              max_concurrency?: ...;
                              max_parallelism?: ...;
                              network_use?: ...;
                              policies?: ...;
                              preferred_concurrency?: ...;
                              preferred_parallelism?: ...;
                              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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Update storage gateway response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?:
                          | string
                          | { DATA_TYPE: "missing_required_role#1.0.0"; roles?: (...)[] };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/user_credentials": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: {
                    include?: "all"[];
                    marker?: string;
                    page_size?: number;
                    storage_gateway?: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        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?: null
                                | string;
                                s3_secret_key?: null | string;
                            }
                            | {
                                DATA_TYPE: "s3_user_credential_policies#1.1.0";
                                s3_key_id?: null
                                | string;
                                s3_requester_pays?: boolean;
                                s3_secret_key?: null | string;
                            }
                            | {
                                DATA_TYPE: "s3_user_credential_policies#1.2.0";
                                s3_key_id?: null
                                | string;
                                s3_multi_keys?:
                                    | null
                                    | {
                                        path_prefixes: (...)[];
                                        s3_key_id?: (...) | (...) | (...);
                                        s3_secret_key?: (...) | (...) | (...);
                                    }[];
                                s3_requester_pays?: boolean;
                                s3_secret_key?: null
                                | string;
                            }
                            | {
                                access_token?: null
                                | string;
                                DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                tid?: string;
                                token_expiry?: string;
                            }
                            | {
                                access_id?: string;
                                DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                                secret_key?: string;
                            }
                            | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                            | {
                                access_token?: null | string;
                                DATA_TYPE: "box_user_credential_policies#1.1.0";
                                email?: null | string;
                                max_upload?: number;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                token_expiry?: string;
                            }
                            | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                            | {
                                access_token?: null | string;
                                DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                root_info?: Record<string, unknown>;
                                scopes?: string[];
                                sub?: null | string;
                                token_expiry?: string;
                            }
                            | {
                                access_token?: null
                                | string;
                                DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                                email?: string;
                                projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: string;
                                token_expiry?: string;
                            }
                            | {
                                access_token?: null
                                | string;
                                DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                token_expiry?: string;
                            }
                            | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                            | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                            | {
                                access_token?: null | string;
                                DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                tid?: string;
                                token_expiry?: string;
                            }
                            | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                            | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                        provisioned?: boolean;
                        storage_gateway_id?: string;
                        username?: string;
                    };
                };
            };
            responses: {
                "201": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: {
                  include?: "all"[];
                  marker?: string;
                  page_size?: number;
                  storage_gateway?: string;
              };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      List user credentials

      The caller may only retrieve User Credentials which were created by an identity in the caller's identity set unless they are an administrator. If the endpoint is not public, returns ForbiddenError if the user has no credentials

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                include?: "all"[];
                marker?: string;
                page_size?: number;
                storage_gateway?: string;
            };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • Optionalquery?: {
              include?: "all"[];
              marker?: string;
              page_size?: number;
              storage_gateway?: string;
          }
          • Optionalinclude?: "all"[]

            Credentials to include. If set to all, then - credentials owned by other users are returned if the storage gateway allows admin_managed_credentials and the caller has an endpoint:administrator or endpoint:owner role.

          • Optionalmarker?: string

            Pagination marker for a paginated response

          • Optionalpage_size?: number

            Maximum page size for a paginated response

          • Optionalstorage_gateway?: string

            ID of the Storage Gateway

      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          List user credential response

    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • post: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      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?: null
                              | string;
                              s3_secret_key?: null | string;
                          }
                          | {
                              DATA_TYPE: "s3_user_credential_policies#1.1.0";
                              s3_key_id?: null
                              | string;
                              s3_requester_pays?: boolean;
                              s3_secret_key?: null | string;
                          }
                          | {
                              DATA_TYPE: "s3_user_credential_policies#1.2.0";
                              s3_key_id?: null
                              | string;
                              s3_multi_keys?:
                                  | null
                                  | {
                                      path_prefixes: (...)[];
                                      s3_key_id?: (...) | (...) | (...);
                                      s3_secret_key?: (...) | (...) | (...);
                                  }[];
                              s3_requester_pays?: boolean;
                              s3_secret_key?: null
                              | string;
                          }
                          | {
                              access_token?: null
                              | string;
                              DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              tid?: string;
                              token_expiry?: string;
                          }
                          | {
                              access_id?: string;
                              DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                              secret_key?: string;
                          }
                          | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                          | {
                              access_token?: null | string;
                              DATA_TYPE: "box_user_credential_policies#1.1.0";
                              email?: null | string;
                              max_upload?: number;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                          | {
                              access_token?: null | string;
                              DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              root_info?: Record<string, unknown>;
                              scopes?: string[];
                              sub?: null | string;
                              token_expiry?: string;
                          }
                          | {
                              access_token?: null
                              | string;
                              DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                              email?: string;
                              projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: string;
                              token_expiry?: string;
                          }
                          | {
                              access_token?: null
                              | string;
                              DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                          | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                          | {
                              access_token?: null | string;
                              DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              tid?: string;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                          | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                      provisioned?: boolean;
                      storage_gateway_id?: string;
                      username?: string;
                  };
              };
          };
          responses: {
              "201": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Create a user credential

      Create a user credential on a storage gateway. This is required for some connectors that require a local user name or other credential information to access the storage system. See the connector-specific documentation for details on what is needed.

      The caller is authorized based on the StorageGateway identity
      policies, so users with no assigned roles on the endpoint may
      be permitted to access this operation.
      
      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • requestBody: {
            content: {
                "application/json": {
                    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?: null
                            | string;
                            s3_secret_key?: null | string;
                        }
                        | {
                            DATA_TYPE: "s3_user_credential_policies#1.1.0";
                            s3_key_id?: null
                            | string;
                            s3_requester_pays?: boolean;
                            s3_secret_key?: null | string;
                        }
                        | {
                            DATA_TYPE: "s3_user_credential_policies#1.2.0";
                            s3_key_id?: null
                            | string;
                            s3_multi_keys?:
                                | null
                                | {
                                    path_prefixes: (...)[];
                                    s3_key_id?: (...) | (...) | (...);
                                    s3_secret_key?: (...) | (...) | (...);
                                }[];
                            s3_requester_pays?: boolean;
                            s3_secret_key?: null
                            | string;
                        }
                        | {
                            access_token?: null
                            | string;
                            DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            tid?: string;
                            token_expiry?: string;
                        }
                        | {
                            access_id?: string;
                            DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                            secret_key?: string;
                        }
                        | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                        | {
                            access_token?: null | string;
                            DATA_TYPE: "box_user_credential_policies#1.1.0";
                            email?: null | string;
                            max_upload?: number;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            token_expiry?: string;
                        }
                        | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                        | {
                            access_token?: null | string;
                            DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            root_info?: Record<string, unknown>;
                            scopes?: string[];
                            sub?: null | string;
                            token_expiry?: string;
                        }
                        | {
                            access_token?: null
                            | string;
                            DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                            email?: string;
                            projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: string;
                            token_expiry?: string;
                        }
                        | {
                            access_token?: null
                            | string;
                            DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            token_expiry?: string;
                        }
                        | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                        | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                        | {
                            access_token?: null | string;
                            DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            tid?: string;
                            token_expiry?: string;
                        }
                        | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                        | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                    provisioned?: boolean;
                    storage_gateway_id?: string;
                    username?: string;
                };
            };
        }

        New user credential definition

      • responses: {
            "201": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 201: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Create user credential response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/user_credentials/{user_credential_id}": {
        delete: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { user_credential_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { user_credential_id: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { user_credential_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        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?: null
                                | string;
                                s3_secret_key?: null | string;
                            }
                            | {
                                DATA_TYPE: "s3_user_credential_policies#1.1.0";
                                s3_key_id?: null
                                | string;
                                s3_requester_pays?: boolean;
                                s3_secret_key?: null | string;
                            }
                            | {
                                DATA_TYPE: "s3_user_credential_policies#1.2.0";
                                s3_key_id?: null
                                | string;
                                s3_multi_keys?:
                                    | null
                                    | {
                                        path_prefixes: (...)[];
                                        s3_key_id?: (...) | (...) | (...);
                                        s3_secret_key?: (...) | (...) | (...);
                                    }[];
                                s3_requester_pays?: boolean;
                                s3_secret_key?: null
                                | string;
                            }
                            | {
                                access_token?: null
                                | string;
                                DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                tid?: string;
                                token_expiry?: string;
                            }
                            | {
                                access_id?: string;
                                DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                                secret_key?: string;
                            }
                            | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                            | {
                                access_token?: null | string;
                                DATA_TYPE: "box_user_credential_policies#1.1.0";
                                email?: null | string;
                                max_upload?: number;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                token_expiry?: string;
                            }
                            | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                            | {
                                access_token?: null | string;
                                DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                root_info?: Record<string, unknown>;
                                scopes?: string[];
                                sub?: null | string;
                                token_expiry?: string;
                            }
                            | {
                                access_token?: null
                                | string;
                                DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                                email?: string;
                                projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: string;
                                token_expiry?: string;
                            }
                            | {
                                access_token?: null
                                | string;
                                DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                token_expiry?: string;
                            }
                            | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                            | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                            | {
                                access_token?: null | string;
                                DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                tid?: string;
                                token_expiry?: string;
                            }
                            | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                            | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                        provisioned?: boolean;
                        storage_gateway_id?: string;
                        username?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        post?: undefined;
        put: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { user_credential_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        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?: null
                                | string;
                                s3_secret_key?: null | string;
                            }
                            | {
                                DATA_TYPE: "s3_user_credential_policies#1.1.0";
                                s3_key_id?: null
                                | string;
                                s3_requester_pays?: boolean;
                                s3_secret_key?: null | string;
                            }
                            | {
                                DATA_TYPE: "s3_user_credential_policies#1.2.0";
                                s3_key_id?: null
                                | string;
                                s3_multi_keys?:
                                    | null
                                    | {
                                        path_prefixes: (...)[];
                                        s3_key_id?: (...) | (...) | (...);
                                        s3_secret_key?: (...) | (...) | (...);
                                    }[];
                                s3_requester_pays?: boolean;
                                s3_secret_key?: null
                                | string;
                            }
                            | {
                                access_token?: null
                                | string;
                                DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                tid?: string;
                                token_expiry?: string;
                            }
                            | {
                                access_id?: string;
                                DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                                secret_key?: string;
                            }
                            | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                            | {
                                access_token?: null | string;
                                DATA_TYPE: "box_user_credential_policies#1.1.0";
                                email?: null | string;
                                max_upload?: number;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                token_expiry?: string;
                            }
                            | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                            | {
                                access_token?: null | string;
                                DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                root_info?: Record<string, unknown>;
                                scopes?: string[];
                                sub?: null | string;
                                token_expiry?: string;
                            }
                            | {
                                access_token?: null
                                | string;
                                DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                                email?: string;
                                projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: string;
                                token_expiry?: string;
                            }
                            | {
                                access_token?: null
                                | string;
                                DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                token_expiry?: string;
                            }
                            | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                            | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                            | {
                                access_token?: null | string;
                                DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                                email?: null | string;
                                refresh_token?: null | string;
                                scopes?: string[];
                                sub?: null | string;
                                tid?: string;
                                token_expiry?: string;
                            }
                            | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                            | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                        provisioned?: boolean;
                        storage_gateway_id?: string;
                        username?: string;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: {
                        "application/json": {
                            code?: "permission_denied";
                            detail?: | string
                            | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                            http_response_code?: 403;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: {
                        "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        trace?: undefined;
    }

    Type declaration

    • delete: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { user_credential_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Delete a user credential

      Delete a user credential.

      The caller must have the identity_id of the user credential in its identity
      set.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { user_credential_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { user_credential_id: string }
          • user_credential_id: string

            Id of the user credential

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: string
                        | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Delete user credential response

        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?: string | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { user_credential_id: string };
              query?: undefined;
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Get a user credential

      Get a user credential.

      The caller must have the identity_id of the user credential
      in its identity set.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { user_credential_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { user_credential_id: string }
          • user_credential_id: string

            Id of the user credential

        • Optionalquery?: undefined
      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: string
                        | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Get user credential response

        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?: string | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • patch: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { user_credential_id: string };
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      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?: null
                              | string;
                              s3_secret_key?: null | string;
                          }
                          | {
                              DATA_TYPE: "s3_user_credential_policies#1.1.0";
                              s3_key_id?: null
                              | string;
                              s3_requester_pays?: boolean;
                              s3_secret_key?: null | string;
                          }
                          | {
                              DATA_TYPE: "s3_user_credential_policies#1.2.0";
                              s3_key_id?: null
                              | string;
                              s3_multi_keys?:
                                  | null
                                  | {
                                      path_prefixes: (...)[];
                                      s3_key_id?: (...) | (...) | (...);
                                      s3_secret_key?: (...) | (...) | (...);
                                  }[];
                              s3_requester_pays?: boolean;
                              s3_secret_key?: null
                              | string;
                          }
                          | {
                              access_token?: null
                              | string;
                              DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              tid?: string;
                              token_expiry?: string;
                          }
                          | {
                              access_id?: string;
                              DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                              secret_key?: string;
                          }
                          | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                          | {
                              access_token?: null | string;
                              DATA_TYPE: "box_user_credential_policies#1.1.0";
                              email?: null | string;
                              max_upload?: number;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                          | {
                              access_token?: null | string;
                              DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              root_info?: Record<string, unknown>;
                              scopes?: string[];
                              sub?: null | string;
                              token_expiry?: string;
                          }
                          | {
                              access_token?: null
                              | string;
                              DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                              email?: string;
                              projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: string;
                              token_expiry?: string;
                          }
                          | {
                              access_token?: null
                              | string;
                              DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                          | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                          | {
                              access_token?: null | string;
                              DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              tid?: string;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                          | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                      provisioned?: boolean;
                      storage_gateway_id?: string;
                      username?: string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Update a user credential

      Update a user credential on a storage gateway. This is required for some connectors that require a local user name or other credential information to access the storage system. See the connector-specific documentation for details on what is needed.

      The caller must have the identity_id of the user credential
      in its identity set.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { user_credential_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { user_credential_id: string }
          • user_credential_id: string

            Id of the user credential

        • Optionalquery?: undefined
      • requestBody: {
            content: {
                "application/json": {
                    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?: null
                            | string;
                            s3_secret_key?: null | string;
                        }
                        | {
                            DATA_TYPE: "s3_user_credential_policies#1.1.0";
                            s3_key_id?: null
                            | string;
                            s3_requester_pays?: boolean;
                            s3_secret_key?: null | string;
                        }
                        | {
                            DATA_TYPE: "s3_user_credential_policies#1.2.0";
                            s3_key_id?: null
                            | string;
                            s3_multi_keys?:
                                | null
                                | {
                                    path_prefixes: (...)[];
                                    s3_key_id?: (...) | (...) | (...);
                                    s3_secret_key?: (...) | (...) | (...);
                                }[];
                            s3_requester_pays?: boolean;
                            s3_secret_key?: null
                            | string;
                        }
                        | {
                            access_token?: null
                            | string;
                            DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            tid?: string;
                            token_expiry?: string;
                        }
                        | {
                            access_id?: string;
                            DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                            secret_key?: string;
                        }
                        | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                        | {
                            access_token?: null | string;
                            DATA_TYPE: "box_user_credential_policies#1.1.0";
                            email?: null | string;
                            max_upload?: number;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            token_expiry?: string;
                        }
                        | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                        | {
                            access_token?: null | string;
                            DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            root_info?: Record<string, unknown>;
                            scopes?: string[];
                            sub?: null | string;
                            token_expiry?: string;
                        }
                        | {
                            access_token?: null
                            | string;
                            DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                            email?: string;
                            projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: string;
                            token_expiry?: string;
                        }
                        | {
                            access_token?: null
                            | string;
                            DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            token_expiry?: string;
                        }
                        | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                        | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                        | {
                            access_token?: null | string;
                            DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            tid?: string;
                            token_expiry?: string;
                        }
                        | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                        | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                    provisioned?: boolean;
                    storage_gateway_id?: string;
                    username?: string;
                };
            };
        }

        Changes to the user credential definition

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: string
                        | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Update user credential response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?: string | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalpost?: undefined
    • put: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path: { user_credential_id: string };
              query?: undefined;
          };
          requestBody: {
              content: {
                  "application/json": {
                      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?: null
                              | string;
                              s3_secret_key?: null | string;
                          }
                          | {
                              DATA_TYPE: "s3_user_credential_policies#1.1.0";
                              s3_key_id?: null
                              | string;
                              s3_requester_pays?: boolean;
                              s3_secret_key?: null | string;
                          }
                          | {
                              DATA_TYPE: "s3_user_credential_policies#1.2.0";
                              s3_key_id?: null
                              | string;
                              s3_multi_keys?:
                                  | null
                                  | {
                                      path_prefixes: (...)[];
                                      s3_key_id?: (...) | (...) | (...);
                                      s3_secret_key?: (...) | (...) | (...);
                                  }[];
                              s3_requester_pays?: boolean;
                              s3_secret_key?: null
                              | string;
                          }
                          | {
                              access_token?: null
                              | string;
                              DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              tid?: string;
                              token_expiry?: string;
                          }
                          | {
                              access_id?: string;
                              DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                              secret_key?: string;
                          }
                          | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                          | {
                              access_token?: null | string;
                              DATA_TYPE: "box_user_credential_policies#1.1.0";
                              email?: null | string;
                              max_upload?: number;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                          | {
                              access_token?: null | string;
                              DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              root_info?: Record<string, unknown>;
                              scopes?: string[];
                              sub?: null | string;
                              token_expiry?: string;
                          }
                          | {
                              access_token?: null
                              | string;
                              DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                              email?: string;
                              projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: string;
                              token_expiry?: string;
                          }
                          | {
                              access_token?: null
                              | string;
                              DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                          | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                          | {
                              access_token?: null | string;
                              DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                              email?: null | string;
                              refresh_token?: null | string;
                              scopes?: string[];
                              sub?: null | string;
                              tid?: string;
                              token_expiry?: string;
                          }
                          | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                          | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                      provisioned?: boolean;
                      storage_gateway_id?: string;
                      username?: string;
                  };
              };
          };
          responses: {
              "200": {
                  content: {
                      "application/json": {
                          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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "403": {
                  content: {
                      "application/json": {
                          code?: "permission_denied";
                          detail?: | string
                          | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                          http_response_code?: 403;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "404": {
                  content: {
                      "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Update a user credential

      Update a user credential on a storage gateway. This is required for some connectors that require a local user name or other credential information to access the storage system. See the connector-specific documentation for details on what is needed.

      The caller must have the identity_id of the user credential
      in its identity set.
      
      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { user_credential_id: string };
            query?: undefined;
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • path: { user_credential_id: string }
          • user_credential_id: string

            Id of the user credential

        • Optionalquery?: undefined
      • requestBody: {
            content: {
                "application/json": {
                    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?: null
                            | string;
                            s3_secret_key?: null | string;
                        }
                        | {
                            DATA_TYPE: "s3_user_credential_policies#1.1.0";
                            s3_key_id?: null
                            | string;
                            s3_requester_pays?: boolean;
                            s3_secret_key?: null | string;
                        }
                        | {
                            DATA_TYPE: "s3_user_credential_policies#1.2.0";
                            s3_key_id?: null
                            | string;
                            s3_multi_keys?:
                                | null
                                | {
                                    path_prefixes: (...)[];
                                    s3_key_id?: (...) | (...) | (...);
                                    s3_secret_key?: (...) | (...) | (...);
                                }[];
                            s3_requester_pays?: boolean;
                            s3_secret_key?: null
                            | string;
                        }
                        | {
                            access_token?: null
                            | string;
                            DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            tid?: string;
                            token_expiry?: string;
                        }
                        | {
                            access_id?: string;
                            DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                            secret_key?: string;
                        }
                        | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                        | {
                            access_token?: null | string;
                            DATA_TYPE: "box_user_credential_policies#1.1.0";
                            email?: null | string;
                            max_upload?: number;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            token_expiry?: string;
                        }
                        | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                        | {
                            access_token?: null | string;
                            DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            root_info?: Record<string, unknown>;
                            scopes?: string[];
                            sub?: null | string;
                            token_expiry?: string;
                        }
                        | {
                            access_token?: null
                            | string;
                            DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                            email?: string;
                            projects?: { name?: (...) | (...); projectId?: (...) | (...) }[];
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: string;
                            token_expiry?: string;
                        }
                        | {
                            access_token?: null
                            | string;
                            DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            token_expiry?: string;
                        }
                        | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                        | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                        | {
                            access_token?: null | string;
                            DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                            email?: null | string;
                            refresh_token?: null | string;
                            scopes?: string[];
                            sub?: null | string;
                            tid?: string;
                            token_expiry?: string;
                        }
                        | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                        | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                    provisioned?: boolean;
                    storage_gateway_id?: string;
                    username?: string;
                };
            };
        }

        Updated user credential definition

      • responses: {
            "200": {
                content: {
                    "application/json": {
                        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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        code?: "permission_denied";
                        detail?: string
                        | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                        http_response_code?: 403;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json": {
                      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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Update user credential response

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 403: {
              content: {
                  "application/json": {
                      code?: "permission_denied";
                      detail?: string | { DATA_TYPE: "not_resource_owner#1.0.0"; id?: string };
                      http_response_code?: 403;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }

          Permission denied

        • 404: {
              content: {
                  "application/json": { code?: "not_found"; http_response_code?: 404 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionaltrace?: undefined
    "/api/v1/authcallback": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: { code?: string; error?: string; state: string };
            };
            requestBody?: undefined;
            responses: {
                "302": { content?: undefined; headers: { [name: string]: unknown } };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query: { code?: string; error?: string; state: string };
          };
          requestBody?: undefined;
          responses: {
              "302": { content?: undefined; headers: { [name: string]: unknown } };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      OAuth callback

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: { code?: string; error?: string; state: string };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • query: { code?: string; error?: string; state: string }
          • Optionalcode?: string

            OAuth code response

          • Optionalerror?: string

            Error information from the OAuth provider

          • state: string

            Encrypted authorization context

      • OptionalrequestBody?: undefined
      • responses: {
            "302": { content?: undefined; headers: { [name: string]: unknown } };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 302: { content?: undefined; headers: { [name: string]: unknown } }

          Redirect to page initiating the credential creation

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/v1/authcallback_google": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query: { code?: string; error?: string; state: string };
            };
            requestBody?: undefined;
            responses: {
                "302": { content?: undefined; headers: { [name: string]: unknown } };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query: { code?: string; error?: string; state: string };
          };
          requestBody?: undefined;
          responses: {
              "302": { content?: undefined; headers: { [name: string]: unknown } };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      OAuth callback

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query: { code?: string; error?: string; state: string };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • query: { code?: string; error?: string; state: string }
          • Optionalcode?: string

            OAuth code response

          • Optionalerror?: string

            Error information from the OAuth provider

          • state: string

            Encrypted authorization context

      • OptionalrequestBody?: undefined
      • responses: {
            "302": { content?: undefined; headers: { [name: string]: unknown } };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 302: { content?: undefined; headers: { [name: string]: unknown } }

          Redirect to page initiating the credential creation

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/v1/authclicomplete": {
        delete?: undefined;
        get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { user_credential_id?: string };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            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;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post?: undefined;
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • get: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: { user_credential_id?: string };
          };
          requestBody?: undefined;
          responses: {
              "200": {
                  content: {
                      "application/json": | {
                          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;
                      };
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      OAuth callback for CLI apps

      Landing page for auth flow completion, suitable for use with a non-web application that uses a browser to complete the flow.

      • parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { user_credential_id?: string };
        }
        • Optionalcookie?: undefined
        • Optionalheader?: undefined
        • Optionalpath?: undefined
        • Optionalquery?: { user_credential_id?: string }
          • Optionaluser_credential_id?: string

            Unique identifier of the new credential

      • OptionalrequestBody?: undefined
      • responses: {
            "200": {
                content: {
                    "application/json":
                        | {
                            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;
                        };
                };
                headers: { [name: string]: unknown };
            };
        }
        • 200: {
              content: {
                  "application/json":
                      | {
                          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;
                      };
              };
              headers: { [name: string]: unknown };
          }

          Authentication callback response

    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • Optionalpost?: undefined
    • Optionalput?: undefined
    • Optionaltrace?: undefined
    "/api/v1/user_credentials": {
        delete?: undefined;
        get?: undefined;
        head?: undefined;
        options?: undefined;
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        patch?: undefined;
        post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/x-www-form-urlencoded": {
                        access_token?: string;
                        identity_id: string;
                        login_hint?: string;
                        redirect_uri: string;
                        storage_gateway: string;
                    };
                };
            };
            responses: {
                "303": { content?: undefined; headers: { [name: string]: unknown } };
                "400": {
                    content: {
                        "application/json": {
                            code?: "bad_request";
                            http_response_code?: 400;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: {
                        "application/json": {
                            code?: "not_authorized";
                            detail?: | string
                            | {
                                DATA_TYPE: "missing_required_scopes#1.0.0";
                                required_scopes?: (...)[];
                            };
                            http_response_code?: 401;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "415": {
                    content: {
                        "application/json": {
                            code?: "unsupported_media_type";
                            http_response_code?: 415;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            code?: "unprocessable_entity";
                            detail?: | string
                            | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                            http_response_code?: 422;
                        } & (
                            | {
                                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;
                            }
                        );
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        put?: undefined;
        trace?: undefined;
    }

    Type declaration

    • Optionaldelete?: undefined
    • Optionalget?: undefined
    • Optionalhead?: undefined
    • Optionaloptions?: undefined
    • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
    • Optionalpatch?: undefined
    • post: {
          parameters: {
              cookie?: undefined;
              header?: undefined;
              path?: undefined;
              query?: undefined;
          };
          requestBody?: {
              content: {
                  "application/x-www-form-urlencoded": {
                      access_token?: string;
                      identity_id: string;
                      login_hint?: string;
                      redirect_uri: string;
                      storage_gateway: string;
                  };
              };
          };
          responses: {
              "303": { content?: undefined; headers: { [name: string]: unknown } };
              "400": {
                  content: {
                      "application/json": {
                          code?: "bad_request";
                          http_response_code?: 400;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "401": {
                  content: {
                      "application/json": {
                          code?: "not_authorized";
                          detail?: | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                          http_response_code?: 401;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "415": {
                  content: {
                      "application/json": {
                          code?: "unsupported_media_type";
                          http_response_code?: 415;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
              "422": {
                  content: {
                      "application/json": {
                          code?: "unprocessable_entity";
                          detail?: | string
                          | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                          http_response_code?: 422;
                      } & (
                          | {
                              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;
                          }
                      );
                  };
                  headers: { [name: string]: unknown };
              };
          };
      }

      Create a user credential

      Create a user credential on a Storage Gateway. This initiates a flow to an OAuth service to authenticate the user and generate an authentication token to allow access to a storage system.

      • parameters: { cookie?: undefined; header?: undefined; path?: undefined; query?: undefined }
      • OptionalrequestBody?: {
            content: {
                "application/x-www-form-urlencoded": {
                    access_token?: string;
                    identity_id: string;
                    login_hint?: string;
                    redirect_uri: string;
                    storage_gateway: string;
                };
            };
        }

        User credential request

      • responses: {
            "303": { content?: undefined; headers: { [name: string]: unknown } };
            "400": {
                content: {
                    "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        code?: "not_authorized";
                        detail?: | string
                        | {
                            DATA_TYPE: "missing_required_scopes#1.0.0";
                            required_scopes?: (...)[];
                        };
                        http_response_code?: 401;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: {
                    "application/json": {
                        code?: "unsupported_media_type";
                        http_response_code?: 415;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        code?: "unprocessable_entity";
                        detail?: string
                        | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                        http_response_code?: 422;
                    } & (
                        | {
                            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;
                        }
                    );
                };
                headers: { [name: string]: unknown };
            };
        }
        • 303: { content?: undefined; headers: { [name: string]: unknown } }

          Redirection to OAuth flow

        • 400: {
              content: {
                  "application/json": { code?: "bad_request"; http_response_code?: 400 } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 401: {
              content: {
                  "application/json": {
                      code?: "not_authorized";
                      detail?:
                          | string
                          | {
                              DATA_TYPE: "missing_required_scopes#1.0.0";
                              required_scopes?: (...)[];
                          };
                      http_response_code?: 401;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 415: {
              content: {
                  "application/json": {
                      code?: "unsupported_media_type";
                      http_response_code?: 415;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
        • 422: {
              content: {
                  "application/json": {
                      code?: "unprocessable_entity";
                      detail?: string | { DATA_TYPE: "invalid_input#1.0.0"; errors?: (...)[] };
                      http_response_code?: 422;
                  } & (
                      | {
                          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;
                      }
                  );
              };
              headers: { [name: string]: unknown };
          }
    • Optionalput?: undefined
    • Optionaltrace?: undefined